Skip to content

Commit

Permalink
1. Adding nested "properties":{ "properties": { for ARM template.
Browse files Browse the repository at this point in the history
2. updating examples.
  • Loading branch information
rahuls-microsoft committed Feb 21, 2020
1 parent 8e6104e commit 84d9da8
Show file tree
Hide file tree
Showing 7 changed files with 235 additions and 180 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,49 +10,59 @@
"body": {
"value": [
{
"currentValue": 15,
"limit": 20,
"name": {
"localizedValue": "Clusters",
"value": "Clusters"
},
"unit": "Count"
"properties": {
"currentValue": 15,
"limit": 20,
"name": {
"localizedValue": "Clusters",
"value": "Clusters"
},
"unit": "Count"
}
},
{
"currentValue": 49,
"limit": 600,
"name": {
"localizedValue": "Total Cluster Dedicated Regional vCPUs",
"value": "Total Cluster Dedicated Regional vCPUs"
},
"unit": "Count"
"properties": {
"currentValue": 49,
"limit": 600,
"name": {
"localizedValue": "Total Cluster Dedicated Regional vCPUs",
"value": "Total Cluster Dedicated Regional vCPUs"
},
"unit": "Count"
}
},
{
"currentValue": 1,
"limit": 600,
"name": {
"localizedValue": "Standard D Family Cluster Dedicated vCPUs",
"value": "Standard D Family Cluster Dedicated vCPUs"
},
"unit": "Count"
"properties": {
"currentValue": 1,
"limit": 600,
"name": {
"localizedValue": "Standard D Family Cluster Dedicated vCPUs",
"value": "Standard D Family Cluster Dedicated vCPUs"
},
"unit": "Count"
}
},
{
"currentValue": 0,
"limit": 0,
"name": {
"localizedValue": "Standard ND Family Cluster Low Priority vCPUs",
"value": "Standard ND Family Cluster LowPriority vCPUs"
},
"unit": "Count"
"properties": {
"currentValue": 0,
"limit": 0,
"name": {
"localizedValue": "Standard ND Family Cluster Low Priority vCPUs",
"value": "Standard ND Family Cluster LowPriority vCPUs"
},
"unit": "Count"
}
},
{
"currentValue": 0,
"limit": 150,
"name": {
"localizedValue": "Standard NV Family Cluster Low Priority vCPUs",
"value": "Standard NV Family Cluster LowPriority vCPUs"
},
"unit": "Count"
"properties": {
"currentValue": 0,
"limit": 150,
"name": {
"localizedValue": "Standard NV Family Cluster Low Priority vCPUs",
"value": "Standard NV Family Cluster LowPriority vCPUs"
},
"unit": "Count"
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
"responses": {
"200": {
"body": {
"limit": 0,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardNDSFamily",
"localizedValue": "Standard NDS Family vCPUs"
"properties": {
"limit": 10,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardNDSFamily",
"localizedValue": "Standard NDS Family vCPUs"
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,102 +10,124 @@
"body": {
"value": [
{
"limit": 100,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardFSv2Family",
"localizedValue": "Standard FSv2 Family vCPUs"
"properties": {
"limit": 100,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardFSv2Family",
"localizedValue": "Standard FSv2 Family vCPUs"
}
}
},
{
"limit": 0,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardNDSFamily",
"localizedValue": "Standard NDS Family vCPUs"
"properties": {
"limit": 0,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardNDSFamily",
"localizedValue": "Standard NDS Family vCPUs"
}
}
},
{
"limit": 0,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardNCSv2Family",
"localizedValue": "Standard NCSv2 Family vCPUs"
"properties": {
"limit": 0,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardNCSv2Family",
"localizedValue": "Standard NCSv2 Family vCPUs"
}
}
},
{
"limit": 0,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardNCSv3Family",
"localizedValue": "Standard NCSv3 Family vCPUs"
"properties": {
"limit": 0,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardNCSv3Family",
"localizedValue": "Standard NCSv3 Family vCPUs"
}
}
},
{
"limit": 100,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardLSv2Family",
"localizedValue": "Standard LSv2 Family vCPUs"
"properties": {
"limit": 100,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardLSv2Family",
"localizedValue": "Standard LSv2 Family vCPUs"
}
}
},
{
"limit": 6,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardPBSFamily",
"localizedValue": "Standard PBS Family vCPUs"
"properties": {
"limit": 6,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardPBSFamily",
"localizedValue": "Standard PBS Family vCPUs"
}
}
},
{
"limit": 100,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardEIv3Family",
"localizedValue": "Standard EIv3 Family vCPUs"
"properties": {
"limit": 100,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardEIv3Family",
"localizedValue": "Standard EIv3 Family vCPUs"
}
}
},
{
"limit": 100,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardEISv3Family",
"localizedValue": "Standard EISv3 Family vCPUs"
"properties": {
"limit": 100,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardEISv3Family",
"localizedValue": "Standard EISv3 Family vCPUs"
}
}
},
{
"limit": 8,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardDCSFamily",
"localizedValue": "Standard DCS Family vCPUs"
"properties": {
"limit": 8,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardDCSFamily",
"localizedValue": "Standard DCS Family vCPUs"
}
}
},
{
"limit": 0,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardNVSv2Family",
"localizedValue": "Standard NVSv2 Family vCPUs"
"properties": {
"limit": 0,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardNVSv2Family",
"localizedValue": "Standard NVSv2 Family vCPUs"
}
}
},
{
"limit": 0,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardMSv2Family",
"localizedValue": "Standard MSv2 Family vCPUs"
"properties": {
"limit": 0,
"unit": "Count",
"currentValue": 0,
"name": {
"value": "standardMSv2Family",
"localizedValue": "Standard MSv2 Family vCPUs"
}
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,37 @@
"body": {
"value": [
{
"currentValue": 1,
"limit": 20,
"name": {
"localizedValue": "Regional Server Quota for West US",
"value": "ServerQuota"
},
"unit": "Count"
"properties": {
"currentValue": 1,
"limit": 20,
"name": {
"localizedValue": "Regional Server Quota for West US",
"value": "ServerQuota"
},
"unit": "Count"
}
},
{
"currentValue": 0,
"limit": 1,
"name": {
"localizedValue": "Free Database Count per Subscription for West US",
"value": "SubscriptionFreeDatabaseCount"
},
"unit": "Count"
"properties": {
"currentValue": 0,
"limit": 1,
"name": {
"localizedValue": "Free Database Count per Subscription for West US",
"value": "SubscriptionFreeDatabaseCount"
},
"unit": "Count"
}
},
{
"currentValue": 365,
"limit": 365,
"name": {
"localizedValue": "Free to Basic Database Upgrade count-down in West US",
"value": "SubscriptionFreeDatabaseDaysLeft"
},
"unit": "Count"
"properties": {
"currentValue": 365,
"limit": 365,
"name": {
"localizedValue": "Free to Basic Database Upgrade count-down in West US",
"value": "SubscriptionFreeDatabaseDaysLeft"
},
"unit": "Count"
}
}
]
}
Expand Down
Loading

0 comments on commit 84d9da8

Please sign in to comment.