Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taiwan north #111

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/azure_regions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1399,6 +1399,19 @@
"regionalDisplayName": "(Europe) Switzerland West",
"subscriptionId": null
},
{
"displayName": "Taiwan North",
"id": "/subscritpions/c560a042-4311-40cf-beb5-edc67991179e/locations/taiwannorth",
"metadata": {
"geographyGroup": "Asia Pacific",
"latitutde": "",
"longitude": "",
"pairedRegion": null,
"physicalLocation": "Taipei",
"regionalCategory": "Other",
"regionType": "Physical"
}
}
{
"displayName": "UK West",
"id": "/subscriptions/c560a042-4311-40cf-beb5-edc67991179e/locations/ukwest",
Expand Down
2 changes: 1 addition & 1 deletion docs/map/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ <h4>Apply filter(s)...</h4>
<label for="doubleencryption">double encryption at rest </label>(<span id="doubleencryptionRegionCount"></span>)<br>

<input onclick="updateMap()" type="checkbox" id="standardcool" name="standardcool" value="standardcool">
<label for="standardcool">standard storage w/ cool access </label>(<span id="standardcoolRegionCount"></span>)<br>
<label for="standardcool">storage w/ cool access </label>(<span id="standardcoolRegionCount"></span>)<br>

<input onclick="updateMap()" type="checkbox" id="usgov" name="usgov" value="usgov">
<label for="usgov">US Gov </label>(<span id="USGovRegionCount"></span>)<br>
Expand Down
24 changes: 21 additions & 3 deletions docs/map/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ var regionlocation = {
swedencentral: [17.14127, 60.67488],
switzerlandnorth: [8.564572,47.451542],
switzerlandwest: [6.143158,46.204391],
taiwannorth: [long, lat],
uaecentral: [54.366669, 24.466667],
uaenorth: [55.316666, 25.266666],
uksouth: [-0.799, 50.941],
Expand Down Expand Up @@ -647,6 +648,23 @@ var regionlist = [
"standardcool": true,
"azplacement": false
},
{
"shortname": "taiwannorth",
"longname": "Taiwan North",
"location": regionlocation.taiwannorth,
"crrregions": [],
"czr": false,
"snf": true,
"snfedit": true,
"avsdatastore": false,
"backup": true,
"largevolumes": false,
"cmk": true,
"cmkhsm": false,
"doubleencryption": true,
"standardcool": true,
"azplacement": false
},
{
"shortname": "uaecentral",
"longname": "UAE Central",
Expand Down Expand Up @@ -1030,7 +1048,7 @@ function initMap() {
position: item.location,
htmlContent: "<div style='width:3em;'><img style='width:3em;' src='https://azure.github.io/azure-netapp-files/map/anficon.png'></div>",
popup: new atlas.Popup({
content: '<div style="padding:10px;color:white"><strong>ANF Region: ' + item.longname + '</strong> (' + item.shortname + ')<br>CRR Targets: ' + targetregions + '<br>cross-zone replication: ' + item.czr + '<br>standard networking: ' + item.snf + '<br>edit standard networking: ' + item.snfedit + '<br>backup: ' + item.backup + '<br>datastore for AVS: ' + item.avsdatastore + '<br>large volumes: ' + item.largevolumes + '<br>customer-managed keys: ' + item.cmk + '<br>customer-managed keys w/ managed HSM: ' + item.cmkhsm + '<br>double encryption: ' + item.doubleencryption + '<br>standard storage w/ cool access: ' + item.standardcool + '<br>az placement: ' + item.azplacement + '<br>Latitude: ' + item.location[1] + '<br>Longitude: ' + item.location[0] + '</div>',
content: '<div style="padding:10px;color:white"><strong>ANF Region: ' + item.longname + '</strong> (' + item.shortname + ')<br>CRR Targets: ' + targetregions + '<br>cross-zone replication: ' + item.czr + '<br>standard networking: ' + item.snf + '<br>edit standard networking: ' + item.snfedit + '<br>backup: ' + item.backup + '<br>datastore for AVS: ' + item.avsdatastore + '<br>large volumes: ' + item.largevolumes + '<br>customer-managed keys: ' + item.cmk + '<br>customer-managed keys w/ managed HSM: ' + item.cmkhsm + '<br>double encryption: ' + item.doubleencryption + '<br>storage w/ cool access: ' + item.standardcool + '<br>az placement: ' + item.azplacement + '<br>Latitude: ' + item.location[1] + '<br>Longitude: ' + item.location[0] + '</div>',
pixelOffset: [0, -50],
fillColor: 'rgba(0,0,0,0.6)'
})
Expand Down Expand Up @@ -1184,7 +1202,7 @@ function updateMap() {
position: item.location,
htmlContent: "<div style='width:3em;'><img style='width:3em;' src='https://azure.github.io/azure-netapp-files/map/anficon.png'></div>",
popup: new atlas.Popup({
content: '<div style="padding:10px;color:white"><strong>ANF Region: ' + item.longname + '</strong> (' + item.shortname + ')<br>CRR Targets: ' + targetregions + '<br>cross-zone replication: ' + item.czr + '<br>standard networking: ' + item.snf + '<br>edit standard networking: ' + item.snfedit + '<br>backup: ' + item.backup + '<br>datastore for AVS: ' + item.avsdatastore + '<br>large volumes: ' + item.largevolumes + '<br>customer-managed keys: ' + item.cmk + '<br>customer-managed keys w/ managed HSM: ' + item.cmkhsm + '<br>double encryption: ' + item.doubleencryption + '<br>standard storage w/ cool access: ' + item.standardcool + '<br>az placement: ' + item.azplacement + '<br>Latitude: ' + item.location[1] + '<br>Longitude: ' + item.location[0] + '</div>',
content: '<div style="padding:10px;color:white"><strong>ANF Region: ' + item.longname + '</strong> (' + item.shortname + ')<br>CRR Targets: ' + targetregions + '<br>cross-zone replication: ' + item.czr + '<br>standard networking: ' + item.snf + '<br>edit standard networking: ' + item.snfedit + '<br>backup: ' + item.backup + '<br>datastore for AVS: ' + item.avsdatastore + '<br>large volumes: ' + item.largevolumes + '<br>customer-managed keys: ' + item.cmk + '<br>customer-managed keys w/ managed HSM: ' + item.cmkhsm + '<br>double encryption: ' + item.doubleencryption + '<br>storage w/ cool access: ' + item.standardcool + '<br>az placement: ' + item.azplacement + '<br>Latitude: ' + item.location[1] + '<br>Longitude: ' + item.location[0] + '</div>',
pixelOffset: [0, -50],
fillColor: 'rgba(0,0,0,0.6)'
})
Expand Down Expand Up @@ -1250,7 +1268,7 @@ function updateMap() {
position: item.location,
htmlContent: "<div style='width:3em;'><img style='width:3em;' src='https://azure.github.io/azure-netapp-files/map/anficon_gray.png'></div>",
popup: new atlas.Popup({
content: '<div style="padding:10px;color:white"><strong>ANF Region: ' + item.longname + '</strong> (' + item.shortname + ')<br>CRR Targets: ' + targetregions + '<br>cross-zone replication: ' + item.czr + '<br>standard networking: ' + item.snf + '<br>edit standard networking: ' + item.snfedit + '<br>backup: ' + item.backup + '<br>datastore for AVS: ' + item.avsdatastore + '<br>large volumes: ' + item.largevolumes + '<br>customer-managed keys: ' + item.cmk + '<br>customer-managed keys w/ managed HSM: ' + item.cmkhsm + '<br>double encryption: ' + item.doubleencryption + '<br>standard storage w/ cool access: ' + item.standardcool + '<br>az placement: ' + item.azplacement + '<br>Latitude: ' + item.location[1] + '<br>Longitude: ' + item.location[0] + '</div>',
content: '<div style="padding:10px;color:white"><strong>ANF Region: ' + item.longname + '</strong> (' + item.shortname + ')<br>CRR Targets: ' + targetregions + '<br>cross-zone replication: ' + item.czr + '<br>standard networking: ' + item.snf + '<br>edit standard networking: ' + item.snfedit + '<br>backup: ' + item.backup + '<br>datastore for AVS: ' + item.avsdatastore + '<br>large volumes: ' + item.largevolumes + '<br>customer-managed keys: ' + item.cmk + '<br>customer-managed keys w/ managed HSM: ' + item.cmkhsm + '<br>double encryption: ' + item.doubleencryption + '<br>storage w/ cool access: ' + item.standardcool + '<br>az placement: ' + item.azplacement + '<br>Latitude: ' + item.location[1] + '<br>Longitude: ' + item.location[0] + '</div>',
pixelOffset: [0, -50],
fillColor: 'rgba(0,0,0,0.6)'
})
Expand Down
1 change: 1 addition & 0 deletions docs/sap-calc/calc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ cfg: { // Application Insights Configuration
/* ...Other Configuration Options... */
}});


let standard_region_rates = {
"centralus": 0.14746,
"eastus": 0.14746,
Expand Down