-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initializing instance pools swagger and examples - no usages / managed instances get by instance pool * Add instance pool usages, use common resources, and instance pool usages examples * Updates to instance pool usages based on updated ARM usages contract * Update instance pool usages swagger based on arm review - rename UsageName -> Name * Updating version * Update instance pool usages operation id * update to usages.json since we're using new operation group * add usages to readme.md * fix extra line
- Loading branch information
1 parent
237aa47
commit 5587a88
Showing
4 changed files
with
432 additions
and
0 deletions.
There are no files selected for viewing
52 changes: 52 additions & 0 deletions
52
...urce-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsage.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "group1", | ||
"instancePoolName": "testIP", | ||
"api-version": "2018-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/vcore_utilization", | ||
"name": { | ||
"value": "VCore utilization", | ||
"localizedValue": "VCore utilization" | ||
}, | ||
"type": "Microsoft.Sql/instancePools/usages", | ||
"unit": "VCores", | ||
"currentValue": 12, | ||
"limit": 16, | ||
"requestedLimit": 40 | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/storage_utilization", | ||
"name": { | ||
"value": "Storage utilization", | ||
"localizedValue": "Storage utilization" | ||
}, | ||
"type": "Microsoft.Sql/instancePools/usages", | ||
"unit": "VCores", | ||
"currentValue": 384, | ||
"limit": 8196, | ||
"requestedLimit": null | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/database_utilization", | ||
"name": { | ||
"value": "Database utilization", | ||
"localizedValue": "Database utilization" | ||
}, | ||
"type": "Microsoft.Sql/instancePools/usages", | ||
"unit": "Number Of Databases", | ||
"currentValue": 5, | ||
"limit": 100, | ||
"requestedLimit": null | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
125 changes: 125 additions & 0 deletions
125
...ager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolUsageExpanded.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "group1", | ||
"instancePoolName": "testIP", | ||
"expandChildren": true, | ||
"api-version": "2018-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/vcore_utilization", | ||
"name": { | ||
"value": "VCore utilization", | ||
"localizedValue": "VCore utilization" | ||
}, | ||
"type": "Microsoft.Sql/instancePools/usages", | ||
"unit": "VCores", | ||
"currentValue": 12, | ||
"limit": 16, | ||
"requestedLimit": 40 | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/storage_utilization", | ||
"name": { | ||
"value": "Storage utilization", | ||
"localizedValue": "Storage utilization" | ||
}, | ||
"type": "Microsoft.Sql/instancePools/usages", | ||
"unit": "VCores", | ||
"currentValue": 384, | ||
"limit": 8196, | ||
"requestedLimit": null | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/usages/database_utilization", | ||
"name": { | ||
"value": "Database utilization", | ||
"localizedValue": "Database utilization" | ||
}, | ||
"type": "Microsoft.Sql/instancePools/usages", | ||
"unit": "Number Of Databases", | ||
"currentValue": 5, | ||
"limit": 100, | ||
"requestedLimit": null | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance1/usages/vcore_utilization", | ||
"name": { | ||
"value": "VCore utilization", | ||
"localizedValue": "VCore utilization" | ||
}, | ||
"type": "Microsoft.Sql/instancePools/managedInstances/usages", | ||
"unit": "VCores", | ||
"currentValue": null, | ||
"limit": 4, | ||
"requestedLimit": null | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance2/usages/vcore_utilization", | ||
"name": { | ||
"value": "VCore utilization", | ||
"localizedValue": "VCore utilization" | ||
}, | ||
"type": "Microsoft.Sql/instancePools/managedInstances/usages", | ||
"unit": "VCores", | ||
"currentValue": null, | ||
"limit": 4, | ||
"requestedLimit": 8 | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance1/usages/storage_utilization", | ||
"name": { | ||
"value": "Storage utilization", | ||
"localizedValue": "Storage utilization" | ||
}, | ||
"type": "Microsoft.Sql/instancePools/managedInstances/usages", | ||
"unit": "Gigabytes", | ||
"currentValue": null, | ||
"limit": 128, | ||
"requestedLimit": null | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance2/usages/storage_utilization", | ||
"name": { | ||
"value": "VCore utilization", | ||
"localizedValue": "VCore utilization" | ||
}, | ||
"type": "Microsoft.Sql/instancePools/managedInstances/usages", | ||
"unit": "Gigabytes", | ||
"currentValue": null, | ||
"limit": 128, | ||
"requestedLimit": 256 | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance1/usages/database_utilization", | ||
"name": { | ||
"value": "Database utilization", | ||
"localizedValue": "Database utilization" | ||
}, | ||
"type": "Microsoft.Sql/instancePools/managedInstances/usages", | ||
"unit": "Number Of Databases", | ||
"currentValue": 2, | ||
"limit": 100, | ||
"requestedLimit": null | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP/managedInstances/managedInstance2/usages/database_utilization", | ||
"name": { | ||
"value": "Database utilization", | ||
"localizedValue": "Database utilization" | ||
}, | ||
"type": "Microsoft.Sql/instancePools/managedInstances/usages", | ||
"unit": "Number Of Databases", | ||
"currentValue": 3, | ||
"limit": 100, | ||
"requestedLimit": null | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.