From 3a3134541a5dc5c0abcb83e1cb2c8dde6a1b571f Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 4 Jun 2020 15:42:36 -0700 Subject: [PATCH 001/127] 1.Breaking Change - Removing duplicate autoQuotaIncreaseState from supportTicketAction. 2. Removing state=enabledForPreview. 3. Updating Example. --- .../2019-07-19/examples/getAutoQuotaIncreaseStatus.json | 3 +-- .../preview/2019-07-19/examples/putAutoQuotaIncrease.json | 6 ++---- .../2019-07-19/examples/putAutoQuotaIncreaseTurnOff.json | 2 -- .../Microsoft.Capacity/preview/2019-07-19/quota.json | 7 +------ 4 files changed, 4 insertions(+), 14 deletions(-) diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/getAutoQuotaIncreaseStatus.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/getAutoQuotaIncreaseStatus.json index 6ac9a3d0a71c..2c23549bb2dc 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/getAutoQuotaIncreaseStatus.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/getAutoQuotaIncreaseStatus.json @@ -11,7 +11,7 @@ "name": "Automatic Quota Increase", "properties": { "settings": { - "autoQuotaIncreaseState": "enabledForPreview" + "autoQuotaIncreaseState": "enabled" }, "onSuccess": { "emailActions": { @@ -38,7 +38,6 @@ } }, "supportTicketAction": { - "autoQuotaIncreaseState": "enabledForPreview", "severity": "Minimal", "firstName": "FN", "lastName": "LN", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/putAutoQuotaIncrease.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/putAutoQuotaIncrease.json index 9dfc190deec2..d8dc24d500d2 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/putAutoQuotaIncrease.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/putAutoQuotaIncrease.json @@ -5,7 +5,7 @@ "autoQuotaIncreaseRequest": { "properties": { "settings": { - "autoQuotaIncreaseState": "enabledForPreview" + "autoQuotaIncreaseState": "enabled" }, "onSuccess": { "emailActions": { @@ -32,7 +32,6 @@ } }, "supportTicketAction": { - "autoQuotaIncreaseState": "enabledForPreview", "severity": "Minimal", "firstName": "FN", "lastName": "LN", @@ -57,7 +56,7 @@ "name": "Automatic Quota Increase", "properties": { "settings": { - "autoQuotaIncreaseState": "enabledForPreview" + "autoQuotaIncreaseState": "enabled" }, "onSuccess": { "emailActions": { @@ -84,7 +83,6 @@ } }, "supportTicketAction": { - "autoQuotaIncreaseState": "enabledForPreview", "severity": "Minimal", "firstName": "FN", "lastName": "LN", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/putAutoQuotaIncreaseTurnOff.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/putAutoQuotaIncreaseTurnOff.json index c7a2af0a7d21..1675b67ccf58 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/putAutoQuotaIncreaseTurnOff.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/putAutoQuotaIncreaseTurnOff.json @@ -32,7 +32,6 @@ } }, "supportTicketAction": { - "autoQuotaIncreaseState": "disabled", "severity": "Minimal", "firstName": "FN", "lastName": "LN", @@ -84,7 +83,6 @@ } }, "supportTicketAction": { - "autoQuotaIncreaseState": "disabled", "severity": "Minimal", "firstName": "FN", "lastName": "LN", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/quota.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/quota.json index e074aac5279f..a2f2557e130f 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/quota.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/quota.json @@ -927,10 +927,6 @@ "description": "The SupportRequest action.", "type": "object", "properties": { - "autoQuotaIncreaseState": { - "description": "Is support request action enabled.", - "$ref": "#/definitions/AqiState" - }, "severity": { "description": "The support request severity.", "$ref": "#/definitions/SeverityTypes" @@ -997,10 +993,9 @@ } }, "AqiState": { - "description": "The Auto quota increase feature state - enabled: feature is fully enabled, enabledForPreview: feature enabled for preview only, disabled: feature is disabled.", + "description": "The Auto quota increase feature state - enabled: feature is enabled, disabled: feature is disabled.", "enum": [ "enabled", - "enabledForPreview", "disabled" ], "x-ms-enum": { From d6599d1253b030bb4804fad9983dbb250575b9f9 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 25 Jun 2020 14:14:50 -0700 Subject: [PATCH 002/127] Updating Provider name in example. --- .../2019-07-19/examples/getMachineLearningServicesUsages.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/getMachineLearningServicesUsages.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/getMachineLearningServicesUsages.json index 824b3eef7d4e..fcdb3c1e7182 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/getMachineLearningServicesUsages.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/getMachineLearningServicesUsages.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "providerId": "Microsoft.BatchAI", + "providerId": "Microsoft.MachineLearningServices", "location": "eastus", "api-version": "2019-07-19-preview" }, From 15e533d08788dc0ee45215649429762c996c7c92 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 3 Dec 2020 12:56:40 -0800 Subject: [PATCH 003/127] Capacity RP Quota APIs for GA --- .../examples/getComputeOneSkuUsages.json | 24 + .../2020-10-25/examples/getComputeUsages.json | 138 +++ .../getMachineLearningServicesUsages.json | 38 + .../examples/getQuotaRequestStatusById.json | 44 + .../examples/getQuotaRequestStatusFailed.json | 45 + .../getQuotaRequestStatusInProgress.json | 35 + .../examples/getQuotaRequestsHistory.json | 113 +++ .../examples/patchComputeQuotaRequest.json | 55 ++ .../putComputeOneSkuQuotaRequest.json | 55 ++ ...LearningServicesQuotaRequestDedicated.json | 57 ++ ...arningServicesQuotaRequestLowPriority.json | 57 ++ .../stable/2020-10-25/quota.json | 886 ++++++++++++++++++ .../readme.azureresourceschema.md | 12 + .../resource-manager/readme.go.md | 10 + .../reservations/resource-manager/readme.md | 12 +- 15 files changed, 1580 insertions(+), 1 deletion(-) create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeUsages.json create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMachineLearningServicesUsages.json create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestsHistory.json create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/patchComputeQuotaRequest.json create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putComputeOneSkuQuotaRequest.json create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestDedicated.json create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestLowPriority.json create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json new file mode 100644 index 000000000000..ebff7547f730 --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "providerId": "Microsoft.Compute", + "location": "eastus", + "resourceName": "standardNDSFamily", + "api-version": "2020-10-25" + }, + "responses": { + "200": { + "body": { + "properties": { + "limit": 10, + "unit": "Count", + "currentValue": 0, + "name": { + "value": "standardNDSFamily", + "localizedValue": "Standard NDS Family vCPUs" + } + } + } + } + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeUsages.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeUsages.json new file mode 100644 index 000000000000..390a8831fafb --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeUsages.json @@ -0,0 +1,138 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "providerId": "Microsoft.Compute", + "location": "eastus", + "api-version": "2020-10-25" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "limit": 100, + "unit": "Count", + "currentValue": 0, + "name": { + "value": "standardFSv2Family", + "localizedValue": "Standard FSv2 Family vCPUs" + } + } + }, + { + "properties": { + "limit": 0, + "unit": "Count", + "currentValue": 0, + "name": { + "value": "standardNDSFamily", + "localizedValue": "Standard NDS Family vCPUs" + } + } + }, + { + "properties": { + "limit": 0, + "unit": "Count", + "currentValue": 0, + "name": { + "value": "standardNCSv2Family", + "localizedValue": "Standard NCSv2 Family vCPUs" + } + } + }, + { + "properties": { + "limit": 0, + "unit": "Count", + "currentValue": 0, + "name": { + "value": "standardNCSv3Family", + "localizedValue": "Standard NCSv3 Family vCPUs" + } + } + }, + { + "properties": { + "limit": 100, + "unit": "Count", + "currentValue": 0, + "name": { + "value": "standardLSv2Family", + "localizedValue": "Standard LSv2 Family vCPUs" + } + } + }, + { + "properties": { + "limit": 6, + "unit": "Count", + "currentValue": 0, + "name": { + "value": "standardPBSFamily", + "localizedValue": "Standard PBS Family vCPUs" + } + } + }, + { + "properties": { + "limit": 100, + "unit": "Count", + "currentValue": 0, + "name": { + "value": "standardEIv3Family", + "localizedValue": "Standard EIv3 Family vCPUs" + } + } + }, + { + "properties": { + "limit": 100, + "unit": "Count", + "currentValue": 0, + "name": { + "value": "standardEISv3Family", + "localizedValue": "Standard EISv3 Family vCPUs" + } + } + }, + { + "properties": { + "limit": 8, + "unit": "Count", + "currentValue": 0, + "name": { + "value": "standardDCSFamily", + "localizedValue": "Standard DCS Family vCPUs" + } + } + }, + { + "properties": { + "limit": 0, + "unit": "Count", + "currentValue": 0, + "name": { + "value": "standardNVSv2Family", + "localizedValue": "Standard NVSv2 Family vCPUs" + } + } + }, + { + "properties": { + "limit": 0, + "unit": "Count", + "currentValue": 0, + "name": { + "value": "standardMSv2Family", + "localizedValue": "Standard MSv2 Family vCPUs" + } + } + } + ], + "nextLink": "" + } + } + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMachineLearningServicesUsages.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMachineLearningServicesUsages.json new file mode 100644 index 000000000000..690c516420bc --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMachineLearningServicesUsages.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "providerId": "Microsoft.MachineLearningServices", + "location": "eastus", + "api-version": "2020-10-25" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "currentValue": 15, + "limit": 20, + "name": { + "value": "standardDv2Family", + "localizedValue": "Standard Dv2 Family vCPUs" + }, + "resourceType": "dedicated" + } + }, + { + "properties": { + "currentValue": 49, + "limit": 600, + "name": { + "value": "totalLowPriorityCores", + "localizedValue": "Total Regional Low-priority vCPUs" + }, + "resourceType": "lowPriority" + } + } + ] + } + } + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json new file mode 100644 index 000000000000..fec8c9c63482 --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "providerId": "Microsoft.Compute", + "location": "eastus", + "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "api-version": "2020-10-25" + }, + "responses": { + "200": { + "body": { + "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Capacity/serviceLimitsRequests", + "name": "00000000-0000-0000-0000-000000000000/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "properties": { + "requestSubmitTime": "2019-08-19T19:23:17.904Z", + "message": "Request completed", + "provisioningState": "Succeeded", + "value": [ + { + "limit": 200, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardHCSFamily", + "localizedValue": "Standard HCS Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Succeeded" + }, + { + "limit": 50, + "name": { + "value": "standardNCPromoFamily", + "localizedValue": "Standard NC Promo Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Succeeded" + } + ] + } + } + } + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json new file mode 100644 index 000000000000..8708ad729fc8 --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "providerId": "Microsoft.Compute", + "location": "eastus", + "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "api-version": "2020-10-25" + }, + "responses": { + "200": { + "body": { + "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Capacity/serviceLimitsRequests", + "name": "00000000-0000-0000-0000-000000000000/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "properties": { + "requestSubmitTime": "2019-08-19T19:23:17.904Z", + "message": "Request failed, please contatct support.", + "provisioningState": "Failed", + "value": [ + { + "limit": 200, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardHCSFamily", + "localizedValue": "Standard HCS Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Succeeded" + }, + { + "limit": 50, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardNCPromoFamily", + "localizedValue": "Standard NC Promo Family vCPUs" + }, + "message": "RRequest failed, please contatct support.", + "provisioningState": "Failed" + } + ] + } + } + } + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json new file mode 100644 index 000000000000..f9775dc4da8c --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "providerId": "Microsoft.Compute", + "location": "eastus", + "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "api-version": "2019-07-19-preview" + }, + "responses": { + "200": { + "body": { + "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Capacity/serviceLimitsRequests", + "name": "00000000-0000-0000-0000-000000000000/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "properties": { + "requestSubmitTime": "2019-08-19T19:23:17.904Z", + "message": "Request processing", + "provisioningState": "InProgress", + "value": [ + { + "limit": 50, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardNCPromoFamily", + "localizedValue": "Standard NC Promo Family vCPUs" + }, + "message": "Request processing", + "provisioningState": "InProgress" + } + ] + } + } + } + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestsHistory.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestsHistory.json new file mode 100644 index 000000000000..6453be3eb4d4 --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestsHistory.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "subscriptionId": "3f75fdf7-977e-44ad-990d-99f14f0f299f", + "providerId": "Microsoft.Compute", + "location": "eastus", + "api-version": "2020-10-25" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/3f75fdf7-977e-44ad-990d-99f14f0f299f/providers/microsoft.Capacity/resourceProviders/Microsoft.Compute/locations/eastus/serviceLimitsRequests?api-version=2020-10-25&$top=3", + "value": [ + { + "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Capacity/serviceLimitsRequests", + "name": "00000000-0000-0000-0000-000000000000/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "properties": { + "requestSubmitTime": "2019-08-19T19:23:17.904Z", + "message": "Request completed", + "provisioningState": "Success", + "value": [ + { + "limit": 200, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardHCSFamily", + "localizedValue": "Standard HCS Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Success" + }, + { + "limit": 50, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardNCPromoFamily", + "localizedValue": "Standard NC Promo Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Success" + } + ] + } + }, + { + "id": "7E73A85C-83BB-4DE4-903F-076F1A2B91D6", + "type": "Microsoft.Capacity/serviceLimitsRequests", + "name": "00000000-0000-0000-0000-000000000000/7E73A85C-83BB-4DE4-903F-076F1A2B91D6", + "properties": { + "requestSubmitTime": "2019-08-18T19:23:17.904Z", + "message": "Request completed", + "provisioningState": "Succeeded", + "value": [ + { + "limit": 100, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardNVSv3Family", + "localizedValue": "Standard NVSv3 Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Success" + }, + { + "limit": 150, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardNVPromoFamily", + "localizedValue": "Standard NV Promo Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Succeeded" + } + ] + } + }, + { + "id": "5E460077-AB53-4802-8997-A6940E0B7649", + "type": "Microsoft.Capacity/serviceLimitsRequests", + "name": "00000000-0000-0000-0000-000000000000/5E460077-AB53-4802-8997-A6940E0B7649", + "properties": { + "requestSubmitTime": "2019-08-17T19:23:17.904Z", + "message": "Request completed", + "provisioningState": "Succeeded", + "value": [ + { + "limit": 70, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardNCPromoFamily", + "localizedValue": "Standard NC Promo Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Succeeded" + }, + { + "limit": 52, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardHBSFamily", + "localizedValue": "Standard HBS Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Succeeded" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/patchComputeQuotaRequest.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/patchComputeQuotaRequest.json new file mode 100644 index 000000000000..b884e097975a --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/patchComputeQuotaRequest.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "D7EC67B3-7657-4966-BFFC-41EFD36BAAB3", + "providerId": "Microsoft.Compute", + "location": "eastus", + "resourceName": "standardFSv2Family", + "api-version": "2020-10-25", + "createQuotaRequest": { + "properties": { + "limit": 200, + "unit": "Count", + "name": { + "value": "standardFSv2Family" + } + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Capacity/resourceProviders/Microsoft.Compute/locations/eastus/serviceLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Capacity/ServiceLimits", + "properties": { + "provisioningState": "InProgress", + "message": "" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Capacity/resourceProviders/Microsoft.Compute/locations/eastus/serviceLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Capacity/serviceLimits", + "properties": { + "provisioningState": "Succeeded", + "message": "", + "properties": { + "properties": { + "limit": 200, + "unit": "Count", + "currentValue": 160, + "name": { + "value": "standardFSv2Family", + "localizedValue": "Standard FSv2 Family vCPUs" + }, + "quotaPeriod": "", + "properties": {} + } + } + } + } + } + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putComputeOneSkuQuotaRequest.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putComputeOneSkuQuotaRequest.json new file mode 100644 index 000000000000..7184e2231b8a --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putComputeOneSkuQuotaRequest.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "D7EC67B3-7657-4966-BFFC-41EFD36BAAB3", + "providerId": "Microsoft.Compute", + "location": "eastus", + "resourceName": "standardFSv2Family", + "api-version": "2020-10-25", + "createQuotaRequest": { + "properties": { + "limit": 200, + "unit": "Count", + "name": { + "value": "standardFSv2Family" + } + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Capacity/resourceProviders/Microsoft.Compute/locations/eastus/serviceLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Capacity/ServiceLimits", + "properties": { + "provisioningState": "InProgress", + "message": "" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Capacity/resourceProviders/Microsoft.Compute/locations/eastus/serviceLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Capacity/serviceLimits", + "properties": { + "provisioningState": "Succeeded", + "message": "Request succeeded", + "properties": { + "properties": { + "limit": 200, + "unit": "Count", + "currentValue": 160, + "name": { + "value": "standardFSv2Family", + "localizedValue": "Standard FSv2 Family vCPUs" + }, + "quotaPeriod": "", + "properties": {} + } + } + } + } + } + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestDedicated.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestDedicated.json new file mode 100644 index 000000000000..280a446a7360 --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestDedicated.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "D7EC67B3-7657-4966-BFFC-41EFD36BAAB3", + "providerId": "Microsoft.MachineLearningServices", + "location": "eastus", + "resourceName": "StandardDv2Family", + "api-version": "2020-10-25", + "createQuotaRequest": { + "properties": { + "limit": 200, + "unit": "Count", + "name": { + "value": "StandardDv2Family" + }, + "resourceType": "dedicated" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Capacity/resourceProviders/Microsoft.MachineLearningServices/locations/eastus/serviceLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Capacity/ServiceLimits", + "properties": { + "provisioningState": "InProgress", + "message": "" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Capacity/resourceProviders/Microsoft.MachineLearningServices/locations/eastus/serviceLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Capacity/serviceLimits", + "properties": { + "provisioningState": "Succeeded", + "message": "Request succeeded", + "properties": { + "properties": { + "limit": 200, + "unit": "Count", + "currentValue": 160, + "name": { + "value": "StandardDv2Family", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "resourceType": "dedicated", + "quotaPeriod": "", + "properties": {} + } + } + } + } + } + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestLowPriority.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestLowPriority.json new file mode 100644 index 000000000000..d4f7b2bee919 --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestLowPriority.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "D7EC67B3-7657-4966-BFFC-41EFD36BAAB3", + "providerId": "Microsoft.MachineLearningServices", + "location": "eastus", + "resourceName": "TotalLowPriorityCores", + "api-version": "2020-10-25", + "createQuotaRequest": { + "properties": { + "limit": 200, + "unit": "Count", + "name": { + "value": "TotalLowPriorityCores" + }, + "resourceType": "lowPriority" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Capacity/resourceProviders/Microsoft.MachineLearningServices/locations/eastus/serviceLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Capacity/ServiceLimits", + "properties": { + "provisioningState": "InProgress", + "message": "" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Capacity/resourceProviders/Microsoft.MachineLearningServices/locations/eastus/serviceLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Capacity/serviceLimits", + "properties": { + "provisioningState": "Succeeded", + "message": "Request succeeded", + "properties": { + "properties": { + "limit": 200, + "unit": "Count", + "currentValue": 160, + "name": { + "value": "TotalLowPriorityCores", + "localizedValue": "Total Cluster Low Priority Regional vCPUs" + }, + "resourceType": "lowPriority", + "quotaPeriod": "", + "properties": {} + } + } + } + } + } + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json new file mode 100644 index 000000000000..52f8ba2754fe --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json @@ -0,0 +1,886 @@ +{ + "swagger": "2.0", + "info": { + "version": "2020-10-25", + "title": "Azure Reservation API", + "description": "Microsoft Azure Quota Resource Provider" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow" + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}": { + "get": { + "tags": [ + "QuotaInformation" + ], + "description": "Get the current quotas (service limits) and usage of a resource. You can use the response from the GET operation to submit quota update requests.", + "operationId": "Quota_Get", + "x-ms-examples": { + "Quotas_Request_ForCompute": { + "$ref": "./examples/getComputeOneSkuUsages.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdInParameters" + }, + { + "$ref": "#/parameters/ProviderIdInParameters" + }, + { + "$ref": "#/parameters/LocationIdInParameters" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceNameInParameters" + } + ], + "responses": { + "200": { + "description": "OK. Returns the paginated quota information.", + "schema": { + "$ref": "#/definitions/CurrentQuotaLimitBase" + }, + "headers": { + "ETag": { + "description": "Current entity state version. It should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } + } + }, + "default": { + "description": "Error description in the response.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + } + }, + "put": { + "tags": [ + "QuotaInformation" + ], + "description": "Create or update the quotas (service limits) of a resource to the requested value.\n Steps:\n\r 1. Make the Get request to get the quota information for specific resource.\n\r 2. To increase the quota, update the limit field in the response from Get request to new value.\n\r 3. Submit the JSON to the quota request API to update the quota.\r\n The Create quota request may be constructed as follows. The PUT operation can be used to update the quota.", + "operationId": "Quota_CreateOrUpdate", + "x-ms-examples": { + "Quotas_Request_ForCompute": { + "$ref": "./examples/putComputeOneSkuQuotaRequest.json" + }, + "Quotas_Request_ForMachineLearningServices_DedicatedResource": { + "$ref": "./examples/putMachineLearningServicesQuotaRequestDedicated.json" + }, + "Quotas_Request_ForMachineLearningServices_LowPriorityResource": { + "$ref": "./examples/putMachineLearningServicesQuotaRequestLowPriority.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdInParameters" + }, + { + "$ref": "#/parameters/ProviderIdInParameters" + }, + { + "$ref": "#/parameters/LocationIdInParameters" + }, + { + "$ref": "#/parameters/ResourceNameInParameters" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "createQuotaRequest", + "in": "body", + "description": "Quota requests payload.", + "required": true, + "schema": { + "$ref": "#/definitions/CurrentQuotaLimitBase" + } + } + ], + "responses": { + "200": { + "description": "OK. Returns details of the quota request.", + "schema": { + "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" + } + }, + "201": { + "description": "The request is accepted and being processed. Use the requestId parameter to check the status of the request.", + "schema": { + "$ref": "#/definitions/QuotaRequestSubmitResponse201" + } + }, + "default": { + "description": "Error description in the response.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + } + }, + "patch": { + "tags": [ + "QuotaInformation" + ], + "description": "Update the quota (service limits) of this resource to the requested value.\n\r • To get the quota information for specific resource, send a GET request.\n\r • To increase the quota, update the limit field from the GET response to a new value.\n\r • To update the quota value, submit the JSON response to the quota request API to update the quota.\r\n • To update the quota. use the PATCH operation.", + "operationId": "Quota_Update", + "x-ms-examples": { + "Quotas_Request_PatchForCompute": { + "$ref": "./examples/patchComputeQuotaRequest.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdInParameters" + }, + { + "$ref": "#/parameters/ProviderIdInParameters" + }, + { + "$ref": "#/parameters/LocationIdInParameters" + }, + { + "$ref": "#/parameters/ResourceNameInParameters" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "createQuotaRequest", + "in": "body", + "description": "Payload for the quota request.", + "required": true, + "schema": { + "$ref": "#/definitions/CurrentQuotaLimitBase" + } + } + ], + "responses": { + "200": { + "description": "OK. Returns details of the quota request.", + "schema": { + "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" + } + }, + "201": { + "description": "The request is accepted and is being processed. Use the requestId parameter to check the status.", + "schema": { + "$ref": "#/definitions/QuotaRequestSubmitResponse201" + } + }, + "default": { + "description": "Error description in the response.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits": { + "get": { + "tags": [ + "QuotaInformation" + ], + "description": "Gets a list of current quotas (service limits) and usage for all resources. The response from the list quota operation can be leveraged to request quota updates.", + "operationId": "Quota_List", + "x-ms-examples": { + "Quotas_listUsagesForCompute": { + "$ref": "./examples/getComputeUsages.json" + }, + "Quotas_listUsagesMachineLearningServices": { + "$ref": "./examples/getMachineLearningServicesUsages.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdInParameters" + }, + { + "$ref": "#/parameters/ProviderIdInParameters" + }, + { + "$ref": "#/parameters/LocationIdInParameters" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. Returns the paginated quota information.", + "schema": { + "$ref": "#/definitions/QuotaLimits" + }, + "headers": { + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } + } + }, + "default": { + "description": "Error description in the response.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimitsRequests/{id}": { + "get": { + "tags": [ + "QuotaRequests" + ], + "x-ms-examples": { + "QuotaRequestStatus": { + "$ref": "./examples/getQuotaRequestStatusById.json" + }, + "QuotaRequestInProgress": { + "$ref": "./examples/getQuotaRequestStatusInProgress.json" + }, + "QuotaRequestFailed": { + "$ref": "./examples/getQuotaRequestStatusFailed.json" + } + }, + "description": "For the specified Azure region (location), get the details and status of the quota request by the quota request ID for the resources of the resource provider. The PUT request for service limits returns a response with the requestId parameter.", + "operationId": "QuotaRequestStatus_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdInParameters" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ProviderIdInParameters" + }, + { + "$ref": "#/parameters/LocationIdInParameters" + }, + { + "$ref": "#/parameters/RequestIdInParameters" + } + ], + "responses": { + "200": { + "description": "Ok. Returns the status of the quota request.", + "schema": { + "$ref": "#/definitions/QuotaRequestDetails" + } + }, + "default": { + "description": "Error description in the response.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimitsRequests": { + "get": { + "tags": [ + "QuotaRequests" + ], + "x-ms-examples": { + "QuotaRequestHistory": { + "$ref": "./examples/getQuotaRequestsHistory.json" + } + }, + "description": "For the specified Azure region (location), subscription, and resource provider, get the history of the quota requests for the past year. To select specific quota requests, use the oData filter.", + "operationId": "QuotaRequestStatus_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdInParameters" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ProviderIdInParameters" + }, + { + "$ref": "#/parameters/LocationIdInParameters" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "| Field | Supported operators \n|---------------------|------------------------\n\r\n|requestSubmitTime | ge, le, eq, gt, lt\n" + }, + { + "$ref": "#/parameters/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Ok. Returns details and status of the quota request.", + "schema": { + "$ref": "#/definitions/QuotaRequestDetailsList" + } + }, + "default": { + "description": "Error description in the response.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "CurrentQuotaLimit": { + "type": "object", + "description": "Current quota limits.", + "x-ms-azure-resource": true, + "properties": { + "quotaInformation": { + "description": "Quota details.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/CurrentQuotaLimitBase" + }, + "properties": { + "description": "Additional properties for the quota status for the resource.", + "$ref": "#/definitions/QuotaRequestStatusDetails", + "x-ms-client-flatten": true + } + } + }, + "CurrentQuotaLimitBase": { + "type": "object", + "description": "Quota properties.", + "x-ms-azure-resource": true, + "properties": { + "properties": { + "description": "Quota properties for the resource.", + "$ref": "#/definitions/QuotaProperties" + } + } + }, + "QuotaProperties": { + "description": "Quota properties for the resource.", + "type": "object", + "properties": { + "limit": { + "description": "Quota properties.", + "type": "integer" + }, + "currentValue": { + "description": "Current usage value for the resource.", + "type": "integer", + "readOnly": true + }, + "unit": { + "description": " The limit units, such as **count** and **bytes**. Use the unit field provided in the response of the GET quota operation.", + "type": "string", + "readOnly": false + }, + "name": { + "description": "Name of the resource provide by the resource provider. Use this property for quotaRequests resource operations.", + "$ref": "#/definitions/ResourceName" + }, + "resourceType": { + "description": "The name of the resource type.", + "$ref": "#/definitions/ResourceTypesName", + "readOnly": false + }, + "quotaPeriod": { + "description": "The time period over which the quota usage values are summarized. For example, P1D (per one day), PT1M (per one minute), and PT1S (per one second). This parameter is optional because, for some resources such as compute, the time period is irrelevant.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Additional properties for the specified resource provider.", + "type": "object" + } + } + }, + "ResourceName": { + "description": "Resource name provided by the resource provider. Use this property for quotaRequest parameter.", + "properties": { + "value": { + "description": "Resource name.", + "type": "string", + "readOnly": false + }, + "localizedValue": { + "description": "Resource display localized name.", + "type": "string", + "readOnly": true + } + } + }, + "QuotaLimits": { + "description": "Quota limits.", + "properties": { + "value": { + "description": "List of quotas (service limits).", + "type": "array", + "items": { + "$ref": "#/definitions/CurrentQuotaLimitBase" + } + }, + "nextLink": { + "description": "The URI for fetching the next page of quotas (service limits). When no more pages exist, the value is null.", + "type": "string" + } + } + }, + "QuotaLimitsResponse": { + "description": "Quotas (service limits) in the request response.", + "properties": { + "value": { + "description": "List of quotas with the quota request status.", + "type": "array", + "items": { + "$ref": "#/definitions/CurrentQuotaLimit" + } + }, + "nextLink": { + "description": "The URI for fetching the next page of quota limits. When no more pages exist, the value is null.", + "type": "string" + } + } + }, + "CreateGenericQuotaRequestParameters": { + "type": "object", + "description": "Quota change requests information.", + "properties": { + "value": { + "description": "Quota change requests.", + "type": "array", + "items": { + "$ref": "#/definitions/CurrentQuotaLimitBase" + } + } + } + }, + "SubRequest": { + "type": "object", + "description": "The sub-request submitted with the quota request.", + "properties": { + "limit": { + "description": "Quota (resource limit).", + "type": "integer", + "readOnly": true + }, + "name": { + "description": "The resource name.", + "$ref": "#/definitions/ResourceName" + }, + "resourceType": { + "description": "Resource type for which the quota check was made.", + "type": "string", + "readOnly": true + }, + "unit": { + "description": " The limit units, such as **count** and **bytes**. Use the unit field provided in the response of the GET quota operation.", + "type": "string" + }, + "provisioningState": { + "description": "The quota request status.", + "$ref": "#/definitions/QuotaRequestState" + }, + "message": { + "description": "User-friendly status message.", + "type": "string", + "readOnly": true + }, + "subRequestId": { + "description": "Sub request ID for individual request.", + "type": "string", + "readOnly": true + } + } + }, + "QuotaRequestOneResourceSubmitResponse": { + "description": "Response for the quota submission request.", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "The quota request ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of the quota request.", + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Type of resource. \"Microsoft.Capacity/ServiceLimits\"" + }, + "properties": { + "description": "The details for quota request.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/quotaRequestOneResourceProperties" + } + } + }, + "QuotaRequestSubmitResponse": { + "description": "Response for the quota submission request.", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "The quota request ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of the quota request.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "The quota request details.", + "type": "object", + "$ref": "#/definitions/QuotaRequestProperties" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Type of resource. \"Microsoft.Capacity/serviceLimits\"" + } + } + }, + "QuotaRequestSubmitResponse201": { + "description": "Response with request ID that the quota request was accepted.", + "type": "object", + "properties": { + "id": { + "description": "The quota request ID. Use the requestId parameter to check the request status.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Operation ID", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Quota request status.", + "$ref": "#/definitions/QuotaRequestStatusDetails", + "x-ms-client-flatten": true + } + } + }, + "QuotaRequestStatusDetails": { + "description": "Quota request status details.", + "type": "object", + "properties": { + "provisioningState": { + "description": "The details of the quota request status.", + "$ref": "#/definitions/QuotaRequestState", + "readOnly": true + }, + "message": { + "description": "A user friendly message.", + "type": "string", + "readOnly": true + } + } + }, + "QuotaRequestDetails": { + "type": "object", + "description": "Quota request details.", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "Quota request ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Quota request name.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Quota request details.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/QuotaRequestProperties" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + } + } + }, + "QuotaRequestDetailsList": { + "description": "Quota request details.", + "type": "object", + "properties": { + "value": { + "description": "The quota requests.", + "type": "array", + "items": { + "$ref": "#/definitions/QuotaRequestDetails" + } + }, + "nextLink": { + "description": "The URI to fetch the next page of quota limits. When there are no more pages, this is null.", + "type": "string" + } + } + }, + "QuotaRequestProperties": { + "type": "object", + "description": "The details of quota request.", + "properties": { + "provisioningState": { + "description": "The quota request status.", + "$ref": "#/definitions/QuotaRequestState" + }, + "message": { + "description": "User friendly status message.", + "type": "string", + "readOnly": true + }, + "requestSubmitTime": { + "description": "The time when the quota request was submitted using format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.", + "type": "string", + "readOnly": true, + "format": "date-time" + }, + "value": { + "description": "The quotaRequests.", + "type": "array", + "items": { + "$ref": "#/definitions/SubRequest" + } + } + } + }, + "quotaRequestOneResourceProperties": { + "type": "object", + "description": "The details of quota request.", + "properties": { + "provisioningState": { + "description": "The quota request status.", + "readOnly": true, + "$ref": "#/definitions/QuotaRequestState" + }, + "message": { + "description": "User friendly status message.", + "type": "string", + "readOnly": true + }, + "requestSubmitTime": { + "description": "The time when the quota request was submitted using format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.", + "type": "string", + "readOnly": true, + "format": "date-time" + }, + "properties": { + "description": "The quota request addition properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/CurrentQuotaLimitBase" + } + } + }, + "QuotaRequestState": { + "description": "The quota request status.", + "enum": [ + "Accepted", + "Invalid", + "Succeeded", + "Failed", + "InProgress" + ], + "x-ms-enum": { + "name": "QuotaRequestState", + "modelAsString": true + } + }, + "ResourceTypesName": { + "description": "The resource types.", + "enum": [ + "standard", + "dedicated", + "lowPriority", + "shared", + "serviceSpecific" + ], + "x-ms-enum": { + "name": "ResourceType", + "modelAsString": true + } + }, + "ExceptionResponse": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ServiceError", + "description": "The API error details." + } + }, + "description": "The API error." + }, + "ServiceError": { + "description": "The API error details.", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "message": { + "type": "string", + "description": "The error message text." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceErrorDetail" + }, + "description": "The list of error details.", + "readOnly": true + } + } + }, + "ServiceErrorDetail": { + "description": "The error details.", + "type": "object", + "properties": { + "code": { + "type": "string", + "readOnly": true, + "description": "The error code." + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The error message." + } + } + } + }, + "parameters": { + "SubscriptionIdInParameters": { + "name": "subscriptionId", + "x-ms-parameter-location": "method", + "in": "path", + "required": true, + "type": "string", + "description": "Azure subscription ID." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "API version." + }, + "LocationIdInParameters": { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "Azure region.", + "x-ms-parameter-location": "method" + }, + "ProviderIdInParameters": { + "name": "providerId", + "in": "path", + "required": true, + "type": "string", + "description": "Azure resource provider ID.", + "x-ms-parameter-location": "method" + }, + "ResourceNameInParameters": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource name for a resource provider, such as SKU name for Microsoft.Compute, Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices", + "x-ms-parameter-location": "method" + }, + "RequestIdInParameters": { + "name": "id", + "in": "path", + "required": true, + "type": "string", + "description": "Quota Request ID.", + "x-ms-parameter-location": "method" + }, + "TopQueryParameter": { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "Number of records to return.", + "minimum": 1, + "x-ms-parameter-location": "method" + }, + "SkipTokenParameter": { + "name": "$skiptoken", + "in": "query", + "type": "string", + "required": false, + "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element includes a skiptoken parameter that specifies a starting point to use for subsequent calls.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/reservations/resource-manager/readme.azureresourceschema.md b/specification/reservations/resource-manager/readme.azureresourceschema.md index 8bdee0743c2a..de32653a4299 100644 --- a/specification/reservations/resource-manager/readme.azureresourceschema.md +++ b/specification/reservations/resource-manager/readme.azureresourceschema.md @@ -6,6 +6,7 @@ These settings apply only when `--azureresourceschema` is specified on the comma ``` yaml $(azureresourceschema) && $(multiapi) batch: + - tag: schema-capacity-2020-10-25 - tag: schema-capacity-2019-07-19 - tag: schema-capacity-2019-04-01 - tag: schema-capacity-2018-06-01 @@ -15,6 +16,17 @@ batch: Please also specify `--azureresourceschema-folder=`. +### Tag: schema-capacity-2020-10-25 and azureresourceschema + +``` yaml $(tag) == 'schema-capacity-2020-10-25' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas + +# all the input files in this apiVersion +input-file: + - Microsoft.Capacity/stable/2020-10-25/quota.json + +``` + ### Tag: schema-capacity-2019-07-19 and azureresourceschema ``` yaml $(tag) == 'schema-capacity-2019-07-19' && $(azureresourceschema) diff --git a/specification/reservations/resource-manager/readme.go.md b/specification/reservations/resource-manager/readme.go.md index 57640bc8c536..1c311700f507 100644 --- a/specification/reservations/resource-manager/readme.go.md +++ b/specification/reservations/resource-manager/readme.go.md @@ -13,12 +13,22 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2020-10-25 - tag: package-preview-2019-07-19 - tag: package-preview-2019-04 - tag: package-2018-06 - tag: package-2017-11 ``` +### Tag: package-2020-10-25 and go + +These settings apply only when `--tag=package-2020-10-25 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2020-10-25' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-10-25/$(namespace) +``` + ### Tag: package-preview-2019-07-19 and go These settings apply only when `--tag=package-preview-2019-07-19 --go` is specified on the command line. diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index cbbdc7ea762c..68a384aa9861 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -26,7 +26,17 @@ These are the global settings for the Reservations API. ``` yaml openapi-type: arm -tag: package-2020-11-preview +tag: package-2020-10-25 +``` + +### Tag: package-2020-10-25 + +These settings apply only when `--tag=package-2020-10-25` is specified on the command line. + +``` yaml $(tag) == 'package-2020-10-25' +input-file: + - Microsoft.Capacity/stable/2017-11-01/reservations.json + - Microsoft.Capacity/stable/2020-10-25/quota.json ``` ### Tag: package-2020-11-preview From 8f96e78f1f5adefa0ee915533a2877eb3fc93d16 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 10 Dec 2020 11:14:44 -0800 Subject: [PATCH 004/127] Adding preview version to stable dir as base files. --- .../examples/getComputeOneSkuUsages.json | 2 +- .../2020-10-25/examples/getComputeUsages.json | 2 +- .../getMachineLearningServicesUsages.json | 2 +- .../examples/getQuotaRequestStatusById.json | 2 +- .../examples/getQuotaRequestStatusFailed.json | 2 +- .../getQuotaRequestStatusInProgress.json | 10 + .../examples/getQuotaRequestsHistory.json | 4 +- .../examples/patchComputeQuotaRequest.json | 2 +- .../putComputeOneSkuQuotaRequest.json | 2 +- ...LearningServicesQuotaRequestDedicated.json | 2 +- ...arningServicesQuotaRequestLowPriority.json | 2 +- .../stable/2020-10-25/quota.json | 437 +++++++++++++++--- 12 files changed, 381 insertions(+), 88 deletions(-) diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json index ebff7547f730..f5999b070097 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json @@ -4,7 +4,7 @@ "providerId": "Microsoft.Compute", "location": "eastus", "resourceName": "standardNDSFamily", - "api-version": "2020-10-25" + "api-version": "2019-07-19-preview" }, "responses": { "200": { diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeUsages.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeUsages.json index 390a8831fafb..e973260d3e20 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeUsages.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeUsages.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "providerId": "Microsoft.Compute", "location": "eastus", - "api-version": "2020-10-25" + "api-version": "2019-07-19-preview" }, "responses": { "200": { diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMachineLearningServicesUsages.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMachineLearningServicesUsages.json index 690c516420bc..fcdb3c1e7182 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMachineLearningServicesUsages.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMachineLearningServicesUsages.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "providerId": "Microsoft.MachineLearningServices", "location": "eastus", - "api-version": "2020-10-25" + "api-version": "2019-07-19-preview" }, "responses": { "200": { diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json index fec8c9c63482..3d4ff3c2aaa6 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json @@ -4,7 +4,7 @@ "providerId": "Microsoft.Compute", "location": "eastus", "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "api-version": "2020-10-25" + "api-version": "2019-07-19-preview" }, "responses": { "200": { diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json index 8708ad729fc8..bd23f32aba75 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json @@ -4,7 +4,7 @@ "providerId": "Microsoft.Compute", "location": "eastus", "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "api-version": "2020-10-25" + "api-version": "2019-07-19-preview" }, "responses": { "200": { diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json index f9775dc4da8c..b876be1afb02 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json @@ -17,6 +17,16 @@ "message": "Request processing", "provisioningState": "InProgress", "value": [ + { + "limit": 200, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardHCSFamily", + "localizedValue": "Standard HCS Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Succeeded" + }, { "limit": 50, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestsHistory.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestsHistory.json index 6453be3eb4d4..b75b60f0d9b6 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestsHistory.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestsHistory.json @@ -3,12 +3,12 @@ "subscriptionId": "3f75fdf7-977e-44ad-990d-99f14f0f299f", "providerId": "Microsoft.Compute", "location": "eastus", - "api-version": "2020-10-25" + "api-version": "2019-07-19-preview" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/3f75fdf7-977e-44ad-990d-99f14f0f299f/providers/microsoft.Capacity/resourceProviders/Microsoft.Compute/locations/eastus/serviceLimitsRequests?api-version=2020-10-25&$top=3", + "nextLink": "https://management.azure.com/subscriptions/3f75fdf7-977e-44ad-990d-99f14f0f299f/providers/microsoft.Capacity/resourceProviders/Microsoft.Compute/locations/eastus/serviceLimitsRequests?api-version=2019-07-19-preview&$top=3", "value": [ { "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/patchComputeQuotaRequest.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/patchComputeQuotaRequest.json index b884e097975a..e119473eca89 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/patchComputeQuotaRequest.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/patchComputeQuotaRequest.json @@ -4,7 +4,7 @@ "providerId": "Microsoft.Compute", "location": "eastus", "resourceName": "standardFSv2Family", - "api-version": "2020-10-25", + "api-version": "2019-07-19-preview", "createQuotaRequest": { "properties": { "limit": 200, diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putComputeOneSkuQuotaRequest.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putComputeOneSkuQuotaRequest.json index 7184e2231b8a..e8328d5f6e28 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putComputeOneSkuQuotaRequest.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putComputeOneSkuQuotaRequest.json @@ -4,7 +4,7 @@ "providerId": "Microsoft.Compute", "location": "eastus", "resourceName": "standardFSv2Family", - "api-version": "2020-10-25", + "api-version": "2019-07-19-preview", "createQuotaRequest": { "properties": { "limit": 200, diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestDedicated.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestDedicated.json index 280a446a7360..43fdf27615f5 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestDedicated.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestDedicated.json @@ -4,7 +4,7 @@ "providerId": "Microsoft.MachineLearningServices", "location": "eastus", "resourceName": "StandardDv2Family", - "api-version": "2020-10-25", + "api-version": "2019-07-19-preview", "createQuotaRequest": { "properties": { "limit": 200, diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestLowPriority.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestLowPriority.json index d4f7b2bee919..8893da3a15ae 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestLowPriority.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestLowPriority.json @@ -4,7 +4,7 @@ "providerId": "Microsoft.MachineLearningServices", "location": "eastus", "resourceName": "TotalLowPriorityCores", - "api-version": "2020-10-25", + "api-version": "2019-07-19-preview", "createQuotaRequest": { "properties": { "limit": 200, diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json index 52f8ba2754fe..a2f2557e130f 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json @@ -1,9 +1,9 @@ { "swagger": "2.0", "info": { - "version": "2020-10-25", + "version": "2019-07-19-preview", "title": "Azure Reservation API", - "description": "Microsoft Azure Quota Resource Provider" + "description": "Microsoft Azure Quota Resource Provider." }, "host": "management.azure.com", "schemes": [ @@ -39,7 +39,7 @@ "tags": [ "QuotaInformation" ], - "description": "Get the current quotas (service limits) and usage of a resource. You can use the response from the GET operation to submit quota update requests.", + "description": "Gets the current service limits (quotas) and usage of a resource. The response from Get API can be leveraged to submit quota update requests.", "operationId": "Quota_Get", "x-ms-examples": { "Quotas_Request_ForCompute": { @@ -65,19 +65,19 @@ ], "responses": { "200": { - "description": "OK. Returns the paginated quota information.", + "description": "OK. Quota information will be returned as response with pagination.", "schema": { "$ref": "#/definitions/CurrentQuotaLimitBase" }, "headers": { "ETag": { - "description": "Current entity state version. It should be treated as opaque and used to make conditional HTTP requests.", + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", "type": "string" } } }, "default": { - "description": "Error description in the response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "#/definitions/ExceptionResponse" } @@ -88,7 +88,7 @@ "tags": [ "QuotaInformation" ], - "description": "Create or update the quotas (service limits) of a resource to the requested value.\n Steps:\n\r 1. Make the Get request to get the quota information for specific resource.\n\r 2. To increase the quota, update the limit field in the response from Get request to new value.\n\r 3. Submit the JSON to the quota request API to update the quota.\r\n The Create quota request may be constructed as follows. The PUT operation can be used to update the quota.", + "description": "Create or update the service limits (quota) of a resource to requested value.\n Steps:\n\r 1. Make the Get request to get the quota information for specific resource.\n\r 2. To increase the quota, update the limit field in the response from Get request to new value.\n\r 3. Submit the JSON to the quota request API to update the quota.\r\n The Create quota request may be constructed as follows. The PUT operation can be used to update the quota.", "operationId": "Quota_CreateOrUpdate", "x-ms-examples": { "Quotas_Request_ForCompute": { @@ -133,19 +133,19 @@ ], "responses": { "200": { - "description": "OK. Returns details of the quota request.", + "description": "OK. Returns Quota requests details.", "schema": { "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" } }, "201": { - "description": "The request is accepted and being processed. Use the requestId parameter to check the status of the request.", + "description": "The request is accepted and is being processed. Please use requestId to check the status.", "schema": { "$ref": "#/definitions/QuotaRequestSubmitResponse201" } }, "default": { - "description": "Error description in the response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "#/definitions/ExceptionResponse" } @@ -156,7 +156,7 @@ "tags": [ "QuotaInformation" ], - "description": "Update the quota (service limits) of this resource to the requested value.\n\r • To get the quota information for specific resource, send a GET request.\n\r • To increase the quota, update the limit field from the GET response to a new value.\n\r • To update the quota value, submit the JSON response to the quota request API to update the quota.\r\n • To update the quota. use the PATCH operation.", + "description": "Update the service limits (quota) of a resource to requested value.\n Steps:\n\r 1. Make the Get request to get the quota information for specific resource.\n\r 2. To increase the quota, update the limit field in the response from Get request to new value.\n\r 3. Submit the JSON to the quota request API to update the quota.\r\n The Update quota request may be constructed as follows. The PATCH operation can be used to update the quota.", "operationId": "Quota_Update", "x-ms-examples": { "Quotas_Request_PatchForCompute": { @@ -186,7 +186,7 @@ { "name": "createQuotaRequest", "in": "body", - "description": "Payload for the quota request.", + "description": "Quota requests payload.", "required": true, "schema": { "$ref": "#/definitions/CurrentQuotaLimitBase" @@ -195,19 +195,19 @@ ], "responses": { "200": { - "description": "OK. Returns details of the quota request.", + "description": "OK. Returns Quota requests details.", "schema": { "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" } }, "201": { - "description": "The request is accepted and is being processed. Use the requestId parameter to check the status.", + "description": "The request is accepted and is being processed. Use requestId to check the status.", "schema": { "$ref": "#/definitions/QuotaRequestSubmitResponse201" } }, "default": { - "description": "Error description in the response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "#/definitions/ExceptionResponse" } @@ -220,7 +220,7 @@ "tags": [ "QuotaInformation" ], - "description": "Gets a list of current quotas (service limits) and usage for all resources. The response from the list quota operation can be leveraged to request quota updates.", + "description": "Get a list of current service limits (quota) and usages of all the resources. The response from List API can be leveraged to submit quota update requests.", "operationId": "Quota_List", "x-ms-examples": { "Quotas_listUsagesForCompute": { @@ -228,6 +228,9 @@ }, "Quotas_listUsagesMachineLearningServices": { "$ref": "./examples/getMachineLearningServicesUsages.json" + }, + "Quotas_listUsagesForMsSql": { + "$ref": "./examples/getMsSqlUsages.json" } }, "parameters": [ @@ -246,7 +249,7 @@ ], "responses": { "200": { - "description": "OK. Returns the paginated quota information.", + "description": "OK. Quota information will be returned as response with pagination.", "schema": { "$ref": "#/definitions/QuotaLimits" }, @@ -258,7 +261,7 @@ } }, "default": { - "description": "Error description in the response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "#/definitions/ExceptionResponse" } @@ -285,7 +288,7 @@ "$ref": "./examples/getQuotaRequestStatusFailed.json" } }, - "description": "For the specified Azure region (location), get the details and status of the quota request by the quota request ID for the resources of the resource provider. The PUT request for service limits returns a response with the requestId parameter.", + "description": "Gets the QuotaRequest details and status by the quota request Id for the resources for the resource provider at a specific location. The requestId is returned as response to the Put requests for serviceLimits.", "operationId": "QuotaRequestStatus_Get", "parameters": [ { @@ -306,13 +309,13 @@ ], "responses": { "200": { - "description": "Ok. Returns the status of the quota request.", + "description": "Ok. Returning the status for the quota request .", "schema": { "$ref": "#/definitions/QuotaRequestDetails" } }, "default": { - "description": "Error description in the response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "#/definitions/ExceptionResponse" } @@ -330,7 +333,7 @@ "$ref": "./examples/getQuotaRequestsHistory.json" } }, - "description": "For the specified Azure region (location), subscription, and resource provider, get the history of the quota requests for the past year. To select specific quota requests, use the oData filter.", + "description": "For the specified location and Resource provider gets the current quota requests under the subscription over the time period of one year ago from now to one year back. oData filter can be used to select quota requests.", "operationId": "QuotaRequestStatus_List", "parameters": [ { @@ -361,13 +364,13 @@ ], "responses": { "200": { - "description": "Ok. Returns details and status of the quota request.", + "description": "Ok. Sending Quota request status and details", "schema": { "$ref": "#/definitions/QuotaRequestDetailsList" } }, "default": { - "description": "Error description in the response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "#/definitions/ExceptionResponse" } @@ -377,21 +380,103 @@ "nextLinkName": "nextLink" } } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/autoQuotaIncrease": { + "get": { + "tags": [ + "AutoQuotaIncrease" + ], + "description": "Gets the Auto Quota Increase enrollment details for the specified subscription.", + "operationId": "AutoQuotaIncrease_GetProperties", + "x-ms-examples": { + "GetAutoQuotaIncreaseSettings": { + "$ref": "./examples/getAutoQuotaIncreaseStatus.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdInParameters" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Ok. Returning the properties of auto quota increase .", + "schema": { + "$ref": "#/definitions/AutoQuotaIncreaseDetail" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + } + }, + "put": { + "tags": [ + "AutoQuotaIncrease" + ], + "description": "Sets the Auto Quota Increase enrollment properties for the specified subscription.", + "operationId": "AutoQuotaIncrease_Create", + "x-ms-examples": { + "SetAutoQuotaIncreaseSettings": { + "$ref": "./examples/putAutoQuotaIncrease.json" + }, + "TurnOffAutoQuotaIncrease": { + "$ref": "./examples/putAutoQuotaIncreaseTurnOff.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdInParameters" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "autoQuotaIncreaseRequest", + "in": "body", + "description": "Auto Quota increase request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/AutoQuotaIncreaseDetail" + } + } + ], + "responses": { + "200": { + "description": "Ok. Returning the updated status of auto quota increase request.", + "schema": { + "$ref": "#/definitions/AutoQuotaIncreaseDetail" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + } + } } }, "definitions": { "CurrentQuotaLimit": { "type": "object", - "description": "Current quota limits.", + "description": "Quota limits.", "x-ms-azure-resource": true, "properties": { "quotaInformation": { - "description": "Quota details.", + "description": "Quota information detail.", "x-ms-client-flatten": true, "$ref": "#/definitions/CurrentQuotaLimitBase" }, "properties": { - "description": "Additional properties for the quota status for the resource.", + "description": "Addition properties for the quota request status for the resource.", "$ref": "#/definitions/QuotaRequestStatusDetails", "x-ms-client-flatten": true } @@ -399,7 +484,7 @@ }, "CurrentQuotaLimitBase": { "type": "object", - "description": "Quota properties.", + "description": "Quota limits.", "x-ms-azure-resource": true, "properties": { "properties": { @@ -413,41 +498,41 @@ "type": "object", "properties": { "limit": { - "description": "Quota properties.", + "description": "The quota limit.", "type": "integer" }, "currentValue": { - "description": "Current usage value for the resource.", + "description": "The current resource usages information.", "type": "integer", "readOnly": true }, "unit": { - "description": " The limit units, such as **count** and **bytes**. Use the unit field provided in the response of the GET quota operation.", + "description": " The units of the limit, such as - Count, Bytes, etc. Use the unit field provided in the Get quota response.", "type": "string", "readOnly": false }, "name": { - "description": "Name of the resource provide by the resource provider. Use this property for quotaRequests resource operations.", + "description": "Name of the resource provide by the resource Provider. Please use this name property for quotaRequests.", "$ref": "#/definitions/ResourceName" }, "resourceType": { - "description": "The name of the resource type.", + "description": "The Resource Type Name.", "$ref": "#/definitions/ResourceTypesName", "readOnly": false }, "quotaPeriod": { - "description": "The time period over which the quota usage values are summarized. For example, P1D (per one day), PT1M (per one minute), and PT1S (per one second). This parameter is optional because, for some resources such as compute, the time period is irrelevant.", + "description": "The quota period over which the usage values are summarized, such as - P1D (Per one day), PT1M (Per one minute), PT1S (Per one second). This parameter is optional because, for some resources like compute, the period doesn’t matter.", "type": "string", "readOnly": true }, "properties": { - "description": "Additional properties for the specified resource provider.", + "description": "Additional properties for the specific resource provider.", "type": "object" } } }, "ResourceName": { - "description": "Resource name provided by the resource provider. Use this property for quotaRequest parameter.", + "description": "Name of the resource provide by the resource Provider. Please use this name property for quotaRequests.", "properties": { "value": { "description": "Resource name.", @@ -455,7 +540,7 @@ "readOnly": false }, "localizedValue": { - "description": "Resource display localized name.", + "description": "Resource display name.", "type": "string", "readOnly": true } @@ -465,30 +550,30 @@ "description": "Quota limits.", "properties": { "value": { - "description": "List of quotas (service limits).", + "description": "List of Quota limits.", "type": "array", "items": { "$ref": "#/definitions/CurrentQuotaLimitBase" } }, "nextLink": { - "description": "The URI for fetching the next page of quotas (service limits). When no more pages exist, the value is null.", + "description": "The uri to fetch the next page of quota limits. When there are no more pages, this is null.", "type": "string" } } }, "QuotaLimitsResponse": { - "description": "Quotas (service limits) in the request response.", + "description": "Quota limits request response.", "properties": { "value": { - "description": "List of quotas with the quota request status.", + "description": "List of Quota limits with the quota request status.", "type": "array", "items": { "$ref": "#/definitions/CurrentQuotaLimit" } }, "nextLink": { - "description": "The URI for fetching the next page of quota limits. When no more pages exist, the value is null.", + "description": "The uri to fetch the next page of quota limits. When there are no more pages, this is null.", "type": "string" } } @@ -511,12 +596,12 @@ "description": "The sub-request submitted with the quota request.", "properties": { "limit": { - "description": "Quota (resource limit).", + "description": "The Resource limit.", "type": "integer", "readOnly": true }, "name": { - "description": "The resource name.", + "description": "The Resource name.", "$ref": "#/definitions/ResourceName" }, "resourceType": { @@ -525,7 +610,7 @@ "readOnly": true }, "unit": { - "description": " The limit units, such as **count** and **bytes**. Use the unit field provided in the response of the GET quota operation.", + "description": " The units of the limit, such as - Count, Bytes, etc. Use the unit field provided in the Get quota response.", "type": "string" }, "provisioningState": { @@ -533,24 +618,24 @@ "$ref": "#/definitions/QuotaRequestState" }, "message": { - "description": "User-friendly status message.", + "description": "User friendly status message.", "type": "string", "readOnly": true }, "subRequestId": { - "description": "Sub request ID for individual request.", + "description": "Sub request id for individual request.", "type": "string", "readOnly": true } } }, "QuotaRequestOneResourceSubmitResponse": { - "description": "Response for the quota submission request.", + "description": "Quota submit request response", "type": "object", "x-ms-azure-resource": true, "properties": { "id": { - "description": "The quota request ID.", + "description": "The quota request Id.", "type": "string", "readOnly": true }, @@ -565,19 +650,19 @@ "description": "Type of resource. \"Microsoft.Capacity/ServiceLimits\"" }, "properties": { - "description": "The details for quota request.", + "description": "The quota request details.", "x-ms-client-flatten": true, "$ref": "#/definitions/quotaRequestOneResourceProperties" } } }, "QuotaRequestSubmitResponse": { - "description": "Response for the quota submission request.", + "description": "Quota submit request response", "type": "object", "x-ms-azure-resource": true, "properties": { "id": { - "description": "The quota request ID.", + "description": "The quota request Id.", "type": "string", "readOnly": true }, @@ -599,37 +684,37 @@ } }, "QuotaRequestSubmitResponse201": { - "description": "Response with request ID that the quota request was accepted.", + "description": "The quota request submit response with request id.", "type": "object", "properties": { "id": { - "description": "The quota request ID. Use the requestId parameter to check the request status.", + "description": "The quota request id. Please use the requestId to check the request status.", "type": "string", "readOnly": true }, "name": { - "description": "Operation ID", + "description": "The operation Id", "type": "string", "readOnly": true }, "type": { - "description": "Resource type", + "description": "The resource type", "type": "string", "readOnly": true }, "properties": { - "description": "Quota request status.", + "description": "The quota request status.", "$ref": "#/definitions/QuotaRequestStatusDetails", "x-ms-client-flatten": true } } }, "QuotaRequestStatusDetails": { - "description": "Quota request status details.", + "description": "The quota request status details.", "type": "object", "properties": { "provisioningState": { - "description": "The details of the quota request status.", + "description": "The quota request status.", "$ref": "#/definitions/QuotaRequestState", "readOnly": true }, @@ -642,44 +727,44 @@ }, "QuotaRequestDetails": { "type": "object", - "description": "Quota request details.", + "description": "The details of the quota Request.", "x-ms-azure-resource": true, "properties": { "id": { - "description": "Quota request ID.", + "description": "The quota request Id.", "type": "string", "readOnly": true }, "name": { - "description": "Quota request name.", + "description": "The name of the quota request.", "type": "string", "readOnly": true }, "properties": { - "description": "Quota request details.", + "description": "The quota request details.", "x-ms-client-flatten": true, "$ref": "#/definitions/QuotaRequestProperties" }, "type": { "type": "string", "readOnly": true, - "description": "Resource type" + "description": "Type of resource. \"Microsoft.Capacity/ServiceLimits\"" } } }, "QuotaRequestDetailsList": { - "description": "Quota request details.", + "description": "Quota requests information.", "type": "object", "properties": { "value": { - "description": "The quota requests.", + "description": "The quota Requests.", "type": "array", "items": { "$ref": "#/definitions/QuotaRequestDetails" } }, "nextLink": { - "description": "The URI to fetch the next page of quota limits. When there are no more pages, this is null.", + "description": "The uri to fetch the next page of quota limits. When there are no more pages, this is null.", "type": "string" } } @@ -698,7 +783,7 @@ "readOnly": true }, "requestSubmitTime": { - "description": "The time when the quota request was submitted using format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.", + "description": "The quota request submit time. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.", "type": "string", "readOnly": true, "format": "date-time" @@ -727,7 +812,7 @@ "readOnly": true }, "requestSubmitTime": { - "description": "The time when the quota request was submitted using format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.", + "description": "The quota request submit time. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.", "type": "string", "readOnly": true, "format": "date-time" @@ -767,18 +852,216 @@ "modelAsString": true } }, + "AutoQuotaIncreaseDetail": { + "type": "object", + "description": "Auto Quota Increase settings.", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "The subscription Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of the auto quota increase.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the resource", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Actions for auto quota increase.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/autoQuotaIncreaseSettings" + } + } + }, + "autoQuotaIncreaseSettings": { + "type": "object", + "description": "Actions for auto quota increase.", + "properties": { + "settings": { + "description": "Settings for automatic quota increase.", + "$ref": "#/definitions/aqiSettings" + }, + "onFailure": { + "description": "The on failure Actions.", + "$ref": "#/definitions/Actions" + }, + "onSuccess": { + "description": "The on success Actions.", + "$ref": "#/definitions/Actions" + }, + "supportTicketAction": { + "description": "The support ticket action.", + "$ref": "#/definitions/SupportRequestAction" + } + } + }, + "aqiSettings": { + "type": "object", + "description": "Settings for auto quota increase.", + "properties": { + "autoQuotaIncreaseState": { + "description": "If the subscription has enabled automatic quota increase.", + "$ref": "#/definitions/AqiState" + } + } + }, + "SupportContactTypes": { + "description": "The support contact types.", + "enum": [ + "email", + "phone", + "chat" + ], + "x-ms-enum": { + "name": "SupportContactType", + "modelAsString": true + } + }, + "SupportRequestAction": { + "description": "The SupportRequest action.", + "type": "object", + "properties": { + "severity": { + "description": "The support request severity.", + "$ref": "#/definitions/SeverityTypes" + }, + "firstName": { + "description": "The first name of the recipient.", + "type": "string" + }, + "lastName": { + "description": "The last name of the recipient.", + "type": "string" + }, + "country": { + "description": "The country of the recipient.", + "type": "string" + }, + "phoneNumber": { + "description": "The phone number of the recipient.", + "type": "string" + }, + "primaryEmailAddress": { + "description": "The primary email addresses of the recipients.", + "type": "string" + }, + "supportLanguage": { + "description": "The support language.", + "type": "string" + }, + "preferredContactMethod": { + "description": "The preferred communication channel.", + "$ref": "#/definitions/ContactMethod" + }, + "alternateEmailAddresses": { + "description": "The alternate email address of the recipient.", + "type": "array", + "items": { + "description": "The email recipients.", + "type": "string" + } + } + } + }, + "SeverityTypes": { + "description": "The Severity types.", + "enum": [ + "Critical", + "Moderate", + "Minimal" + ], + "x-ms-enum": { + "name": "SeverityType", + "modelAsString": true + } + }, + "ContactMethod": { + "description": "The contact method - Email: Contact using provided email, Phone: contact using provided phone number.", + "enum": [ + "Email", + "Phone" + ], + "x-ms-enum": { + "name": "ContactMethodType", + "modelAsString": true + } + }, + "AqiState": { + "description": "The Auto quota increase feature state - enabled: feature is enabled, disabled: feature is disabled.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "AqiStateType", + "modelAsString": true + } + }, + "PhoneAction": { + "type": "object", + "description": "Phone Action.", + "properties": { + "phoneNumber": { + "description": "The phone number for the action.", + "type": "string" + }, + "preferredChannel": { + "description": "The preferred communication channel.", + "$ref": "#/definitions/ContactMethod" + } + } + }, + "EmailAction": { + "description": "Email Action.", + "type": "object", + "properties": { + "emailAddress": { + "description": "The email address for the action.", + "type": "string" + } + } + }, + "EmailActions": { + "description": "The email actions.", + "properties": { + "emailAddresses": { + "description": "The list of email actions.", + "type": "array", + "items": { + "description": "The email recipients.", + "$ref": "#/definitions/EmailAction" + } + } + } + }, + "Actions": { + "description": "The actions for auto quota increase.", + "type": "object", + "properties": { + "emailActions": { + "description": "The email actions for auto quota increase.", + "$ref": "#/definitions/EmailActions" + } + } + }, "ExceptionResponse": { "type": "object", "properties": { "error": { "$ref": "#/definitions/ServiceError", - "description": "The API error details." + "description": "The api error details." } }, - "description": "The API error." + "description": "The api error." }, "ServiceError": { - "description": "The API error details.", + "description": "The api error details.", "type": "object", "properties": { "code": { @@ -787,7 +1070,7 @@ }, "message": { "type": "string", - "description": "The error message text." + "description": "The error message." }, "details": { "type": "array", @@ -823,7 +1106,7 @@ "in": "path", "required": true, "type": "string", - "description": "Azure subscription ID." + "description": "Azure subscription id." }, "ApiVersionParameter": { "name": "api-version", @@ -845,7 +1128,7 @@ "in": "path", "required": true, "type": "string", - "description": "Azure resource provider ID.", + "description": "Azure resource provider id.", "x-ms-parameter-location": "method" }, "ResourceNameInParameters": { @@ -861,7 +1144,7 @@ "in": "path", "required": true, "type": "string", - "description": "Quota Request ID.", + "description": "Quota Request id.", "x-ms-parameter-location": "method" }, "TopQueryParameter": { @@ -879,7 +1162,7 @@ "in": "query", "type": "string", "required": false, - "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element includes a skiptoken parameter that specifies a starting point to use for subsequent calls.", + "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls", "x-ms-parameter-location": "method" } } From 8beb75c33c4ab539fca08b40be84143ec96c86d9 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 10 Dec 2020 11:16:31 -0800 Subject: [PATCH 005/127] Files from preview version, which will be removed. --- .../examples/getAutoQuotaIncreaseStatus.json | 58 ++++++++++ .../2020-10-25/examples/getMsSqlUsages.json | 49 +++++++++ .../examples/putAutoQuotaIncrease.json | 103 ++++++++++++++++++ .../examples/putAutoQuotaIncreaseTurnOff.json | 103 ++++++++++++++++++ 4 files changed, 313 insertions(+) create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getAutoQuotaIncreaseStatus.json create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMsSqlUsages.json create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncrease.json create mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncreaseTurnOff.json diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getAutoQuotaIncreaseStatus.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getAutoQuotaIncreaseStatus.json new file mode 100644 index 000000000000..2c23549bb2dc --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getAutoQuotaIncreaseStatus.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "subscriptionId": "D7EC67B3-7657-4966-BFFC-41EFD36BAAB3", + "api-version": "2019-07-19-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Capacity/autoQuotaIncrease", + "type": "Microsoft.Capacity/autoQuotaIncrease", + "name": "Automatic Quota Increase", + "properties": { + "settings": { + "autoQuotaIncreaseState": "enabled" + }, + "onSuccess": { + "emailActions": { + "emailAddresses": [ + { + "emailAddress": "itsupport@contoso.com" + }, + { + "emailAddress": "admin2@contoso.com" + } + ] + } + }, + "onFailure": { + "emailActions": { + "emailAddresses": [ + { + "emailAddress": "itsupport@contoso.com" + }, + { + "emailAddress": "admin2@contoso.com" + } + ] + } + }, + "supportTicketAction": { + "severity": "Minimal", + "firstName": "FN", + "lastName": "LN", + "country": "US", + "phoneNumber": "123-456-7890", + "supportLanguage": "en-US", + "primaryEmailAddress": "admin3@contoso.com", + "alternateEmailAddresses": [ + "admin@contoso.com", + "admin3@contoso.com" + ], + "preferredContactMethod": "Phone" + } + } + } + } + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMsSqlUsages.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMsSqlUsages.json new file mode 100644 index 000000000000..74b82ac10c9c --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMsSqlUsages.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "providerId": "Microsoft.Sql", + "location": "westus", + "api-version": "2019-07-19-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "currentValue": 1, + "limit": 20, + "name": { + "localizedValue": "Regional Server Quota for West US", + "value": "ServerQuota" + }, + "unit": "Count" + } + }, + { + "properties": { + "currentValue": 0, + "limit": 1, + "name": { + "localizedValue": "Free Database Count per Subscription for West US", + "value": "SubscriptionFreeDatabaseCount" + }, + "unit": "Count" + } + }, + { + "properties": { + "currentValue": 365, + "limit": 365, + "name": { + "localizedValue": "Free to Basic Database Upgrade count-down in West US", + "value": "SubscriptionFreeDatabaseDaysLeft" + }, + "unit": "Count" + } + } + ] + } + } + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncrease.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncrease.json new file mode 100644 index 000000000000..d8dc24d500d2 --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncrease.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "subscriptionId": "D7EC67B3-7657-4966-BFFC-41EFD36BAAB3", + "api-version": "2019-07-19-preview", + "autoQuotaIncreaseRequest": { + "properties": { + "settings": { + "autoQuotaIncreaseState": "enabled" + }, + "onSuccess": { + "emailActions": { + "emailAddresses": [ + { + "emailAddress": "itsupport@contoso.com" + }, + { + "emailAddress": "admin3@contoso.com" + } + ] + } + }, + "onFailure": { + "emailActions": { + "emailAddresses": [ + { + "emailAddress": "itsupport@contoso.com" + }, + { + "emailAddress": "admin2@contoso.com" + } + ] + } + }, + "supportTicketAction": { + "severity": "Minimal", + "firstName": "FN", + "lastName": "LN", + "country": "US", + "supportLanguage": "en-us", + "phoneNumber": "123-456-7890", + "primaryEmailAddress": "admin2@contoso.com", + "alternateEmailAddresses": [ + "admin@contoso.com", + "admin3@contoso.com" + ], + "preferredContactMethod": "Phone" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Capacity/autoQuotaIncrease", + "type": "Microsoft.Capacity/autoQuotaIncrease", + "name": "Automatic Quota Increase", + "properties": { + "settings": { + "autoQuotaIncreaseState": "enabled" + }, + "onSuccess": { + "emailActions": { + "emailAddresses": [ + { + "emailAddress": "itsupport@contoso.com" + }, + { + "emailAddress": "admin2@contoso.com" + } + ] + } + }, + "onFailure": { + "emailActions": { + "emailAddresses": [ + { + "emailAddress": "itsupport@contoso.com" + }, + { + "emailAddress": "admin2@contoso.com" + } + ] + } + }, + "supportTicketAction": { + "severity": "Minimal", + "firstName": "FN", + "lastName": "LN", + "country": "US", + "supportLanguage": "en-us", + "phoneNumber": "123-456-7890", + "primaryEmailAddress": "admin2@contoso.com", + "alternateEmailAddresses": [ + "admin@contoso.com", + "admin3@contoso.com" + ], + "preferredContactMethod": "Phone" + } + } + } + } + } +} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncreaseTurnOff.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncreaseTurnOff.json new file mode 100644 index 000000000000..1675b67ccf58 --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncreaseTurnOff.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "subscriptionId": "D7EC67B3-7657-4966-BFFC-41EFD36BAAB3", + "api-version": "2019-07-19-preview", + "autoQuotaIncreaseRequest": { + "properties": { + "settings": { + "autoQuotaIncreaseState": "disabled" + }, + "onSuccess": { + "emailActions": { + "emailAddresses": [ + { + "emailAddress": "itsupport@contoso.com" + }, + { + "emailAddress": "admin2@contoso.com" + } + ] + } + }, + "onFailure": { + "emailActions": { + "emailAddresses": [ + { + "emailAddress": "itsupport@contoso.com" + }, + { + "emailAddress": "admin3@contoso.com" + } + ] + } + }, + "supportTicketAction": { + "severity": "Minimal", + "firstName": "FN", + "lastName": "LN", + "country": "US", + "supportLanguage": "en-us", + "phoneNumber": "123-456-7890", + "primaryEmailAddress": "admin3@contoso.com", + "alternateEmailAddresses": [ + "admin@contoso.com", + "admin3@contoso.com" + ], + "preferredContactMethod": "Phone" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Capacity/autoQuotaIncrease", + "type": "Microsoft.Capacity/autoQuotaIncrease", + "name": "Automatic Quota Increase", + "properties": { + "settings": { + "autoQuotaIncreaseState": "disabled" + }, + "onSuccess": { + "emailActions": { + "emailAddresses": [ + { + "emailAddress": "itsupport@contoso.com" + }, + { + "emailAddress": "admin2@contoso.com" + } + ] + } + }, + "onFailure": { + "emailActions": { + "emailAddresses": [ + { + "emailAddress": "itsupport@contoso.com" + }, + { + "emailAddress": "admin3@contoso.com" + } + ] + } + }, + "supportTicketAction": { + "severity": "Minimal", + "firstName": "FN", + "lastName": "LN", + "country": "US", + "supportLanguage": "en-us", + "phoneNumber": "123-456-7890", + "primaryEmailAddress": "admin3@contoso.com", + "alternateEmailAddresses": [ + "admin@contoso.com", + "admin3@contoso.com" + ], + "preferredContactMethod": "Phone" + } + } + } + } + } +} From b034d7f015609d46a6fec622581b54ef588f6418 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 10 Dec 2020 11:18:48 -0800 Subject: [PATCH 006/127] Updating to GA Version. --- .../examples/getAutoQuotaIncreaseStatus.json | 58 --- .../examples/getComputeOneSkuUsages.json | 2 +- .../2020-10-25/examples/getComputeUsages.json | 2 +- .../getMachineLearningServicesUsages.json | 2 +- .../2020-10-25/examples/getMsSqlUsages.json | 49 -- .../examples/getQuotaRequestStatusById.json | 2 +- .../examples/getQuotaRequestStatusFailed.json | 2 +- .../getQuotaRequestStatusInProgress.json | 10 - .../examples/getQuotaRequestsHistory.json | 4 +- .../examples/patchComputeQuotaRequest.json | 2 +- .../examples/putAutoQuotaIncrease.json | 103 ----- .../examples/putAutoQuotaIncreaseTurnOff.json | 103 ----- .../putComputeOneSkuQuotaRequest.json | 2 +- ...LearningServicesQuotaRequestDedicated.json | 2 +- ...arningServicesQuotaRequestLowPriority.json | 2 +- .../stable/2020-10-25/quota.json | 437 +++--------------- 16 files changed, 88 insertions(+), 694 deletions(-) delete mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getAutoQuotaIncreaseStatus.json delete mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMsSqlUsages.json delete mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncrease.json delete mode 100644 specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncreaseTurnOff.json diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getAutoQuotaIncreaseStatus.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getAutoQuotaIncreaseStatus.json deleted file mode 100644 index 2c23549bb2dc..000000000000 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getAutoQuotaIncreaseStatus.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "subscriptionId": "D7EC67B3-7657-4966-BFFC-41EFD36BAAB3", - "api-version": "2019-07-19-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Capacity/autoQuotaIncrease", - "type": "Microsoft.Capacity/autoQuotaIncrease", - "name": "Automatic Quota Increase", - "properties": { - "settings": { - "autoQuotaIncreaseState": "enabled" - }, - "onSuccess": { - "emailActions": { - "emailAddresses": [ - { - "emailAddress": "itsupport@contoso.com" - }, - { - "emailAddress": "admin2@contoso.com" - } - ] - } - }, - "onFailure": { - "emailActions": { - "emailAddresses": [ - { - "emailAddress": "itsupport@contoso.com" - }, - { - "emailAddress": "admin2@contoso.com" - } - ] - } - }, - "supportTicketAction": { - "severity": "Minimal", - "firstName": "FN", - "lastName": "LN", - "country": "US", - "phoneNumber": "123-456-7890", - "supportLanguage": "en-US", - "primaryEmailAddress": "admin3@contoso.com", - "alternateEmailAddresses": [ - "admin@contoso.com", - "admin3@contoso.com" - ], - "preferredContactMethod": "Phone" - } - } - } - } - } -} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json index f5999b070097..ebff7547f730 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json @@ -4,7 +4,7 @@ "providerId": "Microsoft.Compute", "location": "eastus", "resourceName": "standardNDSFamily", - "api-version": "2019-07-19-preview" + "api-version": "2020-10-25" }, "responses": { "200": { diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeUsages.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeUsages.json index e973260d3e20..390a8831fafb 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeUsages.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeUsages.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "providerId": "Microsoft.Compute", "location": "eastus", - "api-version": "2019-07-19-preview" + "api-version": "2020-10-25" }, "responses": { "200": { diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMachineLearningServicesUsages.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMachineLearningServicesUsages.json index fcdb3c1e7182..690c516420bc 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMachineLearningServicesUsages.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMachineLearningServicesUsages.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "providerId": "Microsoft.MachineLearningServices", "location": "eastus", - "api-version": "2019-07-19-preview" + "api-version": "2020-10-25" }, "responses": { "200": { diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMsSqlUsages.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMsSqlUsages.json deleted file mode 100644 index 74b82ac10c9c..000000000000 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMsSqlUsages.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "providerId": "Microsoft.Sql", - "location": "westus", - "api-version": "2019-07-19-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "currentValue": 1, - "limit": 20, - "name": { - "localizedValue": "Regional Server Quota for West US", - "value": "ServerQuota" - }, - "unit": "Count" - } - }, - { - "properties": { - "currentValue": 0, - "limit": 1, - "name": { - "localizedValue": "Free Database Count per Subscription for West US", - "value": "SubscriptionFreeDatabaseCount" - }, - "unit": "Count" - } - }, - { - "properties": { - "currentValue": 365, - "limit": 365, - "name": { - "localizedValue": "Free to Basic Database Upgrade count-down in West US", - "value": "SubscriptionFreeDatabaseDaysLeft" - }, - "unit": "Count" - } - } - ] - } - } - } -} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json index 3d4ff3c2aaa6..fec8c9c63482 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json @@ -4,7 +4,7 @@ "providerId": "Microsoft.Compute", "location": "eastus", "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "api-version": "2019-07-19-preview" + "api-version": "2020-10-25" }, "responses": { "200": { diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json index bd23f32aba75..8708ad729fc8 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json @@ -4,7 +4,7 @@ "providerId": "Microsoft.Compute", "location": "eastus", "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "api-version": "2019-07-19-preview" + "api-version": "2020-10-25" }, "responses": { "200": { diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json index b876be1afb02..f9775dc4da8c 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json @@ -17,16 +17,6 @@ "message": "Request processing", "provisioningState": "InProgress", "value": [ - { - "limit": 200, - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", - "name": { - "value": "standardHCSFamily", - "localizedValue": "Standard HCS Family vCPUs" - }, - "message": "Request completed", - "provisioningState": "Succeeded" - }, { "limit": 50, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestsHistory.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestsHistory.json index b75b60f0d9b6..6453be3eb4d4 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestsHistory.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestsHistory.json @@ -3,12 +3,12 @@ "subscriptionId": "3f75fdf7-977e-44ad-990d-99f14f0f299f", "providerId": "Microsoft.Compute", "location": "eastus", - "api-version": "2019-07-19-preview" + "api-version": "2020-10-25" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/3f75fdf7-977e-44ad-990d-99f14f0f299f/providers/microsoft.Capacity/resourceProviders/Microsoft.Compute/locations/eastus/serviceLimitsRequests?api-version=2019-07-19-preview&$top=3", + "nextLink": "https://management.azure.com/subscriptions/3f75fdf7-977e-44ad-990d-99f14f0f299f/providers/microsoft.Capacity/resourceProviders/Microsoft.Compute/locations/eastus/serviceLimitsRequests?api-version=2020-10-25&$top=3", "value": [ { "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/patchComputeQuotaRequest.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/patchComputeQuotaRequest.json index e119473eca89..b884e097975a 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/patchComputeQuotaRequest.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/patchComputeQuotaRequest.json @@ -4,7 +4,7 @@ "providerId": "Microsoft.Compute", "location": "eastus", "resourceName": "standardFSv2Family", - "api-version": "2019-07-19-preview", + "api-version": "2020-10-25", "createQuotaRequest": { "properties": { "limit": 200, diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncrease.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncrease.json deleted file mode 100644 index d8dc24d500d2..000000000000 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncrease.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "parameters": { - "subscriptionId": "D7EC67B3-7657-4966-BFFC-41EFD36BAAB3", - "api-version": "2019-07-19-preview", - "autoQuotaIncreaseRequest": { - "properties": { - "settings": { - "autoQuotaIncreaseState": "enabled" - }, - "onSuccess": { - "emailActions": { - "emailAddresses": [ - { - "emailAddress": "itsupport@contoso.com" - }, - { - "emailAddress": "admin3@contoso.com" - } - ] - } - }, - "onFailure": { - "emailActions": { - "emailAddresses": [ - { - "emailAddress": "itsupport@contoso.com" - }, - { - "emailAddress": "admin2@contoso.com" - } - ] - } - }, - "supportTicketAction": { - "severity": "Minimal", - "firstName": "FN", - "lastName": "LN", - "country": "US", - "supportLanguage": "en-us", - "phoneNumber": "123-456-7890", - "primaryEmailAddress": "admin2@contoso.com", - "alternateEmailAddresses": [ - "admin@contoso.com", - "admin3@contoso.com" - ], - "preferredContactMethod": "Phone" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Capacity/autoQuotaIncrease", - "type": "Microsoft.Capacity/autoQuotaIncrease", - "name": "Automatic Quota Increase", - "properties": { - "settings": { - "autoQuotaIncreaseState": "enabled" - }, - "onSuccess": { - "emailActions": { - "emailAddresses": [ - { - "emailAddress": "itsupport@contoso.com" - }, - { - "emailAddress": "admin2@contoso.com" - } - ] - } - }, - "onFailure": { - "emailActions": { - "emailAddresses": [ - { - "emailAddress": "itsupport@contoso.com" - }, - { - "emailAddress": "admin2@contoso.com" - } - ] - } - }, - "supportTicketAction": { - "severity": "Minimal", - "firstName": "FN", - "lastName": "LN", - "country": "US", - "supportLanguage": "en-us", - "phoneNumber": "123-456-7890", - "primaryEmailAddress": "admin2@contoso.com", - "alternateEmailAddresses": [ - "admin@contoso.com", - "admin3@contoso.com" - ], - "preferredContactMethod": "Phone" - } - } - } - } - } -} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncreaseTurnOff.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncreaseTurnOff.json deleted file mode 100644 index 1675b67ccf58..000000000000 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putAutoQuotaIncreaseTurnOff.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "parameters": { - "subscriptionId": "D7EC67B3-7657-4966-BFFC-41EFD36BAAB3", - "api-version": "2019-07-19-preview", - "autoQuotaIncreaseRequest": { - "properties": { - "settings": { - "autoQuotaIncreaseState": "disabled" - }, - "onSuccess": { - "emailActions": { - "emailAddresses": [ - { - "emailAddress": "itsupport@contoso.com" - }, - { - "emailAddress": "admin2@contoso.com" - } - ] - } - }, - "onFailure": { - "emailActions": { - "emailAddresses": [ - { - "emailAddress": "itsupport@contoso.com" - }, - { - "emailAddress": "admin3@contoso.com" - } - ] - } - }, - "supportTicketAction": { - "severity": "Minimal", - "firstName": "FN", - "lastName": "LN", - "country": "US", - "supportLanguage": "en-us", - "phoneNumber": "123-456-7890", - "primaryEmailAddress": "admin3@contoso.com", - "alternateEmailAddresses": [ - "admin@contoso.com", - "admin3@contoso.com" - ], - "preferredContactMethod": "Phone" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Capacity/autoQuotaIncrease", - "type": "Microsoft.Capacity/autoQuotaIncrease", - "name": "Automatic Quota Increase", - "properties": { - "settings": { - "autoQuotaIncreaseState": "disabled" - }, - "onSuccess": { - "emailActions": { - "emailAddresses": [ - { - "emailAddress": "itsupport@contoso.com" - }, - { - "emailAddress": "admin2@contoso.com" - } - ] - } - }, - "onFailure": { - "emailActions": { - "emailAddresses": [ - { - "emailAddress": "itsupport@contoso.com" - }, - { - "emailAddress": "admin3@contoso.com" - } - ] - } - }, - "supportTicketAction": { - "severity": "Minimal", - "firstName": "FN", - "lastName": "LN", - "country": "US", - "supportLanguage": "en-us", - "phoneNumber": "123-456-7890", - "primaryEmailAddress": "admin3@contoso.com", - "alternateEmailAddresses": [ - "admin@contoso.com", - "admin3@contoso.com" - ], - "preferredContactMethod": "Phone" - } - } - } - } - } -} diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putComputeOneSkuQuotaRequest.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putComputeOneSkuQuotaRequest.json index e8328d5f6e28..7184e2231b8a 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putComputeOneSkuQuotaRequest.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putComputeOneSkuQuotaRequest.json @@ -4,7 +4,7 @@ "providerId": "Microsoft.Compute", "location": "eastus", "resourceName": "standardFSv2Family", - "api-version": "2019-07-19-preview", + "api-version": "2020-10-25", "createQuotaRequest": { "properties": { "limit": 200, diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestDedicated.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestDedicated.json index 43fdf27615f5..280a446a7360 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestDedicated.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestDedicated.json @@ -4,7 +4,7 @@ "providerId": "Microsoft.MachineLearningServices", "location": "eastus", "resourceName": "StandardDv2Family", - "api-version": "2019-07-19-preview", + "api-version": "2020-10-25", "createQuotaRequest": { "properties": { "limit": 200, diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestLowPriority.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestLowPriority.json index 8893da3a15ae..d4f7b2bee919 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestLowPriority.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestLowPriority.json @@ -4,7 +4,7 @@ "providerId": "Microsoft.MachineLearningServices", "location": "eastus", "resourceName": "TotalLowPriorityCores", - "api-version": "2019-07-19-preview", + "api-version": "2020-10-25", "createQuotaRequest": { "properties": { "limit": 200, diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json index a2f2557e130f..52f8ba2754fe 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json @@ -1,9 +1,9 @@ { "swagger": "2.0", "info": { - "version": "2019-07-19-preview", + "version": "2020-10-25", "title": "Azure Reservation API", - "description": "Microsoft Azure Quota Resource Provider." + "description": "Microsoft Azure Quota Resource Provider" }, "host": "management.azure.com", "schemes": [ @@ -39,7 +39,7 @@ "tags": [ "QuotaInformation" ], - "description": "Gets the current service limits (quotas) and usage of a resource. The response from Get API can be leveraged to submit quota update requests.", + "description": "Get the current quotas (service limits) and usage of a resource. You can use the response from the GET operation to submit quota update requests.", "operationId": "Quota_Get", "x-ms-examples": { "Quotas_Request_ForCompute": { @@ -65,19 +65,19 @@ ], "responses": { "200": { - "description": "OK. Quota information will be returned as response with pagination.", + "description": "OK. Returns the paginated quota information.", "schema": { "$ref": "#/definitions/CurrentQuotaLimitBase" }, "headers": { "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "description": "Current entity state version. It should be treated as opaque and used to make conditional HTTP requests.", "type": "string" } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "Error description in the response.", "schema": { "$ref": "#/definitions/ExceptionResponse" } @@ -88,7 +88,7 @@ "tags": [ "QuotaInformation" ], - "description": "Create or update the service limits (quota) of a resource to requested value.\n Steps:\n\r 1. Make the Get request to get the quota information for specific resource.\n\r 2. To increase the quota, update the limit field in the response from Get request to new value.\n\r 3. Submit the JSON to the quota request API to update the quota.\r\n The Create quota request may be constructed as follows. The PUT operation can be used to update the quota.", + "description": "Create or update the quotas (service limits) of a resource to the requested value.\n Steps:\n\r 1. Make the Get request to get the quota information for specific resource.\n\r 2. To increase the quota, update the limit field in the response from Get request to new value.\n\r 3. Submit the JSON to the quota request API to update the quota.\r\n The Create quota request may be constructed as follows. The PUT operation can be used to update the quota.", "operationId": "Quota_CreateOrUpdate", "x-ms-examples": { "Quotas_Request_ForCompute": { @@ -133,19 +133,19 @@ ], "responses": { "200": { - "description": "OK. Returns Quota requests details.", + "description": "OK. Returns details of the quota request.", "schema": { "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" } }, "201": { - "description": "The request is accepted and is being processed. Please use requestId to check the status.", + "description": "The request is accepted and being processed. Use the requestId parameter to check the status of the request.", "schema": { "$ref": "#/definitions/QuotaRequestSubmitResponse201" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "Error description in the response.", "schema": { "$ref": "#/definitions/ExceptionResponse" } @@ -156,7 +156,7 @@ "tags": [ "QuotaInformation" ], - "description": "Update the service limits (quota) of a resource to requested value.\n Steps:\n\r 1. Make the Get request to get the quota information for specific resource.\n\r 2. To increase the quota, update the limit field in the response from Get request to new value.\n\r 3. Submit the JSON to the quota request API to update the quota.\r\n The Update quota request may be constructed as follows. The PATCH operation can be used to update the quota.", + "description": "Update the quota (service limits) of this resource to the requested value.\n\r • To get the quota information for specific resource, send a GET request.\n\r • To increase the quota, update the limit field from the GET response to a new value.\n\r • To update the quota value, submit the JSON response to the quota request API to update the quota.\r\n • To update the quota. use the PATCH operation.", "operationId": "Quota_Update", "x-ms-examples": { "Quotas_Request_PatchForCompute": { @@ -186,7 +186,7 @@ { "name": "createQuotaRequest", "in": "body", - "description": "Quota requests payload.", + "description": "Payload for the quota request.", "required": true, "schema": { "$ref": "#/definitions/CurrentQuotaLimitBase" @@ -195,19 +195,19 @@ ], "responses": { "200": { - "description": "OK. Returns Quota requests details.", + "description": "OK. Returns details of the quota request.", "schema": { "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" } }, "201": { - "description": "The request is accepted and is being processed. Use requestId to check the status.", + "description": "The request is accepted and is being processed. Use the requestId parameter to check the status.", "schema": { "$ref": "#/definitions/QuotaRequestSubmitResponse201" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "Error description in the response.", "schema": { "$ref": "#/definitions/ExceptionResponse" } @@ -220,7 +220,7 @@ "tags": [ "QuotaInformation" ], - "description": "Get a list of current service limits (quota) and usages of all the resources. The response from List API can be leveraged to submit quota update requests.", + "description": "Gets a list of current quotas (service limits) and usage for all resources. The response from the list quota operation can be leveraged to request quota updates.", "operationId": "Quota_List", "x-ms-examples": { "Quotas_listUsagesForCompute": { @@ -228,9 +228,6 @@ }, "Quotas_listUsagesMachineLearningServices": { "$ref": "./examples/getMachineLearningServicesUsages.json" - }, - "Quotas_listUsagesForMsSql": { - "$ref": "./examples/getMsSqlUsages.json" } }, "parameters": [ @@ -249,7 +246,7 @@ ], "responses": { "200": { - "description": "OK. Quota information will be returned as response with pagination.", + "description": "OK. Returns the paginated quota information.", "schema": { "$ref": "#/definitions/QuotaLimits" }, @@ -261,7 +258,7 @@ } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "Error description in the response.", "schema": { "$ref": "#/definitions/ExceptionResponse" } @@ -288,7 +285,7 @@ "$ref": "./examples/getQuotaRequestStatusFailed.json" } }, - "description": "Gets the QuotaRequest details and status by the quota request Id for the resources for the resource provider at a specific location. The requestId is returned as response to the Put requests for serviceLimits.", + "description": "For the specified Azure region (location), get the details and status of the quota request by the quota request ID for the resources of the resource provider. The PUT request for service limits returns a response with the requestId parameter.", "operationId": "QuotaRequestStatus_Get", "parameters": [ { @@ -309,13 +306,13 @@ ], "responses": { "200": { - "description": "Ok. Returning the status for the quota request .", + "description": "Ok. Returns the status of the quota request.", "schema": { "$ref": "#/definitions/QuotaRequestDetails" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "Error description in the response.", "schema": { "$ref": "#/definitions/ExceptionResponse" } @@ -333,7 +330,7 @@ "$ref": "./examples/getQuotaRequestsHistory.json" } }, - "description": "For the specified location and Resource provider gets the current quota requests under the subscription over the time period of one year ago from now to one year back. oData filter can be used to select quota requests.", + "description": "For the specified Azure region (location), subscription, and resource provider, get the history of the quota requests for the past year. To select specific quota requests, use the oData filter.", "operationId": "QuotaRequestStatus_List", "parameters": [ { @@ -364,13 +361,13 @@ ], "responses": { "200": { - "description": "Ok. Sending Quota request status and details", + "description": "Ok. Returns details and status of the quota request.", "schema": { "$ref": "#/definitions/QuotaRequestDetailsList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "Error description in the response.", "schema": { "$ref": "#/definitions/ExceptionResponse" } @@ -380,103 +377,21 @@ "nextLinkName": "nextLink" } } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/autoQuotaIncrease": { - "get": { - "tags": [ - "AutoQuotaIncrease" - ], - "description": "Gets the Auto Quota Increase enrollment details for the specified subscription.", - "operationId": "AutoQuotaIncrease_GetProperties", - "x-ms-examples": { - "GetAutoQuotaIncreaseSettings": { - "$ref": "./examples/getAutoQuotaIncreaseStatus.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdInParameters" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok. Returning the properties of auto quota increase .", - "schema": { - "$ref": "#/definitions/AutoQuotaIncreaseDetail" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } - } - } - }, - "put": { - "tags": [ - "AutoQuotaIncrease" - ], - "description": "Sets the Auto Quota Increase enrollment properties for the specified subscription.", - "operationId": "AutoQuotaIncrease_Create", - "x-ms-examples": { - "SetAutoQuotaIncreaseSettings": { - "$ref": "./examples/putAutoQuotaIncrease.json" - }, - "TurnOffAutoQuotaIncrease": { - "$ref": "./examples/putAutoQuotaIncreaseTurnOff.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdInParameters" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "autoQuotaIncreaseRequest", - "in": "body", - "description": "Auto Quota increase request payload.", - "required": true, - "schema": { - "$ref": "#/definitions/AutoQuotaIncreaseDetail" - } - } - ], - "responses": { - "200": { - "description": "Ok. Returning the updated status of auto quota increase request.", - "schema": { - "$ref": "#/definitions/AutoQuotaIncreaseDetail" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } - } - } - } } }, "definitions": { "CurrentQuotaLimit": { "type": "object", - "description": "Quota limits.", + "description": "Current quota limits.", "x-ms-azure-resource": true, "properties": { "quotaInformation": { - "description": "Quota information detail.", + "description": "Quota details.", "x-ms-client-flatten": true, "$ref": "#/definitions/CurrentQuotaLimitBase" }, "properties": { - "description": "Addition properties for the quota request status for the resource.", + "description": "Additional properties for the quota status for the resource.", "$ref": "#/definitions/QuotaRequestStatusDetails", "x-ms-client-flatten": true } @@ -484,7 +399,7 @@ }, "CurrentQuotaLimitBase": { "type": "object", - "description": "Quota limits.", + "description": "Quota properties.", "x-ms-azure-resource": true, "properties": { "properties": { @@ -498,41 +413,41 @@ "type": "object", "properties": { "limit": { - "description": "The quota limit.", + "description": "Quota properties.", "type": "integer" }, "currentValue": { - "description": "The current resource usages information.", + "description": "Current usage value for the resource.", "type": "integer", "readOnly": true }, "unit": { - "description": " The units of the limit, such as - Count, Bytes, etc. Use the unit field provided in the Get quota response.", + "description": " The limit units, such as **count** and **bytes**. Use the unit field provided in the response of the GET quota operation.", "type": "string", "readOnly": false }, "name": { - "description": "Name of the resource provide by the resource Provider. Please use this name property for quotaRequests.", + "description": "Name of the resource provide by the resource provider. Use this property for quotaRequests resource operations.", "$ref": "#/definitions/ResourceName" }, "resourceType": { - "description": "The Resource Type Name.", + "description": "The name of the resource type.", "$ref": "#/definitions/ResourceTypesName", "readOnly": false }, "quotaPeriod": { - "description": "The quota period over which the usage values are summarized, such as - P1D (Per one day), PT1M (Per one minute), PT1S (Per one second). This parameter is optional because, for some resources like compute, the period doesn’t matter.", + "description": "The time period over which the quota usage values are summarized. For example, P1D (per one day), PT1M (per one minute), and PT1S (per one second). This parameter is optional because, for some resources such as compute, the time period is irrelevant.", "type": "string", "readOnly": true }, "properties": { - "description": "Additional properties for the specific resource provider.", + "description": "Additional properties for the specified resource provider.", "type": "object" } } }, "ResourceName": { - "description": "Name of the resource provide by the resource Provider. Please use this name property for quotaRequests.", + "description": "Resource name provided by the resource provider. Use this property for quotaRequest parameter.", "properties": { "value": { "description": "Resource name.", @@ -540,7 +455,7 @@ "readOnly": false }, "localizedValue": { - "description": "Resource display name.", + "description": "Resource display localized name.", "type": "string", "readOnly": true } @@ -550,30 +465,30 @@ "description": "Quota limits.", "properties": { "value": { - "description": "List of Quota limits.", + "description": "List of quotas (service limits).", "type": "array", "items": { "$ref": "#/definitions/CurrentQuotaLimitBase" } }, "nextLink": { - "description": "The uri to fetch the next page of quota limits. When there are no more pages, this is null.", + "description": "The URI for fetching the next page of quotas (service limits). When no more pages exist, the value is null.", "type": "string" } } }, "QuotaLimitsResponse": { - "description": "Quota limits request response.", + "description": "Quotas (service limits) in the request response.", "properties": { "value": { - "description": "List of Quota limits with the quota request status.", + "description": "List of quotas with the quota request status.", "type": "array", "items": { "$ref": "#/definitions/CurrentQuotaLimit" } }, "nextLink": { - "description": "The uri to fetch the next page of quota limits. When there are no more pages, this is null.", + "description": "The URI for fetching the next page of quota limits. When no more pages exist, the value is null.", "type": "string" } } @@ -596,12 +511,12 @@ "description": "The sub-request submitted with the quota request.", "properties": { "limit": { - "description": "The Resource limit.", + "description": "Quota (resource limit).", "type": "integer", "readOnly": true }, "name": { - "description": "The Resource name.", + "description": "The resource name.", "$ref": "#/definitions/ResourceName" }, "resourceType": { @@ -610,7 +525,7 @@ "readOnly": true }, "unit": { - "description": " The units of the limit, such as - Count, Bytes, etc. Use the unit field provided in the Get quota response.", + "description": " The limit units, such as **count** and **bytes**. Use the unit field provided in the response of the GET quota operation.", "type": "string" }, "provisioningState": { @@ -618,24 +533,24 @@ "$ref": "#/definitions/QuotaRequestState" }, "message": { - "description": "User friendly status message.", + "description": "User-friendly status message.", "type": "string", "readOnly": true }, "subRequestId": { - "description": "Sub request id for individual request.", + "description": "Sub request ID for individual request.", "type": "string", "readOnly": true } } }, "QuotaRequestOneResourceSubmitResponse": { - "description": "Quota submit request response", + "description": "Response for the quota submission request.", "type": "object", "x-ms-azure-resource": true, "properties": { "id": { - "description": "The quota request Id.", + "description": "The quota request ID.", "type": "string", "readOnly": true }, @@ -650,19 +565,19 @@ "description": "Type of resource. \"Microsoft.Capacity/ServiceLimits\"" }, "properties": { - "description": "The quota request details.", + "description": "The details for quota request.", "x-ms-client-flatten": true, "$ref": "#/definitions/quotaRequestOneResourceProperties" } } }, "QuotaRequestSubmitResponse": { - "description": "Quota submit request response", + "description": "Response for the quota submission request.", "type": "object", "x-ms-azure-resource": true, "properties": { "id": { - "description": "The quota request Id.", + "description": "The quota request ID.", "type": "string", "readOnly": true }, @@ -684,37 +599,37 @@ } }, "QuotaRequestSubmitResponse201": { - "description": "The quota request submit response with request id.", + "description": "Response with request ID that the quota request was accepted.", "type": "object", "properties": { "id": { - "description": "The quota request id. Please use the requestId to check the request status.", + "description": "The quota request ID. Use the requestId parameter to check the request status.", "type": "string", "readOnly": true }, "name": { - "description": "The operation Id", + "description": "Operation ID", "type": "string", "readOnly": true }, "type": { - "description": "The resource type", + "description": "Resource type", "type": "string", "readOnly": true }, "properties": { - "description": "The quota request status.", + "description": "Quota request status.", "$ref": "#/definitions/QuotaRequestStatusDetails", "x-ms-client-flatten": true } } }, "QuotaRequestStatusDetails": { - "description": "The quota request status details.", + "description": "Quota request status details.", "type": "object", "properties": { "provisioningState": { - "description": "The quota request status.", + "description": "The details of the quota request status.", "$ref": "#/definitions/QuotaRequestState", "readOnly": true }, @@ -727,44 +642,44 @@ }, "QuotaRequestDetails": { "type": "object", - "description": "The details of the quota Request.", + "description": "Quota request details.", "x-ms-azure-resource": true, "properties": { "id": { - "description": "The quota request Id.", + "description": "Quota request ID.", "type": "string", "readOnly": true }, "name": { - "description": "The name of the quota request.", + "description": "Quota request name.", "type": "string", "readOnly": true }, "properties": { - "description": "The quota request details.", + "description": "Quota request details.", "x-ms-client-flatten": true, "$ref": "#/definitions/QuotaRequestProperties" }, "type": { "type": "string", "readOnly": true, - "description": "Type of resource. \"Microsoft.Capacity/ServiceLimits\"" + "description": "Resource type" } } }, "QuotaRequestDetailsList": { - "description": "Quota requests information.", + "description": "Quota request details.", "type": "object", "properties": { "value": { - "description": "The quota Requests.", + "description": "The quota requests.", "type": "array", "items": { "$ref": "#/definitions/QuotaRequestDetails" } }, "nextLink": { - "description": "The uri to fetch the next page of quota limits. When there are no more pages, this is null.", + "description": "The URI to fetch the next page of quota limits. When there are no more pages, this is null.", "type": "string" } } @@ -783,7 +698,7 @@ "readOnly": true }, "requestSubmitTime": { - "description": "The quota request submit time. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.", + "description": "The time when the quota request was submitted using format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.", "type": "string", "readOnly": true, "format": "date-time" @@ -812,7 +727,7 @@ "readOnly": true }, "requestSubmitTime": { - "description": "The quota request submit time. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.", + "description": "The time when the quota request was submitted using format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.", "type": "string", "readOnly": true, "format": "date-time" @@ -852,216 +767,18 @@ "modelAsString": true } }, - "AutoQuotaIncreaseDetail": { - "type": "object", - "description": "Auto Quota Increase settings.", - "x-ms-azure-resource": true, - "properties": { - "id": { - "description": "The subscription Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the auto quota increase.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the resource", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Actions for auto quota increase.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/autoQuotaIncreaseSettings" - } - } - }, - "autoQuotaIncreaseSettings": { - "type": "object", - "description": "Actions for auto quota increase.", - "properties": { - "settings": { - "description": "Settings for automatic quota increase.", - "$ref": "#/definitions/aqiSettings" - }, - "onFailure": { - "description": "The on failure Actions.", - "$ref": "#/definitions/Actions" - }, - "onSuccess": { - "description": "The on success Actions.", - "$ref": "#/definitions/Actions" - }, - "supportTicketAction": { - "description": "The support ticket action.", - "$ref": "#/definitions/SupportRequestAction" - } - } - }, - "aqiSettings": { - "type": "object", - "description": "Settings for auto quota increase.", - "properties": { - "autoQuotaIncreaseState": { - "description": "If the subscription has enabled automatic quota increase.", - "$ref": "#/definitions/AqiState" - } - } - }, - "SupportContactTypes": { - "description": "The support contact types.", - "enum": [ - "email", - "phone", - "chat" - ], - "x-ms-enum": { - "name": "SupportContactType", - "modelAsString": true - } - }, - "SupportRequestAction": { - "description": "The SupportRequest action.", - "type": "object", - "properties": { - "severity": { - "description": "The support request severity.", - "$ref": "#/definitions/SeverityTypes" - }, - "firstName": { - "description": "The first name of the recipient.", - "type": "string" - }, - "lastName": { - "description": "The last name of the recipient.", - "type": "string" - }, - "country": { - "description": "The country of the recipient.", - "type": "string" - }, - "phoneNumber": { - "description": "The phone number of the recipient.", - "type": "string" - }, - "primaryEmailAddress": { - "description": "The primary email addresses of the recipients.", - "type": "string" - }, - "supportLanguage": { - "description": "The support language.", - "type": "string" - }, - "preferredContactMethod": { - "description": "The preferred communication channel.", - "$ref": "#/definitions/ContactMethod" - }, - "alternateEmailAddresses": { - "description": "The alternate email address of the recipient.", - "type": "array", - "items": { - "description": "The email recipients.", - "type": "string" - } - } - } - }, - "SeverityTypes": { - "description": "The Severity types.", - "enum": [ - "Critical", - "Moderate", - "Minimal" - ], - "x-ms-enum": { - "name": "SeverityType", - "modelAsString": true - } - }, - "ContactMethod": { - "description": "The contact method - Email: Contact using provided email, Phone: contact using provided phone number.", - "enum": [ - "Email", - "Phone" - ], - "x-ms-enum": { - "name": "ContactMethodType", - "modelAsString": true - } - }, - "AqiState": { - "description": "The Auto quota increase feature state - enabled: feature is enabled, disabled: feature is disabled.", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "AqiStateType", - "modelAsString": true - } - }, - "PhoneAction": { - "type": "object", - "description": "Phone Action.", - "properties": { - "phoneNumber": { - "description": "The phone number for the action.", - "type": "string" - }, - "preferredChannel": { - "description": "The preferred communication channel.", - "$ref": "#/definitions/ContactMethod" - } - } - }, - "EmailAction": { - "description": "Email Action.", - "type": "object", - "properties": { - "emailAddress": { - "description": "The email address for the action.", - "type": "string" - } - } - }, - "EmailActions": { - "description": "The email actions.", - "properties": { - "emailAddresses": { - "description": "The list of email actions.", - "type": "array", - "items": { - "description": "The email recipients.", - "$ref": "#/definitions/EmailAction" - } - } - } - }, - "Actions": { - "description": "The actions for auto quota increase.", - "type": "object", - "properties": { - "emailActions": { - "description": "The email actions for auto quota increase.", - "$ref": "#/definitions/EmailActions" - } - } - }, "ExceptionResponse": { "type": "object", "properties": { "error": { "$ref": "#/definitions/ServiceError", - "description": "The api error details." + "description": "The API error details." } }, - "description": "The api error." + "description": "The API error." }, "ServiceError": { - "description": "The api error details.", + "description": "The API error details.", "type": "object", "properties": { "code": { @@ -1070,7 +787,7 @@ }, "message": { "type": "string", - "description": "The error message." + "description": "The error message text." }, "details": { "type": "array", @@ -1106,7 +823,7 @@ "in": "path", "required": true, "type": "string", - "description": "Azure subscription id." + "description": "Azure subscription ID." }, "ApiVersionParameter": { "name": "api-version", @@ -1128,7 +845,7 @@ "in": "path", "required": true, "type": "string", - "description": "Azure resource provider id.", + "description": "Azure resource provider ID.", "x-ms-parameter-location": "method" }, "ResourceNameInParameters": { @@ -1144,7 +861,7 @@ "in": "path", "required": true, "type": "string", - "description": "Quota Request id.", + "description": "Quota Request ID.", "x-ms-parameter-location": "method" }, "TopQueryParameter": { @@ -1162,7 +879,7 @@ "in": "query", "type": "string", "required": false, - "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls", + "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element includes a skiptoken parameter that specifies a starting point to use for subsequent calls.", "x-ms-parameter-location": "method" } } From 14c272b143d32328b6f06206d6349a0fb565dbc6 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 4 Jan 2021 17:36:16 -0800 Subject: [PATCH 007/127] 1. Updated reservation version tag to - Microsoft.Capacity/preview/2020-10-01-preview/reservations.json, which matches the previous SDK release. 2. Documentation changes. --- .../Microsoft.Capacity/stable/2020-10-25/quota.json | 2 +- specification/reservations/resource-manager/readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json index 52f8ba2754fe..380319e6487f 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json @@ -88,7 +88,7 @@ "tags": [ "QuotaInformation" ], - "description": "Create or update the quotas (service limits) of a resource to the requested value.\n Steps:\n\r 1. Make the Get request to get the quota information for specific resource.\n\r 2. To increase the quota, update the limit field in the response from Get request to new value.\n\r 3. Submit the JSON to the quota request API to update the quota.\r\n The Create quota request may be constructed as follows. The PUT operation can be used to update the quota.", + "description": "Create or update the quota (service limits) of a resource to the requested value.\n Steps:\n\r 1. Make the Get request to get the quota information for specific resource.\n\r 2. To increase the quota, update the limit field in the response from Get request to new value.\n\r 3. Submit the JSON to the quota request API to update the quota.\r\n The Create quota request may be constructed as follows. The PUT operation can be used to update the quota.", "operationId": "Quota_CreateOrUpdate", "x-ms-examples": { "Quotas_Request_ForCompute": { diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index 68a384aa9861..a2c0f2088ac5 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -35,7 +35,7 @@ These settings apply only when `--tag=package-2020-10-25` is specified on the co ``` yaml $(tag) == 'package-2020-10-25' input-file: - - Microsoft.Capacity/stable/2017-11-01/reservations.json + - Microsoft.Capacity/preview/2020-10-01-preview/reservations.json - Microsoft.Capacity/stable/2020-10-25/quota.json ``` From d77efa62e4dad001433205a5590c0cc913e0208d Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 4 Jan 2021 18:43:41 -0800 Subject: [PATCH 008/127] Documentation updates for put and patch request, which includes only ONE quota request, so changing quotas to quota. --- .../Microsoft.Capacity/stable/2020-10-25/quota.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json index 380319e6487f..e3ad41ceca2d 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json @@ -39,7 +39,7 @@ "tags": [ "QuotaInformation" ], - "description": "Get the current quotas (service limits) and usage of a resource. You can use the response from the GET operation to submit quota update requests.", + "description": "Get the current quota (service limits) and usage of a resource. You can use the response from the GET operation to submit quota update request.", "operationId": "Quota_Get", "x-ms-examples": { "Quotas_Request_ForCompute": { From 8fcb79f634c42cec2489afa2974317f316832500 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 4 Jan 2021 19:01:29 -0800 Subject: [PATCH 009/127] Update documenation for put. --- .../Microsoft.Capacity/stable/2020-10-25/quota.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json index e3ad41ceca2d..50251b160dfe 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json @@ -285,7 +285,7 @@ "$ref": "./examples/getQuotaRequestStatusFailed.json" } }, - "description": "For the specified Azure region (location), get the details and status of the quota request by the quota request ID for the resources of the resource provider. The PUT request for service limits returns a response with the requestId parameter.", + "description": "For the specified Azure region (location), get the details and status of the quota request by the quota request ID for the resources of the resource provider. The PUT request for the quota (service limit) returns a response with the requestId parameter.", "operationId": "QuotaRequestStatus_Get", "parameters": [ { From add00fac42e771a9c7d5ec405fc8ff25949d3e76 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 4 Jan 2021 21:19:45 -0800 Subject: [PATCH 010/127] Doc update. --- .../Microsoft.Capacity/stable/2020-10-25/quota.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json index 50251b160dfe..c64e3adbdf2c 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json @@ -39,7 +39,7 @@ "tags": [ "QuotaInformation" ], - "description": "Get the current quota (service limits) and usage of a resource. You can use the response from the GET operation to submit quota update request.", + "description": "Get the current quota (service limit) and usage of a resource. You can use the response from the GET operation to submit quota update request.", "operationId": "Quota_Get", "x-ms-examples": { "Quotas_Request_ForCompute": { From 53031a3fd0c73b48336872155c8e2d3e2b61d1bd Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sun, 10 Jan 2021 19:26:02 -0800 Subject: [PATCH 011/127] Adding -preview tag for GO sdk. --- .../reservations/resource-manager/readme.go.md | 8 ++++---- specification/reservations/resource-manager/readme.md | 10 ++++++++++ 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/specification/reservations/resource-manager/readme.go.md b/specification/reservations/resource-manager/readme.go.md index 1c311700f507..bd77574fa81c 100644 --- a/specification/reservations/resource-manager/readme.go.md +++ b/specification/reservations/resource-manager/readme.go.md @@ -13,19 +13,19 @@ go: ``` yaml $(go) && $(multiapi) batch: - - tag: package-2020-10-25 + - tag: package-2020-10-25-preview - tag: package-preview-2019-07-19 - tag: package-preview-2019-04 - tag: package-2018-06 - tag: package-2017-11 ``` -### Tag: package-2020-10-25 and go +### Tag: package-2020-10-25-preview and go -These settings apply only when `--tag=package-2020-10-25 --go` is specified on the command line. +These settings apply only when `--tag=package-2020-10-25-preview --go` is specified on the command line. Please also specify `--go-sdk-folder=`. -``` yaml $(tag)=='package-2020-10-25' && $(go) +``` yaml $(tag)=='package-2020-10-25-preview' && $(go) output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-10-25/$(namespace) ``` diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index c2bcacb475d7..12731d17e092 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -39,6 +39,16 @@ input-file: - Microsoft.Capacity/stable/2020-10-25/quota.json ``` +### Tag: package-2020-10-25-preview + +These settings apply only when `--tag=package-2020-10-25-preview` is specified on the command line. This package with -preview is created for go SDK, as it expected -preview, as reservaryion api is preview. + +``` yaml $(tag) == 'package-2020-10-25-preview' +input-file: + - Microsoft.Capacity/preview/2020-10-01-preview/reservations.json + - Microsoft.Capacity/stable/2020-10-25/quota.json +``` + ### Tag: package-2020-11-preview These settings apply only when `--tag=package-2020-11-preview` is specified on the command line. From a7963c7442dd75a8ecff8e0d291e6c4d6b5dbdfe Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sun, 10 Jan 2021 19:36:32 -0800 Subject: [PATCH 012/127] Updating Go settings for output folder to be -preview. --- .../reservations/resource-manager/readme.go.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/specification/reservations/resource-manager/readme.go.md b/specification/reservations/resource-manager/readme.go.md index bd77574fa81c..c8155ad48c86 100644 --- a/specification/reservations/resource-manager/readme.go.md +++ b/specification/reservations/resource-manager/readme.go.md @@ -14,6 +14,7 @@ go: ``` yaml $(go) && $(multiapi) batch: - tag: package-2020-10-25-preview + - tag: package-2020-10-25 - tag: package-preview-2019-07-19 - tag: package-preview-2019-04 - tag: package-2018-06 @@ -26,6 +27,15 @@ These settings apply only when `--tag=package-2020-10-25-preview --go` is specif Please also specify `--go-sdk-folder=`. ``` yaml $(tag)=='package-2020-10-25-preview' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-10-25-preview/$(namespace) +``` + +### Tag: package-2020-10-25 and go + +These settings apply only when `--tag=package-2020-10-25 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2020-10-25' && $(go) output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-10-25/$(namespace) ``` From 8ea3dc3be5a56ce7d4631df26211d7e7c4d16466 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sun, 10 Jan 2021 19:43:28 -0800 Subject: [PATCH 013/127] Adding preview subdir for GO package. --- specification/reservations/resource-manager/readme.go.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/reservations/resource-manager/readme.go.md b/specification/reservations/resource-manager/readme.go.md index c8155ad48c86..3de37c33b6d6 100644 --- a/specification/reservations/resource-manager/readme.go.md +++ b/specification/reservations/resource-manager/readme.go.md @@ -27,7 +27,7 @@ These settings apply only when `--tag=package-2020-10-25-preview --go` is specif Please also specify `--go-sdk-folder=`. ``` yaml $(tag)=='package-2020-10-25-preview' && $(go) -output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-10-25-preview/$(namespace) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-10-25-preview/$(namespace) ``` ### Tag: package-2020-10-25 and go From 69ffa31496573753c90c7c64c1b9bb52b4fdaa5d Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sun, 10 Jan 2021 19:55:47 -0800 Subject: [PATCH 014/127] Adding preview subdir to Go sdk path. --- specification/reservations/resource-manager/readme.go.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/reservations/resource-manager/readme.go.md b/specification/reservations/resource-manager/readme.go.md index 3de37c33b6d6..685ebae84a22 100644 --- a/specification/reservations/resource-manager/readme.go.md +++ b/specification/reservations/resource-manager/readme.go.md @@ -36,7 +36,7 @@ These settings apply only when `--tag=package-2020-10-25 --go` is specified on t Please also specify `--go-sdk-folder=`. ``` yaml $(tag)=='package-2020-10-25' && $(go) -output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-10-25/$(namespace) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-10-25/$(namespace) ``` ### Tag: package-preview-2019-07-19 and go From 3cd5abdb85f8771c26bb9b8dcd946c8de259e43c Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sun, 10 Jan 2021 20:05:42 -0800 Subject: [PATCH 015/127] Removing tag - tag: package-2020-10-25-preview --- .../reservations/resource-manager/readme.go.md | 10 ---------- specification/reservations/resource-manager/readme.md | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/specification/reservations/resource-manager/readme.go.md b/specification/reservations/resource-manager/readme.go.md index 685ebae84a22..74b6960914fd 100644 --- a/specification/reservations/resource-manager/readme.go.md +++ b/specification/reservations/resource-manager/readme.go.md @@ -13,7 +13,6 @@ go: ``` yaml $(go) && $(multiapi) batch: - - tag: package-2020-10-25-preview - tag: package-2020-10-25 - tag: package-preview-2019-07-19 - tag: package-preview-2019-04 @@ -21,15 +20,6 @@ batch: - tag: package-2017-11 ``` -### Tag: package-2020-10-25-preview and go - -These settings apply only when `--tag=package-2020-10-25-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2020-10-25-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-10-25-preview/$(namespace) -``` - ### Tag: package-2020-10-25 and go These settings apply only when `--tag=package-2020-10-25 --go` is specified on the command line. diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index 12731d17e092..c2bcacb475d7 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -39,16 +39,6 @@ input-file: - Microsoft.Capacity/stable/2020-10-25/quota.json ``` -### Tag: package-2020-10-25-preview - -These settings apply only when `--tag=package-2020-10-25-preview` is specified on the command line. This package with -preview is created for go SDK, as it expected -preview, as reservaryion api is preview. - -``` yaml $(tag) == 'package-2020-10-25-preview' -input-file: - - Microsoft.Capacity/preview/2020-10-01-preview/reservations.json - - Microsoft.Capacity/stable/2020-10-25/quota.json -``` - ### Tag: package-2020-11-preview These settings apply only when `--tag=package-2020-11-preview` is specified on the command line. From 8f58d3451e9ae5a4746d2a5883911f14ca261f1b Mon Sep 17 00:00:00 2001 From: Arcturus Zhang Date: Wed, 13 Jan 2021 14:45:17 +0800 Subject: [PATCH 016/127] introduce a new tag to keep the go sdk package unchanged --- .../reservations/resource-manager/readme.go.md | 10 +++++----- specification/reservations/resource-manager/readme.md | 10 ++++++++++ 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/specification/reservations/resource-manager/readme.go.md b/specification/reservations/resource-manager/readme.go.md index 74b6960914fd..542402305245 100644 --- a/specification/reservations/resource-manager/readme.go.md +++ b/specification/reservations/resource-manager/readme.go.md @@ -13,20 +13,20 @@ go: ``` yaml $(go) && $(multiapi) batch: - - tag: package-2020-10-25 + - tag: package-2020-10-25-stable - tag: package-preview-2019-07-19 - tag: package-preview-2019-04 - tag: package-2018-06 - tag: package-2017-11 ``` -### Tag: package-2020-10-25 and go +### Tag: package-2020-10-25-stable and go -These settings apply only when `--tag=package-2020-10-25 --go` is specified on the command line. +These settings apply only when `--tag=package-2020-10-25-stable --go` is specified on the command line. Please also specify `--go-sdk-folder=`. -``` yaml $(tag)=='package-2020-10-25' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-10-25/$(namespace) +``` yaml $(tag)=='package-2020-10-25-stable' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-10-25/$(namespace) ``` ### Tag: package-preview-2019-07-19 and go diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index c2bcacb475d7..8c20664a4a73 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -39,6 +39,16 @@ input-file: - Microsoft.Capacity/stable/2020-10-25/quota.json ``` +### Tag: package-2020-10-25-stable + +These settings apply only when `--tag=package-2020-10-25-stable` is specified on the command line. + +``` yaml $(tag) == 'package-2020-10-25-stable' +input-file: + - Microsoft.Capacity/stable/2017-11-01/reservations.json + - Microsoft.Capacity/stable/2020-10-25/quota.json +``` + ### Tag: package-2020-11-preview These settings apply only when `--tag=package-2020-11-preview` is specified on the command line. From ba279fbb82394281f468d9ae1baeea12e0e758c2 Mon Sep 17 00:00:00 2001 From: Arcturus Zhang Date: Wed, 13 Jan 2021 15:09:27 +0800 Subject: [PATCH 017/127] Revert "introduce a new tag to keep the go sdk package unchanged" This reverts commit 8f58d3451e9ae5a4746d2a5883911f14ca261f1b. --- .../reservations/resource-manager/readme.go.md | 10 +++++----- specification/reservations/resource-manager/readme.md | 10 ---------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/specification/reservations/resource-manager/readme.go.md b/specification/reservations/resource-manager/readme.go.md index 542402305245..74b6960914fd 100644 --- a/specification/reservations/resource-manager/readme.go.md +++ b/specification/reservations/resource-manager/readme.go.md @@ -13,20 +13,20 @@ go: ``` yaml $(go) && $(multiapi) batch: - - tag: package-2020-10-25-stable + - tag: package-2020-10-25 - tag: package-preview-2019-07-19 - tag: package-preview-2019-04 - tag: package-2018-06 - tag: package-2017-11 ``` -### Tag: package-2020-10-25-stable and go +### Tag: package-2020-10-25 and go -These settings apply only when `--tag=package-2020-10-25-stable --go` is specified on the command line. +These settings apply only when `--tag=package-2020-10-25 --go` is specified on the command line. Please also specify `--go-sdk-folder=`. -``` yaml $(tag)=='package-2020-10-25-stable' && $(go) -output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-10-25/$(namespace) +``` yaml $(tag)=='package-2020-10-25' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-10-25/$(namespace) ``` ### Tag: package-preview-2019-07-19 and go diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index 8c20664a4a73..c2bcacb475d7 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -39,16 +39,6 @@ input-file: - Microsoft.Capacity/stable/2020-10-25/quota.json ``` -### Tag: package-2020-10-25-stable - -These settings apply only when `--tag=package-2020-10-25-stable` is specified on the command line. - -``` yaml $(tag) == 'package-2020-10-25-stable' -input-file: - - Microsoft.Capacity/stable/2017-11-01/reservations.json - - Microsoft.Capacity/stable/2020-10-25/quota.json -``` - ### Tag: package-2020-11-preview These settings apply only when `--tag=package-2020-11-preview` is specified on the command line. From a0c7ca64fc0978cc11fa4d81ad64aff22a931624 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 24 Feb 2021 12:01:20 -0800 Subject: [PATCH 018/127] Adding Azure CLI readme configuration. --- .../resource-manager/readme.az.md | 17 +++++++++++++++ .../resource-manager/readme.cli.md | 21 +++++++++++++++++++ .../reservations/resource-manager/readme.md | 1 + 3 files changed, 39 insertions(+) create mode 100644 specification/reservations/resource-manager/readme.az.md create mode 100644 specification/reservations/resource-manager/readme.cli.md diff --git a/specification/reservations/resource-manager/readme.az.md b/specification/reservations/resource-manager/readme.az.md new file mode 100644 index 000000000000..d9b53052b414 --- /dev/null +++ b/specification/reservations/resource-manager/readme.az.md @@ -0,0 +1,17 @@ +# AZ Capacity + +These settings apply only when `--az` is specified on the command line. + +``` yaml $(az) +az: + extensions: quota + namespace: azure.mgmt.capacity + package-name: azure-mgmt-capacity +az-output-folder: $(azure-cli-extension-folder)/src/capacity +directive: + - where: + subject: QuotaInformation + parameter-name: resourceName + set: + parameter-name: resourceName +``` diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md new file mode 100644 index 000000000000..ee4beec1e930 --- /dev/null +++ b/specification/reservations/resource-manager/readme.cli.md @@ -0,0 +1,21 @@ +## CLI + +These settings apply only when `--cli` is specified on the command line. + +``` yaml $(cli) +title: 'Quota' +cli: + cli-name: capacity + package-name: azure-mgmt-capacity + namespace: azure.mgmt.capacity + cli: + cli-directive: + - select: 'operationGroup' + where: + operationGroup: 'operations' + hidden: true + - select: 'operation' + where: + operationGroup: 'QuotaInformation' + operation: '(get|createOrUpdate|update)' +``` \ No newline at end of file diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index c2bcacb475d7..8f22b183c001 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -112,6 +112,7 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-cli-extensions - repo: azure-resource-manager-schemas after_scripts: - node sdkauto_afterscript.js reservations/resource-manager From e9d42c5c71ce861cb18c6a7d8b03858778cf909d Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 24 Feb 2021 12:21:57 -0800 Subject: [PATCH 019/127] Updating the ReadMe configurations. --- .../reservations/resource-manager/readme.md | 40 ++++++++++++++++ .../resource-manager/readme.python.md | 46 +++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 specification/reservations/resource-manager/readme.python.md diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index 8f22b183c001..588c4bae1578 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -179,6 +179,46 @@ basic-setup-py: true output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations ``` +## CLI + +These settings apply only when `--cli` is specified on the command line. + +``` yaml $(cli) +title: 'Quota' +cli: + cli-name: capacity + package-name: azure-mgmt-capacity + namespace: azure.mgmt.capacity + cli: + cli-directive: + - select: 'operationGroup' + where: + operationGroup: 'operations' + hidden: true + - select: 'operation' + where: + operationGroup: 'QuotaInformation' + operation: '(get|createOrUpdate|update)' +``` + +# AZ Capacity + +These settings apply only when `--az` is specified on the command line. + +``` yaml $(az) +az: + extensions: quota + namespace: azure.mgmt.capacity + package-name: azure-mgmt-capacity +az-output-folder: $(azure-cli-extension-folder)/src/capacity +directive: + - where: + subject: QuotaInformation + parameter-name: resourceName + set: + parameter-name: resourceName +``` + ## Go See configuration in [readme.go.md](./readme.go.md) diff --git a/specification/reservations/resource-manager/readme.python.md b/specification/reservations/resource-manager/readme.python.md new file mode 100644 index 000000000000..c2d23b97bf67 --- /dev/null +++ b/specification/reservations/resource-manager/readme.python.md @@ -0,0 +1,46 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) && !$(track2) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.reservations + package-name: azure-mgmt-reservations + package-version: 0.3.2 + clear-output-folder: true +``` +``` yaml $(python) && $(track2) +python-mode: create +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +namespace: azure.mgmt.reservations +package-name: azure-mgmt-reservations +package-version: 0.3.2 +clear-output-folder: true +``` + +``` yaml $(python) && $(python-mode) == 'update' && !$(track2) +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations/azure/mgmt/reservations +``` +``` yaml $(python) && $(python-mode) == 'create' && !$(track2) +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations +``` + +``` yaml $(python) && $(python-mode) == 'update' && $(track2) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations/azure/mgmt/reservations +``` +``` yaml $(python) && $(python-mode) == 'create' && $(track2) +basic-setup-py: true +output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations +``` \ No newline at end of file From a6dfdeeeba87c0282e9ff3b18a7e281db0a2a339 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 24 Feb 2021 12:36:26 -0800 Subject: [PATCH 020/127] Updating readme.md --- .../reservations/resource-manager/readme.md | 42 +++---------------- 1 file changed, 5 insertions(+), 37 deletions(-) diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index 588c4bae1578..3b9e731c0705 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -181,43 +181,11 @@ output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations ## CLI -These settings apply only when `--cli` is specified on the command line. - -``` yaml $(cli) -title: 'Quota' -cli: - cli-name: capacity - package-name: azure-mgmt-capacity - namespace: azure.mgmt.capacity - cli: - cli-directive: - - select: 'operationGroup' - where: - operationGroup: 'operations' - hidden: true - - select: 'operation' - where: - operationGroup: 'QuotaInformation' - operation: '(get|createOrUpdate|update)' -``` - -# AZ Capacity - -These settings apply only when `--az` is specified on the command line. - -``` yaml $(az) -az: - extensions: quota - namespace: azure.mgmt.capacity - package-name: azure-mgmt-capacity -az-output-folder: $(azure-cli-extension-folder)/src/capacity -directive: - - where: - subject: QuotaInformation - parameter-name: resourceName - set: - parameter-name: resourceName -``` +See configuration in [readme.cli.md](./readme.cli.md) + +## AZ + +See configuration in [readme.az.md](./readme.az.md) ## Go From 903c03fa2888f433bb4251bb94e23fe385d65995 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 24 Feb 2021 12:51:52 -0800 Subject: [PATCH 021/127] Removing duplicate cli: tag. --- specification/reservations/resource-manager/readme.cli.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md index ee4beec1e930..4fa7110e3f14 100644 --- a/specification/reservations/resource-manager/readme.cli.md +++ b/specification/reservations/resource-manager/readme.cli.md @@ -8,7 +8,6 @@ cli: cli-name: capacity package-name: azure-mgmt-capacity namespace: azure.mgmt.capacity - cli: cli-directive: - select: 'operationGroup' where: From 6c5235b144b2fa391c4513d6da5f522e5d845e05 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 24 Feb 2021 13:07:02 -0800 Subject: [PATCH 022/127] Fixing build issues. --- specification/reservations/resource-manager/readme.az.md | 2 +- specification/reservations/resource-manager/readme.cli.md | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/specification/reservations/resource-manager/readme.az.md b/specification/reservations/resource-manager/readme.az.md index d9b53052b414..25542c7be32a 100644 --- a/specification/reservations/resource-manager/readme.az.md +++ b/specification/reservations/resource-manager/readme.az.md @@ -13,5 +13,5 @@ directive: subject: QuotaInformation parameter-name: resourceName set: - parameter-name: resourceName + parameter-name: name ``` diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md index 4fa7110e3f14..76c8156b9664 100644 --- a/specification/reservations/resource-manager/readme.cli.md +++ b/specification/reservations/resource-manager/readme.cli.md @@ -17,4 +17,9 @@ cli: where: operationGroup: 'QuotaInformation' operation: '(get|createOrUpdate|update)' + - where: + param: 'resourceName' + alias: + - name + - n ``` \ No newline at end of file From bbf7beaffcfdce1f5018bdb7f2343adf2c1b2a3b Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 24 Feb 2021 13:35:07 -0800 Subject: [PATCH 023/127] Removing Parameter alias. --- specification/reservations/resource-manager/readme.az.md | 6 ------ specification/reservations/resource-manager/readme.cli.md | 7 +------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/specification/reservations/resource-manager/readme.az.md b/specification/reservations/resource-manager/readme.az.md index 25542c7be32a..534dcc3c8a5d 100644 --- a/specification/reservations/resource-manager/readme.az.md +++ b/specification/reservations/resource-manager/readme.az.md @@ -8,10 +8,4 @@ az: namespace: azure.mgmt.capacity package-name: azure-mgmt-capacity az-output-folder: $(azure-cli-extension-folder)/src/capacity -directive: - - where: - subject: QuotaInformation - parameter-name: resourceName - set: - parameter-name: name ``` diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md index 76c8156b9664..0c5491ab3636 100644 --- a/specification/reservations/resource-manager/readme.cli.md +++ b/specification/reservations/resource-manager/readme.cli.md @@ -16,10 +16,5 @@ cli: - select: 'operation' where: operationGroup: 'QuotaInformation' - operation: '(get|createOrUpdate|update)' - - where: - param: 'resourceName' - alias: - - name - - n + operation: '(get|createOrUpdate|update|list)' ``` \ No newline at end of file From c6932aea2abb3a5448bcac784e0dc7b89ae8cb7f Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 24 Feb 2021 14:50:43 -0800 Subject: [PATCH 024/127] cli config changes. --- .../reservations/resource-manager/readme.cli.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md index 0c5491ab3636..caee6160f0f1 100644 --- a/specification/reservations/resource-manager/readme.cli.md +++ b/specification/reservations/resource-manager/readme.cli.md @@ -3,18 +3,12 @@ These settings apply only when `--cli` is specified on the command line. ``` yaml $(cli) -title: 'Quota' cli: cli-name: capacity package-name: azure-mgmt-capacity namespace: azure.mgmt.capacity - cli-directive: - - select: 'operationGroup' - where: - operationGroup: 'operations' - hidden: true - - select: 'operation' - where: - operationGroup: 'QuotaInformation' - operation: '(get|createOrUpdate|update|list)' + test-scenario: + - name: Quotas_listUsagesForCompute + - name: Quotas_Request_ForCompute + - name: Quotas_Request_ForCompute ``` \ No newline at end of file From cd9c3f0b61da96bbfbe976d74390437ab0c355ec Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 24 Feb 2021 15:03:02 -0800 Subject: [PATCH 025/127] Updating the package name to reservation. --- specification/reservations/resource-manager/readme.az.md | 8 ++++---- specification/reservations/resource-manager/readme.cli.md | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/reservations/resource-manager/readme.az.md b/specification/reservations/resource-manager/readme.az.md index 534dcc3c8a5d..e4c8d0869710 100644 --- a/specification/reservations/resource-manager/readme.az.md +++ b/specification/reservations/resource-manager/readme.az.md @@ -1,11 +1,11 @@ -# AZ Capacity +# AZ reservations These settings apply only when `--az` is specified on the command line. ``` yaml $(az) az: extensions: quota - namespace: azure.mgmt.capacity - package-name: azure-mgmt-capacity -az-output-folder: $(azure-cli-extension-folder)/src/capacity + namespace: azure.mgmt.reservations + package-name: azure-mgmt-reservations +az-output-folder: $(azure-cli-extension-folder)/src/reservations ``` diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md index caee6160f0f1..31f60eff912c 100644 --- a/specification/reservations/resource-manager/readme.cli.md +++ b/specification/reservations/resource-manager/readme.cli.md @@ -9,6 +9,6 @@ cli: namespace: azure.mgmt.capacity test-scenario: - name: Quotas_listUsagesForCompute - - name: Quotas_Request_ForCompute - - name: Quotas_Request_ForCompute -``` \ No newline at end of file + - name: Quotas_Request_ForCompute + - name: Quotas_Request_ForCompute +``` From 5ddb1767321f0330aa3c3a4c3384f334a39dda89 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 24 Feb 2021 15:17:59 -0800 Subject: [PATCH 026/127] Updates - removin .az.md. --- specification/reservations/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index 3b9e731c0705..83eeff4e356f 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -185,7 +185,7 @@ See configuration in [readme.cli.md](./readme.cli.md) ## AZ -See configuration in [readme.az.md](./readme.az.md) +## See configuration in [readme.az.md](./readme.az.md) ## Go From 8d9ab5974a45898b3d13fa56eed167810493bd6f Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 24 Feb 2021 15:28:47 -0800 Subject: [PATCH 027/127] Updating Example names to be unique for Get PUT --- .../Microsoft.Capacity/stable/2020-10-25/quota.json | 6 +++--- specification/reservations/resource-manager/readme.cli.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json index c64e3adbdf2c..e48df2780c05 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json @@ -91,13 +91,13 @@ "description": "Create or update the quota (service limits) of a resource to the requested value.\n Steps:\n\r 1. Make the Get request to get the quota information for specific resource.\n\r 2. To increase the quota, update the limit field in the response from Get request to new value.\n\r 3. Submit the JSON to the quota request API to update the quota.\r\n The Create quota request may be constructed as follows. The PUT operation can be used to update the quota.", "operationId": "Quota_CreateOrUpdate", "x-ms-examples": { - "Quotas_Request_ForCompute": { + "Quotas_Request_PutForCompute": { "$ref": "./examples/putComputeOneSkuQuotaRequest.json" }, - "Quotas_Request_ForMachineLearningServices_DedicatedResource": { + "Quotas_Request_PutForMachineLearningServices_DedicatedResource": { "$ref": "./examples/putMachineLearningServicesQuotaRequestDedicated.json" }, - "Quotas_Request_ForMachineLearningServices_LowPriorityResource": { + "Quotas_Request_PutForMachineLearningServices_LowPriorityResource": { "$ref": "./examples/putMachineLearningServicesQuotaRequestLowPriority.json" } }, diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md index 31f60eff912c..d2c36ed744fb 100644 --- a/specification/reservations/resource-manager/readme.cli.md +++ b/specification/reservations/resource-manager/readme.cli.md @@ -10,5 +10,5 @@ cli: test-scenario: - name: Quotas_listUsagesForCompute - name: Quotas_Request_ForCompute - - name: Quotas_Request_ForCompute + - name: Quotas_Request_PatchForCompute ``` From 6e9e11b33fe52f7d1d8caa21573d74c918fe9c09 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 24 Feb 2021 16:49:02 -0800 Subject: [PATCH 028/127] Adding operations and python-sdk-output-folder. --- .../reservations/resource-manager/readme.az.md | 1 + .../reservations/resource-manager/readme.cli.md | 14 +++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/specification/reservations/resource-manager/readme.az.md b/specification/reservations/resource-manager/readme.az.md index e4c8d0869710..930d4c1686d2 100644 --- a/specification/reservations/resource-manager/readme.az.md +++ b/specification/reservations/resource-manager/readme.az.md @@ -8,4 +8,5 @@ az: namespace: azure.mgmt.reservations package-name: azure-mgmt-reservations az-output-folder: $(azure-cli-extension-folder)/src/reservations +python-sdk-output-folder: "$(az-output-folder)/azext_reservations/vendored_sdks/quota" ``` diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md index d2c36ed744fb..a4354dc5774f 100644 --- a/specification/reservations/resource-manager/readme.cli.md +++ b/specification/reservations/resource-manager/readme.cli.md @@ -4,11 +4,19 @@ These settings apply only when `--cli` is specified on the command line. ``` yaml $(cli) cli: - cli-name: capacity - package-name: azure-mgmt-capacity - namespace: azure.mgmt.capacity + cli-name: reservations + package-name: azure-mgmt-reservations + namespace: azure.mgmt.reservations + flatten-all: true + cli-directive: + - where: + group: Operation + hidden: true test-scenario: - name: Quotas_listUsagesForCompute - name: Quotas_Request_ForCompute - name: Quotas_Request_PatchForCompute + - name: Quotas_Request_PutForCompute + - name: QuotaRequestStatus + - name: QuotaRequestHistory ``` From bb11c65cb31a0d5898d05f781d7d964c3c7a1da2 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 24 Feb 2021 17:05:07 -0800 Subject: [PATCH 029/127] Updates. --- specification/reservations/resource-manager/readme.cli.md | 4 ---- specification/reservations/resource-manager/readme.md | 6 +++++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md index a4354dc5774f..2d097d919bc8 100644 --- a/specification/reservations/resource-manager/readme.cli.md +++ b/specification/reservations/resource-manager/readme.cli.md @@ -8,10 +8,6 @@ cli: package-name: azure-mgmt-reservations namespace: azure.mgmt.reservations flatten-all: true - cli-directive: - - where: - group: Operation - hidden: true test-scenario: - name: Quotas_listUsagesForCompute - name: Quotas_Request_ForCompute diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index 83eeff4e356f..23b216743d06 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -78,6 +78,7 @@ These settings apply only when `--tag=package-preview-2019-04` is specified on t input-file: - Microsoft.Capacity/preview/2019-04-01/reservations.json ``` + ### Tag: package-2018-06 These settings apply only when `--tag=package-2018-06` is specified on the command line. @@ -149,6 +150,7 @@ python: package-version: 0.3.2 clear-output-folder: true ``` + ``` yaml $(python) && $(track2) python-mode: create azure-arm: true @@ -164,6 +166,7 @@ python: no-namespace-folders: true output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations/azure/mgmt/reservations ``` + ``` yaml $(python) && $(python-mode) == 'create' && !$(track2) python: basic-setup-py: true @@ -174,6 +177,7 @@ python: no-namespace-folders: true output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations/azure/mgmt/reservations ``` + ``` yaml $(python) && $(python-mode) == 'create' && $(track2) basic-setup-py: true output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations @@ -185,7 +189,7 @@ See configuration in [readme.cli.md](./readme.cli.md) ## AZ -## See configuration in [readme.az.md](./readme.az.md) + See configuration in [readme.az.md](./readme.az.md) ## Go From 4f763bdb14240a3f1ba8e1dce6c7f0b643ee6a9e Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 24 Feb 2021 19:58:52 -0800 Subject: [PATCH 030/127] Removing unused file. --- .../resource-manager/readme.python.md | 46 ------------------- 1 file changed, 46 deletions(-) delete mode 100644 specification/reservations/resource-manager/readme.python.md diff --git a/specification/reservations/resource-manager/readme.python.md b/specification/reservations/resource-manager/readme.python.md deleted file mode 100644 index c2d23b97bf67..000000000000 --- a/specification/reservations/resource-manager/readme.python.md +++ /dev/null @@ -1,46 +0,0 @@ -## Python - -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. - -``` yaml $(python) && !$(track2) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.reservations - package-name: azure-mgmt-reservations - package-version: 0.3.2 - clear-output-folder: true -``` -``` yaml $(python) && $(track2) -python-mode: create -azure-arm: true -license-header: MICROSOFT_MIT_NO_VERSION -namespace: azure.mgmt.reservations -package-name: azure-mgmt-reservations -package-version: 0.3.2 -clear-output-folder: true -``` - -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations/azure/mgmt/reservations -``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations -``` - -``` yaml $(python) && $(python-mode) == 'update' && $(track2) -no-namespace-folders: true -output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations/azure/mgmt/reservations -``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations -``` \ No newline at end of file From 60c520e5b50bc13c42d8227624f32031c7ca7694 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 25 Feb 2021 16:37:03 -0800 Subject: [PATCH 031/127] Revert "Removing unused file." This reverts commit 4f763bdb14240a3f1ba8e1dce6c7f0b643ee6a9e. --- .../resource-manager/readme.python.md | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 specification/reservations/resource-manager/readme.python.md diff --git a/specification/reservations/resource-manager/readme.python.md b/specification/reservations/resource-manager/readme.python.md new file mode 100644 index 000000000000..c2d23b97bf67 --- /dev/null +++ b/specification/reservations/resource-manager/readme.python.md @@ -0,0 +1,46 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) && !$(track2) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.reservations + package-name: azure-mgmt-reservations + package-version: 0.3.2 + clear-output-folder: true +``` +``` yaml $(python) && $(track2) +python-mode: create +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +namespace: azure.mgmt.reservations +package-name: azure-mgmt-reservations +package-version: 0.3.2 +clear-output-folder: true +``` + +``` yaml $(python) && $(python-mode) == 'update' && !$(track2) +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations/azure/mgmt/reservations +``` +``` yaml $(python) && $(python-mode) == 'create' && !$(track2) +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations +``` + +``` yaml $(python) && $(python-mode) == 'update' && $(track2) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations/azure/mgmt/reservations +``` +``` yaml $(python) && $(python-mode) == 'create' && $(track2) +basic-setup-py: true +output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations +``` \ No newline at end of file From 312e0bc3241c1346cc294fa211fa09d4ee88c2c4 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 25 Feb 2021 16:37:34 -0800 Subject: [PATCH 032/127] Revert "Revert "Removing unused file."" This reverts commit 60c520e5b50bc13c42d8227624f32031c7ca7694. --- .../resource-manager/readme.python.md | 46 ------------------- 1 file changed, 46 deletions(-) delete mode 100644 specification/reservations/resource-manager/readme.python.md diff --git a/specification/reservations/resource-manager/readme.python.md b/specification/reservations/resource-manager/readme.python.md deleted file mode 100644 index c2d23b97bf67..000000000000 --- a/specification/reservations/resource-manager/readme.python.md +++ /dev/null @@ -1,46 +0,0 @@ -## Python - -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. - -``` yaml $(python) && !$(track2) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.reservations - package-name: azure-mgmt-reservations - package-version: 0.3.2 - clear-output-folder: true -``` -``` yaml $(python) && $(track2) -python-mode: create -azure-arm: true -license-header: MICROSOFT_MIT_NO_VERSION -namespace: azure.mgmt.reservations -package-name: azure-mgmt-reservations -package-version: 0.3.2 -clear-output-folder: true -``` - -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations/azure/mgmt/reservations -``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations -``` - -``` yaml $(python) && $(python-mode) == 'update' && $(track2) -no-namespace-folders: true -output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations/azure/mgmt/reservations -``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations -``` \ No newline at end of file From 6142b0cd48931bd1054c3e78ee7d774bc083a9ea Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 25 Feb 2021 16:43:05 -0800 Subject: [PATCH 033/127] Add reference to python readme.md file. --- .../reservations/resource-manager/readme.md | 48 +------------------ 1 file changed, 1 insertion(+), 47 deletions(-) diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index 23b216743d06..69852b041a4f 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -135,53 +135,7 @@ csharp: ## Python -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. - -``` yaml $(python) && !$(track2) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.reservations - package-name: azure-mgmt-reservations - package-version: 0.3.2 - clear-output-folder: true -``` - -``` yaml $(python) && $(track2) -python-mode: create -azure-arm: true -license-header: MICROSOFT_MIT_NO_VERSION -namespace: azure.mgmt.reservations -package-name: azure-mgmt-reservations -package-version: 0.3.2 -clear-output-folder: true -``` - -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations/azure/mgmt/reservations -``` - -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations -``` - -``` yaml $(python) && $(python-mode) == 'update' && $(track2) -no-namespace-folders: true -output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations/azure/mgmt/reservations -``` - -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations -``` +See configuration in [readme.python.md](./readme.python.md) ## CLI From 4efa54e1bc3ae9ce6c6efe31482e5fd90ba02f28 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 25 Feb 2021 16:45:01 -0800 Subject: [PATCH 034/127] Adding python readme file. --- .../resource-manager/readme.python.md | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 specification/reservations/resource-manager/readme.python.md diff --git a/specification/reservations/resource-manager/readme.python.md b/specification/reservations/resource-manager/readme.python.md new file mode 100644 index 000000000000..c2d23b97bf67 --- /dev/null +++ b/specification/reservations/resource-manager/readme.python.md @@ -0,0 +1,46 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) && !$(track2) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.reservations + package-name: azure-mgmt-reservations + package-version: 0.3.2 + clear-output-folder: true +``` +``` yaml $(python) && $(track2) +python-mode: create +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +namespace: azure.mgmt.reservations +package-name: azure-mgmt-reservations +package-version: 0.3.2 +clear-output-folder: true +``` + +``` yaml $(python) && $(python-mode) == 'update' && !$(track2) +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations/azure/mgmt/reservations +``` +``` yaml $(python) && $(python-mode) == 'create' && !$(track2) +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations +``` + +``` yaml $(python) && $(python-mode) == 'update' && $(track2) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations/azure/mgmt/reservations +``` +``` yaml $(python) && $(python-mode) == 'create' && $(track2) +basic-setup-py: true +output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations +``` \ No newline at end of file From 461f3f457ff0624531740aff9f5d2f5767c4866c Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Fri, 26 Feb 2021 13:37:29 -0800 Subject: [PATCH 035/127] Adding Operations for test-scenario --- .../resource-manager/readme.cli.md | 34 +++++++++++++++---- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md index 2d097d919bc8..1ba13c1fd5a2 100644 --- a/specification/reservations/resource-manager/readme.cli.md +++ b/specification/reservations/resource-manager/readme.cli.md @@ -9,10 +9,32 @@ cli: namespace: azure.mgmt.reservations flatten-all: true test-scenario: - - name: Quotas_listUsagesForCompute - - name: Quotas_Request_ForCompute - - name: Quotas_Request_PatchForCompute - - name: Quotas_Request_PutForCompute - - name: QuotaRequestStatus - - name: QuotaRequestHistory + - name: /Quota/put/Quotas_Request_PutForCompute + - name: /Quota/put/Quotas_Request_PutForMachineLearningServices_DedicatedResource + - name: /Quota/put/Quotas_Request_PutForMachineLearningServices_LowPriorityResource + - name: /Quota/get/Quotas_listUsagesForCompute + - name: /Quota/get/Quotas_listUsagesMachineLearningServices + - name: /Quota/get/Quotas_Request_ForCompute + - name: /Quota/patch/Quotas_Request_PatchForCompute + - name: /QuotaRequestStatus/get/QuotaRequestFailed + - name: /QuotaRequestStatus/get/QuotaRequestHistory + - name: /QuotaRequestStatus/get/QuotaRequestInProgress + - name: /QuotaRequestStatus/get/QuotaRequestStatus + - name: /CalculateExchange/post/CalculateExchange + - name: /Exchange/post/Exchange + - name: /Operation/get/GetOperations + - name: /quota/get/AppliedReservationList + - name: /quota/get/Catalog + - name: /Reservation/get/GetReservation + - name: /Reservation/get/ReservationList + - name: /Reservation/get/ReservationRevisions + - name: /Reservation/patch/PatchReservation + - name: /Reservation/post/AvailableScopes + - name: /Reservation/post/Merge + - name: /Reservation/post/Split + - name: /ReservationOrder/put/Purchase + - name: /ReservationOrder/get/GetReservation + - name: /ReservationOrder/get/GetReservationWithExpandPayments + - name: /ReservationOrder/get/ReservationOrderList + - name: /ReservationOrder/post/Purchase ``` From d3fd8b863e2691195a83026fe7f0da856a30c5cd Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Fri, 26 Feb 2021 13:48:12 -0800 Subject: [PATCH 036/127] Adding split --- specification/reservations/resource-manager/readme.cli.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md index 1ba13c1fd5a2..50fba741fe16 100644 --- a/specification/reservations/resource-manager/readme.cli.md +++ b/specification/reservations/resource-manager/readme.cli.md @@ -9,6 +9,7 @@ cli: namespace: azure.mgmt.reservations flatten-all: true test-scenario: + - split: quota - name: /Quota/put/Quotas_Request_PutForCompute - name: /Quota/put/Quotas_Request_PutForMachineLearningServices_DedicatedResource - name: /Quota/put/Quotas_Request_PutForMachineLearningServices_LowPriorityResource @@ -16,13 +17,16 @@ cli: - name: /Quota/get/Quotas_listUsagesMachineLearningServices - name: /Quota/get/Quotas_Request_ForCompute - name: /Quota/patch/Quotas_Request_PatchForCompute + - split: quotaRequests - name: /QuotaRequestStatus/get/QuotaRequestFailed - name: /QuotaRequestStatus/get/QuotaRequestHistory - name: /QuotaRequestStatus/get/QuotaRequestInProgress - name: /QuotaRequestStatus/get/QuotaRequestStatus + - split: reservation - name: /CalculateExchange/post/CalculateExchange - name: /Exchange/post/Exchange - name: /Operation/get/GetOperations + disabled: true - name: /quota/get/AppliedReservationList - name: /quota/get/Catalog - name: /Reservation/get/GetReservation From be8d8170bf22e0a023465e9542f56d4014b23d97 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Fri, 26 Feb 2021 13:51:32 -0800 Subject: [PATCH 037/127] Disabling few operation, which is not needed. --- specification/reservations/resource-manager/readme.cli.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md index 50fba741fe16..3febb7f5d003 100644 --- a/specification/reservations/resource-manager/readme.cli.md +++ b/specification/reservations/resource-manager/readme.cli.md @@ -19,16 +19,21 @@ cli: - name: /Quota/patch/Quotas_Request_PatchForCompute - split: quotaRequests - name: /QuotaRequestStatus/get/QuotaRequestFailed + disabled: true - name: /QuotaRequestStatus/get/QuotaRequestHistory - name: /QuotaRequestStatus/get/QuotaRequestInProgress + disabled: true - name: /QuotaRequestStatus/get/QuotaRequestStatus - - split: reservation + - split: exchange - name: /CalculateExchange/post/CalculateExchange + disabled: true - name: /Exchange/post/Exchange + disabled: true - name: /Operation/get/GetOperations disabled: true - name: /quota/get/AppliedReservationList - name: /quota/get/Catalog + - split: reservations - name: /Reservation/get/GetReservation - name: /Reservation/get/ReservationList - name: /Reservation/get/ReservationRevisions From f4f56d32c91b556c381d5ae1afabebe8fddc3c3f Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Fri, 26 Feb 2021 15:12:38 -0800 Subject: [PATCH 038/127] Removing split for Operation --- specification/reservations/resource-manager/readme.cli.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md index 3febb7f5d003..b461bfcdc4e5 100644 --- a/specification/reservations/resource-manager/readme.cli.md +++ b/specification/reservations/resource-manager/readme.cli.md @@ -9,6 +9,8 @@ cli: namespace: azure.mgmt.reservations flatten-all: true test-scenario: + - name: /Operation/get/GetOperations + disabled: true - split: quota - name: /Quota/put/Quotas_Request_PutForCompute - name: /Quota/put/Quotas_Request_PutForMachineLearningServices_DedicatedResource @@ -29,8 +31,6 @@ cli: disabled: true - name: /Exchange/post/Exchange disabled: true - - name: /Operation/get/GetOperations - disabled: true - name: /quota/get/AppliedReservationList - name: /quota/get/Catalog - split: reservations From 5bb57ba1db0b92921e5aba4d8325d76846698f79 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sun, 28 Feb 2021 22:17:39 -0800 Subject: [PATCH 039/127] Disabling the reservation Operations. --- .../reservations/resource-manager/readme.cli.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md index b461bfcdc4e5..06a2c6ed6baf 100644 --- a/specification/reservations/resource-manager/readme.cli.md +++ b/specification/reservations/resource-manager/readme.cli.md @@ -35,15 +35,27 @@ cli: - name: /quota/get/Catalog - split: reservations - name: /Reservation/get/GetReservation + disabled: true - name: /Reservation/get/ReservationList + disabled: true - name: /Reservation/get/ReservationRevisions + disabled: true - name: /Reservation/patch/PatchReservation + disabled: true - name: /Reservation/post/AvailableScopes + disabled: true - name: /Reservation/post/Merge + disabled: true - name: /Reservation/post/Split + disabled: true - name: /ReservationOrder/put/Purchase + disabled: true - name: /ReservationOrder/get/GetReservation + disabled: true - name: /ReservationOrder/get/GetReservationWithExpandPayments + disabled: true - name: /ReservationOrder/get/ReservationOrderList + disabled: true - name: /ReservationOrder/post/Purchase + disabled: true ``` From d98cbcbafeb855395f9de45292dfc9db2f5aea9d Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sun, 28 Feb 2021 22:33:44 -0800 Subject: [PATCH 040/127] Disable reservation operations. --- specification/reservations/resource-manager/readme.cli.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md index 06a2c6ed6baf..a671e0fcfe35 100644 --- a/specification/reservations/resource-manager/readme.cli.md +++ b/specification/reservations/resource-manager/readme.cli.md @@ -32,7 +32,9 @@ cli: - name: /Exchange/post/Exchange disabled: true - name: /quota/get/AppliedReservationList + disabled: true - name: /quota/get/Catalog + disabled: true - split: reservations - name: /Reservation/get/GetReservation disabled: true From dd5fef96fe543a14a7e0b1c32ec856e925b360fe Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sun, 28 Feb 2021 22:46:31 -0800 Subject: [PATCH 041/127] Revert "Disable reservation operations." This reverts commit d98cbcbafeb855395f9de45292dfc9db2f5aea9d. --- specification/reservations/resource-manager/readme.cli.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/specification/reservations/resource-manager/readme.cli.md b/specification/reservations/resource-manager/readme.cli.md index a671e0fcfe35..06a2c6ed6baf 100644 --- a/specification/reservations/resource-manager/readme.cli.md +++ b/specification/reservations/resource-manager/readme.cli.md @@ -32,9 +32,7 @@ cli: - name: /Exchange/post/Exchange disabled: true - name: /quota/get/AppliedReservationList - disabled: true - name: /quota/get/Catalog - disabled: true - split: reservations - name: /Reservation/get/GetReservation disabled: true From fb18c89251261870bf310a9dca8748a220ad8e3e Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Tue, 16 Mar 2021 18:47:23 -0700 Subject: [PATCH 042/127] Adding client-subscription-bound: false --- specification/reservations/resource-manager/readme.az.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/reservations/resource-manager/readme.az.md b/specification/reservations/resource-manager/readme.az.md index 930d4c1686d2..699a4d721147 100644 --- a/specification/reservations/resource-manager/readme.az.md +++ b/specification/reservations/resource-manager/readme.az.md @@ -7,6 +7,7 @@ az: extensions: quota namespace: azure.mgmt.reservations package-name: azure-mgmt-reservations + client-subscription-bound: false az-output-folder: $(azure-cli-extension-folder)/src/reservations python-sdk-output-folder: "$(az-output-folder)/azext_reservations/vendored_sdks/quota" ``` From 5519fac0bb714100b022d90f922c29c260993ebe Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 28 Jul 2021 12:13:01 -0700 Subject: [PATCH 043/127] Adding Network RP examples and references. --- .../examples/getNetworkOneSkuUsages.json | 26 + .../examples/getNetworkUsages.json | 686 +++++++++++++++ .../examples/getQuotaRequestsHistory.json | 823 ++++++++++++++++-- .../examples/patchComputeQuotaRequest.json | 1 - .../patchNetworkOneSkuQuotaRequest.json | 51 ++ .../putComputeOneSkuQuotaRequest.json | 1 - ...LearningServicesQuotaRequestDedicated.json | 1 - ...arningServicesQuotaRequestLowPriority.json | 8 +- .../putNetworkOneSkuQuotaRequest.json | 51 ++ .../preview/2021-03-15-preview/quota.json | 16 +- 10 files changed, 1561 insertions(+), 103 deletions(-) create mode 100644 specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json create mode 100644 specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json create mode 100644 specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json create mode 100644 specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json new file mode 100644 index 000000000000..b29a5a56aa1f --- /dev/null +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus", + "resourceName": "MinPublicIpInterNetworkPrefixLength", + "api-version": "2021-03-15-preview" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/MinPublicIpInterNetworkPrefixLength", + "type": "Microsoft.Quota/quotaLimits", + "name": "MinPublicIpInterNetworkPrefixLength", + "properties": { + "limit": 10, + "currentValue": 0, + "unit": "Count", + "name": { + "value": "MinPublicIpInterNetworkPrefixLength", + "localizedValue": "Min Public Ip InterNetwork Prefix Length" + }, + "isQuotaApplicable": true + } + } + } + } +} diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json new file mode 100644 index 000000000000..1d81960b577e --- /dev/null +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json @@ -0,0 +1,686 @@ +{ + "parameters": { + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus", + "api-version": "2021-03-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "currentValue": 1, + "limit": 1000, + "name": { + "value": "VirtualNetworks", + "localizedValue": "Virtual Networks" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "VirtualNetworks" + }, + { + "properties": { + "currentValue": 1, + "limit": 1000, + "name": { + "value": "StaticPublicIPAddresses", + "localizedValue": "Static Public IP Addresses" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "StaticPublicIPAddresses" + }, + { + "properties": { + "currentValue": 1, + "limit": 5000, + "name": { + "value": "NetworkSecurityGroups", + "localizedValue": "Network Security Groups" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "NetworkSecurityGroups" + }, + { + "properties": { + "currentValue": 1, + "limit": 1000, + "name": { + "value": "PublicIPAddresses", + "localizedValue": "Public IP Addresses - Basic" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": true + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "PublicIPAddresses" + }, + { + "properties": { + "currentValue": 0, + "limit": 2147483647, + "name": { + "value": "PublicIpPrefixes", + "localizedValue": "Public Ip Prefixes" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "PublicIpPrefixes" + }, + { + "properties": { + "currentValue": 0, + "limit": 2147483647, + "name": { + "value": "NatGateways", + "localizedValue": "Nat Gateways" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "NatGateways" + }, + { + "properties": { + "currentValue": 1, + "limit": 65536, + "name": { + "value": "NetworkInterfaces", + "localizedValue": "Network Interfaces" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "NetworkInterfaces" + }, + { + "properties": { + "currentValue": 0, + "limit": 65536, + "name": { + "value": "PrivateEndpoints", + "localizedValue": "Private Endpoints" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "PrivateEndpoints" + }, + { + "properties": { + "currentValue": 0, + "limit": 2147483647, + "name": { + "value": "PrivateEndpointRedirectMaps", + "localizedValue": "Private Endpoint Redirect Maps" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "PrivateEndpointRedirectMaps" + }, + { + "properties": { + "currentValue": 1, + "limit": 1000, + "name": { + "value": "LoadBalancers", + "localizedValue": "Load Balancers" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "LoadBalancers" + }, + { + "properties": { + "currentValue": 0, + "limit": 800, + "name": { + "value": "PrivateLinkServices", + "localizedValue": "Private Link Services" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "PrivateLinkServices" + }, + { + "properties": { + "currentValue": 0, + "limit": 1000, + "name": { + "value": "ApplicationGateways", + "localizedValue": "Application Gateways" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "ApplicationGateways" + }, + { + "properties": { + "currentValue": 0, + "limit": 200, + "name": { + "value": "RouteTables", + "localizedValue": "Route Tables" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "RouteTables" + }, + { + "properties": { + "currentValue": 0, + "limit": 1000, + "name": { + "value": "RouteFilters", + "localizedValue": "Route Filters" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "RouteFilters" + }, + { + "properties": { + "currentValue": 1, + "limit": 1, + "name": { + "value": "NetworkWatchers", + "localizedValue": "Network Watchers" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "NetworkWatchers" + }, + { + "properties": { + "currentValue": 0, + "limit": 10000, + "name": { + "value": "PacketCaptures", + "localizedValue": "Packet Captures" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "PacketCaptures" + }, + { + "properties": { + "currentValue": 0, + "limit": 3000, + "name": { + "value": "ApplicationSecurityGroups", + "localizedValue": "Application Security Groups." + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "ApplicationSecurityGroups" + }, + { + "properties": { + "currentValue": 0, + "limit": 1, + "name": { + "value": "DdosProtectionPlans", + "localizedValue": "DDoS Protection Plans." + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "DdosProtectionPlans" + }, + { + "properties": { + "currentValue": 0, + "limit": 200, + "name": { + "value": "DdosCustomPolicies", + "localizedValue": "DDoS customized policies" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "DdosCustomPolicies" + }, + { + "properties": { + "currentValue": 0, + "limit": 500, + "name": { + "value": "ServiceEndpointPolicies", + "localizedValue": "Service Endpoint Policies" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "ServiceEndpointPolicies" + }, + { + "properties": { + "currentValue": 0, + "limit": 200, + "name": { + "value": "NetworkIntentPolicies", + "localizedValue": "Network Intent Policies" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "NetworkIntentPolicies" + }, + { + "properties": { + "currentValue": 1, + "limit": 1000, + "name": { + "value": "StandardSkuLoadBalancers", + "localizedValue": "Standard Sku Load Balancers" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "StandardSkuLoadBalancers" + }, + { + "properties": { + "currentValue": 1, + "limit": 1000, + "name": { + "value": "StandardSkuPublicIpAddresses", + "localizedValue": "Public IP Addresses - Standard" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": true + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "StandardSkuPublicIpAddresses" + }, + { + "properties": { + "currentValue": 0, + "limit": 20, + "name": { + "value": "DnsServersPerVirtualNetwork", + "localizedValue": "DNS servers per Virtual Network" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "DnsServersPerVirtualNetwork" + }, + { + "properties": { + "currentValue": 0, + "limit": 5, + "name": { + "value": "CustomDnsServersPerP2SVpnGateway", + "localizedValue": "Custom DNS servers per P2SVpnGateway" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "CustomDnsServersPerP2SVpnGateway" + }, + { + "properties": { + "currentValue": 0, + "limit": 13, + "name": { + "value": "SubnetsPerVirtualNetwork", + "localizedValue": "Subnets per Virtual Network" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "SubnetsPerVirtualNetwork" + }, + { + "properties": { + "currentValue": 0, + "limit": 65536, + "name": { + "value": "IPConfigurationsPerVirtualNetwork", + "localizedValue": "IP Configurations per Virtual Network" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "IPConfigurationsPerVirtualNetwork" + }, + { + "properties": { + "currentValue": 0, + "limit": 500, + "name": { + "value": "PeeringsPerVirtualNetwork", + "localizedValue": "Peerings per Virtual Network" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "PeeringsPerVirtualNetwork" + }, + { + "properties": { + "currentValue": 0, + "limit": 1000, + "name": { + "value": "SecurityRulesPerNetworkSecurityGroup", + "localizedValue": "Security rules per Network Security Group" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "SecurityRulesPerNetworkSecurityGroup" + }, + { + "properties": { + "currentValue": 0, + "limit": 100, + "name": { + "value": "SecurityRulesPerNetworkIntentPolicy", + "localizedValue": "Security rules per Network Intent Policy" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "SecurityRulesPerNetworkIntentPolicy" + }, + { + "properties": { + "currentValue": 0, + "limit": 200, + "name": { + "value": "RoutesPerNetworkIntentPolicy", + "localizedValue": "Routes per Network Intent Policy" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "RoutesPerNetworkIntentPolicy" + }, + { + "properties": { + "currentValue": 0, + "limit": 4000, + "name": { + "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", + "localizedValue": "Security rules addresses or ports per Network Security Group" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" + }, + { + "properties": { + "currentValue": 0, + "limit": 250, + "name": { + "value": "InboundRulesPerLoadBalancer", + "localizedValue": "Inbound Rules per Load Balancer" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "InboundRulesPerLoadBalancer" + }, + { + "properties": { + "currentValue": 0, + "limit": 200, + "name": { + "value": "FrontendIPConfigurationPerLoadBalancer", + "localizedValue": "Frontend IP Configurations per Load Balancer" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "FrontendIPConfigurationPerLoadBalancer" + }, + { + "properties": { + "currentValue": 0, + "limit": 5, + "name": { + "value": "OutboundRulesPerLoadBalancer", + "localizedValue": "Outbound Rules per Load Balancer" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "OutboundRulesPerLoadBalancer" + }, + { + "properties": { + "currentValue": 0, + "limit": 400, + "name": { + "value": "RoutesPerRouteTable", + "localizedValue": "Routes per Route Table" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "RoutesPerRouteTable" + }, + { + "properties": { + "currentValue": 0, + "limit": 25, + "name": { + "value": "RoutesWithServiceTagPerRouteTable", + "localizedValue": "Routes with service tag per Route Table" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "RoutesWithServiceTagPerRouteTable" + }, + { + "properties": { + "currentValue": 0, + "limit": 256, + "name": { + "value": "SecondaryIPConfigurationsPerNetworkInterface", + "localizedValue": "Secondary IP Configurations per Network Interface" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "SecondaryIPConfigurationsPerNetworkInterface" + }, + { + "properties": { + "currentValue": 0, + "limit": 300, + "name": { + "value": "InboundNatOrLbRulesPerNetworkInterface", + "localizedValue": "Inbound rules per Network Interface" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "InboundNatOrLbRulesPerNetworkInterface" + }, + { + "properties": { + "currentValue": 0, + "limit": 1, + "name": { + "value": "RouteFilterRulesPerRouteFilter", + "localizedValue": "Route filter rules per Route Filter" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "RouteFilterRulesPerRouteFilter" + }, + { + "properties": { + "currentValue": 0, + "limit": 1, + "name": { + "value": "RouteFiltersPerExpressRouteBgpPeering", + "localizedValue": "Route filters per Express route BGP Peering" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "RouteFiltersPerExpressRouteBgpPeering" + }, + { + "properties": { + "currentValue": 0, + "limit": 28, + "name": { + "value": "MinPublicIpInterNetworkPrefixLength", + "localizedValue": "Min Public Ip InterNetwork Prefix Length" + }, + "properties": {}, + "unit": "Count", + "isQuotaApplicable": true + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "MinPublicIpInterNetworkPrefixLength" + } + ] + } + } + } +} diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json index 23b2f766af56..d2defb33f178 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json @@ -6,103 +6,736 @@ "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/microsoft.Quota/resourceProviders/Microsoft.Compute/locations/eastus/serviceLimitsRequests?api-version=2021-03-15&$top=3", + "nextLink": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/?api-version=2021-03-15-preview", "value": [ { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/serviceLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/serviceLimitsRequests", - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "properties": { - "requestSubmitTime": "2019-08-19T19:23:17.904Z", - "message": "Request completed", - "provisioningState": "Success", - "value": [ - { - "limit": 200, - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", - "name": { - "value": "standardHCSFamily", - "localizedValue": "Standard HCS Family vCPUs" - }, - "message": "Request completed", - "provisioningState": "Success" - }, - { - "limit": 50, - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", - "name": { - "value": "standardNCPromoFamily", - "localizedValue": "Standard NC Promo Family vCPUs" - }, - "message": "Request completed", - "provisioningState": "Success" - } - ] - } - }, - { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/serviceLimitsRequests/7E73A85C-83BB-4DE4-903F-076F1A2B91D6", - "type": "Microsoft.Quota/serviceLimitsRequests", - "name": "7E73A85C-83BB-4DE4-903F-076F1A2B91D6", - "properties": { - "requestSubmitTime": "2019-08-18T19:23:17.904Z", - "message": "Request completed", - "provisioningState": "Succeeded", - "value": [ - { - "limit": 100, - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", - "name": { - "value": "standardNVSv3Family", - "localizedValue": "Standard NVSv3 Family vCPUs" - }, - "message": "Request completed", - "provisioningState": "Success" - }, - { - "limit": 150, - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", - "name": { - "value": "standardNVPromoFamily", - "localizedValue": "Standard NV Promo Family vCPUs" - }, - "message": "Request completed", - "provisioningState": "Succeeded" - } - ] - } - }, - { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/serviceLimitsRequests/5E460077-AB53-4802-8997-A6940E0B7649", - "type": "Microsoft.Quota/serviceLimitsRequests", - "name": "5E460077-AB53-4802-8997-A6940E0B7649", - "properties": { - "requestSubmitTime": "2019-08-17T19:23:17.904Z", - "message": "Request completed", - "provisioningState": "Succeeded", - "value": [ - { - "limit": 70, - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", - "name": { - "value": "standardNCPromoFamily", - "localizedValue": "Standard NC Promo Family vCPUs" - }, - "message": "Request completed", - "provisioningState": "Succeeded" - }, - { - "limit": 52, - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", - "name": { - "value": "standardHBSFamily", - "localizedValue": "Standard HBS Family vCPUs" - }, - "message": "Request completed", - "provisioningState": "Succeeded" - } - ] - } + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-28T17:09:50Z", + "value": [ + { + "limit": 4, + "message": "Request failed.", + "name": { + "value": "MINPUBLICIPINTERNETWORKPREFIXLENGTH" + }, + "provisioningState": "Failed", + "subRequestId": "5f9adef9-d409-4d5b-80a1-da180883a79d" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/5f9adef9-d409-4d5b-80a1-da180883a79d", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "5f9adef9-d409-4d5b-80a1-da180883a79d" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-28T15:41:38Z", + "value": [ + { + "limit": 4, + "message": "Request failed.", + "name": { + "value": "MINPUBLICIPINTERNETWORKPREFIXLENGTH" + }, + "provisioningState": "Failed", + "subRequestId": "8ec9ed0a-a38e-42d6-bb98-6ece3fea45f6" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/8ec9ed0a-a38e-42d6-bb98-6ece3fea45f6", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "8ec9ed0a-a38e-42d6-bb98-6ece3fea45f6" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-27T21:06:14Z", + "value": [ + { + "limit": 4, + "message": "Request failed.", + "name": { + "value": "MINPUBLICIPINTERNETWORKPREFIXLENGTH" + }, + "provisioningState": "Failed", + "subRequestId": "22e9e922-ed0f-40da-a0a4-dde1bffc0f48" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/22e9e922-ed0f-40da-a0a4-dde1bffc0f48", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "22e9e922-ed0f-40da-a0a4-dde1bffc0f48" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-27T20:57:55Z", + "value": [ + { + "limit": 4, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "39fad8a9-8f0d-47ec-a9a6-606eb6b85228" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/39fad8a9-8f0d-47ec-a9a6-606eb6b85228", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "39fad8a9-8f0d-47ec-a9a6-606eb6b85228" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-22T00:26:52Z", + "value": [ + { + "limit": 14, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "b0f010d3-f24a-4d27-89b9-ebd56f9cdded" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/b0f010d3-f24a-4d27-89b9-ebd56f9cdded", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "b0f010d3-f24a-4d27-89b9-ebd56f9cdded" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-19T17:10:58Z", + "value": [ + { + "limit": 14, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "ae41a14c-7856-4262-af87-a5ee08cb45a5" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/ae41a14c-7856-4262-af87-a5ee08cb45a5", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "ae41a14c-7856-4262-af87-a5ee08cb45a5" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-16T23:19:12Z", + "value": [ + { + "limit": 12, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "958c5b52-2fd5-496a-8b69-9567037d83b9" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/958c5b52-2fd5-496a-8b69-9567037d83b9", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "958c5b52-2fd5-496a-8b69-9567037d83b9" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-16T22:41:11Z", + "value": [ + { + "limit": 11, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "bcefdf4c-4e08-4ba5-8b21-d13568125feb" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/bcefdf4c-4e08-4ba5-8b21-d13568125feb", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "bcefdf4c-4e08-4ba5-8b21-d13568125feb" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-16T22:06:20Z", + "value": [ + { + "limit": 11, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "66a1b810-7ef7-45ef-ac75-95e9df03079e" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/66a1b810-7ef7-45ef-ac75-95e9df03079e", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "66a1b810-7ef7-45ef-ac75-95e9df03079e" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-16T18:46:27Z", + "value": [ + { + "limit": 10, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "387bec71-8f0b-46c1-ae15-daa1de2bff76" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/387bec71-8f0b-46c1-ae15-daa1de2bff76", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "387bec71-8f0b-46c1-ae15-daa1de2bff76" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-16T18:19:52Z", + "value": [ + { + "limit": 1, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "08bf82cc-93fb-4c55-acd5-5c36bdc5bc1a" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/08bf82cc-93fb-4c55-acd5-5c36bdc5bc1a", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "08bf82cc-93fb-4c55-acd5-5c36bdc5bc1a" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-16T16:46:37Z", + "value": [ + { + "limit": 1, + "message": "Request failed.", + "name": { + "value": "STANDARDSKUPUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "33b6b97d-ac49-4739-80dd-6505a91f8aff" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/33b6b97d-ac49-4739-80dd-6505a91f8aff", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "33b6b97d-ac49-4739-80dd-6505a91f8aff" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-15T21:29:44Z", + "value": [ + { + "limit": 10, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "9c3c331b-fc85-42c7-aff8-60143df108a9" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/9c3c331b-fc85-42c7-aff8-60143df108a9", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "9c3c331b-fc85-42c7-aff8-60143df108a9" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-15T20:34:26Z", + "value": [ + { + "limit": 10, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "0e64b803-0d35-4698-9d73-64584bc050bb" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/0e64b803-0d35-4698-9d73-64584bc050bb", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "0e64b803-0d35-4698-9d73-64584bc050bb" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-15T19:43:46Z", + "value": [ + { + "limit": 10, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "17f4ddd7-f713-497d-af6e-477ca6614701" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/17f4ddd7-f713-497d-af6e-477ca6614701", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "17f4ddd7-f713-497d-af6e-477ca6614701" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-15T19:38:50Z", + "value": [ + { + "limit": 10, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "92d51930-1544-4f0c-9a79-b2c2ca4b9467" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/92d51930-1544-4f0c-9a79-b2c2ca4b9467", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "92d51930-1544-4f0c-9a79-b2c2ca4b9467" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-15T18:11:19Z", + "value": [ + { + "limit": 9, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "20d0fd28-5132-4563-a19a-f8a27bc651d2" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/20d0fd28-5132-4563-a19a-f8a27bc651d2", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "20d0fd28-5132-4563-a19a-f8a27bc651d2" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-14T21:00:09Z", + "value": [ + { + "limit": 8, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "5f0d1723-1ed2-493c-b728-d78dd7b9ae03" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/5f0d1723-1ed2-493c-b728-d78dd7b9ae03", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "5f0d1723-1ed2-493c-b728-d78dd7b9ae03" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-14T20:42:13Z", + "value": [ + { + "limit": 7, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "0a66cc26-0ceb-4f7c-802d-1a9751051adc" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/0a66cc26-0ceb-4f7c-802d-1a9751051adc", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "0a66cc26-0ceb-4f7c-802d-1a9751051adc" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-14T20:32:55Z", + "value": [ + { + "limit": 6, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "348227a0-c942-4ffd-a868-dec69cec55ef" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/348227a0-c942-4ffd-a868-dec69cec55ef", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "348227a0-c942-4ffd-a868-dec69cec55ef" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-14T20:32:36Z", + "value": [ + { + "limit": 5, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "07d338db-d6ba-4749-8456-584497466fd3" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/07d338db-d6ba-4749-8456-584497466fd3", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "07d338db-d6ba-4749-8456-584497466fd3" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-14T20:32:00Z", + "value": [ + { + "limit": 4, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "04150a90-a2d3-40d0-9368-5c116b4e98e9" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/04150a90-a2d3-40d0-9368-5c116b4e98e9", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "04150a90-a2d3-40d0-9368-5c116b4e98e9" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-14T20:31:29Z", + "value": [ + { + "limit": 3, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "6c04d967-bae0-4bdd-beaa-b5c181c7cc67" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/6c04d967-bae0-4bdd-beaa-b5c181c7cc67", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "6c04d967-bae0-4bdd-beaa-b5c181c7cc67" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-14T20:24:56Z", + "value": [ + { + "limit": 2, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "640f01a3-5503-4c84-b954-dc5c997e75ef" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/640f01a3-5503-4c84-b954-dc5c997e75ef", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "640f01a3-5503-4c84-b954-dc5c997e75ef" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-07-14T19:16:09Z", + "value": [ + { + "limit": 2, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "4b2c95b6-41a7-40fe-9ab7-7039db6c2732" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/4b2c95b6-41a7-40fe-9ab7-7039db6c2732", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "4b2c95b6-41a7-40fe-9ab7-7039db6c2732" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-06-09T22:03:45Z", + "value": [ + { + "limit": 200, + "message": "Request failed.", + "name": { + "value": "PUBLICIPADDRESSES" + }, + "provisioningState": "Failed", + "subRequestId": "d49b862d-8c96-4f1b-929d-1aa4d4261be6" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/d49b862d-8c96-4f1b-929d-1aa4d4261be6", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "d49b862d-8c96-4f1b-929d-1aa4d4261be6" + }, + { + "properties": { + "properties": { + "error": { + "code": "ContactSupport", + "message": "Request failed." + }, + "message": "Request failed.", + "provisioningState": "Failed", + "requestSubmitTime": "2021-06-09T20:16:48Z", + "value": [ + { + "limit": 200, + "message": "Request failed.", + "name": { + "value": "MINPUBLICIPINTERNETWORKPREFIXLENGTH" + }, + "provisioningState": "Failed", + "subRequestId": "311fb99b-668d-42d3-b88c-a32998dc6cea" + } + ] + } + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/311fb99b-668d-42d3-b88c-a32998dc6cea", + "type": "Microsoft.Quota/QuotaLimitsRequests", + "name": "311fb99b-668d-42d3-b88c-a32998dc6cea" } ] } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json index 74d800f2906b..0dd35cdafa7b 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json @@ -15,7 +15,6 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview", "Retry-After": "30", "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json new file mode 100644 index 000000000000..e80253c807d1 --- /dev/null +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus", + "resourceName": "MinPublicIpInterNetworkPrefixLength", + "api-version": "2021-03-15-preview", + "createQuotaRequest": { + "properties": { + "limit": 200, + "name": { + "value": "MinPublicIpInterNetworkPrefixLength" + }, + "resourceType": "MinPublicIpInterNetworkPrefixLength" + } + } + }, + "responses": { + "202": { + "headers": { + "Retry-After": "30", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + }, + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaLimits", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "properties": { + "limit": 200, + "currentValue": 0, + "name": { + "value": "MinPublicIpInterNetworkPrefixLength" + } + }, + "provisioningState": "InProgress" + } + }, + "200": { + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaLimits", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "properties": { + "limit": 200, + "currentValue": 0, + "name": { + "value": "MinPublicIpInterNetworkPrefixLength" + } + } + } + } + } +} diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json index e7686efd7de2..ed9d5e542293 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json @@ -15,7 +15,6 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview", "Retry-After": "30", "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json index e7686efd7de2..ed9d5e542293 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json @@ -15,7 +15,6 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview", "Retry-After": "30", "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json index f263e23c189a..b1e8a3da250a 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json @@ -15,6 +15,10 @@ }, "responses": { "202": { + "headers": { + "Retry-After": "30", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotaLimits/TotalLowPriorityCores", "type": "Microsoft.Quota/quotaLimits", @@ -29,9 +33,7 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview", - "Retry-After": "30", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotaLimits/TotalLowPriorityCores", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json new file mode 100644 index 000000000000..e80253c807d1 --- /dev/null +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus", + "resourceName": "MinPublicIpInterNetworkPrefixLength", + "api-version": "2021-03-15-preview", + "createQuotaRequest": { + "properties": { + "limit": 200, + "name": { + "value": "MinPublicIpInterNetworkPrefixLength" + }, + "resourceType": "MinPublicIpInterNetworkPrefixLength" + } + } + }, + "responses": { + "202": { + "headers": { + "Retry-After": "30", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + }, + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaLimits", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "properties": { + "limit": 200, + "currentValue": 0, + "name": { + "value": "MinPublicIpInterNetworkPrefixLength" + } + }, + "provisioningState": "InProgress" + } + }, + "200": { + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaLimits", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "properties": { + "limit": 200, + "currentValue": 0, + "name": { + "value": "MinPublicIpInterNetworkPrefixLength" + } + } + } + } + } +} diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index a0edfe706850..1d4fc36c8f6d 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -42,7 +42,10 @@ "description": "Gets the quota limit and current quota usage of a resource. The response can be used to determine the remaining quota and calculate a new quota limit that can be submitted with a PUT request.", "operationId": "Quota_Get", "x-ms-examples": { - "Quotas_Request_ForCompute": { + "Quotas_Request_ForNetwork": { + "$ref": "./examples/getNetworkOneSkuUsages.json" + }, + "Quotas_Get_Request_ForCompute": { "$ref": "./examples/getComputeOneSkuUsages.json" } }, @@ -85,7 +88,10 @@ "description": "Create or update the quota limit for the specified resource to the requested value. To update the quota, follow these steps:\n1. Use the GET operation to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit.", "operationId": "Quota_CreateOrUpdate", "x-ms-examples": { - "Quotas_Request_ForCompute": { + "Quotas_Request_ForNetwork": { + "$ref": "./examples/putNetworkOneSkuQuotaRequest.json" + }, + "Quotas_Put_Request_ForCompute": { "$ref": "./examples/putComputeOneSkuQuotaRequest.json" }, "Quotas_Request_ForMachineLearningServices_DedicatedResource": { @@ -147,6 +153,9 @@ "description": "Update the quota limit for a specific resource to the specified value:\n1. Use the GET operation to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit.", "operationId": "Quota_Update", "x-ms-examples": { + "Quotas_Request_PatchForNetwork": { + "$ref": "./examples/patchNetworkOneSkuQuotaRequest.json" + }, "Quotas_Request_PatchForCompute": { "$ref": "./examples/patchComputeQuotaRequest.json" } @@ -205,6 +214,9 @@ "description": "Get a list of current quota limits and usages of all resources. The response from this GET operation can be leveraged to submit requests to update a quota.", "operationId": "Quota_List", "x-ms-examples": { + "Quotas_listUsagesForNetwork": { + "$ref": "./examples/getNetworkUsages.json" + }, "Quotas_listUsagesForCompute": { "$ref": "./examples/getComputeUsages.json" }, From 249502cb5d91b2014d2a8297c45dafef3aa897da Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 28 Jul 2021 12:36:32 -0700 Subject: [PATCH 044/127] Updating Network Put and Patch requests. --- .../examples/patchNetworkOneSkuQuotaRequest.json | 3 +-- .../examples/putNetworkOneSkuQuotaRequest.json | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json index e80253c807d1..0f8a261ac899 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json @@ -29,8 +29,7 @@ "name": { "value": "MinPublicIpInterNetworkPrefixLength" } - }, - "provisioningState": "InProgress" + } } }, "200": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json index e80253c807d1..0f8a261ac899 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json @@ -29,8 +29,7 @@ "name": { "value": "MinPublicIpInterNetworkPrefixLength" } - }, - "provisioningState": "InProgress" + } } }, "200": { From aaebb98bbc0b6e0f7947b191b0f2d82c6a914a20 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 28 Jul 2021 12:48:49 -0700 Subject: [PATCH 045/127] Updating GetQuotaRequests example. --- .../examples/getQuotaRequestsHistory.json | 825 ++---------------- 1 file changed, 96 insertions(+), 729 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json index d2defb33f178..8c2ea2e6c37e 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json @@ -6,739 +6,106 @@ "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/?api-version=2021-03-15-preview", + "nextLink": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/microsoft.Quota/resourceProviders/Microsoft.Compute/locations/eastus/serviceLimitsRequests?api-version=2021-03-15&$top=3", "value": [ { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-28T17:09:50Z", - "value": [ - { - "limit": 4, - "message": "Request failed.", - "name": { - "value": "MINPUBLICIPINTERNETWORKPREFIXLENGTH" - }, - "provisioningState": "Failed", - "subRequestId": "5f9adef9-d409-4d5b-80a1-da180883a79d" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/5f9adef9-d409-4d5b-80a1-da180883a79d", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "5f9adef9-d409-4d5b-80a1-da180883a79d" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-28T15:41:38Z", - "value": [ - { - "limit": 4, - "message": "Request failed.", - "name": { - "value": "MINPUBLICIPINTERNETWORKPREFIXLENGTH" - }, - "provisioningState": "Failed", - "subRequestId": "8ec9ed0a-a38e-42d6-bb98-6ece3fea45f6" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/8ec9ed0a-a38e-42d6-bb98-6ece3fea45f6", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "8ec9ed0a-a38e-42d6-bb98-6ece3fea45f6" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-27T21:06:14Z", - "value": [ - { - "limit": 4, - "message": "Request failed.", - "name": { - "value": "MINPUBLICIPINTERNETWORKPREFIXLENGTH" - }, - "provisioningState": "Failed", - "subRequestId": "22e9e922-ed0f-40da-a0a4-dde1bffc0f48" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/22e9e922-ed0f-40da-a0a4-dde1bffc0f48", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "22e9e922-ed0f-40da-a0a4-dde1bffc0f48" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-27T20:57:55Z", - "value": [ - { - "limit": 4, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "39fad8a9-8f0d-47ec-a9a6-606eb6b85228" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/39fad8a9-8f0d-47ec-a9a6-606eb6b85228", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "39fad8a9-8f0d-47ec-a9a6-606eb6b85228" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-22T00:26:52Z", - "value": [ - { - "limit": 14, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "b0f010d3-f24a-4d27-89b9-ebd56f9cdded" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/b0f010d3-f24a-4d27-89b9-ebd56f9cdded", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "b0f010d3-f24a-4d27-89b9-ebd56f9cdded" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-19T17:10:58Z", - "value": [ - { - "limit": 14, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "ae41a14c-7856-4262-af87-a5ee08cb45a5" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/ae41a14c-7856-4262-af87-a5ee08cb45a5", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "ae41a14c-7856-4262-af87-a5ee08cb45a5" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-16T23:19:12Z", - "value": [ - { - "limit": 12, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "958c5b52-2fd5-496a-8b69-9567037d83b9" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/958c5b52-2fd5-496a-8b69-9567037d83b9", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "958c5b52-2fd5-496a-8b69-9567037d83b9" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-16T22:41:11Z", - "value": [ - { - "limit": 11, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "bcefdf4c-4e08-4ba5-8b21-d13568125feb" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/bcefdf4c-4e08-4ba5-8b21-d13568125feb", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "bcefdf4c-4e08-4ba5-8b21-d13568125feb" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-16T22:06:20Z", - "value": [ - { - "limit": 11, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "66a1b810-7ef7-45ef-ac75-95e9df03079e" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/66a1b810-7ef7-45ef-ac75-95e9df03079e", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "66a1b810-7ef7-45ef-ac75-95e9df03079e" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-16T18:46:27Z", - "value": [ - { - "limit": 10, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "387bec71-8f0b-46c1-ae15-daa1de2bff76" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/387bec71-8f0b-46c1-ae15-daa1de2bff76", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "387bec71-8f0b-46c1-ae15-daa1de2bff76" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-16T18:19:52Z", - "value": [ - { - "limit": 1, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "08bf82cc-93fb-4c55-acd5-5c36bdc5bc1a" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/08bf82cc-93fb-4c55-acd5-5c36bdc5bc1a", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "08bf82cc-93fb-4c55-acd5-5c36bdc5bc1a" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-16T16:46:37Z", - "value": [ - { - "limit": 1, - "message": "Request failed.", - "name": { - "value": "STANDARDSKUPUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "33b6b97d-ac49-4739-80dd-6505a91f8aff" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/33b6b97d-ac49-4739-80dd-6505a91f8aff", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "33b6b97d-ac49-4739-80dd-6505a91f8aff" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-15T21:29:44Z", - "value": [ - { - "limit": 10, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "9c3c331b-fc85-42c7-aff8-60143df108a9" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/9c3c331b-fc85-42c7-aff8-60143df108a9", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "9c3c331b-fc85-42c7-aff8-60143df108a9" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-15T20:34:26Z", - "value": [ - { - "limit": 10, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "0e64b803-0d35-4698-9d73-64584bc050bb" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/0e64b803-0d35-4698-9d73-64584bc050bb", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "0e64b803-0d35-4698-9d73-64584bc050bb" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-15T19:43:46Z", - "value": [ - { - "limit": 10, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "17f4ddd7-f713-497d-af6e-477ca6614701" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/17f4ddd7-f713-497d-af6e-477ca6614701", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "17f4ddd7-f713-497d-af6e-477ca6614701" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-15T19:38:50Z", - "value": [ - { - "limit": 10, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "92d51930-1544-4f0c-9a79-b2c2ca4b9467" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/92d51930-1544-4f0c-9a79-b2c2ca4b9467", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "92d51930-1544-4f0c-9a79-b2c2ca4b9467" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-15T18:11:19Z", - "value": [ - { - "limit": 9, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "20d0fd28-5132-4563-a19a-f8a27bc651d2" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/20d0fd28-5132-4563-a19a-f8a27bc651d2", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "20d0fd28-5132-4563-a19a-f8a27bc651d2" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-14T21:00:09Z", - "value": [ - { - "limit": 8, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "5f0d1723-1ed2-493c-b728-d78dd7b9ae03" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/5f0d1723-1ed2-493c-b728-d78dd7b9ae03", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "5f0d1723-1ed2-493c-b728-d78dd7b9ae03" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-14T20:42:13Z", - "value": [ - { - "limit": 7, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "0a66cc26-0ceb-4f7c-802d-1a9751051adc" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/0a66cc26-0ceb-4f7c-802d-1a9751051adc", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "0a66cc26-0ceb-4f7c-802d-1a9751051adc" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-14T20:32:55Z", - "value": [ - { - "limit": 6, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "348227a0-c942-4ffd-a868-dec69cec55ef" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/348227a0-c942-4ffd-a868-dec69cec55ef", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "348227a0-c942-4ffd-a868-dec69cec55ef" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-14T20:32:36Z", - "value": [ - { - "limit": 5, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "07d338db-d6ba-4749-8456-584497466fd3" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/07d338db-d6ba-4749-8456-584497466fd3", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "07d338db-d6ba-4749-8456-584497466fd3" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-14T20:32:00Z", - "value": [ - { - "limit": 4, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "04150a90-a2d3-40d0-9368-5c116b4e98e9" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/04150a90-a2d3-40d0-9368-5c116b4e98e9", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "04150a90-a2d3-40d0-9368-5c116b4e98e9" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-14T20:31:29Z", - "value": [ - { - "limit": 3, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "6c04d967-bae0-4bdd-beaa-b5c181c7cc67" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/6c04d967-bae0-4bdd-beaa-b5c181c7cc67", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "6c04d967-bae0-4bdd-beaa-b5c181c7cc67" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-14T20:24:56Z", - "value": [ - { - "limit": 2, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "640f01a3-5503-4c84-b954-dc5c997e75ef" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/640f01a3-5503-4c84-b954-dc5c997e75ef", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "640f01a3-5503-4c84-b954-dc5c997e75ef" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-07-14T19:16:09Z", - "value": [ - { - "limit": 2, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "4b2c95b6-41a7-40fe-9ab7-7039db6c2732" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/4b2c95b6-41a7-40fe-9ab7-7039db6c2732", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "4b2c95b6-41a7-40fe-9ab7-7039db6c2732" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-06-09T22:03:45Z", - "value": [ - { - "limit": 200, - "message": "Request failed.", - "name": { - "value": "PUBLICIPADDRESSES" - }, - "provisioningState": "Failed", - "subRequestId": "d49b862d-8c96-4f1b-929d-1aa4d4261be6" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/d49b862d-8c96-4f1b-929d-1aa4d4261be6", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "d49b862d-8c96-4f1b-929d-1aa4d4261be6" - }, - { - "properties": { - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed." - }, - "message": "Request failed.", - "provisioningState": "Failed", - "requestSubmitTime": "2021-06-09T20:16:48Z", - "value": [ - { - "limit": 200, - "message": "Request failed.", - "name": { - "value": "MINPUBLICIPINTERNETWORKPREFIXLENGTH" - }, - "provisioningState": "Failed", - "subRequestId": "311fb99b-668d-42d3-b88c-a32998dc6cea" - } - ] - } - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/311fb99b-668d-42d3-b88c-a32998dc6cea", - "type": "Microsoft.Quota/QuotaLimitsRequests", - "name": "311fb99b-668d-42d3-b88c-a32998dc6cea" + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/serviceLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/serviceLimitsRequests", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "properties": { + "requestSubmitTime": "2019-08-19T19:23:17.904Z", + "message": "Request completed", + "provisioningState": "Success", + "value": [ + { + "limit": 200, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardHCSFamily", + "localizedValue": "Standard HCS Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Success" + }, + { + "limit": 50, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardNCPromoFamily", + "localizedValue": "Standard NC Promo Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Success" + } + ] + } + }, + { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/serviceLimitsRequests/7E73A85C-83BB-4DE4-903F-076F1A2B91D6", + "type": "Microsoft.Quota/serviceLimitsRequests", + "name": "7E73A85C-83BB-4DE4-903F-076F1A2B91D6", + "properties": { + "requestSubmitTime": "2019-08-18T19:23:17.904Z", + "message": "Request completed", + "provisioningState": "Succeeded", + "value": [ + { + "limit": 100, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardNVSv3Family", + "localizedValue": "Standard NVSv3 Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Success" + }, + { + "limit": 150, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardNVPromoFamily", + "localizedValue": "Standard NV Promo Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Succeeded" + } + ] + } + }, + { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/serviceLimitsRequests/5E460077-AB53-4802-8997-A6940E0B7649", + "type": "Microsoft.Quota/serviceLimitsRequests", + "name": "5E460077-AB53-4802-8997-A6940E0B7649", + "properties": { + "requestSubmitTime": "2019-08-17T19:23:17.904Z", + "message": "Request completed", + "provisioningState": "Succeeded", + "value": [ + { + "limit": 70, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardNCPromoFamily", + "localizedValue": "Standard NC Promo Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Succeeded" + }, + { + "limit": 52, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardHBSFamily", + "localizedValue": "Standard HBS Family vCPUs" + }, + "message": "Request completed", + "provisioningState": "Succeeded" + } + ] + } } ] } } } -} +} \ No newline at end of file From 96adae3e9bd270005b03761f35b655f3bff9c863 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 28 Jul 2021 12:55:40 -0700 Subject: [PATCH 046/127] Fixing formatting. --- .../2021-03-15-preview/examples/getQuotaRequestsHistory.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json index 8c2ea2e6c37e..23b2f766af56 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json @@ -108,4 +108,4 @@ } } } -} \ No newline at end of file +} From 93f002fe9f68e59990c078efea825636f98890a7 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 28 Jul 2021 14:20:52 -0700 Subject: [PATCH 047/127] Updating examples. --- .../examples/getQuotaRequestStatusById.json | 14 +----- .../examples/getQuotaRequestStatusFailed.json | 16 ++----- .../getQuotaRequestStatusInProgress.json | 2 +- .../examples/getQuotaRequestsHistory.json | 44 +++---------------- 4 files changed, 13 insertions(+), 63 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json index 2e632f45f217..3d71c2a45c7f 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json @@ -7,24 +7,14 @@ "responses": { "200": { "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/serviceLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/serviceLimitsRequests", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaLimitsRequests", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "requestSubmitTime": "2019-08-19T19:23:17.904Z", "message": "Request completed", "provisioningState": "Succeeded", "value": [ - { - "limit": 200, - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", - "name": { - "value": "standardHCSFamily", - "localizedValue": "Standard HCS Family vCPUs" - }, - "message": "Request completed", - "provisioningState": "Succeeded" - }, { "limit": 50, "name": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json index 84f1d6a02fc0..f3342c12e100 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json @@ -7,24 +7,14 @@ "responses": { "200": { "body": { - "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/serviceLimitsRequests", + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaLimitsRequests", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "requestSubmitTime": "2019-08-19T19:23:17.904Z", "message": "Request failed, please contact support.", "provisioningState": "Failed", "value": [ - { - "limit": 200, - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", - "name": { - "value": "standardHCSFamily", - "localizedValue": "Standard HCS Family vCPUs" - }, - "message": "Request completed", - "provisioningState": "Succeeded" - }, { "limit": 50, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", @@ -32,7 +22,7 @@ "value": "standardNCPromoFamily", "localizedValue": "Standard NC Promo Family vCPUs" }, - "message": "RRequest failed, please contact support.", + "message": "Request failed, please contact support.", "provisioningState": "Failed" } ] diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json index f5aa8ae85698..c924032ea1a0 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json @@ -8,7 +8,7 @@ "200": { "body": { "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/serviceLimitsRequests", + "type": "Microsoft.Quota/quotaLimitsRequests", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "requestSubmitTime": "2019-08-19T19:23:17.904Z", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json index 23b2f766af56..53d4a9e89a82 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json @@ -6,27 +6,17 @@ "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/microsoft.Quota/resourceProviders/Microsoft.Compute/locations/eastus/serviceLimitsRequests?api-version=2021-03-15&$top=3", + "nextLink": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/microsoft.Quota/resourceProviders/Microsoft.Compute/locations/eastus/quotaLimitsRequests?api-version=2021-03-15&$top=3", "value": [ { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/serviceLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/serviceLimitsRequests", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaLimitsRequests", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "requestSubmitTime": "2019-08-19T19:23:17.904Z", "message": "Request completed", "provisioningState": "Success", "value": [ - { - "limit": 200, - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", - "name": { - "value": "standardHCSFamily", - "localizedValue": "Standard HCS Family vCPUs" - }, - "message": "Request completed", - "provisioningState": "Success" - }, { "limit": 50, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", @@ -41,24 +31,14 @@ } }, { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/serviceLimitsRequests/7E73A85C-83BB-4DE4-903F-076F1A2B91D6", - "type": "Microsoft.Quota/serviceLimitsRequests", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/7E73A85C-83BB-4DE4-903F-076F1A2B91D6", + "type": "Microsoft.Quota/quotaLimitsRequests", "name": "7E73A85C-83BB-4DE4-903F-076F1A2B91D6", "properties": { "requestSubmitTime": "2019-08-18T19:23:17.904Z", "message": "Request completed", "provisioningState": "Succeeded", "value": [ - { - "limit": 100, - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", - "name": { - "value": "standardNVSv3Family", - "localizedValue": "Standard NVSv3 Family vCPUs" - }, - "message": "Request completed", - "provisioningState": "Success" - }, { "limit": 150, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", @@ -73,24 +53,14 @@ } }, { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/serviceLimitsRequests/5E460077-AB53-4802-8997-A6940E0B7649", - "type": "Microsoft.Quota/serviceLimitsRequests", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/5E460077-AB53-4802-8997-A6940E0B7649", + "type": "Microsoft.Quota/quotaLimitsRequests", "name": "5E460077-AB53-4802-8997-A6940E0B7649", "properties": { "requestSubmitTime": "2019-08-17T19:23:17.904Z", "message": "Request completed", "provisioningState": "Succeeded", "value": [ - { - "limit": 70, - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", - "name": { - "value": "standardNCPromoFamily", - "localizedValue": "Standard NC Promo Family vCPUs" - }, - "message": "Request completed", - "provisioningState": "Succeeded" - }, { "limit": 52, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", From 03d3045bdfa59edff3305d4b94bd1d4c7f605585 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 28 Jul 2021 14:26:27 -0700 Subject: [PATCH 048/127] Adding error details for the quota request status. --- .../examples/getQuotaRequestStatusFailed.json | 6 +++++- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json index f3342c12e100..22ff0ac1f7cf 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json @@ -23,7 +23,11 @@ "localizedValue": "Standard NC Promo Family vCPUs" }, "message": "Request failed, please contact support.", - "provisioningState": "Failed" + "provisioningState": "Failed", + "eeror" : { + "code": "ContactSupport", + "message": "Request failed, please contact support." + } } ] } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 1d4fc36c8f6d..8ade35dc8e87 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -926,6 +926,10 @@ "type": "boolean", "readOnly": true }, + "error": { + "description": "Error detals of the quota request..", + "$ref": "#/definitions/ServiceErrorDetail" + }, "properties": { "description": "Additional properties for the specific resource provider.", "type": "object" From ae2e933855139f2ec88edb1d01610cae9c024b3e Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 28 Jul 2021 14:40:48 -0700 Subject: [PATCH 049/127] Updating examples --- .../examples/getQuotaRequestStatusFailed.json | 2 +- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json index 22ff0ac1f7cf..35206084ebf7 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json @@ -24,7 +24,7 @@ }, "message": "Request failed, please contact support.", "provisioningState": "Failed", - "eeror" : { + "error" : { "code": "ContactSupport", "message": "Request failed, please contact support." } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 8ade35dc8e87..d2b636241335 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -927,7 +927,7 @@ "readOnly": true }, "error": { - "description": "Error detals of the quota request..", + "description": "Error details of the quota request.", "$ref": "#/definitions/ServiceErrorDetail" }, "properties": { From 9367731aafa9d37c90a3ba20add8263a889b1f8f Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 28 Jul 2021 14:49:20 -0700 Subject: [PATCH 050/127] Fixing formatting --- .../examples/getQuotaRequestStatusFailed.json | 2 +- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json index 35206084ebf7..825e26789f16 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json @@ -24,7 +24,7 @@ }, "message": "Request failed, please contact support.", "provisioningState": "Failed", - "error" : { + "error": { "code": "ContactSupport", "message": "Request failed, please contact support." } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index d2b636241335..0ce976b46e4a 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -927,7 +927,7 @@ "readOnly": true }, "error": { - "description": "Error details of the quota request.", + "description": "Error details of the quota request.", "$ref": "#/definitions/ServiceErrorDetail" }, "properties": { From cef9f52f142cf6c420a5f89bd0e2d806e29530c1 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 28 Jul 2021 14:59:25 -0700 Subject: [PATCH 051/127] Fixing model definition. --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 0ce976b46e4a..d7ab27898f0b 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -667,6 +667,10 @@ "description": "Quota request ID.", "type": "string", "readOnly": true + }, + "error": { + "description": "Error details of the quota request.", + "$ref": "#/definitions/ServiceErrorDetail" } } }, @@ -926,10 +930,6 @@ "type": "boolean", "readOnly": true }, - "error": { - "description": "Error details of the quota request.", - "$ref": "#/definitions/ServiceErrorDetail" - }, "properties": { "description": "Additional properties for the specific resource provider.", "type": "object" From c381b49072a7de87fc1cc84e1a2cc326a3fa0734 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 29 Jul 2021 09:39:24 -0700 Subject: [PATCH 052/127] Revert "Fixing model definition." This reverts commit cef9f52f142cf6c420a5f89bd0e2d806e29530c1. --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index d7ab27898f0b..0ce976b46e4a 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -667,10 +667,6 @@ "description": "Quota request ID.", "type": "string", "readOnly": true - }, - "error": { - "description": "Error details of the quota request.", - "$ref": "#/definitions/ServiceErrorDetail" } } }, @@ -930,6 +926,10 @@ "type": "boolean", "readOnly": true }, + "error": { + "description": "Error details of the quota request.", + "$ref": "#/definitions/ServiceErrorDetail" + }, "properties": { "description": "Additional properties for the specific resource provider.", "type": "object" From 008a660aca4f324535632d4cc3ae6076f6af623c Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 29 Jul 2021 09:51:39 -0700 Subject: [PATCH 053/127] Updating example. --- .../examples/getQuotaRequestStatusFailed.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json index 825e26789f16..f3342c12e100 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json @@ -23,11 +23,7 @@ "localizedValue": "Standard NC Promo Family vCPUs" }, "message": "Request failed, please contact support.", - "provisioningState": "Failed", - "error": { - "code": "ContactSupport", - "message": "Request failed, please contact support." - } + "provisioningState": "Failed" } ] } From 32eb5699d6faaf34c70819960dcfd244de7bc596 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 29 Jul 2021 12:25:30 -0700 Subject: [PATCH 054/127] Making ResoureType as String, as it will change with different RPs and all possible values cannot be added in advance. --- .../preview/2021-03-15-preview/quota.json | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 0ce976b46e4a..985fcacdee00 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -954,19 +954,8 @@ }, "ResourceTypesName": { "description": "Resource types. For extensibility, it is a string.", - "enum": [ - "standard", - "dedicated", - "lowPriority", - "shared", - "serviceSpecific" - ], "readOnly": false, - "type": "string", - "x-ms-enum": { - "name": "ResourceType", - "modelAsString": true - } + "type": "string" }, "ExceptionResponse": { "type": "object", From 1a322526ead061b271963788c530c94279634542 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Fri, 30 Jul 2021 10:59:05 -0700 Subject: [PATCH 055/127] Adding Location header to Put and Path calls 200 response. --- .../2021-03-15-preview/examples/patchComputeQuotaRequest.json | 3 +++ .../examples/patchNetworkOneSkuQuotaRequest.json | 3 +++ .../examples/putComputeOneSkuQuotaRequest.json | 3 +++ .../putMachineLearningServicesQuotaRequestDedicated.json | 3 +++ .../examples/putNetworkOneSkuQuotaRequest.json | 3 +++ 5 files changed, 15 insertions(+) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json index 0dd35cdafa7b..ee195a6cae64 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json @@ -31,6 +31,9 @@ } }, "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardFSv2Family", "type": "Microsoft.Quota/quotaLimits", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json index 0f8a261ac899..cb23892dc21a 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json @@ -33,6 +33,9 @@ } }, "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", "type": "Microsoft.Quota/quotaLimits", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json index ed9d5e542293..7285912f95a2 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json @@ -31,6 +31,9 @@ } }, "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardFSv2Family", "type": "Microsoft.Quota/quotaLimits", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json index ed9d5e542293..7285912f95a2 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json @@ -31,6 +31,9 @@ } }, "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardFSv2Family", "type": "Microsoft.Quota/quotaLimits", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json index 0f8a261ac899..cb23892dc21a 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json @@ -33,6 +33,9 @@ } }, "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", "type": "Microsoft.Quota/quotaLimits", From 4bfe3de13dee727cd0c995c59950d5fa09da3ad6 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Fri, 30 Jul 2021 12:16:27 -0700 Subject: [PATCH 056/127] Adding example for Network StandardSkuPublicIpAddresses --- ...taRequestStandardSkuPublicIpAddresses.json | 64 +++++++++++++++++++ .../preview/2021-03-15-preview/quota.json | 3 + 2 files changed, 67 insertions(+) create mode 100644 specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json new file mode 100644 index 000000000000..0acc01a6209c --- /dev/null +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus", + "resourceName": "StandardSkuPublicIpAddresses", + "api-version": "2021-03-15-preview", + "createQuotaRequest": { + "properties": { + "limit": 200, + "name": { + "value": "StandardSkuPublicIpAddresses" + }, + "resourceType": "StandardSkuPublicIpAddresses", + "properties": { + "availabilityZoneType": "Zonal" + } + } + } + }, + "responses": { + "202": { + "headers": { + "Retry-After": "30", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + }, + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaLimits", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "properties": { + "limit": 200, + "currentValue": 0, + "name": { + "value": "StandardSkuPublicIpAddresses" + }, + "resourceType": "StandardSkuPublicIpAddresses", + "properties": { + "availabilityZoneType": "Zonal" + } + } + } + }, + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + }, + "body": { + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaLimits", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "properties": { + "limit": 200, + "currentValue": 0, + "name": { + "value": "StandardSkuPublicIpAddresses" + }, + "resourceType": "StandardSkuPublicIpAddresses", + "properties": { + "availabilityZoneType": "Zonal" + } + } + } + } + } +} diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 985fcacdee00..5ef512156680 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -99,6 +99,9 @@ }, "Quotas_Request_ForMachineLearningServices_LowPriorityResource": { "$ref": "./examples/putMachineLearningServicesQuotaRequestLowPriority.json" + }, + "Quotas_Request_ForNetwork_tandardSkuPublicIpAddressesResource": { + "$ref": "./examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json" } }, "x-ms-long-running-operation": true, From ec590450009631ab7a1fa9173ed6ee7dd092f66c Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Fri, 30 Jul 2021 12:24:50 -0700 Subject: [PATCH 057/127] Fixing spelling --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 5ef512156680..848ec65834a5 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -100,7 +100,7 @@ "Quotas_Request_ForMachineLearningServices_LowPriorityResource": { "$ref": "./examples/putMachineLearningServicesQuotaRequestLowPriority.json" }, - "Quotas_Request_ForNetwork_tandardSkuPublicIpAddressesResource": { + "Quotas_Request_ForNetwork_StandardSkuPublicIpAddressesResource": { "$ref": "./examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json" } }, From 0ab66b3c8a86f1f6d79a7bd7284eae1c6f0bf194 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Fri, 30 Jul 2021 16:00:18 -0700 Subject: [PATCH 058/127] Adding error code to Failed requests and updating examples. --- .../examples/getQuotaRequestStatusFailed.json | 6 +++++- .../examples/getQuotaRequestsHistory.json | 12 ++++++++---- .../preview/2021-03-15-preview/quota.json | 4 ++++ 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json index f3342c12e100..825e26789f16 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json @@ -23,7 +23,11 @@ "localizedValue": "Standard NC Promo Family vCPUs" }, "message": "Request failed, please contact support.", - "provisioningState": "Failed" + "provisioningState": "Failed", + "error": { + "code": "ContactSupport", + "message": "Request failed, please contact support." + } } ] } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json index 53d4a9e89a82..2866858381ca 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json @@ -58,8 +58,8 @@ "name": "5E460077-AB53-4802-8997-A6940E0B7649", "properties": { "requestSubmitTime": "2019-08-17T19:23:17.904Z", - "message": "Request completed", - "provisioningState": "Succeeded", + "message": "The resource is currently unavailable in the location for the offer type.", + "provisioningState": "Failed", "value": [ { "limit": 52, @@ -68,8 +68,12 @@ "value": "standardHBSFamily", "localizedValue": "Standard HBS Family vCPUs" }, - "message": "Request completed", - "provisioningState": "Succeeded" + "message": "Request failed, please contact support.", + "provisioningState": "Failed", + "error": { + "code": "ResourceNotAvailableForOffer", + "message": "The resource is currently unavailable in the location for the offer type." + } } ] } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 848ec65834a5..f6a11ecf88bd 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -670,6 +670,10 @@ "description": "Quota request ID.", "type": "string", "readOnly": true + }, + "error": { + "description": "Error details of the quota request.", + "$ref": "#/definitions/ServiceErrorDetail" } } }, From 3b9c00f71c595960f977fdefc72d0e36f651c9ee Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Fri, 30 Jul 2021 16:26:17 -0700 Subject: [PATCH 059/127] Updating error message and code. --- .../examples/getQuotaRequestStatusFailed.json | 10 +++++----- .../examples/getQuotaRequestsHistory.json | 10 +++++----- .../preview/2021-03-15-preview/quota.json | 8 ++++---- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json index 825e26789f16..e1421f0f633f 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json @@ -14,6 +14,10 @@ "requestSubmitTime": "2019-08-19T19:23:17.904Z", "message": "Request failed, please contact support.", "provisioningState": "Failed", + "error": { + "code": "ContactSupport", + "message": "Request failed, please contact support." + }, "value": [ { "limit": 50, @@ -23,11 +27,7 @@ "localizedValue": "Standard NC Promo Family vCPUs" }, "message": "Request failed, please contact support.", - "provisioningState": "Failed", - "error": { - "code": "ContactSupport", - "message": "Request failed, please contact support." - } + "provisioningState": "Failed" } ] } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json index 2866858381ca..6da2f556970c 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json @@ -60,6 +60,10 @@ "requestSubmitTime": "2019-08-17T19:23:17.904Z", "message": "The resource is currently unavailable in the location for the offer type.", "provisioningState": "Failed", + "error": { + "code": "ResourceNotAvailableForOffer", + "message": "The resource is currently unavailable in the location for the offer type." + }, "value": [ { "limit": 52, @@ -69,11 +73,7 @@ "localizedValue": "Standard HBS Family vCPUs" }, "message": "Request failed, please contact support.", - "provisioningState": "Failed", - "error": { - "code": "ResourceNotAvailableForOffer", - "message": "The resource is currently unavailable in the location for the offer type." - } + "provisioningState": "Failed" } ] } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index f6a11ecf88bd..1b4f89e70140 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -670,10 +670,6 @@ "description": "Quota request ID.", "type": "string", "readOnly": true - }, - "error": { - "description": "Error details of the quota request.", - "$ref": "#/definitions/ServiceErrorDetail" } } }, @@ -863,6 +859,10 @@ "type": "string", "readOnly": true }, + "error": { + "description": "Error details of the quota request.", + "$ref": "#/definitions/ServiceErrorDetail" + }, "requestSubmitTime": { "description": "The quota request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ", "type": "string", From 39ca50c9da6b9535900eee092f0cad9a870fe726 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 2 Aug 2021 08:58:14 -0700 Subject: [PATCH 060/127] Updating example for Network - StandardSkuPublicIpAddresses --- ...tworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json index 0acc01a6209c..a2d2926fbe69 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json @@ -9,7 +9,7 @@ "name": { "value": "StandardSkuPublicIpAddresses" }, - "resourceType": "StandardSkuPublicIpAddresses", + "resourceType": "PublicIpAddresses", "properties": { "availabilityZoneType": "Zonal" } @@ -32,7 +32,7 @@ "name": { "value": "StandardSkuPublicIpAddresses" }, - "resourceType": "StandardSkuPublicIpAddresses", + "resourceType": "PublicIpAddresses", "properties": { "availabilityZoneType": "Zonal" } @@ -53,7 +53,7 @@ "name": { "value": "StandardSkuPublicIpAddresses" }, - "resourceType": "StandardSkuPublicIpAddresses", + "resourceType": "PublicIpAddresses", "properties": { "availabilityZoneType": "Zonal" } From f5c2e550e002b4788da1a20278abad7ca845a80a Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 4 Aug 2021 15:55:47 -0700 Subject: [PATCH 061/127] Adding oneOf construct. If supported, then I will update the examples. --- .../preview/2021-03-15-preview/quota.json | 53 ++++++++++--------- 1 file changed, 28 insertions(+), 25 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 1b4f89e70140..7b15390b49c0 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -531,16 +531,8 @@ "type": "object", "properties": { "limit": { - "description": "Quota limit.", - "type": "integer", - "format": "int32", - "readOnly": false - }, - "currentValue": { - "description": "Usage information for the current resource.", - "type": "integer", - "format": "int32", - "readOnly": true + "description": "Resource quota limit properties.", + "$ref": "#/definitions/Limit" }, "unit": { "description": " The quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", @@ -639,10 +631,8 @@ "description": "Request property.", "properties": { "limit": { - "description": "Resource quota limit.", - "type": "integer", - "format": "int32", - "readOnly": true + "description": "Resource quota limit properties.", + "$ref": "#/definitions/Limit" }, "name": { "description": "Resource name.", @@ -673,6 +663,27 @@ } } }, + "Limit": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/LimitValue" + }, + { + "$ref": "#/definitions/UsagesValue" + } + ] + }, + "LimitValue": { + "description": "Resource quota limit.", + "type": "integer", + "format": "int32" + }, + "UsagesValue": { + "description": "Resource usages value.", + "type": "integer", + "format": "int32" + }, "QuotaRequestOneResourceSubmitResponse": { "description": "Quota request response.", "type": "object", @@ -723,7 +734,7 @@ "type": { "type": "string", "readOnly": true, - "description": "Resource type. \"Microsoft.Quota/quotaLimits\"" + "description": "Resource type. \"Microsoft.Quota/quotas\"" } } }, @@ -768,16 +779,8 @@ "readOnly": true }, "limit": { - "description": "Quota limit.", - "type": "integer", - "format": "int32", - "readOnly": false - }, - "currentValue": { - "description": "Usage information for the current resource.", - "type": "integer", - "format": "int32", - "readOnly": true + "description": "Resource quota limit properties.", + "$ref": "#/definitions/Limit" }, "unit": { "description": " The quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", From ed269bfee6c5191eeca9ed58b74e66bdc86275e5 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 5 Aug 2021 16:36:30 -0700 Subject: [PATCH 062/127] Adding discriminator for Limit. --- .../preview/2021-03-15-preview/quota.json | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 7b15390b49c0..221dc9838dec 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -664,22 +664,28 @@ } }, "Limit": { + "descriminator" : "type", + "description": "Values for Limit and usages.", "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/LimitValue" - }, - { - "$ref": "#/definitions/UsagesValue" + "properties": { + "type":{ + "type": "string", + "description": "The limit type" } + }, + "required": [ + "type" ] + }, "LimitValue": { + "x-ms-discriminator-value": "limit", "description": "Resource quota limit.", "type": "integer", "format": "int32" }, "UsagesValue": { + "x-ms-discriminator-value": "usages", "description": "Resource usages value.", "type": "integer", "format": "int32" From 26098804196b0d133a91b390b70caf7d0b159bbe Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 5 Aug 2021 16:38:32 -0700 Subject: [PATCH 063/127] Adding discriminator to limit. --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 221dc9838dec..59ed7bc66e90 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -664,7 +664,7 @@ } }, "Limit": { - "descriminator" : "type", + "discriminator" : "type", "description": "Values for Limit and usages.", "type": "object", "properties": { From 64727b8335901df01fcd407c530a26f5b74656e5 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 5 Aug 2021 17:06:54 -0700 Subject: [PATCH 064/127] Updating network UsagesValue example for discriminator --- .../examples/getNetworkOneSkuUsages.json | 5 ++- .../preview/2021-03-15-preview/quota.json | 31 ++++++++++++++----- 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index b29a5a56aa1f..94b2c04361d3 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -11,7 +11,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "MinPublicIpInterNetworkPrefixLength", "properties": { - "limit": 10, + "limit": { + "limitType": "usages", + "usagesValue": 10 + }, "currentValue": 0, "unit": "Count", "name": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 59ed7bc66e90..221fa2498595 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -664,31 +664,46 @@ } }, "Limit": { - "discriminator" : "type", + "discriminator": "limitType", "description": "Values for Limit and usages.", "type": "object", "properties": { - "type":{ + "type": { "type": "string", "description": "The limit type" } }, "required": [ - "type" + "limitType" ] - }, "LimitValue": { "x-ms-discriminator-value": "limit", "description": "Resource quota limit.", - "type": "integer", - "format": "int32" + "properties": { + "limitValue": { + "description": "The Quota Limit value.", + "type": "integer", + "format": "int32" + } + }, + "required": [ + "limitValue" + ] }, "UsagesValue": { "x-ms-discriminator-value": "usages", "description": "Resource usages value.", - "type": "integer", - "format": "int32" + "properties": { + "usagesValue": { + "description": "The resource usages value.", + "type": "integer", + "format": "int32" + } + }, + "required": [ + "usagesValue" + ] }, "QuotaRequestOneResourceSubmitResponse": { "description": "Quota request response.", From 60c35049e53addeb9a8ba0a2eaa408668a0de36f Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 5 Aug 2021 17:17:30 -0700 Subject: [PATCH 065/127] Adding limitType definition. --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 221fa2498595..a9d6473d10e9 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -668,7 +668,7 @@ "description": "Values for Limit and usages.", "type": "object", "properties": { - "type": { + "limitType": { "type": "string", "description": "The limit type" } From fc432b0fbaf3905297885a2a73b9eb9a5ef1d1b7 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 5 Aug 2021 17:50:05 -0700 Subject: [PATCH 066/127] Adding type to the Limit objects. --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index a9d6473d10e9..4760ee8faa20 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -679,6 +679,7 @@ }, "LimitValue": { "x-ms-discriminator-value": "limit", + "type": "object", "description": "Resource quota limit.", "properties": { "limitValue": { @@ -693,6 +694,7 @@ }, "UsagesValue": { "x-ms-discriminator-value": "usages", + "type": "object", "description": "Resource usages value.", "properties": { "usagesValue": { From 0b400f05384cc7d6abe7fc89126f3da3742cbd84 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 5 Aug 2021 18:03:29 -0700 Subject: [PATCH 067/127] Updating type and example for discriminator --- .../examples/getNetworkOneSkuUsages.json | 2 +- .../preview/2021-03-15-preview/quota.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index 94b2c04361d3..e4debffc7c31 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -12,7 +12,7 @@ "name": "MinPublicIpInterNetworkPrefixLength", "properties": { "limit": { - "limitType": "usages", + "limitType": "UsagesValue", "usagesValue": 10 }, "currentValue": 0, diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 4760ee8faa20..b74d14d3b314 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -42,7 +42,7 @@ "description": "Gets the quota limit and current quota usage of a resource. The response can be used to determine the remaining quota and calculate a new quota limit that can be submitted with a PUT request.", "operationId": "Quota_Get", "x-ms-examples": { - "Quotas_Request_ForNetwork": { + "Quotas_UsagesRequest_ForNetwork": { "$ref": "./examples/getNetworkOneSkuUsages.json" }, "Quotas_Get_Request_ForCompute": { @@ -88,7 +88,7 @@ "description": "Create or update the quota limit for the specified resource to the requested value. To update the quota, follow these steps:\n1. Use the GET operation to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit.", "operationId": "Quota_CreateOrUpdate", "x-ms-examples": { - "Quotas_Request_ForNetwork": { + "Quotas_PutRequest_ForNetwork": { "$ref": "./examples/putNetworkOneSkuQuotaRequest.json" }, "Quotas_Put_Request_ForCompute": { @@ -100,7 +100,7 @@ "Quotas_Request_ForMachineLearningServices_LowPriorityResource": { "$ref": "./examples/putMachineLearningServicesQuotaRequestLowPriority.json" }, - "Quotas_Request_ForNetwork_StandardSkuPublicIpAddressesResource": { + "Quotas_PutRequest_ForNetwork_StandardSkuPublicIpAddressesResource": { "$ref": "./examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json" } }, @@ -678,7 +678,7 @@ ] }, "LimitValue": { - "x-ms-discriminator-value": "limit", + "x-ms-discriminator-value": "LimitValue", "type": "object", "description": "Resource quota limit.", "properties": { @@ -693,7 +693,7 @@ ] }, "UsagesValue": { - "x-ms-discriminator-value": "usages", + "x-ms-discriminator-value": "UsagesValue", "type": "object", "description": "Resource usages value.", "properties": { From 9fe50a6a30514724f2bc1151366ed2dc2552e6e1 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 5 Aug 2021 18:10:31 -0700 Subject: [PATCH 068/127] Updating type for discriminator --- .../2021-03-15-preview/examples/getNetworkOneSkuUsages.json | 2 +- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index e4debffc7c31..dfae457db09d 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -12,7 +12,7 @@ "name": "MinPublicIpInterNetworkPrefixLength", "properties": { "limit": { - "limitType": "UsagesValue", + "type": "UsagesValue", "usagesValue": 10 }, "currentValue": 0, diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index b74d14d3b314..50fd3ac3f2d6 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -664,7 +664,7 @@ } }, "Limit": { - "discriminator": "limitType", + "discriminator": "type", "description": "Values for Limit and usages.", "type": "object", "properties": { @@ -674,7 +674,7 @@ } }, "required": [ - "limitType" + "type" ] }, "LimitValue": { From c3eab952b5827f10e268e480d287a43a0ba47a2f Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 5 Aug 2021 18:21:53 -0700 Subject: [PATCH 069/127] fixinf type definition for discriminator --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 50fd3ac3f2d6..8db7d4d65236 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -668,7 +668,7 @@ "description": "Values for Limit and usages.", "type": "object", "properties": { - "limitType": { + "type": { "type": "string", "description": "The limit type" } From 9da3534b9468f3523f2a3b5e0c1e74aa981d12cd Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sat, 7 Aug 2021 10:28:22 -0700 Subject: [PATCH 070/127] Updating schema for discriminator and example. --- .../examples/getNetworkOneSkuUsages.json | 5 ++--- .../preview/2021-03-15-preview/quota.json | 10 +++++++++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index dfae457db09d..4b57c9383329 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -11,11 +11,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "MinPublicIpInterNetworkPrefixLength", "properties": { - "limit": { - "type": "UsagesValue", + "type": "UsagesValue", + "usagesValue": { "usagesValue": 10 }, - "currentValue": 0, "unit": "Count", "name": { "value": "MinPublicIpInterNetworkPrefixLength", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 8db7d4d65236..b0721c6c7032 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -670,7 +670,15 @@ "properties": { "type": { "type": "string", - "description": "The limit type" + "description": "The limit type", + "enum": [ + "LimitValue", + "UsagesValue" + ], + "x-ms-enum": { + "name": "type", + "modelAsString": true + } } }, "required": [ From 6eb2456a43575da571bd51a575cf208896315fcb Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sat, 7 Aug 2021 10:32:18 -0700 Subject: [PATCH 071/127] Update network example. --- .../2021-03-15-preview/examples/getNetworkOneSkuUsages.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index 4b57c9383329..78a2c4639c00 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -11,8 +11,8 @@ "type": "Microsoft.Quota/quotaLimits", "name": "MinPublicIpInterNetworkPrefixLength", "properties": { - "type": "UsagesValue", "usagesValue": { + "type": "UsagesValue", "usagesValue": 10 }, "unit": "Count", From 1a9d118a52075a5a528bbcb10ce882a537e7f089 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sat, 7 Aug 2021 10:39:50 -0700 Subject: [PATCH 072/127] Fixing network example. --- .../2021-03-15-preview/examples/getNetworkOneSkuUsages.json | 2 +- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index 78a2c4639c00..04b43aded6ef 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -10,9 +10,9 @@ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/MinPublicIpInterNetworkPrefixLength", "type": "Microsoft.Quota/quotaLimits", "name": "MinPublicIpInterNetworkPrefixLength", + "limitType": "UsagesValue", "properties": { "usagesValue": { - "type": "UsagesValue", "usagesValue": 10 }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index b0721c6c7032..94458b951b1d 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -664,11 +664,11 @@ } }, "Limit": { - "discriminator": "type", + "discriminator": "limitType", "description": "Values for Limit and usages.", "type": "object", "properties": { - "type": { + "limitType": { "type": "string", "description": "The limit type", "enum": [ From 23dc5d0fe73bf2649a2609ef82053b9effbe3e70 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sat, 7 Aug 2021 10:45:44 -0700 Subject: [PATCH 073/127] Fixing schema. --- .../2021-03-15-preview/examples/getNetworkOneSkuUsages.json | 2 +- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index 04b43aded6ef..3994e8fb7018 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -10,7 +10,7 @@ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/MinPublicIpInterNetworkPrefixLength", "type": "Microsoft.Quota/quotaLimits", "name": "MinPublicIpInterNetworkPrefixLength", - "limitType": "UsagesValue", + "limitType": "UsagesValue", "properties": { "usagesValue": { "usagesValue": 10 diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 94458b951b1d..a62b1085e356 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -682,7 +682,7 @@ } }, "required": [ - "type" + "limitType" ] }, "LimitValue": { From 03cb2726b7612ec19bbd69dcca18ca044096fc4e Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sat, 7 Aug 2021 10:48:18 -0700 Subject: [PATCH 074/127] Fixing network example. --- .../2021-03-15-preview/examples/getNetworkOneSkuUsages.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index 3994e8fb7018..c926dd0cc07e 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -10,9 +10,9 @@ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/MinPublicIpInterNetworkPrefixLength", "type": "Microsoft.Quota/quotaLimits", "name": "MinPublicIpInterNetworkPrefixLength", - "limitType": "UsagesValue", "properties": { - "usagesValue": { + "limit": { + "limitType": "UsagesValue", "usagesValue": 10 }, "unit": "Count", From c3bb07c5d7bc8b187a311fcbdd1fc97b0c1a4a5b Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sat, 7 Aug 2021 10:53:51 -0700 Subject: [PATCH 075/127] Fix example. --- .../2021-03-15-preview/examples/getNetworkOneSkuUsages.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index c926dd0cc07e..2a7b868fc9d0 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -13,7 +13,9 @@ "properties": { "limit": { "limitType": "UsagesValue", - "usagesValue": 10 + "UsagesValue": { + "usagesValue": 10 + } }, "unit": "Count", "name": { From 9d54cddf7c3b7e2d64aec40db3cae390ae9e6d74 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sun, 8 Aug 2021 00:10:58 -0700 Subject: [PATCH 076/127] Updating schema. --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index a62b1085e356..b66692e8a3c6 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -676,7 +676,7 @@ "UsagesValue" ], "x-ms-enum": { - "name": "type", + "name": "limitType", "modelAsString": true } } From d56dd5ab7399cff0777dc7fd4ed13ee52f058596 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sun, 8 Aug 2021 00:32:26 -0700 Subject: [PATCH 077/127] Updating schema and example. --- .../examples/getNetworkOneSkuUsages.json | 4 +- .../preview/2021-03-15-preview/quota.json | 40 +++++++++++++------ 2 files changed, 30 insertions(+), 14 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index 2a7b868fc9d0..004b5a11e2a8 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -13,8 +13,8 @@ "properties": { "limit": { "limitType": "UsagesValue", - "UsagesValue": { - "usagesValue": 10 + "usages": { + "usages": 10 } }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index b66692e8a3c6..cf280e6ba9ef 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -685,34 +685,50 @@ "limitType" ] }, - "LimitValue": { - "x-ms-discriminator-value": "LimitValue", + "LimitObject": { + "description": "The Quota Limit value.", "type": "object", - "description": "Resource quota limit.", "properties": { - "limitValue": { - "description": "The Quota Limit value.", + "limit": { "type": "integer", "format": "int32" } }, "required": [ - "limitValue" + "limit" ] }, - "UsagesValue": { - "x-ms-discriminator-value": "UsagesValue", + "LimitValue": { + "x-ms-discriminator-value": "LimitValue", + "type": "object", + "description": "The resource quota limit.", + "allOf": [ + { + "$ref": "#/definitions/LimitObject" + } + ] + }, + "UsagesObject": { + "description": "The resource usages value.", "type": "object", - "description": "Resource usages value.", "properties": { - "usagesValue": { - "description": "The resource usages value.", + "usages": { "type": "integer", "format": "int32" } }, "required": [ - "usagesValue" + "usages" + ] + }, + "UsagesValue": { + "x-ms-discriminator-value": "UsagesValue", + "type": "object", + "description": "Resource usages value.", + "allOf": [ + { + "$ref": "#/definitions/UsagesObject" + } ] }, "QuotaRequestOneResourceSubmitResponse": { From 2b811fb59976de3dc9f04a97948c760459e09cd6 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sun, 8 Aug 2021 00:35:51 -0700 Subject: [PATCH 078/127] Update example. --- .../2021-03-15-preview/examples/getNetworkOneSkuUsages.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index 004b5a11e2a8..f3e7ef3beacb 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -13,9 +13,7 @@ "properties": { "limit": { "limitType": "UsagesValue", - "usages": { - "usages": 10 - } + "usages": 10 }, "unit": "Count", "name": { From 61b264cb35adc5ee34e529599dfa9d7ae262f394 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sun, 8 Aug 2021 00:59:05 -0700 Subject: [PATCH 079/127] Examples update. --- .../2021-03-15-preview/examples/getComputeOneSkuUsages.json | 5 ++++- .../2021-03-15-preview/examples/getNetworkOneSkuUsages.json | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json index b43e5c6eac1c..717ce4a51934 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json @@ -11,7 +11,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardNDSFamily", "properties": { - "limit": 10, + "limit": { + "limitType": "UsagesValue", + "usages": 10 + }, "unit": "Count", "name": { "value": "standardNDSFamily", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index f3e7ef3beacb..004b5a11e2a8 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -13,7 +13,9 @@ "properties": { "limit": { "limitType": "UsagesValue", - "usages": 10 + "usages": { + "usages": 10 + } }, "unit": "Count", "name": { From 4f212f5e424bf5206ac1ac91989918171ae24c47 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Sun, 8 Aug 2021 01:06:35 -0700 Subject: [PATCH 080/127] Update --- .../examples/getComputeOneSkuUsages.json | 2 +- .../examples/getNetworkOneSkuUsages.json | 2 +- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json index 717ce4a51934..c26273ad38df 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json @@ -13,7 +13,7 @@ "properties": { "limit": { "limitType": "UsagesValue", - "usages": 10 + "value": 10 }, "unit": "Count", "name": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index 004b5a11e2a8..e2fdc9f546db 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -14,7 +14,7 @@ "limit": { "limitType": "UsagesValue", "usages": { - "usages": 10 + "value": 10 } }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index cf280e6ba9ef..d6d711b4126e 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -689,13 +689,13 @@ "description": "The Quota Limit value.", "type": "object", "properties": { - "limit": { + "value": { "type": "integer", "format": "int32" } }, "required": [ - "limit" + "value" ] }, "LimitValue": { @@ -712,13 +712,13 @@ "description": "The resource usages value.", "type": "object", "properties": { - "usages": { + "value": { "type": "integer", "format": "int32" } }, "required": [ - "usages" + "value" ] }, "UsagesValue": { From c7942fc33998906d3047ac0ce980050282527eb1 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 12:59:07 -0700 Subject: [PATCH 081/127] Updated schema for discriminator --- .../preview/2021-03-15-preview/quota.json | 65 ++++++++++--------- 1 file changed, 35 insertions(+), 30 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index d6d711b4126e..541549a5a015 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -663,27 +663,39 @@ } } }, - "Limit": { - "discriminator": "limitType", - "description": "Values for Limit and usages.", + "LimitObjectType": { + "type": "string", + "description": "The limit type", + "enum": [ + "LimitValue", + "UsagesValue" + ], + "x-ms-enum": { + "name": "limitType", + "modelAsString": true + } + }, + "LimitJsonObject": { + "description": "LimitJson abstract class.", + "required": [ + "limitType" + ], "type": "object", "properties": { "limitType": { - "type": "string", - "description": "The limit type", - "enum": [ - "LimitValue", - "UsagesValue" - ], - "x-ms-enum": { - "name": "limitType", - "modelAsString": true - } + "$ref": "#/definitions/LimitObjectType" } }, - "required": [ - "limitType" - ] + "discriminator": "limitType" + }, + "Limit": { + "description": "Values for Limit and usages.", + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/LimitJsonObject" + } + } }, "LimitObject": { "description": "The Quota Limit value.", @@ -703,31 +715,24 @@ "type": "object", "description": "The resource quota limit.", "allOf": [ + { + "$ref": "#/definitions/LimitJsonObject" + }, { "$ref": "#/definitions/LimitObject" } ] }, - "UsagesObject": { - "description": "The resource usages value.", - "type": "object", - "properties": { - "value": { - "type": "integer", - "format": "int32" - } - }, - "required": [ - "value" - ] - }, "UsagesValue": { "x-ms-discriminator-value": "UsagesValue", "type": "object", "description": "Resource usages value.", "allOf": [ { - "$ref": "#/definitions/UsagesObject" + "$ref": "#/definitions/LimitJsonObject" + }, + { + "$ref": "#/definitions/LimitObject" } ] }, From a758c160d9b6ddb5400e3c50ad7e527a5205ad73 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 13:45:09 -0700 Subject: [PATCH 082/127] Adding value as required. --- .../preview/2021-03-15-preview/quota.json | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 541549a5a015..6df569711589 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -630,10 +630,6 @@ "type": "object", "description": "Request property.", "properties": { - "limit": { - "description": "Resource quota limit properties.", - "$ref": "#/definitions/Limit" - }, "name": { "description": "Resource name.", "$ref": "#/definitions/ResourceName" @@ -660,16 +656,20 @@ "description": "Quota request ID.", "type": "string", "readOnly": true + }, + "limit": { + "description": "Resource quota limit properties.", + "$ref": "#/definitions/LimitJsonObject" } } }, "LimitObjectType": { - "type": "string", - "description": "The limit type", + "description": "The limit object type", "enum": [ "LimitValue", "UsagesValue" ], + "type": "string", "x-ms-enum": { "name": "limitType", "modelAsString": true @@ -688,15 +688,6 @@ }, "discriminator": "limitType" }, - "Limit": { - "description": "Values for Limit and usages.", - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/LimitJsonObject" - } - } - }, "LimitObject": { "description": "The Quota Limit value.", "type": "object", @@ -721,6 +712,9 @@ { "$ref": "#/definitions/LimitObject" } + ], + "required": [ + "value" ] }, "UsagesValue": { @@ -734,6 +728,9 @@ { "$ref": "#/definitions/LimitObject" } + ], + "required": [ + "value" ] }, "QuotaRequestOneResourceSubmitResponse": { From a1a42ad14612952fcdc29f48d36430085020b5f6 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 13:51:24 -0700 Subject: [PATCH 083/127] Schema Update. --- .../preview/2021-03-15-preview/quota.json | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 6df569711589..cb2e23f88030 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -689,6 +689,19 @@ "discriminator": "limitType" }, "LimitObject": { + "description": "The usages value.", + "type": "object", + "properties": { + "value": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "value" + ] + }, + "UsagesObject": { "description": "The Quota Limit value.", "type": "object", "properties": { @@ -712,9 +725,6 @@ { "$ref": "#/definitions/LimitObject" } - ], - "required": [ - "value" ] }, "UsagesValue": { @@ -726,11 +736,8 @@ "$ref": "#/definitions/LimitJsonObject" }, { - "$ref": "#/definitions/LimitObject" + "$ref": "#/definitions/UsagesObject" } - ], - "required": [ - "value" ] }, "QuotaRequestOneResourceSubmitResponse": { From 0071dee0f08375397aa82d4397ef0597286d0aa7 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 13:57:21 -0700 Subject: [PATCH 084/127] Replace Limt with LimitObject to fix reference. --- .../preview/2021-03-15-preview/quota.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index cb2e23f88030..740790043f38 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -532,7 +532,7 @@ "properties": { "limit": { "description": "Resource quota limit properties.", - "$ref": "#/definitions/Limit" + "$ref": "#/definitions/LimitObject" }, "unit": { "description": " The quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", @@ -694,7 +694,8 @@ "properties": { "value": { "type": "integer", - "format": "int32" + "format": "int32", + "readOnly": false } }, "required": [ @@ -707,7 +708,8 @@ "properties": { "value": { "type": "integer", - "format": "int32" + "format": "int32", + "readOnly": true } }, "required": [ @@ -836,7 +838,7 @@ }, "limit": { "description": "Resource quota limit properties.", - "$ref": "#/definitions/Limit" + "$ref": "#/definitions/LimitObject" }, "unit": { "description": " The quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", @@ -958,10 +960,8 @@ "format": "date-time" }, "limit": { - "description": "Quota limit.", - "type": "integer", - "format": "int32", - "readOnly": false + "description": "Resource quota limit properties.", + "$ref": "#/definitions/LimitObject" }, "currentValue": { "description": "Usage information for the current resource.", From 3af82d4512d5f39d04d25682d27133172ad68b7a Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 14:12:00 -0700 Subject: [PATCH 085/127] Updates. --- .../2021-03-15-preview/examples/getNetworkOneSkuUsages.json | 4 +--- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index e2fdc9f546db..8ebbb2bdb93d 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -13,9 +13,7 @@ "properties": { "limit": { "limitType": "UsagesValue", - "usages": { - "value": 10 - } + "value": 10 }, "unit": "Count", "name": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 740790043f38..bcb3d1bfdd28 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -692,6 +692,9 @@ "description": "The usages value.", "type": "object", "properties": { + "limitType": { + "$ref": "#/definitions/LimitObjectType" + }, "value": { "type": "integer", "format": "int32", From 92d7fb8ff8663c9ffa0d46be3ef30561bd59dd34 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 14:39:24 -0700 Subject: [PATCH 086/127] Updates. --- .../2021-03-15-preview/examples/getComputeOneSkuUsages.json | 2 +- .../2021-03-15-preview/examples/getNetworkOneSkuUsages.json | 2 +- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 6 ++---- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json index c26273ad38df..441e5a7fda84 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json @@ -15,11 +15,11 @@ "limitType": "UsagesValue", "value": 10 }, - "unit": "Count", "name": { "value": "standardNDSFamily", "localizedValue": "Standard NDS Family vCPUs" }, + "unit": "Count", "isQuotaApplicable": true } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index 8ebbb2bdb93d..94adf5272542 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -15,11 +15,11 @@ "limitType": "UsagesValue", "value": 10 }, - "unit": "Count", "name": { "value": "MinPublicIpInterNetworkPrefixLength", "localizedValue": "Min Public Ip InterNetwork Prefix Length" }, + "unit": "Count", "isQuotaApplicable": true } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index bcb3d1bfdd28..6d4090dddebd 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -697,8 +697,7 @@ }, "value": { "type": "integer", - "format": "int32", - "readOnly": false + "format": "int32" } }, "required": [ @@ -711,8 +710,7 @@ "properties": { "value": { "type": "integer", - "format": "int32", - "readOnly": true + "format": "int32" } }, "required": [ From 2b0143303ce2759a610635d80bcce4f99eecdda0 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 14:55:51 -0700 Subject: [PATCH 087/127] Updating Put/Ptach examples. --- .../examples/patchComputeQuotaRequest.json | 15 ++++++++++++--- .../patchNetworkOneSkuQuotaRequest.json | 17 ++++++++++++----- .../examples/putComputeOneSkuQuotaRequest.json | 15 ++++++++++++--- ...neLearningServicesQuotaRequestDedicated.json | 15 ++++++++++++--- ...LearningServicesQuotaRequestLowPriority.json | 13 ++++++++++++- .../examples/putNetworkOneSkuQuotaRequest.json | 17 ++++++++++++----- ...uotaRequestStandardSkuPublicIpAddresses.json | 12 ++++++++---- .../preview/2021-03-15-preview/quota.json | 6 ++++-- 8 files changed, 84 insertions(+), 26 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json index ee195a6cae64..f158fdf29bd0 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json @@ -5,7 +5,10 @@ "api-version": "2021-03-15-preview", "createQuotaRequest": { "properties": { - "limit": 200, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "standardFSv2Family" } @@ -23,7 +26,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardFSv2Family", "properties": { - "limit": 200, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "standardFSv2Family" } @@ -39,7 +45,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardFSv2Family", "properties": { - "limit": 200, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "standardFSv2Family", "localizedValue": "Standard FSv2 Family vCPUs" diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json index cb23892dc21a..bcdba7c7c261 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json @@ -5,7 +5,10 @@ "api-version": "2021-03-15-preview", "createQuotaRequest": { "properties": { - "limit": 200, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "MinPublicIpInterNetworkPrefixLength" }, @@ -24,8 +27,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { - "limit": 200, - "currentValue": 0, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "MinPublicIpInterNetworkPrefixLength" } @@ -41,8 +46,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { - "limit": 200, - "currentValue": 0, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "MinPublicIpInterNetworkPrefixLength" } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json index 7285912f95a2..116a5af09c64 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json @@ -5,7 +5,10 @@ "api-version": "2021-03-15-preview", "createQuotaRequest": { "properties": { - "limit": 200, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "standardFSv2Family" } @@ -23,7 +26,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardFSv2Family", "properties": { - "limit": 200, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "standardFSv2Family" } @@ -39,7 +45,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardFSv2Family", "properties": { - "limit": 200, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "standardFSv2Family" } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json index 7285912f95a2..116a5af09c64 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json @@ -5,7 +5,10 @@ "api-version": "2021-03-15-preview", "createQuotaRequest": { "properties": { - "limit": 200, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "standardFSv2Family" } @@ -23,7 +26,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardFSv2Family", "properties": { - "limit": 200, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "standardFSv2Family" } @@ -39,7 +45,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardFSv2Family", "properties": { - "limit": 200, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "standardFSv2Family" } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json index b1e8a3da250a..13d286f060a6 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json @@ -5,7 +5,10 @@ "api-version": "2021-03-15-preview", "createQuotaRequest": { "properties": { - "limit": 200, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "TotalLowPriorityCores" }, @@ -24,6 +27,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "TotalLowPriorityCores", "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "TotalLowPriorityCores" }, @@ -40,6 +47,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "TotalLowPriorityCores", "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "TotalLowPriorityCores" }, diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json index cb23892dc21a..bcdba7c7c261 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json @@ -5,7 +5,10 @@ "api-version": "2021-03-15-preview", "createQuotaRequest": { "properties": { - "limit": 200, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "MinPublicIpInterNetworkPrefixLength" }, @@ -24,8 +27,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { - "limit": 200, - "currentValue": 0, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "MinPublicIpInterNetworkPrefixLength" } @@ -41,8 +46,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { - "limit": 200, - "currentValue": 0, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "MinPublicIpInterNetworkPrefixLength" } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json index a2d2926fbe69..a03c59b9843c 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json @@ -27,8 +27,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { - "limit": 200, - "currentValue": 0, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "StandardSkuPublicIpAddresses" }, @@ -48,8 +50,10 @@ "type": "Microsoft.Quota/quotaLimits", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { - "limit": 200, - "currentValue": 0, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "StandardSkuPublicIpAddresses" }, diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 6d4090dddebd..237987db0a3b 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -697,7 +697,8 @@ }, "value": { "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Limit value" } }, "required": [ @@ -710,7 +711,8 @@ "properties": { "value": { "type": "integer", - "format": "int32" + "format": "int32", + "description": "The usages value" } }, "required": [ From 42bd98ef39923938b176ac04043fc8e02793c7df Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 15:09:51 -0700 Subject: [PATCH 088/127] Updating erxamples. --- .../examples/getComputeOneSkuUsages.json | 2 +- .../examples/getComputeUsages.json | 72 ++-- .../getMachineLearningServicesUsages.json | 14 +- .../examples/getNetworkUsages.json | 364 +++++++++--------- .../examples/getQuotaRequestStatusById.json | 6 +- .../examples/getQuotaRequestStatusFailed.json | 5 +- .../getQuotaRequestStatusInProgress.json | 10 +- 7 files changed, 264 insertions(+), 209 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json index 441e5a7fda84..c26273ad38df 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json @@ -15,11 +15,11 @@ "limitType": "UsagesValue", "value": 10 }, + "unit": "Count", "name": { "value": "standardNDSFamily", "localizedValue": "Standard NDS Family vCPUs" }, - "unit": "Count", "isQuotaApplicable": true } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json index 905d034e2952..99d4879acbda 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json @@ -12,9 +12,11 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardFSv2Family", "properties": { - "limit": 100, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, "unit": "Count", - "currentValue": 0, "isQuotaApplicable": true, "name": { "value": "standardFSv2Family", @@ -27,9 +29,11 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardNDSFamily", "properties": { - "limit": 0, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, "unit": "Count", - "currentValue": 0, "isQuotaApplicable": true, "name": { "value": "standardNDSFamily", @@ -42,9 +46,11 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardNCSv2Family", "properties": { - "limit": 0, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, "unit": "Count", - "currentValue": 0, "isQuotaApplicable": true, "name": { "value": "standardNCSv2Family", @@ -57,9 +63,11 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardNCSv3Family", "properties": { - "limit": 0, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, "unit": "Count", - "currentValue": 0, "isQuotaApplicable": true, "name": { "value": "standardNCSv3Family", @@ -72,9 +80,11 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardLSv2Family", "properties": { - "limit": 100, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, "unit": "Count", - "currentValue": 0, "isQuotaApplicable": true, "name": { "value": "standardLSv2Family", @@ -87,9 +97,11 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardPBSFamily", "properties": { - "limit": 6, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, "unit": "Count", - "currentValue": 0, "isQuotaApplicable": true, "name": { "value": "standardPBSFamily", @@ -102,9 +114,11 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardEIv3Family", "properties": { - "limit": 100, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, "unit": "Count", - "currentValue": 0, "isQuotaApplicable": true, "name": { "value": "standardEIv3Family", @@ -117,9 +131,11 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardEISv3Family", "properties": { - "limit": 100, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, "unit": "Count", - "currentValue": 0, "isQuotaApplicable": true, "name": { "value": "standardEISv3Family", @@ -132,9 +148,11 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardDCSFamily", "properties": { - "limit": 8, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, "unit": "Count", - "currentValue": 0, "isQuotaApplicable": true, "name": { "value": "standardDCSFamily", @@ -147,9 +165,11 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardNVSv2Family", "properties": { - "limit": 0, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, "unit": "Count", - "currentValue": 0, "isQuotaApplicable": true, "name": { "value": "standardNVSv2Family", @@ -162,9 +182,11 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardMSv2Family", "properties": { - "limit": 0, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, "unit": "Count", - "currentValue": 0, "isQuotaApplicable": true, "name": { "value": "standardMSv2Family", @@ -177,9 +199,11 @@ "type": "Microsoft.Quota/quotaLimits", "name": "availabilitySets", "properties": { - "limit": 0, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, "unit": "Count", - "currentValue": 0, "isQuotaApplicable": false, "name": { "value": "availabilitySets", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json index b080dc729c8f..0eac905b91c5 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json @@ -12,8 +12,11 @@ "type": "Microsoft.Quota/quotaLimits", "name": "standardDv2Family", "properties": { - "currentValue": 15, - "limit": 20, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "standardDv2Family", "localizedValue": "Standard Dv2 Family vCPUs" @@ -26,8 +29,11 @@ "type": "Microsoft.Quota/quotaLimits", "name": "totalLowPriorityCores", "properties": { - "currentValue": 49, - "limit": 600, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "totalLowPriorityCores", "localizedValue": "Total Regional Low-priority vCPUs" diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json index 1d81960b577e..a716c8e7b9d4 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json @@ -9,14 +9,16 @@ "value": [ { "properties": { - "currentValue": 1, - "limit": 1000, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "VirtualNetworks", "localizedValue": "Virtual Networks" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -25,14 +27,16 @@ }, { "properties": { - "currentValue": 1, - "limit": 1000, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "StaticPublicIPAddresses", "localizedValue": "Static Public IP Addresses" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -41,14 +45,16 @@ }, { "properties": { - "currentValue": 1, - "limit": 5000, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "NetworkSecurityGroups", "localizedValue": "Network Security Groups" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -57,14 +63,16 @@ }, { "properties": { - "currentValue": 1, - "limit": 1000, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "PublicIPAddresses", "localizedValue": "Public IP Addresses - Basic" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": true }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -73,14 +81,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 2147483647, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "PublicIpPrefixes", "localizedValue": "Public Ip Prefixes" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -89,14 +99,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 2147483647, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "NatGateways", "localizedValue": "Nat Gateways" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -105,14 +117,16 @@ }, { "properties": { - "currentValue": 1, - "limit": 65536, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "NetworkInterfaces", "localizedValue": "Network Interfaces" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -121,14 +135,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 65536, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "PrivateEndpoints", "localizedValue": "Private Endpoints" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -137,14 +153,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 2147483647, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "PrivateEndpointRedirectMaps", "localizedValue": "Private Endpoint Redirect Maps" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -153,14 +171,16 @@ }, { "properties": { - "currentValue": 1, - "limit": 1000, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "LoadBalancers", "localizedValue": "Load Balancers" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -169,14 +189,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 800, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "PrivateLinkServices", "localizedValue": "Private Link Services" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -185,14 +207,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 1000, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "ApplicationGateways", "localizedValue": "Application Gateways" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -201,14 +225,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 200, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "RouteTables", "localizedValue": "Route Tables" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -217,14 +243,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 1000, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "RouteFilters", "localizedValue": "Route Filters" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -233,14 +261,16 @@ }, { "properties": { - "currentValue": 1, - "limit": 1, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "NetworkWatchers", "localizedValue": "Network Watchers" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -249,14 +279,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 10000, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "PacketCaptures", "localizedValue": "Packet Captures" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -265,14 +297,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 3000, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "ApplicationSecurityGroups", "localizedValue": "Application Security Groups." }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -281,14 +315,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 1, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "DdosProtectionPlans", "localizedValue": "DDoS Protection Plans." }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -297,14 +333,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 200, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "DdosCustomPolicies", "localizedValue": "DDoS customized policies" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -313,14 +351,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 500, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "ServiceEndpointPolicies", "localizedValue": "Service Endpoint Policies" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -329,14 +369,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 200, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "NetworkIntentPolicies", "localizedValue": "Network Intent Policies" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -345,14 +387,16 @@ }, { "properties": { - "currentValue": 1, - "limit": 1000, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "StandardSkuLoadBalancers", "localizedValue": "Standard Sku Load Balancers" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -361,14 +405,16 @@ }, { "properties": { - "currentValue": 1, - "limit": 1000, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "StandardSkuPublicIpAddresses", "localizedValue": "Public IP Addresses - Standard" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": true }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -377,14 +423,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 20, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "DnsServersPerVirtualNetwork", "localizedValue": "DNS servers per Virtual Network" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -393,14 +441,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 5, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "CustomDnsServersPerP2SVpnGateway", "localizedValue": "Custom DNS servers per P2SVpnGateway" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -409,14 +459,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 13, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "SubnetsPerVirtualNetwork", "localizedValue": "Subnets per Virtual Network" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -425,14 +477,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 65536, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "IPConfigurationsPerVirtualNetwork", "localizedValue": "IP Configurations per Virtual Network" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -441,14 +495,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 500, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "PeeringsPerVirtualNetwork", "localizedValue": "Peerings per Virtual Network" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -457,14 +513,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 1000, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "SecurityRulesPerNetworkSecurityGroup", "localizedValue": "Security rules per Network Security Group" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -473,14 +531,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 100, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "SecurityRulesPerNetworkIntentPolicy", "localizedValue": "Security rules per Network Intent Policy" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -489,14 +549,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 200, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "RoutesPerNetworkIntentPolicy", "localizedValue": "Routes per Network Intent Policy" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -505,14 +567,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 4000, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", "localizedValue": "Security rules addresses or ports per Network Security Group" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -521,14 +585,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 250, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "InboundRulesPerLoadBalancer", "localizedValue": "Inbound Rules per Load Balancer" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -537,14 +603,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 200, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "FrontendIPConfigurationPerLoadBalancer", "localizedValue": "Frontend IP Configurations per Load Balancer" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -553,14 +621,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 5, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "OutboundRulesPerLoadBalancer", "localizedValue": "Outbound Rules per Load Balancer" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -569,14 +639,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 400, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "RoutesPerRouteTable", "localizedValue": "Routes per Route Table" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -585,14 +657,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 25, + "limit": { + "limitType": "UsagesValue", + "value": 10 + }, + "unit": "Count", "name": { "value": "RoutesWithServiceTagPerRouteTable", "localizedValue": "Routes with service tag per Route Table" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": false }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", @@ -601,78 +675,16 @@ }, { "properties": { - "currentValue": 0, - "limit": 256, - "name": { - "value": "SecondaryIPConfigurationsPerNetworkInterface", - "localizedValue": "Secondary IP Configurations per Network Interface" + "limit": { + "limitType": "UsagesValue", + "value": 10 }, - "properties": {}, "unit": "Count", - "isQuotaApplicable": false - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", - "name": "SecondaryIPConfigurationsPerNetworkInterface" - }, - { - "properties": { - "currentValue": 0, - "limit": 300, - "name": { - "value": "InboundNatOrLbRulesPerNetworkInterface", - "localizedValue": "Inbound rules per Network Interface" - }, - "properties": {}, - "unit": "Count", - "isQuotaApplicable": false - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", - "name": "InboundNatOrLbRulesPerNetworkInterface" - }, - { - "properties": { - "currentValue": 0, - "limit": 1, - "name": { - "value": "RouteFilterRulesPerRouteFilter", - "localizedValue": "Route filter rules per Route Filter" - }, - "properties": {}, - "unit": "Count", - "isQuotaApplicable": false - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", - "name": "RouteFilterRulesPerRouteFilter" - }, - { - "properties": { - "currentValue": 0, - "limit": 1, - "name": { - "value": "RouteFiltersPerExpressRouteBgpPeering", - "localizedValue": "Route filters per Express route BGP Peering" - }, - "properties": {}, - "unit": "Count", - "isQuotaApplicable": false - }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", - "name": "RouteFiltersPerExpressRouteBgpPeering" - }, - { - "properties": { - "currentValue": 0, - "limit": 28, "name": { "value": "MinPublicIpInterNetworkPrefixLength", "localizedValue": "Min Public Ip InterNetwork Prefix Length" }, "properties": {}, - "unit": "Count", "isQuotaApplicable": true }, "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json index 3d71c2a45c7f..a6276a6925b0 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json @@ -16,7 +16,11 @@ "provisioningState": "Succeeded", "value": [ { - "limit": 50, + "limit": { + "limitType": "limitValue", + "value": 50 + }, + "unit": "Count", "name": { "value": "standardNCPromoFamily", "localizedValue": "Standard NC Promo Family vCPUs" diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json index e1421f0f633f..8e88485daf73 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json @@ -20,7 +20,10 @@ }, "value": [ { - "limit": 50, + "limit": { + "limitType": "limitValue", + "value": 50 + }, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", "name": { "value": "standardNCPromoFamily", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json index c924032ea1a0..d149359b2f40 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json @@ -16,7 +16,10 @@ "provisioningState": "InProgress", "value": [ { - "limit": 200, + "limit": { + "limitType": "limitValue", + "value": 50 + }, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", "name": { "value": "standardHCSFamily", @@ -26,7 +29,10 @@ "provisioningState": "Succeeded" }, { - "limit": 50, + "limit": { + "limitType": "limitValue", + "value": 50 + }, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", "name": { "value": "standardNCPromoFamily", From f7d76376410fca81b200bae4832c9047b311a03a Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 15:22:55 -0700 Subject: [PATCH 089/127] Schema updated for requestStatus. --- .../preview/2021-03-15-preview/quota.json | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 237987db0a3b..1b954ed8ded8 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -688,31 +688,28 @@ }, "discriminator": "limitType" }, - "LimitObject": { - "description": "The usages value.", + "UsagesObject": { + "description": "The Quota Limit value.", "type": "object", "properties": { - "limitType": { - "$ref": "#/definitions/LimitObjectType" - }, "value": { "type": "integer", "format": "int32", - "description": "The Limit value" + "description": "The usages value" } }, "required": [ "value" ] }, - "UsagesObject": { - "description": "The Quota Limit value.", + "LimitObject": { + "description": "The usages value.", "type": "object", "properties": { "value": { "type": "integer", "format": "int32", - "description": "The usages value" + "description": "The Limit value" } }, "required": [ From 2afe7600650bafd4d2887a5be307049a04bde902 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 15:34:41 -0700 Subject: [PATCH 090/127] Schema Update. --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 1b954ed8ded8..13c8a48c1f6f 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -696,6 +696,9 @@ "type": "integer", "format": "int32", "description": "The usages value" + }, + "limitType": { + "$ref": "#/definitions/LimitObjectType" } }, "required": [ @@ -710,6 +713,9 @@ "type": "integer", "format": "int32", "description": "The Limit value" + }, + "limitType": { + "$ref": "#/definitions/LimitObjectType" } }, "required": [ From 1719b347d57abb39ef5a72eba4fd58c3bcfea6ea Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 15:46:43 -0700 Subject: [PATCH 091/127] Updates to QuotaRequestStatus example. Change api to quota. Add usages API and update examples reference. --- .../examples/getComputeOneSkuQuotaLimit.json | 28 +++++++++++++++++++ .../examples/getNetworkOneSkuQuotaLimit.json | 28 +++++++++++++++++++ .../examples/getQuotaRequestStatusById.json | 2 +- .../examples/getQuotaRequestStatusFailed.json | 2 +- .../getQuotaRequestStatusInProgress.json | 4 +-- .../examples/getQuotaRequestsHistory.json | 15 ++++++++-- .../preview/2021-03-15-preview/quota.json | 2 +- 7 files changed, 73 insertions(+), 8 deletions(-) create mode 100644 specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json create mode 100644 specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json new file mode 100644 index 000000000000..dc5af846bae9 --- /dev/null +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus", + "resourceName": "standardNDSFamily", + "api-version": "2021-03-15-preview" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardNDSFamily", + "type": "Microsoft.Quota/quotaLimits", + "name": "standardNDSFamily", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 100 + }, + "unit": "Count", + "name": { + "value": "standardNDSFamily", + "localizedValue": "Standard NDS Family vCPUs" + }, + "isQuotaApplicable": true + } + } + } + } +} diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json new file mode 100644 index 000000000000..abb2fbeb3cdd --- /dev/null +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus", + "resourceName": "MinPublicIpInterNetworkPrefixLength", + "api-version": "2021-03-15-preview" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/MinPublicIpInterNetworkPrefixLength", + "type": "Microsoft.Quota/quotaLimits", + "name": "MinPublicIpInterNetworkPrefixLength", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "name": { + "value": "MinPublicIpInterNetworkPrefixLength", + "localizedValue": "Min Public Ip InterNetwork Prefix Length" + }, + "unit": "Count", + "isQuotaApplicable": true + } + } + } + } +} diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json index a6276a6925b0..1d85aacb18c5 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json @@ -17,7 +17,7 @@ "value": [ { "limit": { - "limitType": "limitValue", + "limitType": "LimitValue", "value": 50 }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json index 8e88485daf73..a6d7cf83244a 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json @@ -21,7 +21,7 @@ "value": [ { "limit": { - "limitType": "limitValue", + "limitType": "LimitValue", "value": 50 }, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json index d149359b2f40..111bf62918b6 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json @@ -17,7 +17,7 @@ "value": [ { "limit": { - "limitType": "limitValue", + "limitType": "LimitValue", "value": 50 }, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", @@ -30,7 +30,7 @@ }, { "limit": { - "limitType": "limitValue", + "limitType": "LimitValue", "value": 50 }, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json index 6da2f556970c..2235733e580f 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json @@ -18,7 +18,10 @@ "provisioningState": "Success", "value": [ { - "limit": 50, + "limit": { + "limitType": "LimitValue", + "value": 50 + }, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", "name": { "value": "standardNCPromoFamily", @@ -40,7 +43,10 @@ "provisioningState": "Succeeded", "value": [ { - "limit": 150, + "limit": { + "limitType": "LimitValue", + "value": 150 + }, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", "name": { "value": "standardNVPromoFamily", @@ -66,7 +72,10 @@ }, "value": [ { - "limit": 52, + "limit": { + "limitType": "LimitValue", + "value": 52 + }, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", "name": { "value": "standardHBSFamily", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 13c8a48c1f6f..b29359478cff 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -34,7 +34,7 @@ } }, "paths": { - "/{scope}/providers/Microsoft.Quota/quotaLimits/{resourceName}": { + "/{scope}/providers/Microsoft.Quota/quota/{resourceName}": { "get": { "tags": [ "QuotaInformation" From b62f0c82946e2bed5837566ac708d903fb4443f3 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 16:09:45 -0700 Subject: [PATCH 092/127] 1. Split quotas and usages apis. 2. Add and update examples for quotas and usages. --- .../examples/GetOperations.json | 21 +- .../examples/getComputeQuotaLimits.json | 219 ++++++ ...getMachineLearningServicesQuotaLimits.json | 48 ++ .../examples/getNetworkQuotaLimits.json | 698 ++++++++++++++++++ .../preview/2021-03-15-preview/quota.json | 129 +++- 5 files changed, 1094 insertions(+), 21 deletions(-) create mode 100644 specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json create mode 100644 specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json create mode 100644 specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json index 514f00c4ca1e..35d4ff3823f0 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json @@ -7,20 +7,29 @@ "body": { "value": [ { - "name": "Microsoft.Quota/quotaLimits/read", + "name": "Microsoft.Quota/usages/read", "display": { "provider": "Microsoft Quota", - "resource": "Resource service limit", - "operation": "Get resource service limit", + "resource": "Resource current usages", + "operation": "Get resource usages", + "description": "Get the current usages of the specified resource and location" + } + }, + { + "name": "Microsoft.Quota/quota/read", + "display": { + "provider": "Microsoft Quota", + "resource": "Resource quota limit", + "operation": "Get resource quota limit", "description": "Get the current service limit or quota of the specified resource and location" } }, { - "name": "Microsoft.Quota/quotaLimits/write", + "name": "Microsoft.Quota/quota/write", "display": { "provider": "Microsoft Quota", - "resource": "Resource service limit", - "operation": "Create resource service limit", + "resource": "Resource quota limit", + "operation": "Create resource quota limit", "description": "Create service limit or quota for the specified resource and location" } }, diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json new file mode 100644 index 000000000000..820985c1892f --- /dev/null +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json @@ -0,0 +1,219 @@ +{ + "parameters": { + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus", + "api-version": "2021-03-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardFSv2Family", + "type": "Microsoft.Quota/quotaLimits", + "name": "standardFSv2Family", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardFSv2Family", + "localizedValue": "Standard FSv2 Family vCPUs" + } + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardNDSFamily", + "type": "Microsoft.Quota/quotaLimits", + "name": "standardNDSFamily", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardNDSFamily", + "localizedValue": "Standard NDS Family vCPUs" + } + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardNCSv2Family", + "type": "Microsoft.Quota/quotaLimits", + "name": "standardNCSv2Family", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardNCSv2Family", + "localizedValue": "Standard NCSv2 Family vCPUs" + } + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardNCSv3Family", + "type": "Microsoft.Quota/quotaLimits", + "name": "standardNCSv3Family", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardNCSv3Family", + "localizedValue": "Standard NCSv3 Family vCPUs" + } + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardLSv2Family", + "type": "Microsoft.Quota/quotaLimits", + "name": "standardLSv2Family", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardLSv2Family", + "localizedValue": "Standard LSv2 Family vCPUs" + } + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardPBSFamily", + "type": "Microsoft.Quota/quotaLimits", + "name": "standardPBSFamily", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardPBSFamily", + "localizedValue": "Standard PBS Family vCPUs" + } + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardEIv3Family", + "type": "Microsoft.Quota/quotaLimits", + "name": "standardEIv3Family", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardEIv3Family", + "localizedValue": "Standard EIv3 Family vCPUs" + } + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardEISv3Family", + "type": "Microsoft.Quota/quotaLimits", + "name": "standardEISv3Family", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardEISv3Family", + "localizedValue": "Standard EISv3 Family vCPUs" + } + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardDCSFamily", + "type": "Microsoft.Quota/quotaLimits", + "name": "standardDCSFamily", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardDCSFamily", + "localizedValue": "Standard DCS Family vCPUs" + } + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardNVSv2Family", + "type": "Microsoft.Quota/quotaLimits", + "name": "standardNVSv2Family", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardNVSv2Family", + "localizedValue": "Standard NVSv2 Family vCPUs" + } + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardMSv2Family", + "type": "Microsoft.Quota/quotaLimits", + "name": "standardMSv2Family", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardMSv2Family", + "localizedValue": "Standard MSv2 Family vCPUs" + } + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/availabilitySets", + "type": "Microsoft.Quota/quotaLimits", + "name": "availabilitySets", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": false, + "name": { + "value": "availabilitySets", + "localizedValue": "Availability Sets" + } + } + } + ], + "nextLink": "" + } + } + } +} diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json new file mode 100644 index 000000000000..f259a9937674 --- /dev/null +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus", + "api-version": "2021-03-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardDv2Family", + "type": "Microsoft.Quota/quotaLimits", + "name": "standardDv2Family", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "standardDv2Family", + "localizedValue": "Standard Dv2 Family vCPUs" + }, + "resourceType": "dedicated" + } + }, + { + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotaLimits/totalLowPriorityCores", + "type": "Microsoft.Quota/quotaLimits", + "name": "totalLowPriorityCores", + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "totalLowPriorityCores", + "localizedValue": "Total Regional Low-priority vCPUs" + }, + "resourceType": "lowPriority" + } + } + ] + } + } + } +} diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json new file mode 100644 index 000000000000..16ff5445779b --- /dev/null +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json @@ -0,0 +1,698 @@ +{ + "parameters": { + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus", + "api-version": "2021-03-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "VirtualNetworks", + "localizedValue": "Virtual Networks" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "VirtualNetworks" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "StaticPublicIPAddresses", + "localizedValue": "Static Public IP Addresses" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "StaticPublicIPAddresses" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "NetworkSecurityGroups", + "localizedValue": "Network Security Groups" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "NetworkSecurityGroups" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "PublicIPAddresses", + "localizedValue": "Public IP Addresses - Basic" + }, + "properties": {}, + "isQuotaApplicable": true + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "PublicIPAddresses" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "PublicIpPrefixes", + "localizedValue": "Public Ip Prefixes" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "PublicIpPrefixes" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "NatGateways", + "localizedValue": "Nat Gateways" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "NatGateways" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "NetworkInterfaces", + "localizedValue": "Network Interfaces" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "NetworkInterfaces" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "PrivateEndpoints", + "localizedValue": "Private Endpoints" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "PrivateEndpoints" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "PrivateEndpointRedirectMaps", + "localizedValue": "Private Endpoint Redirect Maps" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "PrivateEndpointRedirectMaps" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "LoadBalancers", + "localizedValue": "Load Balancers" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "LoadBalancers" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "PrivateLinkServices", + "localizedValue": "Private Link Services" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "PrivateLinkServices" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "ApplicationGateways", + "localizedValue": "Application Gateways" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "ApplicationGateways" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "RouteTables", + "localizedValue": "Route Tables" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "RouteTables" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "RouteFilters", + "localizedValue": "Route Filters" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "RouteFilters" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "NetworkWatchers", + "localizedValue": "Network Watchers" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "NetworkWatchers" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "PacketCaptures", + "localizedValue": "Packet Captures" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "PacketCaptures" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "ApplicationSecurityGroups", + "localizedValue": "Application Security Groups." + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "ApplicationSecurityGroups" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "DdosProtectionPlans", + "localizedValue": "DDoS Protection Plans." + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "DdosProtectionPlans" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "DdosCustomPolicies", + "localizedValue": "DDoS customized policies" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "DdosCustomPolicies" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "ServiceEndpointPolicies", + "localizedValue": "Service Endpoint Policies" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "ServiceEndpointPolicies" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "NetworkIntentPolicies", + "localizedValue": "Network Intent Policies" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "NetworkIntentPolicies" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "StandardSkuLoadBalancers", + "localizedValue": "Standard Sku Load Balancers" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "StandardSkuLoadBalancers" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "StandardSkuPublicIpAddresses", + "localizedValue": "Public IP Addresses - Standard" + }, + "properties": {}, + "isQuotaApplicable": true + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "StandardSkuPublicIpAddresses" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "DnsServersPerVirtualNetwork", + "localizedValue": "DNS servers per Virtual Network" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "DnsServersPerVirtualNetwork" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "CustomDnsServersPerP2SVpnGateway", + "localizedValue": "Custom DNS servers per P2SVpnGateway" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "CustomDnsServersPerP2SVpnGateway" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "SubnetsPerVirtualNetwork", + "localizedValue": "Subnets per Virtual Network" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "SubnetsPerVirtualNetwork" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "IPConfigurationsPerVirtualNetwork", + "localizedValue": "IP Configurations per Virtual Network" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "IPConfigurationsPerVirtualNetwork" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "PeeringsPerVirtualNetwork", + "localizedValue": "Peerings per Virtual Network" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "PeeringsPerVirtualNetwork" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "SecurityRulesPerNetworkSecurityGroup", + "localizedValue": "Security rules per Network Security Group" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "SecurityRulesPerNetworkSecurityGroup" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "SecurityRulesPerNetworkIntentPolicy", + "localizedValue": "Security rules per Network Intent Policy" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "SecurityRulesPerNetworkIntentPolicy" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "RoutesPerNetworkIntentPolicy", + "localizedValue": "Routes per Network Intent Policy" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "RoutesPerNetworkIntentPolicy" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", + "localizedValue": "Security rules addresses or ports per Network Security Group" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "InboundRulesPerLoadBalancer", + "localizedValue": "Inbound Rules per Load Balancer" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "InboundRulesPerLoadBalancer" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "FrontendIPConfigurationPerLoadBalancer", + "localizedValue": "Frontend IP Configurations per Load Balancer" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "FrontendIPConfigurationPerLoadBalancer" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "OutboundRulesPerLoadBalancer", + "localizedValue": "Outbound Rules per Load Balancer" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "OutboundRulesPerLoadBalancer" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "RoutesPerRouteTable", + "localizedValue": "Routes per Route Table" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "RoutesPerRouteTable" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "RoutesWithServiceTagPerRouteTable", + "localizedValue": "Routes with service tag per Route Table" + }, + "properties": {}, + "isQuotaApplicable": false + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "RoutesWithServiceTagPerRouteTable" + }, + { + "properties": { + "limit": { + "limitType": "LimitValue", + "value": 10 + }, + "unit": "Count", + "name": { + "value": "MinPublicIpInterNetworkPrefixLength", + "localizedValue": "Min Public Ip InterNetwork Prefix Length" + }, + "properties": {}, + "isQuotaApplicable": true + }, + "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "type": "Microsoft.Quota/QuotaLimits", + "name": "MinPublicIpInterNetworkPrefixLength" + } + ] + } + } + } +} diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index b29359478cff..69f4654eec20 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -34,19 +34,118 @@ } }, "paths": { - "/{scope}/providers/Microsoft.Quota/quota/{resourceName}": { + "/{scope}/providers/Microsoft.Quota/usages/{resourceName}": { + "get": { + "tags": [ + "UsagesInformation" + ], + "description": "Gets the current usage of a resource.", + "operationId": "Usages_Get", + "x-ms-examples": { + "Quotas_UsagesRequest_ForNetwork": { + "$ref": "./examples/getNetworkOneSkuUsages.json" + }, + "Quotas_UsagesRequest_ForCompute": { + "$ref": "./examples/getComputeOneSkuUsages.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceNameInParameters" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ScopeInPath" + } + ], + "responses": { + "200": { + "description": "OK. The quota information will be returned in the response with pagination.", + "schema": { + "$ref": "#/definitions/CurrentQuotaLimitBase" + }, + "headers": { + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + } + } + }, + "/{scope}/providers/Microsoft.Quota/usages": { + "get": { + "tags": [ + "QuotaInformation" + ], + "description": "Get a list of current usages of all resources.", + "operationId": "Quota_List", + "x-ms-examples": { + "Quotas_listUsagesForNetwork": { + "$ref": "./examples/getNetworkUsages.json" + }, + "Quotas_listUsagesForCompute": { + "$ref": "./examples/getComputeUsages.json" + }, + "Quotas_listUsagesMachineLearningServices": { + "$ref": "./examples/getMachineLearningServicesUsages.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ScopeInPath" + } + ], + "responses": { + "200": { + "description": "OK. Quota information will be returned in the response with pagination.", + "schema": { + "$ref": "#/definitions/QuotaLimits" + }, + "headers": { + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{scope}/providers/Microsoft.Quota/quotas/{resourceName}": { "get": { "tags": [ "QuotaInformation" ], - "description": "Gets the quota limit and current quota usage of a resource. The response can be used to determine the remaining quota and calculate a new quota limit that can be submitted with a PUT request.", + "description": "Gets the quota limit of a resource. The response can be used to determine the remaining quota and calculate a new quota limit that can be submitted with a PUT request.", "operationId": "Quota_Get", "x-ms-examples": { "Quotas_UsagesRequest_ForNetwork": { - "$ref": "./examples/getNetworkOneSkuUsages.json" + "$ref": "./examples/getNetworkOneSkuQuotalimit.json" }, "Quotas_Get_Request_ForCompute": { - "$ref": "./examples/getComputeOneSkuUsages.json" + "$ref": "./examples/getComputeOneSkuQuotalimit.json" } }, "parameters": [ @@ -209,22 +308,22 @@ } } }, - "/{scope}/providers/Microsoft.Quota/quotaLimits": { + "/{scope}/providers/Microsoft.Quota/quotas": { "get": { "tags": [ "QuotaInformation" ], - "description": "Get a list of current quota limits and usages of all resources. The response from this GET operation can be leveraged to submit requests to update a quota.", + "description": "Get a list of current quota limits of all resources. The response from this GET operation can be leveraged to submit requests to update a quota.", "operationId": "Quota_List", "x-ms-examples": { - "Quotas_listUsagesForNetwork": { - "$ref": "./examples/getNetworkUsages.json" + "Quotas_listQuotaLimitsForNetwork": { + "$ref": "./examples/getNetworkQuotaLimits.json" }, - "Quotas_listUsagesForCompute": { - "$ref": "./examples/getComputeUsages.json" + "Quotas_listQuotaLimitsForCompute": { + "$ref": "./examples/getComputeQuotaLimits.json" }, - "Quotas_listUsagesMachineLearningServices": { - "$ref": "./examples/getMachineLearningServicesUsages.json" + "Quotas_listQuotaLimitsMachineLearningServices": { + "$ref": "./examples/getMachineLearningServicesQuotaLimits.json" } }, "parameters": [ @@ -689,7 +788,7 @@ "discriminator": "limitType" }, "UsagesObject": { - "description": "The Quota Limit value.", + "description": "The resource usages value.", "type": "object", "properties": { "value": { @@ -706,13 +805,13 @@ ] }, "LimitObject": { - "description": "The usages value.", + "description": "The resource quota/limit value.", "type": "object", "properties": { "value": { "type": "integer", "format": "int32", - "description": "The Limit value" + "description": "The quota/limit value" }, "limitType": { "$ref": "#/definitions/LimitObjectType" From e0aaa410d970770cf74ccc0bb8fa9998dcdc9d49 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 16:20:51 -0700 Subject: [PATCH 093/127] Updating example filename references --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 69f4654eec20..936387e61fc7 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -142,10 +142,10 @@ "operationId": "Quota_Get", "x-ms-examples": { "Quotas_UsagesRequest_ForNetwork": { - "$ref": "./examples/getNetworkOneSkuQuotalimit.json" + "$ref": "./examples/getNetworkOneSkuQuotaLimit.json" }, "Quotas_Get_Request_ForCompute": { - "$ref": "./examples/getComputeOneSkuQuotalimit.json" + "$ref": "./examples/getComputeOneSkuQuotaLimit.json" } }, "parameters": [ From 96a6401156f7b740e56e3716eb15f634d0c50173 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 16:36:39 -0700 Subject: [PATCH 094/127] Update Put example and operations id. --- ...etworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json | 5 ++++- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json index a03c59b9843c..d837f7dea06b 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json @@ -5,7 +5,10 @@ "api-version": "2021-03-15-preview", "createQuotaRequest": { "properties": { - "limit": 200, + "limit": { + "limitType": "LimitValue", + "value": 10 + }, "name": { "value": "StandardSkuPublicIpAddresses" }, diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 936387e61fc7..accedeba80cd 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -88,7 +88,7 @@ "QuotaInformation" ], "description": "Get a list of current usages of all resources.", - "operationId": "Quota_List", + "operationId": "Usages_List", "x-ms-examples": { "Quotas_listUsagesForNetwork": { "$ref": "./examples/getNetworkUsages.json" From 84070bf5ba5be03da55d0b450c09cb6c3da01d22 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 16:56:05 -0700 Subject: [PATCH 095/127] Updating limiType field to limitObjectType --- .../examples/getQuotaRequestStatusById.json | 2 +- .../examples/getQuotaRequestStatusFailed.json | 2 +- .../examples/getQuotaRequestStatusInProgress.json | 4 ++-- .../examples/getQuotaRequestsHistory.json | 6 +++--- .../examples/patchComputeQuotaRequest.json | 6 +++--- .../examples/patchNetworkOneSkuQuotaRequest.json | 6 +++--- .../examples/putComputeOneSkuQuotaRequest.json | 6 +++--- .../putMachineLearningServicesQuotaRequestDedicated.json | 6 +++--- ...putMachineLearningServicesQuotaRequestLowPriority.json | 6 +++--- .../examples/putNetworkOneSkuQuotaRequest.json | 6 +++--- ...orkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json | 6 +++--- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 8 ++++---- 12 files changed, 32 insertions(+), 32 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json index 1d85aacb18c5..4fb502372c6f 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json @@ -17,7 +17,7 @@ "value": [ { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 50 }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json index a6d7cf83244a..72d84de59f3d 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json @@ -21,7 +21,7 @@ "value": [ { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 50 }, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json index 111bf62918b6..117e001dd7e2 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json @@ -17,7 +17,7 @@ "value": [ { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 50 }, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", @@ -30,7 +30,7 @@ }, { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 50 }, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json index 2235733e580f..33ca22b5f584 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json @@ -19,7 +19,7 @@ "value": [ { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 50 }, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", @@ -44,7 +44,7 @@ "value": [ { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 150 }, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", @@ -73,7 +73,7 @@ "value": [ { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 52 }, "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json index f158fdf29bd0..fa7b120dc705 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json @@ -6,7 +6,7 @@ "createQuotaRequest": { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { @@ -27,7 +27,7 @@ "name": "standardFSv2Family", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { @@ -46,7 +46,7 @@ "name": "standardFSv2Family", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json index bcdba7c7c261..555df510013b 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json @@ -6,7 +6,7 @@ "createQuotaRequest": { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { @@ -28,7 +28,7 @@ "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { @@ -47,7 +47,7 @@ "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json index 116a5af09c64..6044561f7703 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json @@ -6,7 +6,7 @@ "createQuotaRequest": { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { @@ -27,7 +27,7 @@ "name": "standardFSv2Family", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { @@ -46,7 +46,7 @@ "name": "standardFSv2Family", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json index 116a5af09c64..6044561f7703 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json @@ -6,7 +6,7 @@ "createQuotaRequest": { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { @@ -27,7 +27,7 @@ "name": "standardFSv2Family", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { @@ -46,7 +46,7 @@ "name": "standardFSv2Family", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json index 13d286f060a6..3a4d77f155fb 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json @@ -6,7 +6,7 @@ "createQuotaRequest": { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { @@ -28,7 +28,7 @@ "name": "TotalLowPriorityCores", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { @@ -48,7 +48,7 @@ "name": "TotalLowPriorityCores", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json index bcdba7c7c261..555df510013b 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json @@ -6,7 +6,7 @@ "createQuotaRequest": { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { @@ -28,7 +28,7 @@ "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { @@ -47,7 +47,7 @@ "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json index d837f7dea06b..9e85be088838 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json @@ -6,7 +6,7 @@ "createQuotaRequest": { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { @@ -31,7 +31,7 @@ "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { @@ -54,7 +54,7 @@ "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index accedeba80cd..e3c284e8ff77 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -763,7 +763,7 @@ } }, "LimitObjectType": { - "description": "The limit object type", + "description": "The limit object type.", "enum": [ "LimitValue", "UsagesValue" @@ -781,7 +781,7 @@ ], "type": "object", "properties": { - "limitType": { + "limitObjectType": { "$ref": "#/definitions/LimitObjectType" } }, @@ -796,7 +796,7 @@ "format": "int32", "description": "The usages value" }, - "limitType": { + "limitObjectType": { "$ref": "#/definitions/LimitObjectType" } }, @@ -813,7 +813,7 @@ "format": "int32", "description": "The quota/limit value" }, - "limitType": { + "limitObjectType": { "$ref": "#/definitions/LimitObjectType" } }, From aef4464b623c868f870339590f4329c15558024f Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 17:03:30 -0700 Subject: [PATCH 096/127] Updating "limitType" to "limitObjectType" --- .../preview/2021-03-15-preview/quota.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index e3c284e8ff77..b6c4af689ff3 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -774,10 +774,22 @@ "modelAsString": true } }, + "LimitTypes": { + "description": "The quota limit types.", + "enum": [ + "Independent", + "Shared" + ], + "type": "string", + "x-ms-enum": { + "name": "quotaLimitTypes", + "modelAsString": true + } + }, "LimitJsonObject": { "description": "LimitJson abstract class.", "required": [ - "limitType" + "limitObjectType" ], "type": "object", "properties": { @@ -785,7 +797,7 @@ "$ref": "#/definitions/LimitObjectType" } }, - "discriminator": "limitType" + "discriminator": "limitObjectType" }, "UsagesObject": { "description": "The resource usages value.", From 574bd01e0a933c2fb1fd56ae94a044e40587113c Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 17:07:19 -0700 Subject: [PATCH 097/127] Updating Get Examples. Adding extra property to quotas/limit object. --- .../examples/getComputeOneSkuQuotaLimit.json | 2 +- .../examples/getComputeOneSkuUsages.json | 2 +- .../examples/getComputeQuotaLimits.json | 24 +++--- .../examples/getComputeUsages.json | 24 +++--- ...getMachineLearningServicesQuotaLimits.json | 4 +- .../getMachineLearningServicesUsages.json | 4 +- .../examples/getNetworkOneSkuQuotaLimit.json | 2 +- .../examples/getNetworkOneSkuUsages.json | 2 +- .../examples/getNetworkQuotaLimits.json | 76 +++++++++---------- .../examples/getNetworkUsages.json | 76 +++++++++---------- .../preview/2021-03-15-preview/quota.json | 3 + 11 files changed, 111 insertions(+), 108 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json index dc5af846bae9..45648a890fa9 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json @@ -12,7 +12,7 @@ "name": "standardNDSFamily", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 100 }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json index c26273ad38df..35063aad1350 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json @@ -12,7 +12,7 @@ "name": "standardNDSFamily", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json index 820985c1892f..ed7a13e33371 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json @@ -13,7 +13,7 @@ "name": "standardFSv2Family", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -30,7 +30,7 @@ "name": "standardNDSFamily", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -47,7 +47,7 @@ "name": "standardNCSv2Family", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -64,7 +64,7 @@ "name": "standardNCSv3Family", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -81,7 +81,7 @@ "name": "standardLSv2Family", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -98,7 +98,7 @@ "name": "standardPBSFamily", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -115,7 +115,7 @@ "name": "standardEIv3Family", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -132,7 +132,7 @@ "name": "standardEISv3Family", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -149,7 +149,7 @@ "name": "standardDCSFamily", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -166,7 +166,7 @@ "name": "standardNVSv2Family", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -183,7 +183,7 @@ "name": "standardMSv2Family", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -200,7 +200,7 @@ "name": "availabilitySets", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json index 99d4879acbda..aba41ac80f11 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json @@ -13,7 +13,7 @@ "name": "standardFSv2Family", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -30,7 +30,7 @@ "name": "standardNDSFamily", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -47,7 +47,7 @@ "name": "standardNCSv2Family", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -64,7 +64,7 @@ "name": "standardNCSv3Family", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -81,7 +81,7 @@ "name": "standardLSv2Family", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -98,7 +98,7 @@ "name": "standardPBSFamily", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -115,7 +115,7 @@ "name": "standardEIv3Family", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -132,7 +132,7 @@ "name": "standardEISv3Family", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -149,7 +149,7 @@ "name": "standardDCSFamily", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -166,7 +166,7 @@ "name": "standardNVSv2Family", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -183,7 +183,7 @@ "name": "standardMSv2Family", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -200,7 +200,7 @@ "name": "availabilitySets", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json index f259a9937674..01e8bf2449b2 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json @@ -13,7 +13,7 @@ "name": "standardDv2Family", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -30,7 +30,7 @@ "name": "totalLowPriorityCores", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json index 0eac905b91c5..ba72f9ef5c43 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json @@ -13,7 +13,7 @@ "name": "standardDv2Family", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -30,7 +30,7 @@ "name": "totalLowPriorityCores", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json index abb2fbeb3cdd..b58be28ef201 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json @@ -12,7 +12,7 @@ "name": "MinPublicIpInterNetworkPrefixLength", "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "name": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index 94adf5272542..27ed4e4827aa 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -12,7 +12,7 @@ "name": "MinPublicIpInterNetworkPrefixLength", "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "name": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json index 16ff5445779b..f6edb61928e4 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json @@ -10,7 +10,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -28,7 +28,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -46,7 +46,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -64,7 +64,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -82,7 +82,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -100,7 +100,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -118,7 +118,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -136,7 +136,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -154,7 +154,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -172,7 +172,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -190,7 +190,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -208,7 +208,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -226,7 +226,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -244,7 +244,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -262,7 +262,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -280,7 +280,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -298,7 +298,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -316,7 +316,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -334,7 +334,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -352,7 +352,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -370,7 +370,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -388,7 +388,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -406,7 +406,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -424,7 +424,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -442,7 +442,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -460,7 +460,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -478,7 +478,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -496,7 +496,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -514,7 +514,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -532,7 +532,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -550,7 +550,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -568,7 +568,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -586,7 +586,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -604,7 +604,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -622,7 +622,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -640,7 +640,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -658,7 +658,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", @@ -676,7 +676,7 @@ { "properties": { "limit": { - "limitType": "LimitValue", + "limitObjectType": "LimitValue", "value": 10 }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json index a716c8e7b9d4..3c0d0c30da03 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json @@ -10,7 +10,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -28,7 +28,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -46,7 +46,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -64,7 +64,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -82,7 +82,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -100,7 +100,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -118,7 +118,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -136,7 +136,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -154,7 +154,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -172,7 +172,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -190,7 +190,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -208,7 +208,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -226,7 +226,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -244,7 +244,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -262,7 +262,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -280,7 +280,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -298,7 +298,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -316,7 +316,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -334,7 +334,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -352,7 +352,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -370,7 +370,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -388,7 +388,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -406,7 +406,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -424,7 +424,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -442,7 +442,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -460,7 +460,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -478,7 +478,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -496,7 +496,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -514,7 +514,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -532,7 +532,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -550,7 +550,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -568,7 +568,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -586,7 +586,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -604,7 +604,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -622,7 +622,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -640,7 +640,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -658,7 +658,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", @@ -676,7 +676,7 @@ { "properties": { "limit": { - "limitType": "UsagesValue", + "limitObjectType": "UsagesValue", "value": 10 }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index b6c4af689ff3..5efac27c2d47 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -827,6 +827,9 @@ }, "limitObjectType": { "$ref": "#/definitions/LimitObjectType" + }, + "limitType": { + "$ref": "#/definitions/LimitTypes" } }, "required": [ From 0a6f01cf8c913b092552f3430165b3825815d439 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 17:12:51 -0700 Subject: [PATCH 098/127] 1. Updating tags for usages. 2. Rename LimitObjectType to LimitObjectTypes. --- .../preview/2021-03-15-preview/quota.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 5efac27c2d47..00d4d93ad408 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -85,7 +85,7 @@ "/{scope}/providers/Microsoft.Quota/usages": { "get": { "tags": [ - "QuotaInformation" + "UsagesInformation" ], "description": "Get a list of current usages of all resources.", "operationId": "Usages_List", @@ -762,7 +762,7 @@ } } }, - "LimitObjectType": { + "LimitObjectTypes": { "description": "The limit object type.", "enum": [ "LimitValue", @@ -794,7 +794,7 @@ "type": "object", "properties": { "limitObjectType": { - "$ref": "#/definitions/LimitObjectType" + "$ref": "#/definitions/LimitObjectTypes" } }, "discriminator": "limitObjectType" @@ -809,7 +809,7 @@ "description": "The usages value" }, "limitObjectType": { - "$ref": "#/definitions/LimitObjectType" + "$ref": "#/definitions/LimitObjectTypes" } }, "required": [ @@ -826,7 +826,7 @@ "description": "The quota/limit value" }, "limitObjectType": { - "$ref": "#/definitions/LimitObjectType" + "$ref": "#/definitions/LimitObjectTypes" }, "limitType": { "$ref": "#/definitions/LimitTypes" From 98d6f9e20bcc03490951a709e996b328bd32778e Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 9 Aug 2021 17:31:16 -0700 Subject: [PATCH 099/127] Adding "limitType": "Independent" --- .../examples/getComputeOneSkuQuotaLimit.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json index 45648a890fa9..1449d897752e 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json @@ -13,7 +13,8 @@ "properties": { "limit": { "limitObjectType": "LimitValue", - "value": 100 + "value": 100, + "limitType": "Independent" }, "unit": "Count", "name": { From aedef9a2f734e0d3fc44013249699b2b26fba38a Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Tue, 10 Aug 2021 10:37:57 -0700 Subject: [PATCH 100/127] Updating Operations Tag. --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 00d4d93ad408..ff155414c777 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -508,7 +508,7 @@ } ], "tags": [ - "Operation" + "Operations" ], "responses": { "200": { From 35bda05f60903b5efe910ff0cf840e93065fdf8a Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Tue, 10 Aug 2021 10:43:03 -0700 Subject: [PATCH 101/127] Updating subscription ids. --- .../examples/getNetworkQuotaLimits.json | 76 +++++++++---------- .../examples/getNetworkUsages.json | 76 +++++++++---------- .../examples/getQuotaRequestStatusFailed.json | 2 +- .../preview/2021-03-15-preview/quota.json | 4 +- 4 files changed, 79 insertions(+), 79 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json index f6edb61928e4..7002bbbc1e71 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json @@ -21,7 +21,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "VirtualNetworks" }, @@ -39,7 +39,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "StaticPublicIPAddresses" }, @@ -57,7 +57,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "NetworkSecurityGroups" }, @@ -75,7 +75,7 @@ "properties": {}, "isQuotaApplicable": true }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "PublicIPAddresses" }, @@ -93,7 +93,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "PublicIpPrefixes" }, @@ -111,7 +111,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "NatGateways" }, @@ -129,7 +129,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "NetworkInterfaces" }, @@ -147,7 +147,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "PrivateEndpoints" }, @@ -165,7 +165,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "PrivateEndpointRedirectMaps" }, @@ -183,7 +183,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "LoadBalancers" }, @@ -201,7 +201,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "PrivateLinkServices" }, @@ -219,7 +219,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "ApplicationGateways" }, @@ -237,7 +237,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "RouteTables" }, @@ -255,7 +255,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "RouteFilters" }, @@ -273,7 +273,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "NetworkWatchers" }, @@ -291,7 +291,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "PacketCaptures" }, @@ -309,7 +309,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "ApplicationSecurityGroups" }, @@ -327,7 +327,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "DdosProtectionPlans" }, @@ -345,7 +345,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "DdosCustomPolicies" }, @@ -363,7 +363,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "ServiceEndpointPolicies" }, @@ -381,7 +381,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "NetworkIntentPolicies" }, @@ -399,7 +399,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "StandardSkuLoadBalancers" }, @@ -417,7 +417,7 @@ "properties": {}, "isQuotaApplicable": true }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "StandardSkuPublicIpAddresses" }, @@ -435,7 +435,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "DnsServersPerVirtualNetwork" }, @@ -453,7 +453,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "CustomDnsServersPerP2SVpnGateway" }, @@ -471,7 +471,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "SubnetsPerVirtualNetwork" }, @@ -489,7 +489,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "IPConfigurationsPerVirtualNetwork" }, @@ -507,7 +507,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "PeeringsPerVirtualNetwork" }, @@ -525,7 +525,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "SecurityRulesPerNetworkSecurityGroup" }, @@ -543,7 +543,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "SecurityRulesPerNetworkIntentPolicy" }, @@ -561,7 +561,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "RoutesPerNetworkIntentPolicy" }, @@ -579,7 +579,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" }, @@ -597,7 +597,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "InboundRulesPerLoadBalancer" }, @@ -615,7 +615,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "FrontendIPConfigurationPerLoadBalancer" }, @@ -633,7 +633,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "OutboundRulesPerLoadBalancer" }, @@ -651,7 +651,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "RoutesPerRouteTable" }, @@ -669,7 +669,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "RoutesWithServiceTagPerRouteTable" }, @@ -687,7 +687,7 @@ "properties": {}, "isQuotaApplicable": true }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "MinPublicIpInterNetworkPrefixLength" } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json index 3c0d0c30da03..22d64e4507d5 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json @@ -21,7 +21,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "VirtualNetworks" }, @@ -39,7 +39,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "StaticPublicIPAddresses" }, @@ -57,7 +57,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "NetworkSecurityGroups" }, @@ -75,7 +75,7 @@ "properties": {}, "isQuotaApplicable": true }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "PublicIPAddresses" }, @@ -93,7 +93,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "PublicIpPrefixes" }, @@ -111,7 +111,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "NatGateways" }, @@ -129,7 +129,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "NetworkInterfaces" }, @@ -147,7 +147,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "PrivateEndpoints" }, @@ -165,7 +165,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "PrivateEndpointRedirectMaps" }, @@ -183,7 +183,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "LoadBalancers" }, @@ -201,7 +201,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "PrivateLinkServices" }, @@ -219,7 +219,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "ApplicationGateways" }, @@ -237,7 +237,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "RouteTables" }, @@ -255,7 +255,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "RouteFilters" }, @@ -273,7 +273,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "NetworkWatchers" }, @@ -291,7 +291,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "PacketCaptures" }, @@ -309,7 +309,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "ApplicationSecurityGroups" }, @@ -327,7 +327,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "DdosProtectionPlans" }, @@ -345,7 +345,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "DdosCustomPolicies" }, @@ -363,7 +363,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "ServiceEndpointPolicies" }, @@ -381,7 +381,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "NetworkIntentPolicies" }, @@ -399,7 +399,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "StandardSkuLoadBalancers" }, @@ -417,7 +417,7 @@ "properties": {}, "isQuotaApplicable": true }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "StandardSkuPublicIpAddresses" }, @@ -435,7 +435,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "DnsServersPerVirtualNetwork" }, @@ -453,7 +453,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "CustomDnsServersPerP2SVpnGateway" }, @@ -471,7 +471,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "SubnetsPerVirtualNetwork" }, @@ -489,7 +489,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "IPConfigurationsPerVirtualNetwork" }, @@ -507,7 +507,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "PeeringsPerVirtualNetwork" }, @@ -525,7 +525,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "SecurityRulesPerNetworkSecurityGroup" }, @@ -543,7 +543,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "SecurityRulesPerNetworkIntentPolicy" }, @@ -561,7 +561,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "RoutesPerNetworkIntentPolicy" }, @@ -579,7 +579,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" }, @@ -597,7 +597,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "InboundRulesPerLoadBalancer" }, @@ -615,7 +615,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "FrontendIPConfigurationPerLoadBalancer" }, @@ -633,7 +633,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "OutboundRulesPerLoadBalancer" }, @@ -651,7 +651,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "RoutesPerRouteTable" }, @@ -669,7 +669,7 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "RoutesWithServiceTagPerRouteTable" }, @@ -687,7 +687,7 @@ "properties": {}, "isQuotaApplicable": true }, - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", "type": "Microsoft.Quota/QuotaLimits", "name": "MinPublicIpInterNetworkPrefixLength" } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json index 72d84de59f3d..a1cb783954cf 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", "type": "Microsoft.Quota/quotaLimitsRequests", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index ff155414c777..1aa081541679 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -1419,7 +1419,7 @@ "in": "path", "required": true, "type": "string", - "description": "Resource name for a given resource provider. For example:\r\n- SKU name for Microsoft.Compute\r\n- Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices", + "description": "Resource name for a given resource provider. For example:\r\n- SKU name for Microsoft.Compute\r\n- SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices", "x-ms-parameter-location": "method" }, "ResourceDimensionTypeInParameter": { @@ -1458,7 +1458,7 @@ }, "ScopeInPath": { "name": "scope", - "description": "The target Azure resource URI. For example, `/subscriptions/9f6cce51-6baf-4de5-a3c4-6f58b85315b9/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`. This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.", + "description": "The target Azure resource URI. For example, `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`. This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.", "in": "path", "required": true, "type": "string", From 0e8278f12ecb18d80fd0aaecfc4e2264b9e0f6d2 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Tue, 10 Aug 2021 12:22:32 -0700 Subject: [PATCH 102/127] Updating Operations Name. --- .../2021-03-15-preview/examples/GetOperations.json | 10 +++++----- .../preview/2021-03-15-preview/quota.json | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json index 35d4ff3823f0..31cb7f74b660 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json @@ -34,7 +34,7 @@ } }, { - "name": "Microsoft.Quota/quotaLimitProviders/read", + "name": "Microsoft.Quota/quotaProviders/read", "display": { "provider": "Microsoft Quota", "resource": "Quota limits provider metadata", @@ -43,12 +43,12 @@ } }, { - "name": "Microsoft.Quota/quotaLimitsRequests/read", + "name": "Microsoft.Quota/quotaRequests/read", "display": { "provider": "Microsoft Quota", - "resource": "Resource service limit request", - "operation": "Get service limit request", - "description": "Get any service limit request for the specified resource and location" + "resource": "Resource quota request", + "operation": "Get quota request", + "description": "Get any quota request for the specified resource and location" } } ] diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 1aa081541679..7c7dde2fe9e3 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -359,7 +359,7 @@ } } }, - "/{scope}/providers/Microsoft.Quota/quotaLimitsRequests/{id}": { + "/{scope}/providers/Microsoft.Quota/quotaRequests/{id}": { "get": { "tags": [ "QuotaRequests" @@ -404,7 +404,7 @@ } } }, - "/{scope}/providers/Microsoft.Quota/quotaLimitsRequests": { + "/{scope}/providers/Microsoft.Quota/quotaRequests": { "get": { "tags": [ "QuotaRequests" @@ -456,7 +456,7 @@ } } }, - "/providers/Microsoft.Quota/quotaLimitProviders": { + "/providers/Microsoft.Quota/quotaProviders": { "get": { "tags": [ "QuotaMetadata" From 815d9333c0d091183794deca5c4c251c1592bc7a Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 11 Aug 2021 16:06:30 -0700 Subject: [PATCH 103/127] Updating the documentations and examples. --- .../examples/getComputeOneSkuQuotaLimit.json | 4 +- .../examples/getComputeOneSkuUsages.json | 4 +- .../examples/getComputeQuotaLimits.json | 48 +++--- .../examples/getComputeUsages.json | 48 +++--- ...getMachineLearningServicesQuotaLimits.json | 8 +- .../getMachineLearningServicesUsages.json | 8 +- .../examples/getNetworkOneSkuQuotaLimit.json | 4 +- .../examples/getNetworkOneSkuUsages.json | 4 +- .../examples/getNetworkQuotaLimits.json | 152 +++++++++--------- .../examples/getNetworkUsages.json | 152 +++++++++--------- .../examples/getQuotaRequestStatusById.json | 4 +- .../examples/getQuotaRequestStatusFailed.json | 4 +- .../getQuotaRequestStatusInProgress.json | 2 +- .../examples/getQuotaRequestsHistory.json | 14 +- .../examples/patchComputeQuotaRequest.json | 10 +- .../patchNetworkOneSkuQuotaRequest.json | 10 +- .../putComputeOneSkuQuotaRequest.json | 10 +- ...LearningServicesQuotaRequestDedicated.json | 10 +- ...arningServicesQuotaRequestLowPriority.json | 10 +- .../putNetworkOneSkuQuotaRequest.json | 10 +- ...taRequestStandardSkuPublicIpAddresses.json | 10 +- .../preview/2021-03-15-preview/quota.json | 40 ++--- 22 files changed, 283 insertions(+), 283 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json index 1449d897752e..d62f228d54df 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json @@ -7,8 +7,8 @@ "responses": { "200": { "body": { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardNDSFamily", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNDSFamily", + "type": "Microsoft.Quota/Quotas", "name": "standardNDSFamily", "properties": { "limit": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json index 35063aad1350..82f0e3a12d4a 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json @@ -7,8 +7,8 @@ "responses": { "200": { "body": { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardNDSFamily", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNDSFamily", + "type": "Microsoft.Quota/Usages", "name": "standardNDSFamily", "properties": { "limit": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json index ed7a13e33371..34a5dc1869d8 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json @@ -8,8 +8,8 @@ "body": { "value": [ { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardFSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardFSv2Family", + "type": "Microsoft.Quota/Quotas", "name": "standardFSv2Family", "properties": { "limit": { @@ -25,8 +25,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardNDSFamily", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNDSFamily", + "type": "Microsoft.Quota/Quotas", "name": "standardNDSFamily", "properties": { "limit": { @@ -42,8 +42,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardNCSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNCSv2Family", + "type": "Microsoft.Quota/Quotas", "name": "standardNCSv2Family", "properties": { "limit": { @@ -59,8 +59,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardNCSv3Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNCSv3Family", + "type": "Microsoft.Quota/Quotas", "name": "standardNCSv3Family", "properties": { "limit": { @@ -76,8 +76,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardLSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardLSv2Family", + "type": "Microsoft.Quota/Quotas", "name": "standardLSv2Family", "properties": { "limit": { @@ -93,8 +93,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardPBSFamily", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardPBSFamily", + "type": "Microsoft.Quota/Quotas", "name": "standardPBSFamily", "properties": { "limit": { @@ -110,8 +110,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardEIv3Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardEIv3Family", + "type": "Microsoft.Quota/Quotas", "name": "standardEIv3Family", "properties": { "limit": { @@ -127,8 +127,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardEISv3Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardEISv3Family", + "type": "Microsoft.Quota/Quotas", "name": "standardEISv3Family", "properties": { "limit": { @@ -144,8 +144,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardDCSFamily", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardDCSFamily", + "type": "Microsoft.Quota/Quotas", "name": "standardDCSFamily", "properties": { "limit": { @@ -161,8 +161,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardNVSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNVSv2Family", + "type": "Microsoft.Quota/Quotas", "name": "standardNVSv2Family", "properties": { "limit": { @@ -178,8 +178,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardMSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardMSv2Family", + "type": "Microsoft.Quota/Quotas", "name": "standardMSv2Family", "properties": { "limit": { @@ -195,8 +195,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/availabilitySets", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/availabilitySets", + "type": "Microsoft.Quota/Quotas", "name": "availabilitySets", "properties": { "limit": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json index aba41ac80f11..f5c8c95acde0 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json @@ -8,8 +8,8 @@ "body": { "value": [ { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardFSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardFSv2Family", + "type": "Microsoft.Quota/Usages", "name": "standardFSv2Family", "properties": { "limit": { @@ -25,8 +25,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardNDSFamily", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNDSFamily", + "type": "Microsoft.Quota/Usages", "name": "standardNDSFamily", "properties": { "limit": { @@ -42,8 +42,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardNCSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNCSv2Family", + "type": "Microsoft.Quota/Usages", "name": "standardNCSv2Family", "properties": { "limit": { @@ -59,8 +59,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardNCSv3Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNCSv3Family", + "type": "Microsoft.Quota/Usages", "name": "standardNCSv3Family", "properties": { "limit": { @@ -76,8 +76,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardLSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardLSv2Family", + "type": "Microsoft.Quota/Usages", "name": "standardLSv2Family", "properties": { "limit": { @@ -93,8 +93,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardPBSFamily", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardPBSFamily", + "type": "Microsoft.Quota/Usages", "name": "standardPBSFamily", "properties": { "limit": { @@ -110,8 +110,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardEIv3Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardEIv3Family", + "type": "Microsoft.Quota/Usages", "name": "standardEIv3Family", "properties": { "limit": { @@ -127,8 +127,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardEISv3Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardEISv3Family", + "type": "Microsoft.Quota/Usages", "name": "standardEISv3Family", "properties": { "limit": { @@ -144,8 +144,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardDCSFamily", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardDCSFamily", + "type": "Microsoft.Quota/Usages", "name": "standardDCSFamily", "properties": { "limit": { @@ -161,8 +161,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardNVSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNVSv2Family", + "type": "Microsoft.Quota/Usages", "name": "standardNVSv2Family", "properties": { "limit": { @@ -178,8 +178,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardMSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardMSv2Family", + "type": "Microsoft.Quota/Usages", "name": "standardMSv2Family", "properties": { "limit": { @@ -195,8 +195,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/availabilitySets", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/availabilitySets", + "type": "Microsoft.Quota/Usages", "name": "availabilitySets", "properties": { "limit": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json index 01e8bf2449b2..44dff82413f4 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json @@ -8,8 +8,8 @@ "body": { "value": [ { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardDv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/Quotas/standardDv2Family", + "type": "Microsoft.Quota/Quotas", "name": "standardDv2Family", "properties": { "limit": { @@ -25,8 +25,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotaLimits/totalLowPriorityCores", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/Quotas/totalLowPriorityCores", + "type": "Microsoft.Quota/Quotas", "name": "totalLowPriorityCores", "properties": { "limit": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json index ba72f9ef5c43..8b744760b7e1 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json @@ -8,8 +8,8 @@ "body": { "value": [ { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardDv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/usages/standardDv2Family", + "type": "Microsoft.Quota/usages", "name": "standardDv2Family", "properties": { "limit": { @@ -25,8 +25,8 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotaLimits/totalLowPriorityCores", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/usages/totalLowPriorityCores", + "type": "Microsoft.Quota/usages", "name": "totalLowPriorityCores", "properties": { "limit": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json index b58be28ef201..535e6a36f394 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json @@ -7,8 +7,8 @@ "responses": { "200": { "body": { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/MinPublicIpInterNetworkPrefixLength", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/MinPublicIpInterNetworkPrefixLength", + "type": "Microsoft.Quota/Quotas", "name": "MinPublicIpInterNetworkPrefixLength", "properties": { "limit": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index 27ed4e4827aa..f8fb31bfeae9 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -7,8 +7,8 @@ "responses": { "200": { "body": { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/MinPublicIpInterNetworkPrefixLength", - "type": "Microsoft.Quota/quotaLimits", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/MinPublicIpInterNetworkPrefixLength", + "type": "Microsoft.Quota/usages", "name": "MinPublicIpInterNetworkPrefixLength", "properties": { "limit": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json index 7002bbbc1e71..ddd5bb43613c 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json @@ -21,8 +21,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "VirtualNetworks" }, { @@ -39,8 +39,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "StaticPublicIPAddresses" }, { @@ -57,8 +57,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "NetworkSecurityGroups" }, { @@ -75,8 +75,8 @@ "properties": {}, "isQuotaApplicable": true }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "PublicIPAddresses" }, { @@ -93,8 +93,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "PublicIpPrefixes" }, { @@ -111,8 +111,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "NatGateways" }, { @@ -129,8 +129,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "NetworkInterfaces" }, { @@ -147,8 +147,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "PrivateEndpoints" }, { @@ -165,8 +165,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "PrivateEndpointRedirectMaps" }, { @@ -183,8 +183,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "LoadBalancers" }, { @@ -201,8 +201,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "PrivateLinkServices" }, { @@ -219,8 +219,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "ApplicationGateways" }, { @@ -237,8 +237,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "RouteTables" }, { @@ -255,8 +255,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "RouteFilters" }, { @@ -273,8 +273,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "NetworkWatchers" }, { @@ -291,8 +291,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "PacketCaptures" }, { @@ -309,8 +309,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "ApplicationSecurityGroups" }, { @@ -327,8 +327,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "DdosProtectionPlans" }, { @@ -345,8 +345,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "DdosCustomPolicies" }, { @@ -363,8 +363,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "ServiceEndpointPolicies" }, { @@ -381,8 +381,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "NetworkIntentPolicies" }, { @@ -399,8 +399,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "StandardSkuLoadBalancers" }, { @@ -417,8 +417,8 @@ "properties": {}, "isQuotaApplicable": true }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "StandardSkuPublicIpAddresses" }, { @@ -435,8 +435,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "DnsServersPerVirtualNetwork" }, { @@ -453,8 +453,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "CustomDnsServersPerP2SVpnGateway" }, { @@ -471,8 +471,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "SubnetsPerVirtualNetwork" }, { @@ -489,8 +489,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "IPConfigurationsPerVirtualNetwork" }, { @@ -507,8 +507,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "PeeringsPerVirtualNetwork" }, { @@ -525,8 +525,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "SecurityRulesPerNetworkSecurityGroup" }, { @@ -543,8 +543,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "SecurityRulesPerNetworkIntentPolicy" }, { @@ -561,8 +561,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "RoutesPerNetworkIntentPolicy" }, { @@ -579,8 +579,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" }, { @@ -597,8 +597,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "InboundRulesPerLoadBalancer" }, { @@ -615,8 +615,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "FrontendIPConfigurationPerLoadBalancer" }, { @@ -633,8 +633,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "OutboundRulesPerLoadBalancer" }, { @@ -651,8 +651,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "RoutesPerRouteTable" }, { @@ -669,8 +669,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "RoutesWithServiceTagPerRouteTable" }, { @@ -687,8 +687,8 @@ "properties": {}, "isQuotaApplicable": true }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", "name": "MinPublicIpInterNetworkPrefixLength" } ] diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json index 22d64e4507d5..7400a8d0adf9 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json @@ -21,8 +21,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "VirtualNetworks" }, { @@ -39,8 +39,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "StaticPublicIPAddresses" }, { @@ -57,8 +57,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "NetworkSecurityGroups" }, { @@ -75,8 +75,8 @@ "properties": {}, "isQuotaApplicable": true }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "PublicIPAddresses" }, { @@ -93,8 +93,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "PublicIpPrefixes" }, { @@ -111,8 +111,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "NatGateways" }, { @@ -129,8 +129,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "NetworkInterfaces" }, { @@ -147,8 +147,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "PrivateEndpoints" }, { @@ -165,8 +165,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "PrivateEndpointRedirectMaps" }, { @@ -183,8 +183,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "LoadBalancers" }, { @@ -201,8 +201,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "PrivateLinkServices" }, { @@ -219,8 +219,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "ApplicationGateways" }, { @@ -237,8 +237,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "RouteTables" }, { @@ -255,8 +255,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "RouteFilters" }, { @@ -273,8 +273,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "NetworkWatchers" }, { @@ -291,8 +291,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "PacketCaptures" }, { @@ -309,8 +309,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "ApplicationSecurityGroups" }, { @@ -327,8 +327,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "DdosProtectionPlans" }, { @@ -345,8 +345,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "DdosCustomPolicies" }, { @@ -363,8 +363,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "ServiceEndpointPolicies" }, { @@ -381,8 +381,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "NetworkIntentPolicies" }, { @@ -399,8 +399,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "StandardSkuLoadBalancers" }, { @@ -417,8 +417,8 @@ "properties": {}, "isQuotaApplicable": true }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "StandardSkuPublicIpAddresses" }, { @@ -435,8 +435,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "DnsServersPerVirtualNetwork" }, { @@ -453,8 +453,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "CustomDnsServersPerP2SVpnGateway" }, { @@ -471,8 +471,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "SubnetsPerVirtualNetwork" }, { @@ -489,8 +489,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "IPConfigurationsPerVirtualNetwork" }, { @@ -507,8 +507,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "PeeringsPerVirtualNetwork" }, { @@ -525,8 +525,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "SecurityRulesPerNetworkSecurityGroup" }, { @@ -543,8 +543,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "SecurityRulesPerNetworkIntentPolicy" }, { @@ -561,8 +561,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "RoutesPerNetworkIntentPolicy" }, { @@ -579,8 +579,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" }, { @@ -597,8 +597,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "InboundRulesPerLoadBalancer" }, { @@ -615,8 +615,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "FrontendIPConfigurationPerLoadBalancer" }, { @@ -633,8 +633,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "OutboundRulesPerLoadBalancer" }, { @@ -651,8 +651,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "RoutesPerRouteTable" }, { @@ -669,8 +669,8 @@ "properties": {}, "isQuotaApplicable": false }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "RoutesWithServiceTagPerRouteTable" }, { @@ -687,8 +687,8 @@ "properties": {}, "isQuotaApplicable": true }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimits/", - "type": "Microsoft.Quota/QuotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", "name": "MinPublicIpInterNetworkPrefixLength" } ] diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json index 4fb502372c6f..6a7b6d9adefd 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusById.json @@ -7,8 +7,8 @@ "responses": { "200": { "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaLimitsRequests", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaRequests", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "requestSubmitTime": "2019-08-19T19:23:17.904Z", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json index a1cb783954cf..8fcae8d59825 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusFailed.json @@ -7,8 +7,8 @@ "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaLimitsRequests", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaRequests", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "requestSubmitTime": "2019-08-19T19:23:17.904Z", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json index 117e001dd7e2..b3ad7a904e9f 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json @@ -8,7 +8,7 @@ "200": { "body": { "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaLimitsRequests", + "type": "Microsoft.Quota/quotaRequests", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "requestSubmitTime": "2019-08-19T19:23:17.904Z", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json index 33ca22b5f584..4ffdc4bb0f32 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestsHistory.json @@ -6,11 +6,11 @@ "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/microsoft.Quota/resourceProviders/Microsoft.Compute/locations/eastus/quotaLimitsRequests?api-version=2021-03-15&$top=3", + "nextLink": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/microsoft.Quota/resourceProviders/Microsoft.Compute/locations/eastus/quotaRequests?api-version=2021-03-15&$top=3", "value": [ { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaLimitsRequests", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaRequests", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "requestSubmitTime": "2019-08-19T19:23:17.904Z", @@ -34,8 +34,8 @@ } }, { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/7E73A85C-83BB-4DE4-903F-076F1A2B91D6", - "type": "Microsoft.Quota/quotaLimitsRequests", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/7E73A85C-83BB-4DE4-903F-076F1A2B91D6", + "type": "Microsoft.Quota/quotaRequests", "name": "7E73A85C-83BB-4DE4-903F-076F1A2B91D6", "properties": { "requestSubmitTime": "2019-08-18T19:23:17.904Z", @@ -59,8 +59,8 @@ } }, { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/5E460077-AB53-4802-8997-A6940E0B7649", - "type": "Microsoft.Quota/quotaLimitsRequests", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/5E460077-AB53-4802-8997-A6940E0B7649", + "type": "Microsoft.Quota/quotaRequests", "name": "5E460077-AB53-4802-8997-A6940E0B7649", "properties": { "requestSubmitTime": "2019-08-17T19:23:17.904Z", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json index fa7b120dc705..ecc51a703a18 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json @@ -22,8 +22,8 @@ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardFSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", + "type": "Microsoft.Quota/quotas", "name": "standardFSv2Family", "properties": { "limit": { @@ -38,11 +38,11 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardFSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", + "type": "Microsoft.Quota/quotas", "name": "standardFSv2Family", "properties": { "limit": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json index 555df510013b..effe6953278c 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json @@ -23,8 +23,8 @@ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaLimits", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotas", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "limit": { @@ -39,11 +39,11 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaLimits", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotas", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "limit": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json index 6044561f7703..b6b52c3cf963 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json @@ -22,8 +22,8 @@ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardFSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", + "type": "Microsoft.Quota/quotas", "name": "standardFSv2Family", "properties": { "limit": { @@ -38,11 +38,11 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardFSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", + "type": "Microsoft.Quota/quotas", "name": "standardFSv2Family", "properties": { "limit": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json index 6044561f7703..b6b52c3cf963 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json @@ -22,8 +22,8 @@ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardFSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", + "type": "Microsoft.Quota/quotas", "name": "standardFSv2Family", "properties": { "limit": { @@ -38,11 +38,11 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimits/standardFSv2Family", - "type": "Microsoft.Quota/quotaLimits", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", + "type": "Microsoft.Quota/quotas", "name": "standardFSv2Family", "properties": { "limit": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json index 3a4d77f155fb..5d44752cc8c1 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json @@ -23,8 +23,8 @@ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotaLimits/TotalLowPriorityCores", - "type": "Microsoft.Quota/quotaLimits", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotas/TotalLowPriorityCores", + "type": "Microsoft.Quota/quotas", "name": "TotalLowPriorityCores", "properties": { "limit": { @@ -40,11 +40,11 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotaLimits/TotalLowPriorityCores", - "type": "Microsoft.Quota/quotaLimits", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotas/TotalLowPriorityCores", + "type": "Microsoft.Quota/quotas", "name": "TotalLowPriorityCores", "properties": { "limit": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json index 555df510013b..effe6953278c 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json @@ -23,8 +23,8 @@ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaLimits", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotas", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "limit": { @@ -39,11 +39,11 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaLimits", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotas", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "limit": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json index 9e85be088838..bc1fef11ae10 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json @@ -26,8 +26,8 @@ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaLimits", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotas", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "limit": { @@ -46,11 +46,11 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaLimitsRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaLimits", + "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotas", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { "limit": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 7c7dde2fe9e3..27c1a8b4c466 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -62,7 +62,7 @@ ], "responses": { "200": { - "description": "OK. The quota information will be returned in the response with pagination.", + "description": "OK. The usages information will be returned in the response.", "schema": { "$ref": "#/definitions/CurrentQuotaLimitBase" }, @@ -87,7 +87,7 @@ "tags": [ "UsagesInformation" ], - "description": "Get a list of current usages of all resources.", + "description": "Get a list of current usages of all resources for the scope specified.", "operationId": "Usages_List", "x-ms-examples": { "Quotas_listUsagesForNetwork": { @@ -110,7 +110,7 @@ ], "responses": { "200": { - "description": "OK. Quota information will be returned in the response with pagination.", + "description": "OK. Usages information will be returned in the response with pagination.", "schema": { "$ref": "#/definitions/QuotaLimits" }, @@ -184,7 +184,7 @@ "tags": [ "QuotaInformation" ], - "description": "Create or update the quota limit for the specified resource to the requested value. To update the quota, follow these steps:\n1. Use the GET operation to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit.", + "description": "Create or update the quota limit for the specified resource to the requested value. To update the quota, follow these steps:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit.", "operationId": "Quota_CreateOrUpdate", "x-ms-examples": { "Quotas_PutRequest_ForNetwork": { @@ -252,7 +252,7 @@ "tags": [ "QuotaInformation" ], - "description": "Update the quota limit for a specific resource to the specified value:\n1. Use the GET operation to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit.", + "description": "Update the quota limit for a specific resource to the specified value:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit.", "operationId": "Quota_Update", "x-ms-examples": { "Quotas_Request_PatchForNetwork": { @@ -313,7 +313,7 @@ "tags": [ "QuotaInformation" ], - "description": "Get a list of current quota limits of all resources. The response from this GET operation can be leveraged to submit requests to update a quota.", + "description": "Get a list of current quota limits of all resources for the specified scope. The response from this GET operation can be leveraged to submit requests to update a quota.", "operationId": "Quota_List", "x-ms-examples": { "Quotas_listQuotaLimitsForNetwork": { @@ -414,7 +414,7 @@ "$ref": "./examples/getQuotaRequestsHistory.json" } }, - "description": "For the specified location and resource provider, gets the current quota requests under the subscription for a one year period ending at the time is made. Use the **oData** filter can be used to select quota requests.", + "description": "For the specified scope, gets the current quota requests for a one year period ending at the time is made. Use the **oData** filter can be used to select quota requests.", "operationId": "QuotaRequestStatus_List", "parameters": [ { @@ -461,7 +461,7 @@ "tags": [ "QuotaMetadata" ], - "description": "Gets the list of current resource providers supported by the Microsoft.Quota resource provider.\r\nFor each resource provider, the resource templates the resource provider supports are be provided. \r\nFor each resource template, the resource dimensions are listed. The resource dimensions are the name-value pairs in the resource URI.\r\nExample: Microsoft.Compute Resource Provider\r\nThe URI template is '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{locationId}/quotaBucket'. The actual dimensions vary depending on the resource provider.\r\nThe resource dimensions are {subscriptions},{locations},{quotaBucket}.", + "description": "Gets the list of current resource providers supported by the Microsoft.Quota resource provider.\r\nFor each resource provider, the resource templates the resource provider supports are be provided. \r\nFor each resource template, the resource dimensions are listed. The resource dimensions are the name-value pairs in the resource URI.\r\nExample: Microsoft.Network Resource Provider\r\nThe URI template is '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{locationId}/quotaBucket'. The actual dimensions will vary depending on the resource provider.\r\nThe resource dimensions for Microsoft.Network resource provider are {subscriptions},{locations},{quotaBucket}.", "operationId": "QuotaResourceProviders_List", "x-ms-examples": { "Quotas_listMetadataForRPs": { @@ -492,7 +492,7 @@ "/providers/Microsoft.Quota/operations": { "get": { "summary": "GET operations.", - "description": "List all GET operations.", + "description": "List all the operations suported by the Microsoft.Quota resource provider.", "operationId": "Operation_List", "x-ms-examples": { "GetOperations": { @@ -512,7 +512,7 @@ ], "responses": { "200": { - "description": "List all GET operations.", + "description": "List all the operations.", "schema": { "$ref": "#/definitions/OperationList" } @@ -583,7 +583,7 @@ "description": "Resource properties.", "properties": { "id": { - "description": "Resource ID.", + "description": "Resource ID", "type": "string", "readOnly": true }, @@ -595,7 +595,7 @@ "type": { "type": "string", "readOnly": true, - "description": "Resource type. \"Microsoft.Quota/quotaLimits\"" + "description": "Resource type. Example - \"Microsoft.Quota/quotas\"" } } }, @@ -605,7 +605,7 @@ "x-ms-azure-resource": true, "properties": { "id": { - "description": "The resource Id.", + "description": "The resource ID.", "type": "string", "readOnly": true }, @@ -620,7 +620,7 @@ "readOnly": true }, "properties": { - "description": "Quota properties for the specified resource.", + "description": "Quota and usages properties for the specified resource, based on the API called - quotas or usages.", "$ref": "#/definitions/QuotaProperties" } } @@ -634,7 +634,7 @@ "$ref": "#/definitions/LimitObject" }, "unit": { - "description": " The quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", + "description": " The quota or usages units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", "type": "string", "readOnly": true }, @@ -775,7 +775,7 @@ } }, "LimitTypes": { - "description": "The quota limit types.", + "description": "The quota or usages limit types.", "enum": [ "Independent", "Shared" @@ -817,7 +817,7 @@ ] }, "LimitObject": { - "description": "The resource quota/limit value.", + "description": "The resource quota limit value.", "type": "object", "properties": { "value": { @@ -1001,7 +1001,7 @@ "type": { "type": "string", "readOnly": true, - "description": "Resource type. \"Microsoft.Quota/quotaLimits\"" + "description": "Resource type. \"Microsoft.Quota/quotas\"" }, "properties": { "description": "Quota request details.", @@ -1419,7 +1419,7 @@ "in": "path", "required": true, "type": "string", - "description": "Resource name for a given resource provider. For example:\r\n- SKU name for Microsoft.Compute\r\n- SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices", + "description": "Resource name for a given resource provider. For example:\r\n- SKU name for Microsoft.Compute\r\n- SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices\r\n For Mocrosoft.Network PublicIPAddresses.", "x-ms-parameter-location": "method" }, "ResourceDimensionTypeInParameter": { @@ -1458,7 +1458,7 @@ }, "ScopeInPath": { "name": "scope", - "description": "The target Azure resource URI. For example, `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`. This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after `/quotaLimits`, then it's the target Azure resource URI in the GET operation for the specific resource.", + "description": "The target Azure resource URI. For example, `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`. This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific resource.", "in": "path", "required": true, "type": "string", From 3800f367b621c15defca308be215715310918383 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 11 Aug 2021 16:11:49 -0700 Subject: [PATCH 104/127] Updates. --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 27c1a8b4c466..9f18a65c0475 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -492,7 +492,7 @@ "/providers/Microsoft.Quota/operations": { "get": { "summary": "GET operations.", - "description": "List all the operations suported by the Microsoft.Quota resource provider.", + "description": "List all the operations supported by the Microsoft.Quota resource provider.", "operationId": "Operation_List", "x-ms-examples": { "GetOperations": { From c4f38bca2a3b71885c97d70b55b146c84252e67c Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 11 Aug 2021 16:22:32 -0700 Subject: [PATCH 105/127] Updates. --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 9f18a65c0475..4021d84bb44f 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -1419,7 +1419,7 @@ "in": "path", "required": true, "type": "string", - "description": "Resource name for a given resource provider. For example:\r\n- SKU name for Microsoft.Compute\r\n- SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices\r\n For Mocrosoft.Network PublicIPAddresses.", + "description": "Resource name for a given resource provider. For example:\r\n- SKU name for Microsoft.Compute\r\n- SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices\r\n For Microsoft.Network PublicIPAddresses.", "x-ms-parameter-location": "method" }, "ResourceDimensionTypeInParameter": { From 3f1fb689812c151cdd9f4166d6ee745115c3bb1e Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 16 Aug 2021 10:29:28 -0700 Subject: [PATCH 106/127] Updating Quota reference to base object type. --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 4021d84bb44f..7a6d535f1e5f 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -631,7 +631,7 @@ "properties": { "limit": { "description": "Resource quota limit properties.", - "$ref": "#/definitions/LimitObject" + "$ref": "#/definitions/LimitJsonObject" }, "unit": { "description": " The quota or usages units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", From dce79b63c78807c215b14bedf1fe7148bd98ee47 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 16 Aug 2021 14:08:33 -0700 Subject: [PATCH 107/127] Updating examples and restoring the api name to quotaLimitsProviders. --- .../examples/getComputeOneSkuQuotaLimit.json | 2 +- .../examples/getComputeOneSkuUsages.json | 2 +- .../examples/getComputeQuotaLimits.json | 24 +++++++++---------- .../examples/getComputeUsages.json | 24 +++++++++---------- ...getMachineLearningServicesQuotaLimits.json | 4 ++-- .../getMachineLearningServicesUsages.json | 4 ++-- .../examples/getNetworkOneSkuQuotaLimit.json | 2 +- .../examples/getNetworkOneSkuUsages.json | 2 +- .../getQuotaRequestStatusInProgress.json | 2 +- .../examples/patchComputeQuotaRequest.json | 2 +- .../patchNetworkOneSkuQuotaRequest.json | 2 +- .../putComputeOneSkuQuotaRequest.json | 2 +- ...LearningServicesQuotaRequestDedicated.json | 2 +- ...arningServicesQuotaRequestLowPriority.json | 2 +- .../putNetworkOneSkuQuotaRequest.json | 2 +- ...taRequestStandardSkuPublicIpAddresses.json | 2 +- .../preview/2021-03-15-preview/quota.json | 2 +- 17 files changed, 41 insertions(+), 41 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json index d62f228d54df..8d1a32ee2d97 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuQuotaLimit.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNDSFamily", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNDSFamily", "type": "Microsoft.Quota/Quotas", "name": "standardNDSFamily", "properties": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json index 82f0e3a12d4a..cf8562ff444c 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNDSFamily", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNDSFamily", "type": "Microsoft.Quota/Usages", "name": "standardNDSFamily", "properties": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json index 34a5dc1869d8..b4718dd2c564 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeQuotaLimits.json @@ -8,7 +8,7 @@ "body": { "value": [ { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardFSv2Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardFSv2Family", "type": "Microsoft.Quota/Quotas", "name": "standardFSv2Family", "properties": { @@ -25,7 +25,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNDSFamily", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNDSFamily", "type": "Microsoft.Quota/Quotas", "name": "standardNDSFamily", "properties": { @@ -42,7 +42,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNCSv2Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNCSv2Family", "type": "Microsoft.Quota/Quotas", "name": "standardNCSv2Family", "properties": { @@ -59,7 +59,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNCSv3Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNCSv3Family", "type": "Microsoft.Quota/Quotas", "name": "standardNCSv3Family", "properties": { @@ -76,7 +76,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardLSv2Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardLSv2Family", "type": "Microsoft.Quota/Quotas", "name": "standardLSv2Family", "properties": { @@ -93,7 +93,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardPBSFamily", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardPBSFamily", "type": "Microsoft.Quota/Quotas", "name": "standardPBSFamily", "properties": { @@ -110,7 +110,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardEIv3Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardEIv3Family", "type": "Microsoft.Quota/Quotas", "name": "standardEIv3Family", "properties": { @@ -127,7 +127,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardEISv3Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardEISv3Family", "type": "Microsoft.Quota/Quotas", "name": "standardEISv3Family", "properties": { @@ -144,7 +144,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardDCSFamily", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardDCSFamily", "type": "Microsoft.Quota/Quotas", "name": "standardDCSFamily", "properties": { @@ -161,7 +161,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNVSv2Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNVSv2Family", "type": "Microsoft.Quota/Quotas", "name": "standardNVSv2Family", "properties": { @@ -178,7 +178,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardMSv2Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardMSv2Family", "type": "Microsoft.Quota/Quotas", "name": "standardMSv2Family", "properties": { @@ -195,7 +195,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/availabilitySets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/availabilitySets", "type": "Microsoft.Quota/Quotas", "name": "availabilitySets", "properties": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json index f5c8c95acde0..6d32b7e6f0e5 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json @@ -8,7 +8,7 @@ "body": { "value": [ { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardFSv2Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardFSv2Family", "type": "Microsoft.Quota/Usages", "name": "standardFSv2Family", "properties": { @@ -25,7 +25,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNDSFamily", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNDSFamily", "type": "Microsoft.Quota/Usages", "name": "standardNDSFamily", "properties": { @@ -42,7 +42,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNCSv2Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNCSv2Family", "type": "Microsoft.Quota/Usages", "name": "standardNCSv2Family", "properties": { @@ -59,7 +59,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNCSv3Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNCSv3Family", "type": "Microsoft.Quota/Usages", "name": "standardNCSv3Family", "properties": { @@ -76,7 +76,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardLSv2Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardLSv2Family", "type": "Microsoft.Quota/Usages", "name": "standardLSv2Family", "properties": { @@ -93,7 +93,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardPBSFamily", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardPBSFamily", "type": "Microsoft.Quota/Usages", "name": "standardPBSFamily", "properties": { @@ -110,7 +110,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardEIv3Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardEIv3Family", "type": "Microsoft.Quota/Usages", "name": "standardEIv3Family", "properties": { @@ -127,7 +127,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardEISv3Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardEISv3Family", "type": "Microsoft.Quota/Usages", "name": "standardEISv3Family", "properties": { @@ -144,7 +144,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardDCSFamily", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardDCSFamily", "type": "Microsoft.Quota/Usages", "name": "standardDCSFamily", "properties": { @@ -161,7 +161,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNVSv2Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNVSv2Family", "type": "Microsoft.Quota/Usages", "name": "standardNVSv2Family", "properties": { @@ -178,7 +178,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardMSv2Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardMSv2Family", "type": "Microsoft.Quota/Usages", "name": "standardMSv2Family", "properties": { @@ -195,7 +195,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/availabilitySets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/availabilitySets", "type": "Microsoft.Quota/Usages", "name": "availabilitySets", "properties": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json index 44dff82413f4..b9a82b25fcc2 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesQuotaLimits.json @@ -8,7 +8,7 @@ "body": { "value": [ { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/Quotas/standardDv2Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/Quotas/standardDv2Family", "type": "Microsoft.Quota/Quotas", "name": "standardDv2Family", "properties": { @@ -25,7 +25,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/Quotas/totalLowPriorityCores", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/Quotas/totalLowPriorityCores", "type": "Microsoft.Quota/Quotas", "name": "totalLowPriorityCores", "properties": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json index 8b744760b7e1..7d7c59e49ed6 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json @@ -8,7 +8,7 @@ "body": { "value": [ { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/usages/standardDv2Family", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/usages/standardDv2Family", "type": "Microsoft.Quota/usages", "name": "standardDv2Family", "properties": { @@ -25,7 +25,7 @@ } }, { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/usages/totalLowPriorityCores", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/usages/totalLowPriorityCores", "type": "Microsoft.Quota/usages", "name": "totalLowPriorityCores", "properties": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json index 535e6a36f394..3d7588243fef 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/MinPublicIpInterNetworkPrefixLength", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/MinPublicIpInterNetworkPrefixLength", "type": "Microsoft.Quota/Quotas", "name": "MinPublicIpInterNetworkPrefixLength", "properties": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index f8fb31bfeae9..82ba43fce95e 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/MinPublicIpInterNetworkPrefixLength", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/MinPublicIpInterNetworkPrefixLength", "type": "Microsoft.Quota/usages", "name": "MinPublicIpInterNetworkPrefixLength", "properties": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json index b3ad7a904e9f..e58063760cc6 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getQuotaRequestStatusInProgress.json @@ -7,7 +7,7 @@ "responses": { "200": { "body": { - "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", "type": "Microsoft.Quota/quotaRequests", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json index ecc51a703a18..01fcd8273eeb 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json @@ -38,7 +38,7 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json index effe6953278c..a87a17feae3b 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json @@ -39,7 +39,7 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json index b6b52c3cf963..04f95430ea18 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json @@ -38,7 +38,7 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json index b6b52c3cf963..04f95430ea18 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json @@ -38,7 +38,7 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json index 5d44752cc8c1..36ee323e3655 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json @@ -40,7 +40,7 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotas/TotalLowPriorityCores", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json index effe6953278c..a87a17feae3b 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json @@ -39,7 +39,7 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json index bc1fef11ae10..43e18093fb1f 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json @@ -46,7 +46,7 @@ }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 7a6d535f1e5f..a0897b9d61d4 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -456,7 +456,7 @@ } } }, - "/providers/Microsoft.Quota/quotaProviders": { + "/providers/Microsoft.Quota/quotaLimitProviders": { "get": { "tags": [ "QuotaMetadata" From 2ae6a7802530676db5f852ff19a00f7b759adacf Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 16 Aug 2021 14:58:44 -0700 Subject: [PATCH 108/127] Updating usages model and examples. --- .../examples/getComputeOneSkuUsages.json | 4 +- .../examples/getComputeUsages.json | 36 +- .../getMachineLearningServicesUsages.json | 6 +- .../examples/getNetworkOneSkuUsages.json | 3 +- .../examples/getNetworkUsages.json | 369 +----------------- .../preview/2021-03-15-preview/quota.json | 111 +++++- 6 files changed, 137 insertions(+), 392 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json index cf8562ff444c..e63da0fb4ab6 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeOneSkuUsages.json @@ -11,8 +11,8 @@ "type": "Microsoft.Quota/Usages", "name": "standardNDSFamily", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { + "usagesType": "Individual", "value": 10 }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json index 6d32b7e6f0e5..1e1fbf14ee67 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getComputeUsages.json @@ -12,8 +12,7 @@ "type": "Microsoft.Quota/Usages", "name": "standardFSv2Family", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -29,8 +28,7 @@ "type": "Microsoft.Quota/Usages", "name": "standardNDSFamily", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -46,8 +44,7 @@ "type": "Microsoft.Quota/Usages", "name": "standardNCSv2Family", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -63,8 +60,7 @@ "type": "Microsoft.Quota/Usages", "name": "standardNCSv3Family", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -80,8 +76,7 @@ "type": "Microsoft.Quota/Usages", "name": "standardLSv2Family", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -97,8 +92,7 @@ "type": "Microsoft.Quota/Usages", "name": "standardPBSFamily", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -114,8 +108,7 @@ "type": "Microsoft.Quota/Usages", "name": "standardEIv3Family", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -131,8 +124,7 @@ "type": "Microsoft.Quota/Usages", "name": "standardEISv3Family", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -148,8 +140,7 @@ "type": "Microsoft.Quota/Usages", "name": "standardDCSFamily", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -165,8 +156,7 @@ "type": "Microsoft.Quota/Usages", "name": "standardNVSv2Family", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -182,8 +172,7 @@ "type": "Microsoft.Quota/Usages", "name": "standardMSv2Family", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -199,8 +188,7 @@ "type": "Microsoft.Quota/Usages", "name": "availabilitySets", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json index 7d7c59e49ed6..cd01234f7fb2 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getMachineLearningServicesUsages.json @@ -12,8 +12,7 @@ "type": "Microsoft.Quota/usages", "name": "standardDv2Family", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -29,8 +28,7 @@ "type": "Microsoft.Quota/usages", "name": "totalLowPriorityCores", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index 82ba43fce95e..8b5252dd3a3c 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -11,8 +11,7 @@ "type": "Microsoft.Quota/usages", "name": "MinPublicIpInterNetworkPrefixLength", "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "name": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json index 7400a8d0adf9..a2e3e7265307 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json @@ -9,8 +9,7 @@ "value": [ { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -27,8 +26,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -45,8 +43,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -63,8 +60,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -81,8 +77,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -99,8 +94,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -117,8 +111,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -135,8 +128,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -153,8 +145,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -171,8 +162,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -189,8 +179,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -207,8 +196,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -225,8 +213,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -243,8 +230,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -261,8 +247,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -279,8 +264,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -297,8 +281,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -315,80 +298,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "DdosProtectionPlans", - "localizedValue": "DDoS Protection Plans." - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "DdosProtectionPlans" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "DdosCustomPolicies", - "localizedValue": "DDoS customized policies" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "DdosCustomPolicies" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "ServiceEndpointPolicies", - "localizedValue": "Service Endpoint Policies" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "ServiceEndpointPolicies" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "NetworkIntentPolicies", - "localizedValue": "Network Intent Policies" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "NetworkIntentPolicies" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -405,8 +315,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -423,8 +332,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", @@ -441,242 +349,7 @@ }, { "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "CustomDnsServersPerP2SVpnGateway", - "localizedValue": "Custom DNS servers per P2SVpnGateway" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "CustomDnsServersPerP2SVpnGateway" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "SubnetsPerVirtualNetwork", - "localizedValue": "Subnets per Virtual Network" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "SubnetsPerVirtualNetwork" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "IPConfigurationsPerVirtualNetwork", - "localizedValue": "IP Configurations per Virtual Network" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "IPConfigurationsPerVirtualNetwork" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "PeeringsPerVirtualNetwork", - "localizedValue": "Peerings per Virtual Network" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "PeeringsPerVirtualNetwork" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "SecurityRulesPerNetworkSecurityGroup", - "localizedValue": "Security rules per Network Security Group" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "SecurityRulesPerNetworkSecurityGroup" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "SecurityRulesPerNetworkIntentPolicy", - "localizedValue": "Security rules per Network Intent Policy" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "SecurityRulesPerNetworkIntentPolicy" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "RoutesPerNetworkIntentPolicy", - "localizedValue": "Routes per Network Intent Policy" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "RoutesPerNetworkIntentPolicy" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", - "localizedValue": "Security rules addresses or ports per Network Security Group" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "InboundRulesPerLoadBalancer", - "localizedValue": "Inbound Rules per Load Balancer" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "InboundRulesPerLoadBalancer" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "FrontendIPConfigurationPerLoadBalancer", - "localizedValue": "Frontend IP Configurations per Load Balancer" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "FrontendIPConfigurationPerLoadBalancer" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "OutboundRulesPerLoadBalancer", - "localizedValue": "Outbound Rules per Load Balancer" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "OutboundRulesPerLoadBalancer" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "RoutesPerRouteTable", - "localizedValue": "Routes per Route Table" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "RoutesPerRouteTable" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", - "value": 10 - }, - "unit": "Count", - "name": { - "value": "RoutesWithServiceTagPerRouteTable", - "localizedValue": "Routes with service tag per Route Table" - }, - "properties": {}, - "isQuotaApplicable": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", - "type": "Microsoft.Quota/usages", - "name": "RoutesWithServiceTagPerRouteTable" - }, - { - "properties": { - "limit": { - "limitObjectType": "UsagesValue", + "usages": { "value": 10 }, "unit": "Count", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index a0897b9d61d4..86b1f1f45402 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -64,7 +64,7 @@ "200": { "description": "OK. The usages information will be returned in the response.", "schema": { - "$ref": "#/definitions/CurrentQuotaLimitBase" + "$ref": "#/definitions/CurrentUsagesBase" }, "headers": { "ETag": { @@ -112,7 +112,7 @@ "200": { "description": "OK. Usages information will be returned in the response with pagination.", "schema": { - "$ref": "#/definitions/QuotaLimits" + "$ref": "#/definitions/UsagesLimits" }, "headers": { "ETag": { @@ -599,6 +599,86 @@ } } }, + "CurrentUsagesBase": { + "type": "object", + "description": "Resource Usages.", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "The resource ID.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The resource type.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The resource name.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Usages properties for the specified resource.", + "$ref": "#/definitions/UsagesProperties" + } + } + }, + "UsagesProperties": { + "description": "Usages properties for the specified resource.", + "type": "object", + "properties": { + "usages": { + "description": "Resource quota limit properties.", + "$ref": "#/definitions/UsagesValue" + }, + "unit": { + "description": " The usages units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", + "$ref": "#/definitions/ResourceName" + }, + "resourceType": { + "description": "Resource type name.", + "$ref": "#/definitions/ResourceTypesName" + }, + "quotaPeriod": { + "description": "The time period over which the quota usage values are summarized. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because, for some resources like compute, the period is irrelevant.", + "type": "string", + "readOnly": true + }, + "isQuotaApplicable": { + "description": "States if quota can be requested for this resource.", + "type": "boolean", + "readOnly": true + }, + "properties": { + "description": "Additional properties for the specific resource provider.", + "type": "object" + } + } + }, + "UsagesLimits": { + "type": "object", + "description": "Quota limits.", + "properties": { + "value": { + "description": "List of quota limits.", + "type": "array", + "items": { + "$ref": "#/definitions/CurrentUsagesBase" + } + }, + "nextLink": { + "description": "The URI used to fetch the next page of quota limits. When there are no more pages, this is null.", + "type": "string" + } + } + }, "CurrentQuotaLimitBase": { "type": "object", "description": "Quota limit.", @@ -620,7 +700,7 @@ "readOnly": true }, "properties": { - "description": "Quota and usages properties for the specified resource, based on the API called - quotas or usages.", + "description": "Quota properties for the specified resource, based on the API called - quotas or usages.", "$ref": "#/definitions/QuotaProperties" } } @@ -634,7 +714,7 @@ "$ref": "#/definitions/LimitJsonObject" }, "unit": { - "description": " The quota or usages units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", + "description": " The quota units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", "type": "string", "readOnly": true }, @@ -765,8 +845,7 @@ "LimitObjectTypes": { "description": "The limit object type.", "enum": [ - "LimitValue", - "UsagesValue" + "LimitValue" ], "type": "string", "x-ms-enum": { @@ -799,6 +878,18 @@ }, "discriminator": "limitObjectType" }, + "UsagesTypes": { + "description": "The quota or usages limit types.", + "enum": [ + "Individual", + "Combined" + ], + "type": "string", + "x-ms-enum": { + "name": "usagesTypes", + "modelAsString": true + } + }, "UsagesObject": { "description": "The resource usages value.", "type": "object", @@ -808,8 +899,8 @@ "format": "int32", "description": "The usages value" }, - "limitObjectType": { - "$ref": "#/definitions/LimitObjectTypes" + "usagesType": { + "$ref": "#/definitions/UsagesTypes" } }, "required": [ @@ -850,13 +941,9 @@ ] }, "UsagesValue": { - "x-ms-discriminator-value": "UsagesValue", "type": "object", "description": "Resource usages value.", "allOf": [ - { - "$ref": "#/definitions/LimitJsonObject" - }, { "$ref": "#/definitions/UsagesObject" } From 301092d496b2834d2e5110aa7b7f32c6f9802951 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Tue, 17 Aug 2021 09:00:55 -0700 Subject: [PATCH 109/127] Update quotaLimitProviders to remove resourceQuery. --- .../examples/GetOperations.json | 2 +- .../examples/metadata/getQuotaRPMetadata.json | 47 ---------------- .../preview/2021-03-15-preview/quota.json | 56 ------------------- 3 files changed, 1 insertion(+), 104 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json index 31cb7f74b660..98a59155bce6 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json @@ -34,7 +34,7 @@ } }, { - "name": "Microsoft.Quota/quotaProviders/read", + "name": "Microsoft.Quota/quotaLimitProviders/read", "display": { "provider": "Microsoft Quota", "resource": "Quota limits provider metadata", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/metadata/getQuotaRPMetadata.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/metadata/getQuotaRPMetadata.json index 7468a0537840..8406f1248982 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/metadata/getQuotaRPMetadata.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/metadata/getQuotaRPMetadata.json @@ -12,18 +12,6 @@ "value": [ { "resourceType": "virtualMachines", - "resourceQuery": { - "resourceQueryType": "", - "resourceQueryMethod": "", - "resourceQueryUri": "", - "resourceQueryPostTemplate": "" - }, - "resourceUsagesQuery": { - "resourceQueryType": "RestAPI", - "resourceQueryMethod": "GET", - "resourceQueryUri": "subscriptions/{{subscriptionId}}/providers/Microsoft.Compute/locations/{{location}}/usages?api-version=2020-12-01", - "resourceQueryPostTemplate": "" - }, "dimensions": [ { "name": "subscriptionId", @@ -44,18 +32,6 @@ "value": [ { "resourceType": "batchAccounts/pool", - "resourceQuery": { - "resourceQueryType": "ARG", - "resourceQueryMethod": "POST", - "resourceQueryUri": "providers/Microsoft.ResourceGraph/resources?api-version=2019-04-01", - "resourceQueryPostTemplate": "{ \"subscriptions\": [ {{subscriptipnId}} ], \"query\": \"where type contains 'batchAccounts' and isnotempty(properties.batchAccountName)\" }" - }, - "resourceUsagesQuery": { - "resourceQueryType": "RestAPI", - "resourceQueryMethod": "GET", - "resourceQueryUri": "subscriptions/{{subscriptionId}}/providers/Microsoft.Batch/locations/{{location}}/batchAccounts/{{batchAccountName}}/usages?api-version=2020-12-01", - "resourceQueryPostTemplate": "" - }, "dimensions": [ { "name": "subscriptionId", @@ -73,18 +49,6 @@ }, { "resourceType": "batchAccounts", - "resourceQuery": { - "resourceQueryType": "ARG", - "resourceQueryMethod": "POST", - "resourceQueryUri": "providers/Microsoft.ResourceGraph/resources?api-version=2019-04-01", - "resourceQueryPostTemplate": "{ \"subscriptions\": [ {{subscriptipnId}} ], \"query\": \"where type contains 'batchAccounts'\" }" - }, - "resourceUsagesQuery": { - "resourceQueryType": "RestAPI", - "resourceQueryMethod": "GET", - "resourceQueryUri": "subscriptions/{{subscriptionId}}/providers/Microsoft.Batch/locations/{{location}}/usages?api-version=2020-12-01", - "resourceQueryPostTemplate": "" - }, "dimensions": [ { "name": "subscriptionId", @@ -105,17 +69,6 @@ "value": [ { "resourceType": "PublicIpAddresses", - "resourceQuery": { - "resourceQueryType": "ARG", - "resourceQueryMethod": "POST", - "resourceQueryUri": "providers/Microsoft.ResourceGraph/resources?api-version=2019-04-01", - "resourceQueryPostTemplate": "{ \"subscriptions\": [ {{subscriptipnId}} ], \"query\": \"where type contains 'publicIPAddresses' and isnotempty(properties.ipAddress)\" }" - }, - "resourceUsagesQuery": { - "resourceQueryType": "RestAPI", - "resourceQueryMethod": "GET", - "resourceQueryUri": "subscriptions/{{subscriptionId}}/providers/Microsoft.Network/locations/{{location}}/usages?api-version=2020-12-01" - }, "dimensions": [ { "name": "subscriptions", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 86b1f1f45402..ab0f05a8cd19 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -1276,14 +1276,6 @@ "type": "string", "description": "Resource type." }, - "resourceQuery": { - "description": "Resource query for dimension values.", - "$ref": "#/definitions/resourceQueryDetails" - }, - "resourceUsagesQuery": { - "description": "Resource usages query.", - "$ref": "#/definitions/resourceQueryDetails" - }, "dimensions": { "description": "Resource provider dimensions.", "type": "array", @@ -1384,54 +1376,6 @@ } } }, - "resourceQueryDetails": { - "type": "object", - "description": "Resource query details.", - "properties": { - "resourceQueryType": { - "description": "Resource query type.", - "$ref": "#/definitions/ResourceQueryType" - }, - "resourceQueryMethod": { - "description": "Resource query method.", - "$ref": "#/definitions/ResourceQueryMethod" - }, - "resourceQueryUri": { - "type": "string", - "description": "Base URI for for resource query." - }, - "resourceQueryPostTemplate": { - "description": "Template to create the resource query.", - "type": "string" - } - } - }, - "ResourceQueryType": { - "description": "Resource query types. For extensibility, it is a string.", - "enum": [ - "ARG", - "RestAPI" - ], - "readOnly": false, - "type": "string", - "x-ms-enum": { - "name": "ResourceQueryType", - "modelAsString": true - } - }, - "ResourceQueryMethod": { - "description": "The resource query method.", - "enum": [ - "GET", - "POST" - ], - "readOnly": false, - "type": "string", - "x-ms-enum": { - "name": "ResourceQueryMethod", - "modelAsString": true - } - }, "QuotaTemplatesDetails": { "type": "object", "description": "Quota templates details.", From e4ff4054f1844756b1cd5dd4d89ab1822871d895 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Tue, 17 Aug 2021 09:34:49 -0700 Subject: [PATCH 110/127] Revert "Update quotaLimitProviders to remove resourceQuery." This reverts commit 301092d496b2834d2e5110aa7b7f32c6f9802951. --- .../examples/GetOperations.json | 2 +- .../examples/metadata/getQuotaRPMetadata.json | 47 ++++++++++++++++ .../preview/2021-03-15-preview/quota.json | 56 +++++++++++++++++++ 3 files changed, 104 insertions(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json index 98a59155bce6..31cb7f74b660 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json @@ -34,7 +34,7 @@ } }, { - "name": "Microsoft.Quota/quotaLimitProviders/read", + "name": "Microsoft.Quota/quotaProviders/read", "display": { "provider": "Microsoft Quota", "resource": "Quota limits provider metadata", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/metadata/getQuotaRPMetadata.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/metadata/getQuotaRPMetadata.json index 8406f1248982..7468a0537840 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/metadata/getQuotaRPMetadata.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/metadata/getQuotaRPMetadata.json @@ -12,6 +12,18 @@ "value": [ { "resourceType": "virtualMachines", + "resourceQuery": { + "resourceQueryType": "", + "resourceQueryMethod": "", + "resourceQueryUri": "", + "resourceQueryPostTemplate": "" + }, + "resourceUsagesQuery": { + "resourceQueryType": "RestAPI", + "resourceQueryMethod": "GET", + "resourceQueryUri": "subscriptions/{{subscriptionId}}/providers/Microsoft.Compute/locations/{{location}}/usages?api-version=2020-12-01", + "resourceQueryPostTemplate": "" + }, "dimensions": [ { "name": "subscriptionId", @@ -32,6 +44,18 @@ "value": [ { "resourceType": "batchAccounts/pool", + "resourceQuery": { + "resourceQueryType": "ARG", + "resourceQueryMethod": "POST", + "resourceQueryUri": "providers/Microsoft.ResourceGraph/resources?api-version=2019-04-01", + "resourceQueryPostTemplate": "{ \"subscriptions\": [ {{subscriptipnId}} ], \"query\": \"where type contains 'batchAccounts' and isnotempty(properties.batchAccountName)\" }" + }, + "resourceUsagesQuery": { + "resourceQueryType": "RestAPI", + "resourceQueryMethod": "GET", + "resourceQueryUri": "subscriptions/{{subscriptionId}}/providers/Microsoft.Batch/locations/{{location}}/batchAccounts/{{batchAccountName}}/usages?api-version=2020-12-01", + "resourceQueryPostTemplate": "" + }, "dimensions": [ { "name": "subscriptionId", @@ -49,6 +73,18 @@ }, { "resourceType": "batchAccounts", + "resourceQuery": { + "resourceQueryType": "ARG", + "resourceQueryMethod": "POST", + "resourceQueryUri": "providers/Microsoft.ResourceGraph/resources?api-version=2019-04-01", + "resourceQueryPostTemplate": "{ \"subscriptions\": [ {{subscriptipnId}} ], \"query\": \"where type contains 'batchAccounts'\" }" + }, + "resourceUsagesQuery": { + "resourceQueryType": "RestAPI", + "resourceQueryMethod": "GET", + "resourceQueryUri": "subscriptions/{{subscriptionId}}/providers/Microsoft.Batch/locations/{{location}}/usages?api-version=2020-12-01", + "resourceQueryPostTemplate": "" + }, "dimensions": [ { "name": "subscriptionId", @@ -69,6 +105,17 @@ "value": [ { "resourceType": "PublicIpAddresses", + "resourceQuery": { + "resourceQueryType": "ARG", + "resourceQueryMethod": "POST", + "resourceQueryUri": "providers/Microsoft.ResourceGraph/resources?api-version=2019-04-01", + "resourceQueryPostTemplate": "{ \"subscriptions\": [ {{subscriptipnId}} ], \"query\": \"where type contains 'publicIPAddresses' and isnotempty(properties.ipAddress)\" }" + }, + "resourceUsagesQuery": { + "resourceQueryType": "RestAPI", + "resourceQueryMethod": "GET", + "resourceQueryUri": "subscriptions/{{subscriptionId}}/providers/Microsoft.Network/locations/{{location}}/usages?api-version=2020-12-01" + }, "dimensions": [ { "name": "subscriptions", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index ab0f05a8cd19..86b1f1f45402 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -1276,6 +1276,14 @@ "type": "string", "description": "Resource type." }, + "resourceQuery": { + "description": "Resource query for dimension values.", + "$ref": "#/definitions/resourceQueryDetails" + }, + "resourceUsagesQuery": { + "description": "Resource usages query.", + "$ref": "#/definitions/resourceQueryDetails" + }, "dimensions": { "description": "Resource provider dimensions.", "type": "array", @@ -1376,6 +1384,54 @@ } } }, + "resourceQueryDetails": { + "type": "object", + "description": "Resource query details.", + "properties": { + "resourceQueryType": { + "description": "Resource query type.", + "$ref": "#/definitions/ResourceQueryType" + }, + "resourceQueryMethod": { + "description": "Resource query method.", + "$ref": "#/definitions/ResourceQueryMethod" + }, + "resourceQueryUri": { + "type": "string", + "description": "Base URI for for resource query." + }, + "resourceQueryPostTemplate": { + "description": "Template to create the resource query.", + "type": "string" + } + } + }, + "ResourceQueryType": { + "description": "Resource query types. For extensibility, it is a string.", + "enum": [ + "ARG", + "RestAPI" + ], + "readOnly": false, + "type": "string", + "x-ms-enum": { + "name": "ResourceQueryType", + "modelAsString": true + } + }, + "ResourceQueryMethod": { + "description": "The resource query method.", + "enum": [ + "GET", + "POST" + ], + "readOnly": false, + "type": "string", + "x-ms-enum": { + "name": "ResourceQueryMethod", + "modelAsString": true + } + }, "QuotaTemplatesDetails": { "type": "object", "description": "Quota templates details.", From f5b1a00370ad0825b7d999b79c7777f2702eb9c4 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Tue, 17 Aug 2021 09:37:31 -0700 Subject: [PATCH 111/127] Updating Operation API example for quotaLimitProviders rename. --- .../preview/2021-03-15-preview/examples/GetOperations.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json index 31cb7f74b660..98a59155bce6 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json @@ -34,7 +34,7 @@ } }, { - "name": "Microsoft.Quota/quotaProviders/read", + "name": "Microsoft.Quota/quotaLimitProviders/read", "display": { "provider": "Microsoft Quota", "resource": "Quota limits provider metadata", From 824897344cd25211dce2e0d2302aae8ab03c12f2 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Wed, 18 Aug 2021 14:22:12 -0700 Subject: [PATCH 112/127] Removing quotaLimitProviders API, as it's not needed by the azure portal. There wasn't a use case for the end user, that's why our team decided to remove it from public API. --- .../examples/metadata/getQuotaRPMetadata.json | 137 ------------------ .../preview/2021-03-15-preview/quota.json | 33 ----- 2 files changed, 170 deletions(-) delete mode 100644 specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/metadata/getQuotaRPMetadata.json diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/metadata/getQuotaRPMetadata.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/metadata/getQuotaRPMetadata.json deleted file mode 100644 index 7468a0537840..000000000000 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/metadata/getQuotaRPMetadata.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "parameters": { - "api-version": "2021-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceProviderName": "Microsoft.Compute", - "properties": { - "value": [ - { - "resourceType": "virtualMachines", - "resourceQuery": { - "resourceQueryType": "", - "resourceQueryMethod": "", - "resourceQueryUri": "", - "resourceQueryPostTemplate": "" - }, - "resourceUsagesQuery": { - "resourceQueryType": "RestAPI", - "resourceQueryMethod": "GET", - "resourceQueryUri": "subscriptions/{{subscriptionId}}/providers/Microsoft.Compute/locations/{{location}}/usages?api-version=2020-12-01", - "resourceQueryPostTemplate": "" - }, - "dimensions": [ - { - "name": "subscriptionId", - "displayName": "SubscriptionId" - }, - { - "name": "location", - "displayName": "Location" - } - ] - } - ] - } - }, - { - "resourceProviderName": "Microsoft.Batch", - "properties": { - "value": [ - { - "resourceType": "batchAccounts/pool", - "resourceQuery": { - "resourceQueryType": "ARG", - "resourceQueryMethod": "POST", - "resourceQueryUri": "providers/Microsoft.ResourceGraph/resources?api-version=2019-04-01", - "resourceQueryPostTemplate": "{ \"subscriptions\": [ {{subscriptipnId}} ], \"query\": \"where type contains 'batchAccounts' and isnotempty(properties.batchAccountName)\" }" - }, - "resourceUsagesQuery": { - "resourceQueryType": "RestAPI", - "resourceQueryMethod": "GET", - "resourceQueryUri": "subscriptions/{{subscriptionId}}/providers/Microsoft.Batch/locations/{{location}}/batchAccounts/{{batchAccountName}}/usages?api-version=2020-12-01", - "resourceQueryPostTemplate": "" - }, - "dimensions": [ - { - "name": "subscriptionId", - "displayName": "SubscriptionId" - }, - { - "name": "location", - "displayName": "Location" - }, - { - "name": "batchAccounts", - "displayName": "BatchAccount Name" - } - ] - }, - { - "resourceType": "batchAccounts", - "resourceQuery": { - "resourceQueryType": "ARG", - "resourceQueryMethod": "POST", - "resourceQueryUri": "providers/Microsoft.ResourceGraph/resources?api-version=2019-04-01", - "resourceQueryPostTemplate": "{ \"subscriptions\": [ {{subscriptipnId}} ], \"query\": \"where type contains 'batchAccounts'\" }" - }, - "resourceUsagesQuery": { - "resourceQueryType": "RestAPI", - "resourceQueryMethod": "GET", - "resourceQueryUri": "subscriptions/{{subscriptionId}}/providers/Microsoft.Batch/locations/{{location}}/usages?api-version=2020-12-01", - "resourceQueryPostTemplate": "" - }, - "dimensions": [ - { - "name": "subscriptionId", - "displayName": "SubscriptionId" - }, - { - "name": "location", - "displayName": "Location" - } - ] - } - ] - } - }, - { - "resourceProviderName": "Microsoft.Network", - "properties": { - "value": [ - { - "resourceType": "PublicIpAddresses", - "resourceQuery": { - "resourceQueryType": "ARG", - "resourceQueryMethod": "POST", - "resourceQueryUri": "providers/Microsoft.ResourceGraph/resources?api-version=2019-04-01", - "resourceQueryPostTemplate": "{ \"subscriptions\": [ {{subscriptipnId}} ], \"query\": \"where type contains 'publicIPAddresses' and isnotempty(properties.ipAddress)\" }" - }, - "resourceUsagesQuery": { - "resourceQueryType": "RestAPI", - "resourceQueryMethod": "GET", - "resourceQueryUri": "subscriptions/{{subscriptionId}}/providers/Microsoft.Network/locations/{{location}}/usages?api-version=2020-12-01" - }, - "dimensions": [ - { - "name": "subscriptions", - "displayName": "Subscription" - }, - { - "name": "locations", - "displayName": "Location" - } - ] - } - ] - } - } - ] - } - } - } -} diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 86b1f1f45402..ec6c93d7bd32 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -456,39 +456,6 @@ } } }, - "/providers/Microsoft.Quota/quotaLimitProviders": { - "get": { - "tags": [ - "QuotaMetadata" - ], - "description": "Gets the list of current resource providers supported by the Microsoft.Quota resource provider.\r\nFor each resource provider, the resource templates the resource provider supports are be provided. \r\nFor each resource template, the resource dimensions are listed. The resource dimensions are the name-value pairs in the resource URI.\r\nExample: Microsoft.Network Resource Provider\r\nThe URI template is '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{locationId}/quotaBucket'. The actual dimensions will vary depending on the resource provider.\r\nThe resource dimensions for Microsoft.Network resource provider are {subscriptions},{locations},{quotaBucket}.", - "operationId": "QuotaResourceProviders_List", - "x-ms-examples": { - "Quotas_listMetadataForRPs": { - "$ref": "./examples/metadata/getQuotaRPMetadata.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. Quota limits type information.", - "schema": { - "$ref": "#/definitions/resourceProvidersList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } - } - } - } - }, "/providers/Microsoft.Quota/operations": { "get": { "summary": "GET operations.", From c5ed2d7c80b2947160bd4fc381a9a25c5db62c05 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 19 Aug 2021 08:52:41 -0700 Subject: [PATCH 113/127] 1. Removing unused models for quotaLimitProviders. 2. Update operations example. --- .../examples/GetOperations.json | 13 +- .../preview/2021-03-15-preview/quota.json | 205 ------------------ 2 files changed, 2 insertions(+), 216 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json index 98a59155bce6..d0543cc9d74d 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/GetOperations.json @@ -16,7 +16,7 @@ } }, { - "name": "Microsoft.Quota/quota/read", + "name": "Microsoft.Quota/quotas/read", "display": { "provider": "Microsoft Quota", "resource": "Resource quota limit", @@ -25,7 +25,7 @@ } }, { - "name": "Microsoft.Quota/quota/write", + "name": "Microsoft.Quota/quotas/write", "display": { "provider": "Microsoft Quota", "resource": "Resource quota limit", @@ -33,15 +33,6 @@ "description": "Create service limit or quota for the specified resource and location" } }, - { - "name": "Microsoft.Quota/quotaLimitProviders/read", - "display": { - "provider": "Microsoft Quota", - "resource": "Quota limits provider metadata", - "operation": "Get quota limit providers metadata", - "description": "Get quota limit resource providers metadata" - } - }, { "name": "Microsoft.Quota/quotaRequests/read", "display": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index ec6c93d7bd32..dc0de9cc08d1 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -1207,211 +1207,6 @@ }, "description": "Error." }, - "quotaBucketProperties": { - "type": "object", - "description": "quotaBucket provider properties.", - "properties": { - "name": { - "type": "string", - "description": "Property name." - }, - "displayName": { - "description": "Display name.", - "type": "string" - } - } - }, - "ResourceProviderDimension": { - "type": "object", - "description": "Resource provider resource dimension.", - "properties": { - "name": { - "type": "string", - "description": "Resource dimension name." - }, - "displayName": { - "description": "Display name.", - "type": "string" - } - } - }, - "ResourceProviderTemplate": { - "type": "object", - "description": "Resource template details for the resource provider.", - "properties": { - "resourceType": { - "type": "string", - "description": "Resource type." - }, - "resourceQuery": { - "description": "Resource query for dimension values.", - "$ref": "#/definitions/resourceQueryDetails" - }, - "resourceUsagesQuery": { - "description": "Resource usages query.", - "$ref": "#/definitions/resourceQueryDetails" - }, - "dimensions": { - "description": "Resource provider dimensions.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceProviderDimension" - } - } - } - }, - "ResourceProviderTemplates": { - "type": "object", - "description": "List of resource provider templates", - "properties": { - "value": { - "description": "The resource provider templates", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceProviderTemplate" - } - } - } - }, - "ResourceProviderInformation": { - "type": "object", - "description": "Resource provider information.", - "properties": { - "resourceProviderName": { - "type": "string", - "description": "Resource provider name." - }, - "properties": { - "description": "Resource provider quota dimensions.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ResourceProviderTemplates" - } - } - }, - "resourceProvidersList": { - "type": "object", - "description": "Resource providers list.", - "properties": { - "value": { - "description": "Resource provider information.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceProviderInformation" - } - } - } - }, - "QuotaTypeInformationDimensionList": { - "description": "Quota types information list.", - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "description": "Resource type" - }, - "value": { - "description": "Quota type information.", - "type": "array", - "items": { - "$ref": "#/definitions/QuotaTypeDimensionInformation" - } - } - } - }, - "QuotaTypeDimensionInformation": { - "type": "object", - "description": "Quota type information.", - "properties": { - "name": { - "type": "string", - "description": "Property name." - }, - "displayName": { - "type": "string", - "description": "Display name." - }, - "id": { - "type": "string", - "description": "Dimension ID." - } - } - }, - "QuotaTemplateDetails": { - "type": "object", - "description": "Quota template details.", - "properties": { - "resourceType": { - "type": "string", - "description": "Resource type." - }, - "properties": { - "description": "Quota type properties for the resource ID.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/QuotaTypeInformationDimensionList" - } - } - }, - "resourceQueryDetails": { - "type": "object", - "description": "Resource query details.", - "properties": { - "resourceQueryType": { - "description": "Resource query type.", - "$ref": "#/definitions/ResourceQueryType" - }, - "resourceQueryMethod": { - "description": "Resource query method.", - "$ref": "#/definitions/ResourceQueryMethod" - }, - "resourceQueryUri": { - "type": "string", - "description": "Base URI for for resource query." - }, - "resourceQueryPostTemplate": { - "description": "Template to create the resource query.", - "type": "string" - } - } - }, - "ResourceQueryType": { - "description": "Resource query types. For extensibility, it is a string.", - "enum": [ - "ARG", - "RestAPI" - ], - "readOnly": false, - "type": "string", - "x-ms-enum": { - "name": "ResourceQueryType", - "modelAsString": true - } - }, - "ResourceQueryMethod": { - "description": "The resource query method.", - "enum": [ - "GET", - "POST" - ], - "readOnly": false, - "type": "string", - "x-ms-enum": { - "name": "ResourceQueryMethod", - "modelAsString": true - } - }, - "QuotaTemplatesDetails": { - "type": "object", - "description": "Quota templates details.", - "properties": { - "value": { - "description": "Quota templates information.", - "type": "array", - "items": { - "$ref": "#/definitions/QuotaTemplateDetails" - } - } - } - }, "ServiceError": { "description": "API error details.", "type": "object", From 917119e178a155abf9ed8b3465b188a733dadefb Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 19 Aug 2021 09:21:40 -0700 Subject: [PATCH 114/127] Remove allof from usages. --- .../preview/2021-03-15-preview/quota.json | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index dc0de9cc08d1..25d97a9c1a3d 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -598,7 +598,7 @@ "properties": { "usages": { "description": "Resource quota limit properties.", - "$ref": "#/definitions/UsagesValue" + "$ref": "#/definitions/UsagesObject" }, "unit": { "description": " The usages units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", @@ -907,15 +907,6 @@ } ] }, - "UsagesValue": { - "type": "object", - "description": "Resource usages value.", - "allOf": [ - { - "$ref": "#/definitions/UsagesObject" - } - ] - }, "QuotaRequestOneResourceSubmitResponse": { "description": "Quota request response.", "type": "object", From 03e8daa056ea18b7aae0d43953c9d722e2ec12a1 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 23 Aug 2021 15:06:16 -0700 Subject: [PATCH 115/127] 1. Updating 202 response schema. 2. Adding location header as per - https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/async-api-reference.md#updating-using-patch --- .../examples/patchComputeQuotaRequest.json | 13 ++++--------- .../patchNetworkOneSkuQuotaRequest.json | 13 ++++--------- .../examples/putComputeOneSkuQuotaRequest.json | 13 ++++--------- ...neLearningServicesQuotaRequestDedicated.json | 13 ++++--------- ...LearningServicesQuotaRequestLowPriority.json | 14 ++++---------- .../examples/putNetworkOneSkuQuotaRequest.json | 13 ++++--------- ...uotaRequestStandardSkuPublicIpAddresses.json | 17 ++++------------- .../preview/2021-03-15-preview/quota.json | 2 +- 8 files changed, 29 insertions(+), 69 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json index 01fcd8273eeb..3e3e4558697a 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json @@ -19,26 +19,21 @@ "202": { "headers": { "Retry-After": "30", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", "type": "Microsoft.Quota/quotas", "name": "standardFSv2Family", "properties": { - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "name": { - "value": "standardFSv2Family" - } + "provisioningState": "InProgress", + "message": "" } } }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json index a87a17feae3b..32ba577531f2 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json @@ -20,26 +20,21 @@ "202": { "headers": { "Retry-After": "30", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", "type": "Microsoft.Quota/quotas", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "name": { - "value": "MinPublicIpInterNetworkPrefixLength" - } + "provisioningState": "InProgress", + "message": "" } } }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json index 04f95430ea18..3c8d3fd7cd25 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json @@ -19,26 +19,21 @@ "202": { "headers": { "Retry-After": "30", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", "type": "Microsoft.Quota/quotas", "name": "standardFSv2Family", "properties": { - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "name": { - "value": "standardFSv2Family" - } + "provisioningState": "InProgress", + "message": "" } } }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json index 04f95430ea18..3c8d3fd7cd25 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json @@ -19,26 +19,21 @@ "202": { "headers": { "Retry-After": "30", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", "type": "Microsoft.Quota/quotas", "name": "standardFSv2Family", "properties": { - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "name": { - "value": "standardFSv2Family" - } + "provisioningState": "InProgress", + "message": "" } } }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json index 36ee323e3655..dd6db0942a35 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json @@ -20,27 +20,21 @@ "202": { "headers": { "Retry-After": "30", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotas/TotalLowPriorityCores", "type": "Microsoft.Quota/quotas", "name": "TotalLowPriorityCores", "properties": { - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "name": { - "value": "TotalLowPriorityCores" - }, - "resourceType": "lowPriority" + "provisioningState": "InProgress", + "message": "" } } }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotas/TotalLowPriorityCores", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json index a87a17feae3b..32ba577531f2 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json @@ -20,26 +20,21 @@ "202": { "headers": { "Retry-After": "30", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", "type": "Microsoft.Quota/quotas", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "name": { - "value": "MinPublicIpInterNetworkPrefixLength" - } + "provisioningState": "InProgress", + "message": "" } } }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json index 43e18093fb1f..7132ac16e639 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json @@ -23,30 +23,21 @@ "202": { "headers": { "Retry-After": "30", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", "type": "Microsoft.Quota/quotas", "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "name": { - "value": "StandardSkuPublicIpAddresses" - }, - "resourceType": "PublicIpAddresses", - "properties": { - "availabilityZoneType": "Zonal" - } + "provisioningState": "InProgress", + "message": "" } } }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequest/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" }, "body": { "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 25d97a9c1a3d..3563b09f539f 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -237,7 +237,7 @@ "202": { "description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** obtained in the response of a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", "schema": { - "$ref": "#/definitions/CurrentQuotaLimitBase" + "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" } }, "default": { From ea7cb020bed8eaafceb23babb4ab973bf8ead9ae Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 23 Aug 2021 15:10:13 -0700 Subject: [PATCH 116/127] Updating Patch 202 response model type. --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 3563b09f539f..fd8596d602f9 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -296,7 +296,7 @@ "202": { "description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** in a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", "schema": { - "$ref": "#/definitions/CurrentQuotaLimitBase" + "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" } }, "default": { From e5c411c22957f02b446dae62377a6396f752d49b Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 23 Aug 2021 16:47:40 -0700 Subject: [PATCH 117/127] Updating description of put and API api to check location header for detailed status. --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index fd8596d602f9..33e7cccca4db 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -184,7 +184,7 @@ "tags": [ "QuotaInformation" ], - "description": "Create or update the quota limit for the specified resource to the requested value. To update the quota, follow these steps:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit.", + "description": "Create or update the quota limit for the specified resource to the requested value. To update the quota, follow these steps:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in ocation header for the detailed status of the request.", "operationId": "Quota_CreateOrUpdate", "x-ms-examples": { "Quotas_PutRequest_ForNetwork": { @@ -252,7 +252,7 @@ "tags": [ "QuotaInformation" ], - "description": "Update the quota limit for a specific resource to the specified value:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit.", + "description": "Update the quota limit for a specific resource to the specified value:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in ocation header for the detailed status of the request.", "operationId": "Quota_Update", "x-ms-examples": { "Quotas_Request_PatchForNetwork": { From 39a58dabb11cc1b46177d871bc9844bcdddafae6 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Mon, 23 Aug 2021 17:09:53 -0700 Subject: [PATCH 118/127] Updates to description. --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 33e7cccca4db..48114c54342d 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -184,7 +184,7 @@ "tags": [ "QuotaInformation" ], - "description": "Create or update the quota limit for the specified resource to the requested value. To update the quota, follow these steps:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in ocation header for the detailed status of the request.", + "description": "Create or update the quota limit for the specified resource to the requested value. To update the quota, follow these steps:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.", "operationId": "Quota_CreateOrUpdate", "x-ms-examples": { "Quotas_PutRequest_ForNetwork": { @@ -252,7 +252,7 @@ "tags": [ "QuotaInformation" ], - "description": "Update the quota limit for a specific resource to the specified value:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in ocation header for the detailed status of the request.", + "description": "Update the quota limit for a specific resource to the specified value:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.", "operationId": "Quota_Update", "x-ms-examples": { "Quotas_Request_PatchForNetwork": { From 4e34eb8bd4508d72887ded7bcaa5666a3b054988 Mon Sep 17 00:00:00 2001 From: Pilar Ackerman Date: Tue, 24 Aug 2021 18:04:52 -0700 Subject: [PATCH 119/127] Update quota.json --- .../Microsoft.Quota/preview/2021-03-15-preview/quota.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 48114c54342d..9a3da8f61ba2 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -87,7 +87,7 @@ "tags": [ "UsagesInformation" ], - "description": "Get a list of current usages of all resources for the scope specified.", + "description": "Get a list of current usages for all resources for the scope specified.", "operationId": "Usages_List", "x-ms-examples": { "Quotas_listUsagesForNetwork": { From 2bc6f9a51e515032c3546f2e1d4d3a2837f5e3e9 Mon Sep 17 00:00:00 2001 From: Pilar Ackerman Date: Wed, 25 Aug 2021 09:18:02 -0700 Subject: [PATCH 120/127] Update quota.json Text scrub up to line 256 --- .../preview/2021-03-15-preview/quota.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 9a3da8f61ba2..96d5c778c9b8 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -39,7 +39,7 @@ "tags": [ "UsagesInformation" ], - "description": "Gets the current usage of a resource.", + "description": "Get the current usage of a resource.", "operationId": "Usages_Get", "x-ms-examples": { "Quotas_UsagesRequest_ForNetwork": { @@ -87,7 +87,7 @@ "tags": [ "UsagesInformation" ], - "description": "Get a list of current usages for all resources for the scope specified.", + "description": "Get a list of current usage for all resources for the scope specified.", "operationId": "Usages_List", "x-ms-examples": { "Quotas_listUsagesForNetwork": { @@ -110,13 +110,13 @@ ], "responses": { "200": { - "description": "OK. Usages information will be returned in the response with pagination.", + "description": "OK. Usage information will be returned in the response with pagination.", "schema": { "$ref": "#/definitions/UsagesLimits" }, "headers": { "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "description": "Current entity state version. It should be treated as opaque and used to make conditional HTTP requests.", "type": "string" } } @@ -138,7 +138,7 @@ "tags": [ "QuotaInformation" ], - "description": "Gets the quota limit of a resource. The response can be used to determine the remaining quota and calculate a new quota limit that can be submitted with a PUT request.", + "description": "Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.", "operationId": "Quota_Get", "x-ms-examples": { "Quotas_UsagesRequest_ForNetwork": { @@ -184,7 +184,7 @@ "tags": [ "QuotaInformation" ], - "description": "Create or update the quota limit for the specified resource to the requested value. To update the quota, follow these steps:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.", + "description": "Create or update the quota limit for the specified resource with the requested value. To update the quota, follow these steps:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.", "operationId": "Quota_CreateOrUpdate", "x-ms-examples": { "Quotas_PutRequest_ForNetwork": { @@ -252,7 +252,7 @@ "tags": [ "QuotaInformation" ], - "description": "Update the quota limit for a specific resource to the specified value:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.", + "description": "Update the quota limit for a specific resource to the specified value:\n1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.", "operationId": "Quota_Update", "x-ms-examples": { "Quotas_Request_PatchForNetwork": { @@ -375,7 +375,7 @@ "$ref": "./examples/getQuotaRequestStatusFailed.json" } }, - "description": "Gets the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID **id** is returned in the response of the PUT operation.", + "description": "Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID **id** is returned in the response of the PUT operation.", "operationId": "QuotaRequestStatus_Get", "parameters": [ { From 8ed5e7c95575fc39aa03ca08b69dcf74d7a8383b Mon Sep 17 00:00:00 2001 From: Pilar Ackerman Date: Wed, 25 Aug 2021 19:06:50 -0700 Subject: [PATCH 121/127] Update quota.json Scrubbed all text strings. --- .../preview/2021-03-15-preview/quota.json | 2366 ++++++++--------- 1 file changed, 1183 insertions(+), 1183 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 96d5c778c9b8..6ceee333fecd 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -1,1309 +1,1309 @@ { - "swagger": "2.0", - "info": { - "version": "2021-03-15-preview", - "title": "Azure Quota Extension API", - "description": "Microsoft Azure Quota Resource Provider" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "type": "oauth2", - "description": "Azure Active Directory OAuth 2.0 authorization" - } - }, - "paths": { - "/{scope}/providers/Microsoft.Quota/usages/{resourceName}": { - "get": { - "tags": [ - "UsagesInformation" - ], - "description": "Get the current usage of a resource.", - "operationId": "Usages_Get", - "x-ms-examples": { - "Quotas_UsagesRequest_ForNetwork": { - "$ref": "./examples/getNetworkOneSkuUsages.json" - }, - "Quotas_UsagesRequest_ForCompute": { - "$ref": "./examples/getComputeOneSkuUsages.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceNameInParameters" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "swagger": "2.0", + "info": { + "version": "2021-03-15-preview", + "title": "Azure Quota Extension API", + "description": "Microsoft Azure Quota Resource Provider" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "Impersonate your user account." + }, + "type": "oauth2", + "description": "Azure Active Directory OAuth 2.0 authorization" + } + }, + "paths": { + "/{scope}/providers/Microsoft.Quota/usages/{resourceName}": { + "get": { + "tags": [ + "UsagesInformation" + ], + "description": "Get the current usage of a resource.", + "operationId": "Usages_Get", + "x-ms-examples": { + "Quotas_UsagesRequest_ForNetwork": { + "$ref": "./examples/getNetworkOneSkuUsages.json" + }, + "Quotas_UsagesRequest_ForCompute": { + "$ref": "./examples/getComputeOneSkuUsages.json" + } }, - { - "$ref": "#/parameters/ScopeInPath" - } - ], - "responses": { - "200": { - "description": "OK. The usages information will be returned in the response.", - "schema": { - "$ref": "#/definitions/CurrentUsagesBase" + "parameters": [ + { + "$ref": "#/parameters/ResourceNameInParameters" + }, + { + "$ref": "#/parameters/ApiVersionParameter" }, - "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" + { + "$ref": "#/parameters/ScopeInPath" + } + ], + "responses": { + "200": { + "description": "OK. The usage information will be returned in the response.", + "schema": { + "$ref": "#/definitions/CurrentUsagesBase" + }, + "headers": { + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" } } + } + } + }, + "/{scope}/providers/Microsoft.Quota/usages": { + "get": { + "tags": [ + "UsagesInformation" + ], + "description": "Get a list of current usage for all resources for the scope specified.", + "operationId": "Usages_List", + "x-ms-examples": { + "Quotas_listUsagesForNetwork": { + "$ref": "./examples/getNetworkUsages.json" + }, + "Quotas_listUsagesForCompute": { + "$ref": "./examples/getComputeUsages.json" + }, + "Quotas_listUsagesMachineLearningServices": { + "$ref": "./examples/getMachineLearningServicesUsages.json" + } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ScopeInPath" + } + ], + "responses": { + "200": { + "description": "OK. Usage information will be returned in the response with pagination.", + "schema": { + "$ref": "#/definitions/UsagesLimits" + }, + "headers": { + "ETag": { + "description": "Current entity state version. It should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } - } - }, - "/{scope}/providers/Microsoft.Quota/usages": { - "get": { - "tags": [ - "UsagesInformation" - ], - "description": "Get a list of current usage for all resources for the scope specified.", - "operationId": "Usages_List", - "x-ms-examples": { - "Quotas_listUsagesForNetwork": { - "$ref": "./examples/getNetworkUsages.json" - }, - "Quotas_listUsagesForCompute": { - "$ref": "./examples/getComputeUsages.json" + }, + "/{scope}/providers/Microsoft.Quota/quotas/{resourceName}": { + "get": { + "tags": [ + "QuotaInformation" + ], + "description": "Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.", + "operationId": "Quota_Get", + "x-ms-examples": { + "Quotas_UsagesRequest_ForNetwork": { + "$ref": "./examples/getNetworkOneSkuQuotaLimit.json" + }, + "Quotas_Get_Request_ForCompute": { + "$ref": "./examples/getComputeOneSkuQuotaLimit.json" + } }, - "Quotas_listUsagesMachineLearningServices": { - "$ref": "./examples/getMachineLearningServicesUsages.json" + "parameters": [ + { + "$ref": "#/parameters/ResourceNameInParameters" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ScopeInPath" + } + ], + "responses": { + "200": { + "description": "OK. The quota information will be returned in the response with pagination.", + "schema": { + "$ref": "#/definitions/CurrentQuotaLimitBase" + }, + "headers": { + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } } }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" + "put": { + "tags": [ + "QuotaInformation" + ], + "description": "Create or update the quota limit for the specified resource with the requested value. To update the quota, follow these steps:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.", + "operationId": "Quota_CreateOrUpdate", + "x-ms-examples": { + "Quotas_PutRequest_ForNetwork": { + "$ref": "./examples/putNetworkOneSkuQuotaRequest.json" + }, + "Quotas_Put_Request_ForCompute": { + "$ref": "./examples/putComputeOneSkuQuotaRequest.json" + }, + "Quotas_Request_ForMachineLearningServices_DedicatedResource": { + "$ref": "./examples/putMachineLearningServicesQuotaRequestDedicated.json" + }, + "Quotas_Request_ForMachineLearningServices_LowPriorityResource": { + "$ref": "./examples/putMachineLearningServicesQuotaRequestLowPriority.json" + }, + "Quotas_PutRequest_ForNetwork_StandardSkuPublicIpAddressesResource": { + "$ref": "./examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json" + } }, - { - "$ref": "#/parameters/ScopeInPath" - } - ], - "responses": { - "200": { - "description": "OK. Usage information will be returned in the response with pagination.", - "schema": { - "$ref": "#/definitions/UsagesLimits" + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceNameInParameters" + }, + { + "$ref": "#/parameters/ApiVersionParameter" }, - "headers": { - "ETag": { - "description": "Current entity state version. It should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" + { + "$ref": "#/parameters/ScopeInPath" + }, + { + "name": "createQuotaRequest", + "in": "body", + "description": "Quota request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/CurrentQuotaLimitBase" } } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" + ], + "responses": { + "200": { + "description": "OK. Returns the quota request details.", + "schema": { + "$ref": "#/definitions/CurrentQuotaLimitBase" + } + }, + "202": { + "description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** obtained in the response of a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", + "schema": { + "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{scope}/providers/Microsoft.Quota/quotas/{resourceName}": { - "get": { - "tags": [ - "QuotaInformation" - ], - "description": "Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.", - "operationId": "Quota_Get", - "x-ms-examples": { - "Quotas_UsagesRequest_ForNetwork": { - "$ref": "./examples/getNetworkOneSkuQuotaLimit.json" - }, - "Quotas_Get_Request_ForCompute": { - "$ref": "./examples/getComputeOneSkuQuotaLimit.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceNameInParameters" + "patch": { + "tags": [ + "QuotaInformation" + ], + "description": "Update the quota limit for a specific resource to the specified value:\n1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.", + "operationId": "Quota_Update", + "x-ms-examples": { + "Quotas_Request_PatchForNetwork": { + "$ref": "./examples/patchNetworkOneSkuQuotaRequest.json" + }, + "Quotas_Request_PatchForCompute": { + "$ref": "./examples/patchComputeQuotaRequest.json" + } }, - { - "$ref": "#/parameters/ApiVersionParameter" + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" }, - { - "$ref": "#/parameters/ScopeInPath" - } - ], - "responses": { - "200": { - "description": "OK. The quota information will be returned in the response with pagination.", - "schema": { - "$ref": "#/definitions/CurrentQuotaLimitBase" + "parameters": [ + { + "$ref": "#/parameters/ResourceNameInParameters" + }, + { + "$ref": "#/parameters/ApiVersionParameter" }, - "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" + { + "$ref": "#/parameters/ScopeInPath" + }, + { + "name": "createQuotaRequest", + "in": "body", + "description": "Quota requests payload.", + "required": true, + "schema": { + "$ref": "#/definitions/CurrentQuotaLimitBase" } } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" + ], + "responses": { + "200": { + "description": "OK. Returns the quota request details.", + "schema": { + "$ref": "#/definitions/CurrentQuotaLimitBase" + } + }, + "202": { + "description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** in a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", + "schema": { + "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } } } } }, - "put": { - "tags": [ - "QuotaInformation" - ], - "description": "Create or update the quota limit for the specified resource with the requested value. To update the quota, follow these steps:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.", - "operationId": "Quota_CreateOrUpdate", - "x-ms-examples": { - "Quotas_PutRequest_ForNetwork": { - "$ref": "./examples/putNetworkOneSkuQuotaRequest.json" - }, - "Quotas_Put_Request_ForCompute": { - "$ref": "./examples/putComputeOneSkuQuotaRequest.json" - }, - "Quotas_Request_ForMachineLearningServices_DedicatedResource": { - "$ref": "./examples/putMachineLearningServicesQuotaRequestDedicated.json" - }, - "Quotas_Request_ForMachineLearningServices_LowPriorityResource": { - "$ref": "./examples/putMachineLearningServicesQuotaRequestLowPriority.json" - }, - "Quotas_PutRequest_ForNetwork_StandardSkuPublicIpAddressesResource": { - "$ref": "./examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceNameInParameters" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ScopeInPath" + "/{scope}/providers/Microsoft.Quota/quotas": { + "get": { + "tags": [ + "QuotaInformation" + ], + "description": "Get a list of current quota limits of all resources for the specified scope. The response from this GET operation can be leveraged to submit requests to update a quota.", + "operationId": "Quota_List", + "x-ms-examples": { + "Quotas_listQuotaLimitsForNetwork": { + "$ref": "./examples/getNetworkQuotaLimits.json" + }, + "Quotas_listQuotaLimitsForCompute": { + "$ref": "./examples/getComputeQuotaLimits.json" + }, + "Quotas_listQuotaLimitsMachineLearningServices": { + "$ref": "./examples/getMachineLearningServicesQuotaLimits.json" + } }, - { - "name": "createQuotaRequest", - "in": "body", - "description": "Quota requests payload.", - "required": true, - "schema": { - "$ref": "#/definitions/CurrentQuotaLimitBase" + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ScopeInPath" } - } - ], - "responses": { - "200": { - "description": "OK. Returns the quota request details.", - "schema": { - "$ref": "#/definitions/CurrentQuotaLimitBase" + ], + "responses": { + "200": { + "description": "OK. Quota information will be returned in the response with pagination.", + "schema": { + "$ref": "#/definitions/QuotaLimits" + }, + "headers": { + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } } }, - "202": { - "description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** obtained in the response of a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", - "schema": { - "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{scope}/providers/Microsoft.Quota/quotaRequests/{id}": { + "get": { + "tags": [ + "QuotaRequests" + ], + "x-ms-examples": { + "QuotaRequestStatus": { + "$ref": "./examples/getQuotaRequestStatusById.json" + }, + "QuotaRequestInProgress": { + "$ref": "./examples/getQuotaRequestStatusInProgress.json" + }, + "QuotaRequestFailed": { + "$ref": "./examples/getQuotaRequestStatusFailed.json" } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" + "description": "Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID **id** is returned in the response of the PUT operation.", + "operationId": "QuotaRequestStatus_Get", + "parameters": [ + { + "$ref": "#/parameters/RequestIdInParameters" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ScopeInPath" + } + ], + "responses": { + "200": { + "description": "OK. Returning the status for the quota request.", + "schema": { + "$ref": "#/definitions/QuotaRequestDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } } } } }, - "patch": { - "tags": [ - "QuotaInformation" - ], - "description": "Update the quota limit for a specific resource to the specified value:\n1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.", - "operationId": "Quota_Update", - "x-ms-examples": { - "Quotas_Request_PatchForNetwork": { - "$ref": "./examples/patchNetworkOneSkuQuotaRequest.json" - }, - "Quotas_Request_PatchForCompute": { - "$ref": "./examples/patchComputeQuotaRequest.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceNameInParameters" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ScopeInPath" + "/{scope}/providers/Microsoft.Quota/quotaRequests": { + "get": { + "tags": [ + "QuotaRequests" + ], + "x-ms-examples": { + "QuotaRequestHistory": { + "$ref": "./examples/getQuotaRequestsHistory.json" + } }, - { - "name": "createQuotaRequest", - "in": "body", - "description": "Quota requests payload.", - "required": true, - "schema": { - "$ref": "#/definitions/CurrentQuotaLimitBase" + "description": "For the specified scope, get the current quota requests for a one year period ending at the time is made. Use the **oData** filter to select quota requests.", + "operationId": "QuotaRequestStatus_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ScopeInPath" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "| Field | Supported operators \n|---------------------|------------------------\n\r\n|requestSubmitTime | ge, le, eq, gt, lt\n |provisioningState eq {QuotaRequestState}\n |resourceName eq {resourceName}\n" + }, + { + "$ref": "#/parameters/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenParameter" } - } - ], - "responses": { - "200": { - "description": "OK. Returns the quota request details.", - "schema": { - "$ref": "#/definitions/CurrentQuotaLimitBase" + ], + "responses": { + "200": { + "description": "OK. Sending quota request status and details.", + "schema": { + "$ref": "#/definitions/QuotaRequestDetailsList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } } }, - "202": { - "description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** in a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", - "schema": { - "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Quota/operations": { + "get": { + "summary": "GET operations.", + "description": "List all the operations supported by the Microsoft.Quota resource provider.", + "operationId": "Operation_List", + "x-ms-examples": { + "GetOperations": { + "$ref": "./examples/GetOperations.json" } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Operations" + ], + "responses": { + "200": { + "description": "List all the operations.", + "schema": { + "$ref": "#/definitions/OperationList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } } } } } }, - "/{scope}/providers/Microsoft.Quota/quotas": { - "get": { - "tags": [ - "QuotaInformation" - ], - "description": "Get a list of current quota limits of all resources for the specified scope. The response from this GET operation can be leveraged to submit requests to update a quota.", - "operationId": "Quota_List", - "x-ms-examples": { - "Quotas_listQuotaLimitsForNetwork": { - "$ref": "./examples/getNetworkQuotaLimits.json" - }, - "Quotas_listQuotaLimitsForCompute": { - "$ref": "./examples/getComputeQuotaLimits.json" + "definitions": { + "OperationList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/OperationResponse" + } }, - "Quotas_listQuotaLimitsMachineLearningServices": { - "$ref": "./examples/getMachineLearningServicesQuotaLimits.json" + "nextLink": { + "type": "string", + "description": "URL to get the next page of items." } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" + } + }, + "OperationResponse": { + "type": "object", + "properties": { + "name": { + "type": "string" }, - { - "$ref": "#/parameters/ScopeInPath" - } - ], - "responses": { - "200": { - "description": "OK. Quota information will be returned in the response with pagination.", - "schema": { - "$ref": "#/definitions/QuotaLimits" - }, - "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } - } + "display": { + "$ref": "#/definitions/OperationDisplay" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } + "origin": { + "type": "string" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } - } - }, - "/{scope}/providers/Microsoft.Quota/quotaRequests/{id}": { - "get": { - "tags": [ - "QuotaRequests" - ], - "x-ms-examples": { - "QuotaRequestStatus": { - "$ref": "./examples/getQuotaRequestStatusById.json" + }, + "OperationDisplay": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "description": "Provider name." + }, + "resource": { + "type": "string", + "description": "Resource name." }, - "QuotaRequestInProgress": { - "$ref": "./examples/getQuotaRequestStatusInProgress.json" + "operation": { + "type": "string", + "description": "Operation name." }, - "QuotaRequestFailed": { - "$ref": "./examples/getQuotaRequestStatusFailed.json" + "description": { + "type": "string", + "description": "Operation description." } - }, - "description": "Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID **id** is returned in the response of the PUT operation.", - "operationId": "QuotaRequestStatus_Get", - "parameters": [ - { - "$ref": "#/parameters/RequestIdInParameters" + } + }, + "CommonResourceProperties": { + "type": "object", + "description": "Resource properties.", + "properties": { + "id": { + "description": "Resource ID", + "type": "string", + "readOnly": true }, - { - "$ref": "#/parameters/ApiVersionParameter" + "name": { + "description": "Resource name.", + "type": "string", + "readOnly": true }, - { - "$ref": "#/parameters/ScopeInPath" + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type. Example: \"Microsoft.Quota/quotas\"" } - ], - "responses": { - "200": { - "description": "OK. Returning the status for the quota request.", - "schema": { - "$ref": "#/definitions/QuotaRequestDetails" - } + } + }, + "CurrentUsagesBase": { + "type": "object", + "description": "Resource usage.", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "The resource ID.", + "type": "string", + "readOnly": true }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } + "type": { + "description": "The resource type.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The resource name.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Usage properties for the specified resource.", + "$ref": "#/definitions/UsagesProperties" } } - } - }, - "/{scope}/providers/Microsoft.Quota/quotaRequests": { - "get": { - "tags": [ - "QuotaRequests" - ], - "x-ms-examples": { - "QuotaRequestHistory": { - "$ref": "./examples/getQuotaRequestsHistory.json" - } - }, - "description": "For the specified scope, gets the current quota requests for a one year period ending at the time is made. Use the **oData** filter can be used to select quota requests.", - "operationId": "QuotaRequestStatus_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" + }, + "UsagesProperties": { + "description": "Usage properties for the specified resource.", + "type": "object", + "properties": { + "usages": { + "description": "The quota limit properties for this resource.", + "$ref": "#/definitions/UsagesObject" }, - { - "$ref": "#/parameters/ScopeInPath" + "unit": { + "description": " The units for the quota usage, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", + "type": "string", + "readOnly": true }, - { - "name": "$filter", - "in": "query", - "required": false, + "name": { + "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", + "$ref": "#/definitions/ResourceName" + }, + "resourceType": { + "description": "The name of the resource type.", + "$ref": "#/definitions/ResourceTypesName" + }, + "quotaPeriod": { + "description": "The time period for the summary of the quota usage values. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because it is not relevant for all resources such as compute.", "type": "string", - "description": "| Field | Supported operators \n|---------------------|------------------------\n\r\n|requestSubmitTime | ge, le, eq, gt, lt\n |provisioningState eq {QuotaRequestState}\n |resourceName eq {resourceName}\n" + "readOnly": true }, - { - "$ref": "#/parameters/TopQueryParameter" + "isQuotaApplicable": { + "description": "States if quota can be requested for this resource.", + "type": "boolean", + "readOnly": true }, - { - "$ref": "#/parameters/SkipTokenParameter" + "properties": { + "description": "Additional properties for the specific resource provider.", + "type": "object" } - ], - "responses": { - "200": { - "description": "OK. Sending quota request status and details.", - "schema": { - "$ref": "#/definitions/QuotaRequestDetailsList" + } + }, + "UsagesLimits": { + "type": "object", + "description": "Quota limits.", + "properties": { + "value": { + "description": "List of quota limits.", + "type": "array", + "items": { + "$ref": "#/definitions/CurrentUsagesBase" } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } + "nextLink": { + "description": "The URI used to fetch the next page of quota limits. When there are no more pages, this is null.", + "type": "string" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } - } - }, - "/providers/Microsoft.Quota/operations": { - "get": { - "summary": "GET operations.", - "description": "List all the operations supported by the Microsoft.Quota resource provider.", - "operationId": "Operation_List", - "x-ms-examples": { - "GetOperations": { - "$ref": "./examples/GetOperations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" + }, + "CurrentQuotaLimitBase": { + "type": "object", + "description": "Quota limit.", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "The resource ID.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The resource type.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The resource name.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Quota properties for the specified resource, based on the API called, Quotas or Usages.", + "$ref": "#/definitions/QuotaProperties" } - ], - "tags": [ - "Operations" - ], - "responses": { - "200": { - "description": "List all the operations.", - "schema": { - "$ref": "#/definitions/OperationList" - } + } + }, + "QuotaProperties": { + "description": "Quota properties for the specified resource.", + "type": "object", + "properties": { + "limit": { + "description": "Resource quota limit properties.", + "$ref": "#/definitions/LimitJsonObject" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } + "unit": { + "description": " The quota units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", + "$ref": "#/definitions/ResourceName" + }, + "resourceType": { + "description": "Resource type name.", + "$ref": "#/definitions/ResourceTypesName" + }, + "quotaPeriod": { + "description": "The time period over which the quota usage values are summarized. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because, for some resources like compute, the period is irrelevant.", + "type": "string", + "readOnly": true + }, + "isQuotaApplicable": { + "description": "States if quota can be requested for this resource.", + "type": "boolean", + "readOnly": true + }, + "properties": { + "description": "Additional properties for the specific resource provider.", + "type": "object" } } - } - } - }, - "definitions": { - "OperationList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/OperationResponse" + }, + "ResourceName": { + "type": "object", + "description": "Name of the resource provided by the resource Provider. When requesting quota, use this property name.", + "properties": { + "value": { + "description": "Resource name.", + "type": "string", + "readOnly": false + }, + "localizedValue": { + "description": "Resource display name.", + "type": "string", + "readOnly": true } - }, - "nextLink": { - "type": "string", - "description": "URL to get the next page of items." - } - } - }, - "OperationResponse": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplay" - }, - "origin": { - "type": "string" - } - } - }, - "OperationDisplay": { - "type": "object", - "properties": { - "provider": { - "type": "string", - "description": "Provider name." - }, - "resource": { - "type": "string", - "description": "Resource name." - }, - "operation": { - "type": "string", - "description": "Operation name." - }, - "description": { - "type": "string", - "description": "Operation description." } - } - }, - "CommonResourceProperties": { - "type": "object", - "description": "Resource properties.", - "properties": { - "id": { - "description": "Resource ID", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource name.", - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Resource type. Example - \"Microsoft.Quota/quotas\"" - } - } - }, - "CurrentUsagesBase": { - "type": "object", - "description": "Resource Usages.", - "x-ms-azure-resource": true, - "properties": { - "id": { - "description": "The resource ID.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The resource type.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The resource name.", - "type": "string", - "readOnly": true - }, + }, + "QuotaLimits": { + "type": "object", + "description": "Quota limits.", "properties": { - "description": "Usages properties for the specified resource.", - "$ref": "#/definitions/UsagesProperties" + "value": { + "description": "List of quota limits.", + "type": "array", + "items": { + "$ref": "#/definitions/CurrentQuotaLimitBase" + } + }, + "nextLink": { + "description": "The URI used to fetch the next page of quota limits. When there are no more pages, this string is null.", + "type": "string" + } } - } - }, - "UsagesProperties": { - "description": "Usages properties for the specified resource.", - "type": "object", - "properties": { - "usages": { - "description": "Resource quota limit properties.", - "$ref": "#/definitions/UsagesObject" - }, - "unit": { - "description": " The usages units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", - "$ref": "#/definitions/ResourceName" - }, - "resourceType": { - "description": "Resource type name.", - "$ref": "#/definitions/ResourceTypesName" - }, - "quotaPeriod": { - "description": "The time period over which the quota usage values are summarized. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because, for some resources like compute, the period is irrelevant.", - "type": "string", - "readOnly": true - }, - "isQuotaApplicable": { - "description": "States if quota can be requested for this resource.", - "type": "boolean", - "readOnly": true - }, + }, + "QuotaLimitsResponse": { + "type": "object", + "description": "Quota limits request response.", "properties": { - "description": "Additional properties for the specific resource provider.", - "type": "object" - } - } - }, - "UsagesLimits": { - "type": "object", - "description": "Quota limits.", - "properties": { - "value": { - "description": "List of quota limits.", - "type": "array", - "items": { - "$ref": "#/definitions/CurrentUsagesBase" + "value": { + "description": "List of quota limits with the quota request status.", + "type": "array", + "items": { + "$ref": "#/definitions/CurrentQuotaLimitBase" + } + }, + "nextLink": { + "description": "The URI used to fetch the next page of quota limits. When there are no more pages, this is null.", + "type": "string" } - }, - "nextLink": { - "description": "The URI used to fetch the next page of quota limits. When there are no more pages, this is null.", - "type": "string" } - } - }, - "CurrentQuotaLimitBase": { - "type": "object", - "description": "Quota limit.", - "x-ms-azure-resource": true, - "properties": { - "id": { - "description": "The resource ID.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The resource type.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The resource name.", - "type": "string", - "readOnly": true - }, + }, + "CreateGenericQuotaRequestParameters": { + "type": "object", + "description": "Quota change requests information.", "properties": { - "description": "Quota properties for the specified resource, based on the API called - quotas or usages.", - "$ref": "#/definitions/QuotaProperties" + "value": { + "description": "Quota change requests.", + "type": "array", + "items": { + "$ref": "#/definitions/CurrentQuotaLimitBase" + } + } } - } - }, - "QuotaProperties": { - "description": "Quota properties for the specified resource.", - "type": "object", - "properties": { - "limit": { - "description": "Resource quota limit properties.", - "$ref": "#/definitions/LimitJsonObject" - }, - "unit": { - "description": " The quota units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", - "$ref": "#/definitions/ResourceName" - }, - "resourceType": { - "description": "Resource type name.", - "$ref": "#/definitions/ResourceTypesName" - }, - "quotaPeriod": { - "description": "The time period over which the quota usage values are summarized. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because, for some resources like compute, the period is irrelevant.", - "type": "string", - "readOnly": true - }, - "isQuotaApplicable": { - "description": "States if quota can be requested for this resource.", - "type": "boolean", - "readOnly": true - }, + }, + "SubRequest": { + "type": "object", + "description": "Request property.", "properties": { - "description": "Additional properties for the specific resource provider.", - "type": "object" + "name": { + "description": "Resource name.", + "$ref": "#/definitions/ResourceName" + }, + "resourceType": { + "description": "Resource type for which the quota properties were requested.", + "type": "string", + "readOnly": true + }, + "unit": { + "description": " Quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", + "type": "string" + }, + "provisioningState": { + "description": "The quota request status.", + "$ref": "#/definitions/QuotaRequestState" + }, + "message": { + "description": "User-friendly status message.", + "type": "string", + "readOnly": true + }, + "subRequestId": { + "description": "Quota request ID.", + "type": "string", + "readOnly": true + }, + "limit": { + "description": "Resource quota limit properties.", + "$ref": "#/definitions/LimitJsonObject" + } } - } - }, - "ResourceName": { - "type": "object", - "description": "Name of the resource provided by the resource Provider. When requesting quota, use this property name.", - "properties": { - "value": { - "description": "Resource name.", - "type": "string", - "readOnly": false - }, - "localizedValue": { - "description": "Resource display name.", - "type": "string", - "readOnly": true + }, + "LimitObjectTypes": { + "description": "The limit object type.", + "enum": [ + "LimitValue" + ], + "type": "string", + "x-ms-enum": { + "name": "limitType", + "modelAsString": true } - } - }, - "QuotaLimits": { - "type": "object", - "description": "Quota limits.", - "properties": { - "value": { - "description": "List of quota limits.", - "type": "array", - "items": { - "$ref": "#/definitions/CurrentQuotaLimitBase" - } - }, - "nextLink": { - "description": "The URI used to fetch the next page of quota limits. When there are no more pages, this is null.", - "type": "string" + }, + "LimitTypes": { + "description": "The quota or usages limit types.", + "enum": [ + "Independent", + "Shared" + ], + "type": "string", + "x-ms-enum": { + "name": "quotaLimitTypes", + "modelAsString": true } - } - }, - "QuotaLimitsResponse": { - "type": "object", - "description": "Quota limits request response.", - "properties": { - "value": { - "description": "List of quota limits with the quota request status.", - "type": "array", - "items": { - "$ref": "#/definitions/CurrentQuotaLimitBase" + }, + "LimitJsonObject": { + "description": "LimitJson abstract class.", + "required": [ + "limitObjectType" + ], + "type": "object", + "properties": { + "limitObjectType": { + "$ref": "#/definitions/LimitObjectTypes" } }, - "nextLink": { - "description": "The URI used to fetch the next page of quota limits. When there are no more pages, this is null.", - "type": "string" + "discriminator": "limitObjectType" + }, + "UsagesTypes": { + "description": "The quota or usages limit types.", + "enum": [ + "Individual", + "Combined" + ], + "type": "string", + "x-ms-enum": { + "name": "usagesTypes", + "modelAsString": true } - } - }, - "CreateGenericQuotaRequestParameters": { - "type": "object", - "description": "Quota change requests information.", - "properties": { - "value": { - "description": "Quota change requests.", - "type": "array", - "items": { - "$ref": "#/definitions/CurrentQuotaLimitBase" + }, + "UsagesObject": { + "description": "The resource usages value.", + "type": "object", + "properties": { + "value": { + "type": "integer", + "format": "int32", + "description": "The usages value." + }, + "usagesType": { + "$ref": "#/definitions/UsagesTypes" } - } - } - }, - "SubRequest": { - "type": "object", - "description": "Request property.", - "properties": { - "name": { - "description": "Resource name.", - "$ref": "#/definitions/ResourceName" - }, - "resourceType": { - "description": "Resource type for which the quota check was made.", - "type": "string", - "readOnly": true - }, - "unit": { - "description": " Quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", - "type": "string" - }, - "provisioningState": { - "description": "The quota request status.", - "$ref": "#/definitions/QuotaRequestState" }, - "message": { - "description": "User-friendly status message.", - "type": "string", - "readOnly": true - }, - "subRequestId": { - "description": "Quota request ID.", - "type": "string", - "readOnly": true - }, - "limit": { - "description": "Resource quota limit properties.", - "$ref": "#/definitions/LimitJsonObject" - } - } - }, - "LimitObjectTypes": { - "description": "The limit object type.", - "enum": [ - "LimitValue" - ], - "type": "string", - "x-ms-enum": { - "name": "limitType", - "modelAsString": true - } - }, - "LimitTypes": { - "description": "The quota or usages limit types.", - "enum": [ - "Independent", - "Shared" - ], - "type": "string", - "x-ms-enum": { - "name": "quotaLimitTypes", - "modelAsString": true - } - }, - "LimitJsonObject": { - "description": "LimitJson abstract class.", - "required": [ - "limitObjectType" - ], - "type": "object", - "properties": { - "limitObjectType": { - "$ref": "#/definitions/LimitObjectTypes" - } + "required": [ + "value" + ] }, - "discriminator": "limitObjectType" - }, - "UsagesTypes": { - "description": "The quota or usages limit types.", - "enum": [ - "Individual", - "Combined" - ], - "type": "string", - "x-ms-enum": { - "name": "usagesTypes", - "modelAsString": true - } - }, - "UsagesObject": { - "description": "The resource usages value.", - "type": "object", - "properties": { - "value": { - "type": "integer", - "format": "int32", - "description": "The usages value" + "LimitObject": { + "description": "The resource quota limit value.", + "type": "object", + "properties": { + "value": { + "type": "integer", + "format": "int32", + "description": "The quota/limit value" + }, + "limitObjectType": { + "$ref": "#/definitions/LimitObjectTypes" + }, + "limitType": { + "$ref": "#/definitions/LimitTypes" + } }, - "usagesType": { - "$ref": "#/definitions/UsagesTypes" - } + "required": [ + "value" + ] }, - "required": [ - "value" - ] - }, - "LimitObject": { - "description": "The resource quota limit value.", - "type": "object", - "properties": { - "value": { - "type": "integer", - "format": "int32", - "description": "The quota/limit value" - }, - "limitObjectType": { - "$ref": "#/definitions/LimitObjectTypes" - }, - "limitType": { - "$ref": "#/definitions/LimitTypes" - } + "LimitValue": { + "x-ms-discriminator-value": "LimitValue", + "type": "object", + "description": "The resource quota limit.", + "allOf": [ + { + "$ref": "#/definitions/LimitJsonObject" + }, + { + "$ref": "#/definitions/LimitObject" + } + ] }, - "required": [ - "value" - ] - }, - "LimitValue": { - "x-ms-discriminator-value": "LimitValue", - "type": "object", - "description": "The resource quota limit.", - "allOf": [ - { - "$ref": "#/definitions/LimitJsonObject" - }, - { - "$ref": "#/definitions/LimitObject" - } - ] - }, - "QuotaRequestOneResourceSubmitResponse": { - "description": "Quota request response.", - "type": "object", - "x-ms-azure-resource": true, - "properties": { - "id": { - "description": "Quota request ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the quota request.", - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Resource type. \"Microsoft.Quota/ServiceLimitRequests\"" - }, + "QuotaRequestOneResourceSubmitResponse": { + "description": "Quota request response.", + "type": "object", + "x-ms-azure-resource": true, "properties": { - "description": "Quota request details.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/quotaRequestOneResourceProperties" + "id": { + "description": "Quota request ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of the quota request.", + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type. \"Microsoft.Quota/ServiceLimitRequests\"" + }, + "properties": { + "description": "Quota request details.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/quotaRequestOneResourceProperties" + } } - } - }, - "QuotaRequestSubmitResponse": { - "description": "Quota request response.", - "type": "object", - "x-ms-azure-resource": true, - "properties": { - "id": { - "description": "Quota request ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Quota request name.", - "type": "string", - "readOnly": true - }, + }, + "QuotaRequestSubmitResponse": { + "description": "Quota request response.", + "type": "object", + "x-ms-azure-resource": true, "properties": { - "description": "The quota request details.", - "type": "object", - "$ref": "#/definitions/QuotaRequestProperties" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Resource type. \"Microsoft.Quota/quotas\"" + "id": { + "description": "Quota request ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Quota request name.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Quota request details.", + "type": "object", + "$ref": "#/definitions/QuotaRequestProperties" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type. \"Microsoft.Quota/quotas\"." + } } - } - }, - "QuotaRequestSubmitResponse202": { - "description": "The quota request response with the quota request ID.", - "type": "object", - "properties": { - "id": { - "description": "The quota request ID. To check the request status, use the **id** value in a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Operation ID.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, + }, + "QuotaRequestSubmitResponse202": { + "description": "The quota request response with the quota request ID.", + "type": "object", "properties": { - "description": "Quota request status.", - "$ref": "#/definitions/QuotaRequestStatusDetails", - "x-ms-client-flatten": true + "id": { + "description": "The quota request ID. To check the request status, use the **id** value in a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Operation ID.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Quota request status.", + "$ref": "#/definitions/QuotaRequestStatusDetails", + "x-ms-client-flatten": true + } } - } - }, - "QuotaRequestStatusDetails": { - "description": "Quota request status details.", - "type": "object", - "properties": { - "provisioningState": { - "description": "Quota request status.", - "$ref": "#/definitions/QuotaRequestState", - "readOnly": true - }, - "message": { - "description": "User-friendly message.", - "type": "string", - "readOnly": true - }, - "limit": { - "description": "Resource quota limit properties.", - "$ref": "#/definitions/LimitObject" - }, - "unit": { - "description": " The quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", - "type": "string", - "readOnly": false - }, - "name": { - "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", - "$ref": "#/definitions/ResourceName" - }, - "resourceType": { - "description": "Resource type name.", - "$ref": "#/definitions/ResourceTypesName" - }, - "quotaPeriod": { - "description": "The time period over which the quota usage values are summarized. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because, for some resources like compute, the period is irrelevant.", - "type": "string", - "readOnly": true - }, + }, + "QuotaRequestStatusDetails": { + "description": "Quota request status details.", + "type": "object", "properties": { - "description": "Additional properties for the specific resource provider.", - "type": "object" + "provisioningState": { + "description": "Quota request status.", + "$ref": "#/definitions/QuotaRequestState", + "readOnly": true + }, + "message": { + "description": "User-friendly message.", + "type": "string", + "readOnly": true + }, + "limit": { + "description": "Resource quota limit properties.", + "$ref": "#/definitions/LimitObject" + }, + "unit": { + "description": " The quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", + "type": "string", + "readOnly": false + }, + "name": { + "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", + "$ref": "#/definitions/ResourceName" + }, + "resourceType": { + "description": "Resource type name.", + "$ref": "#/definitions/ResourceTypesName" + }, + "quotaPeriod": { + "description": "The time period over which the quota usage values are summarized. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because, for some resources like compute, the period is irrelevant.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Additional properties for the specific resource provider.", + "type": "object" + } } - } - }, - "QuotaRequestDetails": { - "type": "object", - "description": "List of quota requests with details.", - "properties": { - "id": { - "description": "Quota request ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Quota request name.", - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Resource type. \"Microsoft.Quota/quotas\"" - }, + }, + "QuotaRequestDetails": { + "type": "object", + "description": "List of quota requests with details.", "properties": { - "description": "Quota request details.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/QuotaRequestProperties" + "id": { + "description": "Quota request ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Quota request name.", + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type. \"Microsoft.Quota/quotas\"." + }, + "properties": { + "description": "Quota request details.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/QuotaRequestProperties" + } } - } - }, - "QuotaRequestDetailsList": { - "description": "Quota request information.", - "type": "object", - "properties": { - "value": { - "description": "Quota request details.", - "type": "array", - "items": { - "$ref": "#/definitions/QuotaRequestDetails" + }, + "QuotaRequestDetailsList": { + "description": "Quota request information.", + "type": "object", + "properties": { + "value": { + "description": "Quota request details.", + "type": "array", + "items": { + "$ref": "#/definitions/QuotaRequestDetails" + } + }, + "nextLink": { + "description": "The URI for fetching the next page of quota limits. When there are no more pages, this string is null.", + "type": "string" } - }, - "nextLink": { - "description": "The URI for fetching the next page of quota limits. When there are no more pages, this is null.", - "type": "string" } - } - }, - "QuotaRequestProperties": { - "type": "object", - "description": "Quota request properties.", - "properties": { - "provisioningState": { - "description": "The quota request status.", - "$ref": "#/definitions/QuotaRequestState" - }, - "message": { - "description": "User-friendly status message.", - "type": "string", - "readOnly": true - }, - "error": { - "description": "Error details of the quota request.", - "$ref": "#/definitions/ServiceErrorDetail" - }, - "requestSubmitTime": { - "description": "The quota request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ", - "type": "string", - "readOnly": true, - "format": "date-time" - }, - "value": { - "description": "Quota request details.", - "type": "array", - "items": { - "$ref": "#/definitions/SubRequest" + }, + "QuotaRequestProperties": { + "type": "object", + "description": "Quota request properties.", + "properties": { + "provisioningState": { + "description": "The quota request status.", + "$ref": "#/definitions/QuotaRequestState" + }, + "message": { + "description": "User-friendly status message.", + "type": "string", + "readOnly": true + }, + "error": { + "description": "Error details of the quota request.", + "$ref": "#/definitions/ServiceErrorDetail" + }, + "requestSubmitTime": { + "description": "The quota request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ", + "type": "string", + "readOnly": true, + "format": "date-time" + }, + "value": { + "description": "Quota request details.", + "type": "array", + "items": { + "$ref": "#/definitions/SubRequest" + } } } - } - }, - "quotaRequestOneResourceProperties": { - "type": "object", - "description": "Quota request.", - "properties": { - "provisioningState": { - "description": "Quota request status.", - "readOnly": true, - "$ref": "#/definitions/QuotaRequestState" - }, - "message": { - "description": "User-friendly status message.", - "type": "string", - "readOnly": true - }, - "requestSubmitTime": { - "description": "Quota request submission time. The date conforms to the following ISO 8601 standard format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string", - "readOnly": true, - "format": "date-time" - }, - "limit": { - "description": "Resource quota limit properties.", - "$ref": "#/definitions/LimitObject" - }, - "currentValue": { - "description": "Usage information for the current resource.", - "type": "integer", - "format": "int32", - "readOnly": true - }, - "unit": { - "description": " The quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", - "type": "string", - "readOnly": false - }, - "name": { - "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", - "$ref": "#/definitions/ResourceName" - }, - "resourceType": { - "description": "Resource type name.", - "$ref": "#/definitions/ResourceTypesName" - }, - "quotaPeriod": { - "description": "The time period over which the quota usage values are summarized. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because, for some resources like compute, the period is irrelevant.", - "type": "string", - "readOnly": true - }, - "isQuotaApplicable": { - "description": "States if quota can be requested for this resource.", - "type": "boolean", - "readOnly": true - }, - "error": { - "description": "Error details of the quota request.", - "$ref": "#/definitions/ServiceErrorDetail" - }, + }, + "quotaRequestOneResourceProperties": { + "type": "object", + "description": "Quota request.", "properties": { - "description": "Additional properties for the specific resource provider.", - "type": "object" + "provisioningState": { + "description": "Quota request status.", + "readOnly": true, + "$ref": "#/definitions/QuotaRequestState" + }, + "message": { + "description": "User-friendly status message.", + "type": "string", + "readOnly": true + }, + "requestSubmitTime": { + "description": "Quota request submission time. The date conforms to the following ISO 8601 standard format: yyyy-MM-ddTHH:mm:ssZ.", + "type": "string", + "readOnly": true, + "format": "date-time" + }, + "limit": { + "description": "Resource quota limit properties.", + "$ref": "#/definitions/LimitObject" + }, + "currentValue": { + "description": "Usage information for the current resource.", + "type": "integer", + "format": "int32", + "readOnly": true + }, + "unit": { + "description": " The quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", + "type": "string", + "readOnly": false + }, + "name": { + "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", + "$ref": "#/definitions/ResourceName" + }, + "resourceType": { + "description": "Resource type name.", + "$ref": "#/definitions/ResourceTypesName" + }, + "quotaPeriod": { + "description": "The time period over which the quota usage values are summarized. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because, for some resources like compute, the period is irrelevant.", + "type": "string", + "readOnly": true + }, + "isQuotaApplicable": { + "description": "States if quota can be requested for this resource.", + "type": "boolean", + "readOnly": true + }, + "error": { + "description": "Error details of the quota request.", + "$ref": "#/definitions/ServiceErrorDetail" + }, + "properties": { + "description": "Additional properties for the specific resource provider.", + "type": "object" + } } - } - }, - "QuotaRequestState": { - "description": "Quota request status.", - "enum": [ - "Accepted", - "Invalid", - "Succeeded", - "Failed", - "InProgress" - ], - "readOnly": true, - "type": "string", - "x-ms-enum": { - "name": "QuotaRequestState", - "modelAsString": true - } - }, - "ResourceTypesName": { - "description": "Resource types. For extensibility, it is a string.", - "readOnly": false, - "type": "string" - }, - "ExceptionResponse": { - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/ServiceError", - "description": "API error details." + }, + "QuotaRequestState": { + "description": "Quota request status.", + "enum": [ + "Accepted", + "Invalid", + "Succeeded", + "Failed", + "InProgress" + ], + "readOnly": true, + "type": "string", + "x-ms-enum": { + "name": "QuotaRequestState", + "modelAsString": true } }, - "description": "Error." - }, - "ServiceError": { - "description": "API error details.", - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "Error code." - }, - "message": { - "type": "string", - "description": "Error message." + "ResourceTypesName": { + "description": "Resource types. For extensibility, it is a string.", + "readOnly": false, + "type": "string" + }, + "ExceptionResponse": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ServiceError", + "description": "API error details." + } }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/ServiceErrorDetail" + "description": "Error." + }, + "ServiceError": { + "description": "API error details.", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Error code." }, - "description": "List of error details.", - "readOnly": true + "message": { + "type": "string", + "description": "Error message." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceErrorDetail" + }, + "description": "List of error details.", + "readOnly": true + } } - } - }, - "ServiceErrorDetail": { - "description": "Error details.", - "type": "object", - "properties": { - "code": { - "type": "string", - "readOnly": true, - "description": "Error code." - }, - "message": { - "type": "string", - "readOnly": true, - "description": "Error message." + }, + "ServiceErrorDetail": { + "description": "Error details.", + "type": "object", + "properties": { + "code": { + "type": "string", + "readOnly": true, + "description": "Error code." + }, + "message": { + "type": "string", + "readOnly": true, + "description": "Error message." + } } } - } - }, - "parameters": { - "SubscriptionIdInParameters": { - "name": "subscriptionId", - "x-ms-parameter-location": "method", - "in": "path", - "required": true, - "type": "string", - "description": "Azure subscription ID." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for this operation.", - "minLength": 1 - }, - "ResourceNameInParameters": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "Resource name for a given resource provider. For example:\r\n- SKU name for Microsoft.Compute\r\n- SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices\r\n For Microsoft.Network PublicIPAddresses.", - "x-ms-parameter-location": "method" - }, - "ResourceDimensionTypeInParameter": { - "name": "resourceDimension", - "in": "path", - "required": true, - "type": "string", - "description": "Resource dimension type for a resource provider. For example:\r\n- locations and SKUs for Microsoft.Compute\r\n- resource groups, batch accounts, and SKUs for Microsoft.Batch", - "x-ms-parameter-location": "method" - }, - "RequestIdInParameters": { - "name": "id", - "in": "path", - "required": true, - "type": "string", - "description": "Quota request ID.", - "x-ms-parameter-location": "method" - }, - "TopQueryParameter": { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "Number of records to return.", - "minimum": 1, - "x-ms-parameter-location": "method" }, - "SkipTokenParameter": { - "name": "$skiptoken", - "in": "query", - "type": "string", - "required": false, - "description": "The **Skiptoken** parameter is used only if a previous operation returned a partial result. If a previous response contains a **nextLink** element, the value of the **nextLink** element includes a **skiptoken** parameter that specifies a starting point to use for subsequent calls.", - "x-ms-parameter-location": "method" - }, - "ScopeInPath": { - "name": "scope", - "description": "The target Azure resource URI. For example, `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`. This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific resource.", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true + "parameters": { + "SubscriptionIdInParameters": { + "name": "subscriptionId", + "x-ms-parameter-location": "method", + "in": "path", + "required": true, + "type": "string", + "description": "Azure subscription ID." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for this operation.", + "minLength": 1 + }, + "ResourceNameInParameters": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "Resource name for a given resource provider. For example:\r\n- SKU name for Microsoft.Compute\r\n- SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices\r\n For Microsoft.Network PublicIPAddresses.", + "x-ms-parameter-location": "method" + }, + "ResourceDimensionTypeInParameter": { + "name": "resourceDimension", + "in": "path", + "required": true, + "type": "string", + "description": "Resource dimension type for a resource provider. For example:\r\n- locations and SKUs for Microsoft.Compute\r\n- resource groups, batch accounts, and SKUs for Microsoft.Batch", + "x-ms-parameter-location": "method" + }, + "RequestIdInParameters": { + "name": "id", + "in": "path", + "required": true, + "type": "string", + "description": "Quota request ID.", + "x-ms-parameter-location": "method" + }, + "TopQueryParameter": { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "Number of records to return.", + "minimum": 1, + "x-ms-parameter-location": "method" + }, + "SkipTokenParameter": { + "name": "$skiptoken", + "in": "query", + "type": "string", + "required": false, + "description": "The **Skiptoken** parameter is used only if a previous operation returned a partial result. If a previous response contains a **nextLink** element, its value includes a **skiptoken** parameter that specifies a starting point to use for subsequent calls.", + "x-ms-parameter-location": "method" + }, + "ScopeInPath": { + "name": "scope", + "description": "The target Azure resource URI. For example, `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`. This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific resource.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + } } } -} From b22f1154d85bb0382eb72e5db10776657cb68705 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 26 Aug 2021 10:28:48 -0700 Subject: [PATCH 122/127] Running prettier. --- .../preview/2021-03-15-preview/quota.json | 2364 ++++++++--------- 1 file changed, 1182 insertions(+), 1182 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 6ceee333fecd..8665fc769f92 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -1,1309 +1,1309 @@ { - "swagger": "2.0", - "info": { - "version": "2021-03-15-preview", - "title": "Azure Quota Extension API", - "description": "Microsoft Azure Quota Resource Provider" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "Impersonate your user account." - }, - "type": "oauth2", - "description": "Azure Active Directory OAuth 2.0 authorization" - } - }, - "paths": { - "/{scope}/providers/Microsoft.Quota/usages/{resourceName}": { - "get": { - "tags": [ - "UsagesInformation" - ], - "description": "Get the current usage of a resource.", - "operationId": "Usages_Get", - "x-ms-examples": { - "Quotas_UsagesRequest_ForNetwork": { - "$ref": "./examples/getNetworkOneSkuUsages.json" - }, - "Quotas_UsagesRequest_ForCompute": { - "$ref": "./examples/getComputeOneSkuUsages.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceNameInParameters" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ScopeInPath" - } - ], - "responses": { - "200": { - "description": "OK. The usage information will be returned in the response.", - "schema": { - "$ref": "#/definitions/CurrentUsagesBase" - }, - "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } - } - } - } + "swagger": "2.0", + "info": { + "version": "2021-03-15-preview", + "title": "Azure Quota Extension API", + "description": "Microsoft Azure Quota Resource Provider" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "Impersonate your user account." }, - "/{scope}/providers/Microsoft.Quota/usages": { - "get": { - "tags": [ - "UsagesInformation" - ], - "description": "Get a list of current usage for all resources for the scope specified.", - "operationId": "Usages_List", - "x-ms-examples": { - "Quotas_listUsagesForNetwork": { - "$ref": "./examples/getNetworkUsages.json" - }, - "Quotas_listUsagesForCompute": { - "$ref": "./examples/getComputeUsages.json" - }, - "Quotas_listUsagesMachineLearningServices": { - "$ref": "./examples/getMachineLearningServicesUsages.json" - } + "type": "oauth2", + "description": "Azure Active Directory OAuth 2.0 authorization" + } + }, + "paths": { + "/{scope}/providers/Microsoft.Quota/usages/{resourceName}": { + "get": { + "tags": [ + "UsagesInformation" + ], + "description": "Get the current usage of a resource.", + "operationId": "Usages_Get", + "x-ms-examples": { + "Quotas_UsagesRequest_ForNetwork": { + "$ref": "./examples/getNetworkOneSkuUsages.json" + }, + "Quotas_UsagesRequest_ForCompute": { + "$ref": "./examples/getComputeOneSkuUsages.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceNameInParameters" }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ScopeInPath" - } - ], - "responses": { - "200": { - "description": "OK. Usage information will be returned in the response with pagination.", - "schema": { - "$ref": "#/definitions/UsagesLimits" - }, - "headers": { - "ETag": { - "description": "Current entity state version. It should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } - } + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ScopeInPath" + } + ], + "responses": { + "200": { + "description": "OK. The usage information will be returned in the response.", + "schema": { + "$ref": "#/definitions/CurrentUsagesBase" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" + "headers": { + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } } } - }, - "/{scope}/providers/Microsoft.Quota/quotas/{resourceName}": { - "get": { - "tags": [ - "QuotaInformation" - ], - "description": "Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.", - "operationId": "Quota_Get", - "x-ms-examples": { - "Quotas_UsagesRequest_ForNetwork": { - "$ref": "./examples/getNetworkOneSkuQuotaLimit.json" - }, - "Quotas_Get_Request_ForCompute": { - "$ref": "./examples/getComputeOneSkuQuotaLimit.json" - } + } + }, + "/{scope}/providers/Microsoft.Quota/usages": { + "get": { + "tags": [ + "UsagesInformation" + ], + "description": "Get a list of current usage for all resources for the scope specified.", + "operationId": "Usages_List", + "x-ms-examples": { + "Quotas_listUsagesForNetwork": { + "$ref": "./examples/getNetworkUsages.json" }, - "parameters": [ - { - "$ref": "#/parameters/ResourceNameInParameters" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ScopeInPath" - } - ], - "responses": { - "200": { - "description": "OK. The quota information will be returned in the response with pagination.", - "schema": { - "$ref": "#/definitions/CurrentQuotaLimitBase" - }, - "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } - } + "Quotas_listUsagesForCompute": { + "$ref": "./examples/getComputeUsages.json" + }, + "Quotas_listUsagesMachineLearningServices": { + "$ref": "./examples/getMachineLearningServicesUsages.json" } }, - "put": { - "tags": [ - "QuotaInformation" - ], - "description": "Create or update the quota limit for the specified resource with the requested value. To update the quota, follow these steps:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.", - "operationId": "Quota_CreateOrUpdate", - "x-ms-examples": { - "Quotas_PutRequest_ForNetwork": { - "$ref": "./examples/putNetworkOneSkuQuotaRequest.json" - }, - "Quotas_Put_Request_ForCompute": { - "$ref": "./examples/putComputeOneSkuQuotaRequest.json" - }, - "Quotas_Request_ForMachineLearningServices_DedicatedResource": { - "$ref": "./examples/putMachineLearningServicesQuotaRequestDedicated.json" - }, - "Quotas_Request_ForMachineLearningServices_LowPriorityResource": { - "$ref": "./examples/putMachineLearningServicesQuotaRequestLowPriority.json" - }, - "Quotas_PutRequest_ForNetwork_StandardSkuPublicIpAddressesResource": { - "$ref": "./examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" }, - "parameters": [ - { - "$ref": "#/parameters/ResourceNameInParameters" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ScopeInPath" + { + "$ref": "#/parameters/ScopeInPath" + } + ], + "responses": { + "200": { + "description": "OK. Usage information will be returned in the response with pagination.", + "schema": { + "$ref": "#/definitions/UsagesLimits" }, - { - "name": "createQuotaRequest", - "in": "body", - "description": "Quota request payload.", - "required": true, - "schema": { - "$ref": "#/definitions/CurrentQuotaLimitBase" + "headers": { + "ETag": { + "description": "Current entity state version. It should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" } } - ], - "responses": { - "200": { - "description": "OK. Returns the quota request details.", - "schema": { - "$ref": "#/definitions/CurrentQuotaLimitBase" - } - }, - "202": { - "description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** obtained in the response of a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", - "schema": { - "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" } } }, - "patch": { - "tags": [ - "QuotaInformation" - ], - "description": "Update the quota limit for a specific resource to the specified value:\n1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.", - "operationId": "Quota_Update", - "x-ms-examples": { - "Quotas_Request_PatchForNetwork": { - "$ref": "./examples/patchNetworkOneSkuQuotaRequest.json" - }, - "Quotas_Request_PatchForCompute": { - "$ref": "./examples/patchComputeQuotaRequest.json" - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{scope}/providers/Microsoft.Quota/quotas/{resourceName}": { + "get": { + "tags": [ + "QuotaInformation" + ], + "description": "Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.", + "operationId": "Quota_Get", + "x-ms-examples": { + "Quotas_UsagesRequest_ForNetwork": { + "$ref": "./examples/getNetworkOneSkuQuotaLimit.json" + }, + "Quotas_Get_Request_ForCompute": { + "$ref": "./examples/getComputeOneSkuQuotaLimit.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceNameInParameters" }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" + { + "$ref": "#/parameters/ApiVersionParameter" }, - "parameters": [ - { - "$ref": "#/parameters/ResourceNameInParameters" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ScopeInPath" + { + "$ref": "#/parameters/ScopeInPath" + } + ], + "responses": { + "200": { + "description": "OK. The quota information will be returned in the response with pagination.", + "schema": { + "$ref": "#/definitions/CurrentQuotaLimitBase" }, - { - "name": "createQuotaRequest", - "in": "body", - "description": "Quota requests payload.", - "required": true, - "schema": { - "$ref": "#/definitions/CurrentQuotaLimitBase" + "headers": { + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" } } - ], - "responses": { - "200": { - "description": "OK. Returns the quota request details.", - "schema": { - "$ref": "#/definitions/CurrentQuotaLimitBase" - } - }, - "202": { - "description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** in a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", - "schema": { - "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" } } } }, - "/{scope}/providers/Microsoft.Quota/quotas": { - "get": { - "tags": [ - "QuotaInformation" - ], - "description": "Get a list of current quota limits of all resources for the specified scope. The response from this GET operation can be leveraged to submit requests to update a quota.", - "operationId": "Quota_List", - "x-ms-examples": { - "Quotas_listQuotaLimitsForNetwork": { - "$ref": "./examples/getNetworkQuotaLimits.json" - }, - "Quotas_listQuotaLimitsForCompute": { - "$ref": "./examples/getComputeQuotaLimits.json" - }, - "Quotas_listQuotaLimitsMachineLearningServices": { - "$ref": "./examples/getMachineLearningServicesQuotaLimits.json" - } + "put": { + "tags": [ + "QuotaInformation" + ], + "description": "Create or update the quota limit for the specified resource with the requested value. To update the quota, follow these steps:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.", + "operationId": "Quota_CreateOrUpdate", + "x-ms-examples": { + "Quotas_PutRequest_ForNetwork": { + "$ref": "./examples/putNetworkOneSkuQuotaRequest.json" }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ScopeInPath" - } - ], - "responses": { - "200": { - "description": "OK. Quota information will be returned in the response with pagination.", - "schema": { - "$ref": "#/definitions/QuotaLimits" - }, - "headers": { - "ETag": { - "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } - } + "Quotas_Put_Request_ForCompute": { + "$ref": "./examples/putComputeOneSkuQuotaRequest.json" + }, + "Quotas_Request_ForMachineLearningServices_DedicatedResource": { + "$ref": "./examples/putMachineLearningServicesQuotaRequestDedicated.json" }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "Quotas_Request_ForMachineLearningServices_LowPriorityResource": { + "$ref": "./examples/putMachineLearningServicesQuotaRequestLowPriority.json" + }, + "Quotas_PutRequest_ForNetwork_StandardSkuPublicIpAddressesResource": { + "$ref": "./examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json" } - } - }, - "/{scope}/providers/Microsoft.Quota/quotaRequests/{id}": { - "get": { - "tags": [ - "QuotaRequests" - ], - "x-ms-examples": { - "QuotaRequestStatus": { - "$ref": "./examples/getQuotaRequestStatusById.json" - }, - "QuotaRequestInProgress": { - "$ref": "./examples/getQuotaRequestStatusInProgress.json" - }, - "QuotaRequestFailed": { - "$ref": "./examples/getQuotaRequestStatusFailed.json" - } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceNameInParameters" }, - "description": "Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID **id** is returned in the response of the PUT operation.", - "operationId": "QuotaRequestStatus_Get", - "parameters": [ - { - "$ref": "#/parameters/RequestIdInParameters" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ScopeInPath" - } - ], - "responses": { - "200": { - "description": "OK. Returning the status for the quota request.", - "schema": { - "$ref": "#/definitions/QuotaRequestDetails" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ScopeInPath" + }, + { + "name": "createQuotaRequest", + "in": "body", + "description": "Quota request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/CurrentQuotaLimitBase" } } - } - }, - "/{scope}/providers/Microsoft.Quota/quotaRequests": { - "get": { - "tags": [ - "QuotaRequests" - ], - "x-ms-examples": { - "QuotaRequestHistory": { - "$ref": "./examples/getQuotaRequestsHistory.json" + ], + "responses": { + "200": { + "description": "OK. Returns the quota request details.", + "schema": { + "$ref": "#/definitions/CurrentQuotaLimitBase" } }, - "description": "For the specified scope, get the current quota requests for a one year period ending at the time is made. Use the **oData** filter to select quota requests.", - "operationId": "QuotaRequestStatus_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ScopeInPath" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "| Field | Supported operators \n|---------------------|------------------------\n\r\n|requestSubmitTime | ge, le, eq, gt, lt\n |provisioningState eq {QuotaRequestState}\n |resourceName eq {resourceName}\n" - }, - { - "$ref": "#/parameters/TopQueryParameter" - }, - { - "$ref": "#/parameters/SkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "OK. Sending quota request status and details.", - "schema": { - "$ref": "#/definitions/QuotaRequestDetailsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } + "202": { + "description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** obtained in the response of a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", + "schema": { + "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } } } }, - "/providers/Microsoft.Quota/operations": { - "get": { - "summary": "GET operations.", - "description": "List all the operations supported by the Microsoft.Quota resource provider.", - "operationId": "Operation_List", - "x-ms-examples": { - "GetOperations": { - "$ref": "./examples/GetOperations.json" - } + "patch": { + "tags": [ + "QuotaInformation" + ], + "description": "Update the quota limit for a specific resource to the specified value:\n1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.", + "operationId": "Quota_Update", + "x-ms-examples": { + "Quotas_Request_PatchForNetwork": { + "$ref": "./examples/patchNetworkOneSkuQuotaRequest.json" + }, + "Quotas_Request_PatchForCompute": { + "$ref": "./examples/patchComputeQuotaRequest.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceNameInParameters" }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + { + "$ref": "#/parameters/ApiVersionParameter" }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "tags": [ - "Operations" - ], - "responses": { - "200": { - "description": "List all the operations.", - "schema": { - "$ref": "#/definitions/OperationList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } + { + "$ref": "#/parameters/ScopeInPath" + }, + { + "name": "createQuotaRequest", + "in": "body", + "description": "Quota requests payload.", + "required": true, + "schema": { + "$ref": "#/definitions/CurrentQuotaLimitBase" } } - } - } - }, - "definitions": { - "OperationList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/OperationResponse" + ], + "responses": { + "200": { + "description": "OK. Returns the quota request details.", + "schema": { + "$ref": "#/definitions/CurrentQuotaLimitBase" } }, - "nextLink": { - "type": "string", - "description": "URL to get the next page of items." - } - } - }, - "OperationResponse": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplay" + "202": { + "description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** in a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", + "schema": { + "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" + } }, - "origin": { - "type": "string" + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } } } - }, - "OperationDisplay": { - "type": "object", - "properties": { - "provider": { - "type": "string", - "description": "Provider name." - }, - "resource": { - "type": "string", - "description": "Resource name." + } + }, + "/{scope}/providers/Microsoft.Quota/quotas": { + "get": { + "tags": [ + "QuotaInformation" + ], + "description": "Get a list of current quota limits of all resources for the specified scope. The response from this GET operation can be leveraged to submit requests to update a quota.", + "operationId": "Quota_List", + "x-ms-examples": { + "Quotas_listQuotaLimitsForNetwork": { + "$ref": "./examples/getNetworkQuotaLimits.json" }, - "operation": { - "type": "string", - "description": "Operation name." + "Quotas_listQuotaLimitsForCompute": { + "$ref": "./examples/getComputeQuotaLimits.json" }, - "description": { - "type": "string", - "description": "Operation description." + "Quotas_listQuotaLimitsMachineLearningServices": { + "$ref": "./examples/getMachineLearningServicesQuotaLimits.json" } - } - }, - "CommonResourceProperties": { - "type": "object", - "description": "Resource properties.", - "properties": { - "id": { - "description": "Resource ID", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource name.", - "type": "string", - "readOnly": true + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" }, - "type": { - "type": "string", - "readOnly": true, - "description": "Resource type. Example: \"Microsoft.Quota/quotas\"" + { + "$ref": "#/parameters/ScopeInPath" } - } - }, - "CurrentUsagesBase": { - "type": "object", - "description": "Resource usage.", - "x-ms-azure-resource": true, - "properties": { - "id": { - "description": "The resource ID.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The resource type.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The resource name.", - "type": "string", - "readOnly": true + ], + "responses": { + "200": { + "description": "OK. Quota information will be returned in the response with pagination.", + "schema": { + "$ref": "#/definitions/QuotaLimits" + }, + "headers": { + "ETag": { + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", + "type": "string" + } + } }, - "properties": { - "description": "Usage properties for the specified resource.", - "$ref": "#/definitions/UsagesProperties" + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "UsagesProperties": { - "description": "Usage properties for the specified resource.", - "type": "object", - "properties": { - "usages": { - "description": "The quota limit properties for this resource.", - "$ref": "#/definitions/UsagesObject" - }, - "unit": { - "description": " The units for the quota usage, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", - "$ref": "#/definitions/ResourceName" + } + }, + "/{scope}/providers/Microsoft.Quota/quotaRequests/{id}": { + "get": { + "tags": [ + "QuotaRequests" + ], + "x-ms-examples": { + "QuotaRequestStatus": { + "$ref": "./examples/getQuotaRequestStatusById.json" }, - "resourceType": { - "description": "The name of the resource type.", - "$ref": "#/definitions/ResourceTypesName" + "QuotaRequestInProgress": { + "$ref": "./examples/getQuotaRequestStatusInProgress.json" }, - "quotaPeriod": { - "description": "The time period for the summary of the quota usage values. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because it is not relevant for all resources such as compute.", - "type": "string", - "readOnly": true + "QuotaRequestFailed": { + "$ref": "./examples/getQuotaRequestStatusFailed.json" + } + }, + "description": "Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID **id** is returned in the response of the PUT operation.", + "operationId": "QuotaRequestStatus_Get", + "parameters": [ + { + "$ref": "#/parameters/RequestIdInParameters" }, - "isQuotaApplicable": { - "description": "States if quota can be requested for this resource.", - "type": "boolean", - "readOnly": true + { + "$ref": "#/parameters/ApiVersionParameter" }, - "properties": { - "description": "Additional properties for the specific resource provider.", - "type": "object" + { + "$ref": "#/parameters/ScopeInPath" } - } - }, - "UsagesLimits": { - "type": "object", - "description": "Quota limits.", - "properties": { - "value": { - "description": "List of quota limits.", - "type": "array", - "items": { - "$ref": "#/definitions/CurrentUsagesBase" + ], + "responses": { + "200": { + "description": "OK. Returning the status for the quota request.", + "schema": { + "$ref": "#/definitions/QuotaRequestDetails" } }, - "nextLink": { - "description": "The URI used to fetch the next page of quota limits. When there are no more pages, this is null.", - "type": "string" + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } } } - }, - "CurrentQuotaLimitBase": { - "type": "object", - "description": "Quota limit.", - "x-ms-azure-resource": true, - "properties": { - "id": { - "description": "The resource ID.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The resource type.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The resource name.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Quota properties for the specified resource, based on the API called, Quotas or Usages.", - "$ref": "#/definitions/QuotaProperties" + } + }, + "/{scope}/providers/Microsoft.Quota/quotaRequests": { + "get": { + "tags": [ + "QuotaRequests" + ], + "x-ms-examples": { + "QuotaRequestHistory": { + "$ref": "./examples/getQuotaRequestsHistory.json" } - } - }, - "QuotaProperties": { - "description": "Quota properties for the specified resource.", - "type": "object", - "properties": { - "limit": { - "description": "Resource quota limit properties.", - "$ref": "#/definitions/LimitJsonObject" - }, - "unit": { - "description": " The quota units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", - "$ref": "#/definitions/ResourceName" + }, + "description": "For the specified scope, get the current quota requests for a one year period ending at the time is made. Use the **oData** filter to select quota requests.", + "operationId": "QuotaRequestStatus_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" }, - "resourceType": { - "description": "Resource type name.", - "$ref": "#/definitions/ResourceTypesName" + { + "$ref": "#/parameters/ScopeInPath" }, - "quotaPeriod": { - "description": "The time period over which the quota usage values are summarized. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because, for some resources like compute, the period is irrelevant.", + { + "name": "$filter", + "in": "query", + "required": false, "type": "string", - "readOnly": true - }, - "isQuotaApplicable": { - "description": "States if quota can be requested for this resource.", - "type": "boolean", - "readOnly": true + "description": "| Field | Supported operators \n|---------------------|------------------------\n\r\n|requestSubmitTime | ge, le, eq, gt, lt\n |provisioningState eq {QuotaRequestState}\n |resourceName eq {resourceName}\n" }, - "properties": { - "description": "Additional properties for the specific resource provider.", - "type": "object" - } - } - }, - "ResourceName": { - "type": "object", - "description": "Name of the resource provided by the resource Provider. When requesting quota, use this property name.", - "properties": { - "value": { - "description": "Resource name.", - "type": "string", - "readOnly": false + { + "$ref": "#/parameters/TopQueryParameter" }, - "localizedValue": { - "description": "Resource display name.", - "type": "string", - "readOnly": true + { + "$ref": "#/parameters/SkipTokenParameter" } - } - }, - "QuotaLimits": { - "type": "object", - "description": "Quota limits.", - "properties": { - "value": { - "description": "List of quota limits.", - "type": "array", - "items": { - "$ref": "#/definitions/CurrentQuotaLimitBase" + ], + "responses": { + "200": { + "description": "OK. Sending quota request status and details.", + "schema": { + "$ref": "#/definitions/QuotaRequestDetailsList" } }, - "nextLink": { - "description": "The URI used to fetch the next page of quota limits. When there are no more pages, this string is null.", - "type": "string" + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "QuotaLimitsResponse": { - "type": "object", - "description": "Quota limits request response.", - "properties": { - "value": { - "description": "List of quota limits with the quota request status.", - "type": "array", - "items": { - "$ref": "#/definitions/CurrentQuotaLimitBase" + } + }, + "/providers/Microsoft.Quota/operations": { + "get": { + "summary": "GET operations.", + "description": "List all the operations supported by the Microsoft.Quota resource provider.", + "operationId": "Operation_List", + "x-ms-examples": { + "GetOperations": { + "$ref": "./examples/GetOperations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Operations" + ], + "responses": { + "200": { + "description": "List all the operations.", + "schema": { + "$ref": "#/definitions/OperationList" } }, - "nextLink": { - "description": "The URI used to fetch the next page of quota limits. When there are no more pages, this is null.", - "type": "string" - } - } - }, - "CreateGenericQuotaRequestParameters": { - "type": "object", - "description": "Quota change requests information.", - "properties": { - "value": { - "description": "Quota change requests.", - "type": "array", - "items": { - "$ref": "#/definitions/CurrentQuotaLimitBase" + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" } } } - }, - "SubRequest": { - "type": "object", - "description": "Request property.", - "properties": { - "name": { - "description": "Resource name.", - "$ref": "#/definitions/ResourceName" - }, - "resourceType": { - "description": "Resource type for which the quota properties were requested.", - "type": "string", - "readOnly": true - }, - "unit": { - "description": " Quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", - "type": "string" - }, - "provisioningState": { - "description": "The quota request status.", - "$ref": "#/definitions/QuotaRequestState" - }, - "message": { - "description": "User-friendly status message.", - "type": "string", - "readOnly": true - }, - "subRequestId": { - "description": "Quota request ID.", - "type": "string", - "readOnly": true - }, - "limit": { - "description": "Resource quota limit properties.", - "$ref": "#/definitions/LimitJsonObject" + } + } + }, + "definitions": { + "OperationList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/OperationResponse" } + }, + "nextLink": { + "type": "string", + "description": "URL to get the next page of items." } - }, - "LimitObjectTypes": { - "description": "The limit object type.", - "enum": [ - "LimitValue" - ], - "type": "string", - "x-ms-enum": { - "name": "limitType", - "modelAsString": true + } + }, + "OperationResponse": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplay" + }, + "origin": { + "type": "string" } - }, - "LimitTypes": { - "description": "The quota or usages limit types.", - "enum": [ - "Independent", - "Shared" - ], - "type": "string", - "x-ms-enum": { - "name": "quotaLimitTypes", - "modelAsString": true + } + }, + "OperationDisplay": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "description": "Provider name." + }, + "resource": { + "type": "string", + "description": "Resource name." + }, + "operation": { + "type": "string", + "description": "Operation name." + }, + "description": { + "type": "string", + "description": "Operation description." } - }, - "LimitJsonObject": { - "description": "LimitJson abstract class.", - "required": [ - "limitObjectType" - ], - "type": "object", + } + }, + "CommonResourceProperties": { + "type": "object", + "description": "Resource properties.", + "properties": { + "id": { + "description": "Resource ID", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource name.", + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type. Example: \"Microsoft.Quota/quotas\"" + } + } + }, + "CurrentUsagesBase": { + "type": "object", + "description": "Resource usage.", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "The resource ID.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The resource type.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The resource name.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Usage properties for the specified resource.", + "$ref": "#/definitions/UsagesProperties" + } + } + }, + "UsagesProperties": { + "description": "Usage properties for the specified resource.", + "type": "object", + "properties": { + "usages": { + "description": "The quota limit properties for this resource.", + "$ref": "#/definitions/UsagesObject" + }, + "unit": { + "description": " The units for the quota usage, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", + "$ref": "#/definitions/ResourceName" + }, + "resourceType": { + "description": "The name of the resource type.", + "$ref": "#/definitions/ResourceTypesName" + }, + "quotaPeriod": { + "description": "The time period for the summary of the quota usage values. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because it is not relevant for all resources such as compute.", + "type": "string", + "readOnly": true + }, + "isQuotaApplicable": { + "description": "States if quota can be requested for this resource.", + "type": "boolean", + "readOnly": true + }, "properties": { - "limitObjectType": { - "$ref": "#/definitions/LimitObjectTypes" + "description": "Additional properties for the specific resource provider.", + "type": "object" + } + } + }, + "UsagesLimits": { + "type": "object", + "description": "Quota limits.", + "properties": { + "value": { + "description": "List of quota limits.", + "type": "array", + "items": { + "$ref": "#/definitions/CurrentUsagesBase" } }, - "discriminator": "limitObjectType" - }, - "UsagesTypes": { - "description": "The quota or usages limit types.", - "enum": [ - "Individual", - "Combined" - ], - "type": "string", - "x-ms-enum": { - "name": "usagesTypes", - "modelAsString": true + "nextLink": { + "description": "The URI used to fetch the next page of quota limits. When there are no more pages, this is null.", + "type": "string" } - }, - "UsagesObject": { - "description": "The resource usages value.", - "type": "object", + } + }, + "CurrentQuotaLimitBase": { + "type": "object", + "description": "Quota limit.", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "The resource ID.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The resource type.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The resource name.", + "type": "string", + "readOnly": true + }, "properties": { - "value": { - "type": "integer", - "format": "int32", - "description": "The usages value." - }, - "usagesType": { - "$ref": "#/definitions/UsagesTypes" - } + "description": "Quota properties for the specified resource, based on the API called, Quotas or Usages.", + "$ref": "#/definitions/QuotaProperties" + } + } + }, + "QuotaProperties": { + "description": "Quota properties for the specified resource.", + "type": "object", + "properties": { + "limit": { + "description": "Resource quota limit properties.", + "$ref": "#/definitions/LimitJsonObject" + }, + "unit": { + "description": " The quota units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", + "$ref": "#/definitions/ResourceName" + }, + "resourceType": { + "description": "Resource type name.", + "$ref": "#/definitions/ResourceTypesName" + }, + "quotaPeriod": { + "description": "The time period over which the quota usage values are summarized. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because, for some resources like compute, the period is irrelevant.", + "type": "string", + "readOnly": true + }, + "isQuotaApplicable": { + "description": "States if quota can be requested for this resource.", + "type": "boolean", + "readOnly": true }, - "required": [ - "value" - ] - }, - "LimitObject": { - "description": "The resource quota limit value.", - "type": "object", "properties": { - "value": { - "type": "integer", - "format": "int32", - "description": "The quota/limit value" - }, - "limitObjectType": { - "$ref": "#/definitions/LimitObjectTypes" - }, - "limitType": { - "$ref": "#/definitions/LimitTypes" + "description": "Additional properties for the specific resource provider.", + "type": "object" + } + } + }, + "ResourceName": { + "type": "object", + "description": "Name of the resource provided by the resource Provider. When requesting quota, use this property name.", + "properties": { + "value": { + "description": "Resource name.", + "type": "string", + "readOnly": false + }, + "localizedValue": { + "description": "Resource display name.", + "type": "string", + "readOnly": true + } + } + }, + "QuotaLimits": { + "type": "object", + "description": "Quota limits.", + "properties": { + "value": { + "description": "List of quota limits.", + "type": "array", + "items": { + "$ref": "#/definitions/CurrentQuotaLimitBase" } }, - "required": [ - "value" - ] - }, - "LimitValue": { - "x-ms-discriminator-value": "LimitValue", - "type": "object", - "description": "The resource quota limit.", - "allOf": [ - { - "$ref": "#/definitions/LimitJsonObject" - }, - { - "$ref": "#/definitions/LimitObject" + "nextLink": { + "description": "The URI used to fetch the next page of quota limits. When there are no more pages, this string is null.", + "type": "string" + } + } + }, + "QuotaLimitsResponse": { + "type": "object", + "description": "Quota limits request response.", + "properties": { + "value": { + "description": "List of quota limits with the quota request status.", + "type": "array", + "items": { + "$ref": "#/definitions/CurrentQuotaLimitBase" } - ] - }, - "QuotaRequestOneResourceSubmitResponse": { - "description": "Quota request response.", - "type": "object", - "x-ms-azure-resource": true, - "properties": { - "id": { - "description": "Quota request ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the quota request.", - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Resource type. \"Microsoft.Quota/ServiceLimitRequests\"" - }, - "properties": { - "description": "Quota request details.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/quotaRequestOneResourceProperties" + }, + "nextLink": { + "description": "The URI used to fetch the next page of quota limits. When there are no more pages, this is null.", + "type": "string" + } + } + }, + "CreateGenericQuotaRequestParameters": { + "type": "object", + "description": "Quota change requests information.", + "properties": { + "value": { + "description": "Quota change requests.", + "type": "array", + "items": { + "$ref": "#/definitions/CurrentQuotaLimitBase" } } + } + }, + "SubRequest": { + "type": "object", + "description": "Request property.", + "properties": { + "name": { + "description": "Resource name.", + "$ref": "#/definitions/ResourceName" + }, + "resourceType": { + "description": "Resource type for which the quota properties were requested.", + "type": "string", + "readOnly": true + }, + "unit": { + "description": " Quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", + "type": "string" + }, + "provisioningState": { + "description": "The quota request status.", + "$ref": "#/definitions/QuotaRequestState" + }, + "message": { + "description": "User-friendly status message.", + "type": "string", + "readOnly": true + }, + "subRequestId": { + "description": "Quota request ID.", + "type": "string", + "readOnly": true + }, + "limit": { + "description": "Resource quota limit properties.", + "$ref": "#/definitions/LimitJsonObject" + } + } + }, + "LimitObjectTypes": { + "description": "The limit object type.", + "enum": [ + "LimitValue" + ], + "type": "string", + "x-ms-enum": { + "name": "limitType", + "modelAsString": true + } + }, + "LimitTypes": { + "description": "The quota or usages limit types.", + "enum": [ + "Independent", + "Shared" + ], + "type": "string", + "x-ms-enum": { + "name": "quotaLimitTypes", + "modelAsString": true + } + }, + "LimitJsonObject": { + "description": "LimitJson abstract class.", + "required": [ + "limitObjectType" + ], + "type": "object", + "properties": { + "limitObjectType": { + "$ref": "#/definitions/LimitObjectTypes" + } }, - "QuotaRequestSubmitResponse": { - "description": "Quota request response.", - "type": "object", - "x-ms-azure-resource": true, - "properties": { - "id": { - "description": "Quota request ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Quota request name.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Quota request details.", - "type": "object", - "$ref": "#/definitions/QuotaRequestProperties" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Resource type. \"Microsoft.Quota/quotas\"." - } + "discriminator": "limitObjectType" + }, + "UsagesTypes": { + "description": "The quota or usages limit types.", + "enum": [ + "Individual", + "Combined" + ], + "type": "string", + "x-ms-enum": { + "name": "usagesTypes", + "modelAsString": true + } + }, + "UsagesObject": { + "description": "The resource usages value.", + "type": "object", + "properties": { + "value": { + "type": "integer", + "format": "int32", + "description": "The usages value." + }, + "usagesType": { + "$ref": "#/definitions/UsagesTypes" } }, - "QuotaRequestSubmitResponse202": { - "description": "The quota request response with the quota request ID.", - "type": "object", - "properties": { - "id": { - "description": "The quota request ID. To check the request status, use the **id** value in a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Operation ID.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Quota request status.", - "$ref": "#/definitions/QuotaRequestStatusDetails", - "x-ms-client-flatten": true - } + "required": [ + "value" + ] + }, + "LimitObject": { + "description": "The resource quota limit value.", + "type": "object", + "properties": { + "value": { + "type": "integer", + "format": "int32", + "description": "The quota/limit value" + }, + "limitObjectType": { + "$ref": "#/definitions/LimitObjectTypes" + }, + "limitType": { + "$ref": "#/definitions/LimitTypes" } }, - "QuotaRequestStatusDetails": { - "description": "Quota request status details.", - "type": "object", + "required": [ + "value" + ] + }, + "LimitValue": { + "x-ms-discriminator-value": "LimitValue", + "type": "object", + "description": "The resource quota limit.", + "allOf": [ + { + "$ref": "#/definitions/LimitJsonObject" + }, + { + "$ref": "#/definitions/LimitObject" + } + ] + }, + "QuotaRequestOneResourceSubmitResponse": { + "description": "Quota request response.", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "Quota request ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of the quota request.", + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type. \"Microsoft.Quota/ServiceLimitRequests\"" + }, "properties": { - "provisioningState": { - "description": "Quota request status.", - "$ref": "#/definitions/QuotaRequestState", - "readOnly": true - }, - "message": { - "description": "User-friendly message.", - "type": "string", - "readOnly": true - }, - "limit": { - "description": "Resource quota limit properties.", - "$ref": "#/definitions/LimitObject" - }, - "unit": { - "description": " The quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", - "type": "string", - "readOnly": false - }, - "name": { - "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", - "$ref": "#/definitions/ResourceName" - }, - "resourceType": { - "description": "Resource type name.", - "$ref": "#/definitions/ResourceTypesName" - }, - "quotaPeriod": { - "description": "The time period over which the quota usage values are summarized. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because, for some resources like compute, the period is irrelevant.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Additional properties for the specific resource provider.", - "type": "object" - } + "description": "Quota request details.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/quotaRequestOneResourceProperties" } - }, - "QuotaRequestDetails": { - "type": "object", - "description": "List of quota requests with details.", + } + }, + "QuotaRequestSubmitResponse": { + "description": "Quota request response.", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "Quota request ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Quota request name.", + "type": "string", + "readOnly": true + }, "properties": { - "id": { - "description": "Quota request ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Quota request name.", - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Resource type. \"Microsoft.Quota/quotas\"." - }, - "properties": { - "description": "Quota request details.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/QuotaRequestProperties" - } + "description": "Quota request details.", + "type": "object", + "$ref": "#/definitions/QuotaRequestProperties" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type. \"Microsoft.Quota/quotas\"." } - }, - "QuotaRequestDetailsList": { - "description": "Quota request information.", - "type": "object", + } + }, + "QuotaRequestSubmitResponse202": { + "description": "The quota request response with the quota request ID.", + "type": "object", + "properties": { + "id": { + "description": "The quota request ID. To check the request status, use the **id** value in a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Operation ID.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type.", + "type": "string", + "readOnly": true + }, "properties": { - "value": { - "description": "Quota request details.", - "type": "array", - "items": { - "$ref": "#/definitions/QuotaRequestDetails" - } - }, - "nextLink": { - "description": "The URI for fetching the next page of quota limits. When there are no more pages, this string is null.", - "type": "string" - } + "description": "Quota request status.", + "$ref": "#/definitions/QuotaRequestStatusDetails", + "x-ms-client-flatten": true } - }, - "QuotaRequestProperties": { - "type": "object", - "description": "Quota request properties.", + } + }, + "QuotaRequestStatusDetails": { + "description": "Quota request status details.", + "type": "object", + "properties": { + "provisioningState": { + "description": "Quota request status.", + "$ref": "#/definitions/QuotaRequestState", + "readOnly": true + }, + "message": { + "description": "User-friendly message.", + "type": "string", + "readOnly": true + }, + "limit": { + "description": "Resource quota limit properties.", + "$ref": "#/definitions/LimitObject" + }, + "unit": { + "description": " The quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", + "type": "string", + "readOnly": false + }, + "name": { + "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", + "$ref": "#/definitions/ResourceName" + }, + "resourceType": { + "description": "Resource type name.", + "$ref": "#/definitions/ResourceTypesName" + }, + "quotaPeriod": { + "description": "The time period over which the quota usage values are summarized. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because, for some resources like compute, the period is irrelevant.", + "type": "string", + "readOnly": true + }, "properties": { - "provisioningState": { - "description": "The quota request status.", - "$ref": "#/definitions/QuotaRequestState" - }, - "message": { - "description": "User-friendly status message.", - "type": "string", - "readOnly": true - }, - "error": { - "description": "Error details of the quota request.", - "$ref": "#/definitions/ServiceErrorDetail" - }, - "requestSubmitTime": { - "description": "The quota request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ", - "type": "string", - "readOnly": true, - "format": "date-time" - }, - "value": { - "description": "Quota request details.", - "type": "array", - "items": { - "$ref": "#/definitions/SubRequest" - } - } + "description": "Additional properties for the specific resource provider.", + "type": "object" } - }, - "quotaRequestOneResourceProperties": { - "type": "object", - "description": "Quota request.", + } + }, + "QuotaRequestDetails": { + "type": "object", + "description": "List of quota requests with details.", + "properties": { + "id": { + "description": "Quota request ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Quota request name.", + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type. \"Microsoft.Quota/quotas\"." + }, "properties": { - "provisioningState": { - "description": "Quota request status.", - "readOnly": true, - "$ref": "#/definitions/QuotaRequestState" - }, - "message": { - "description": "User-friendly status message.", - "type": "string", - "readOnly": true - }, - "requestSubmitTime": { - "description": "Quota request submission time. The date conforms to the following ISO 8601 standard format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string", - "readOnly": true, - "format": "date-time" - }, - "limit": { - "description": "Resource quota limit properties.", - "$ref": "#/definitions/LimitObject" - }, - "currentValue": { - "description": "Usage information for the current resource.", - "type": "integer", - "format": "int32", - "readOnly": true - }, - "unit": { - "description": " The quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", - "type": "string", - "readOnly": false - }, - "name": { - "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", - "$ref": "#/definitions/ResourceName" - }, - "resourceType": { - "description": "Resource type name.", - "$ref": "#/definitions/ResourceTypesName" - }, - "quotaPeriod": { - "description": "The time period over which the quota usage values are summarized. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because, for some resources like compute, the period is irrelevant.", - "type": "string", - "readOnly": true - }, - "isQuotaApplicable": { - "description": "States if quota can be requested for this resource.", - "type": "boolean", - "readOnly": true - }, - "error": { - "description": "Error details of the quota request.", - "$ref": "#/definitions/ServiceErrorDetail" - }, - "properties": { - "description": "Additional properties for the specific resource provider.", - "type": "object" - } + "description": "Quota request details.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/QuotaRequestProperties" } - }, - "QuotaRequestState": { - "description": "Quota request status.", - "enum": [ - "Accepted", - "Invalid", - "Succeeded", - "Failed", - "InProgress" - ], - "readOnly": true, - "type": "string", - "x-ms-enum": { - "name": "QuotaRequestState", - "modelAsString": true + } + }, + "QuotaRequestDetailsList": { + "description": "Quota request information.", + "type": "object", + "properties": { + "value": { + "description": "Quota request details.", + "type": "array", + "items": { + "$ref": "#/definitions/QuotaRequestDetails" + } + }, + "nextLink": { + "description": "The URI for fetching the next page of quota limits. When there are no more pages, this string is null.", + "type": "string" } - }, - "ResourceTypesName": { - "description": "Resource types. For extensibility, it is a string.", - "readOnly": false, - "type": "string" - }, - "ExceptionResponse": { - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/ServiceError", - "description": "API error details." + } + }, + "QuotaRequestProperties": { + "type": "object", + "description": "Quota request properties.", + "properties": { + "provisioningState": { + "description": "The quota request status.", + "$ref": "#/definitions/QuotaRequestState" + }, + "message": { + "description": "User-friendly status message.", + "type": "string", + "readOnly": true + }, + "error": { + "description": "Error details of the quota request.", + "$ref": "#/definitions/ServiceErrorDetail" + }, + "requestSubmitTime": { + "description": "The quota request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ", + "type": "string", + "readOnly": true, + "format": "date-time" + }, + "value": { + "description": "Quota request details.", + "type": "array", + "items": { + "$ref": "#/definitions/SubRequest" } + } + } + }, + "quotaRequestOneResourceProperties": { + "type": "object", + "description": "Quota request.", + "properties": { + "provisioningState": { + "description": "Quota request status.", + "readOnly": true, + "$ref": "#/definitions/QuotaRequestState" + }, + "message": { + "description": "User-friendly status message.", + "type": "string", + "readOnly": true + }, + "requestSubmitTime": { + "description": "Quota request submission time. The date conforms to the following ISO 8601 standard format: yyyy-MM-ddTHH:mm:ssZ.", + "type": "string", + "readOnly": true, + "format": "date-time" + }, + "limit": { + "description": "Resource quota limit properties.", + "$ref": "#/definitions/LimitObject" + }, + "currentValue": { + "description": "Usage information for the current resource.", + "type": "integer", + "format": "int32", + "readOnly": true + }, + "unit": { + "description": " The quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.", + "type": "string", + "readOnly": false + }, + "name": { + "description": "Resource name provided by the resource provider. Use this property name when requesting quota.", + "$ref": "#/definitions/ResourceName" + }, + "resourceType": { + "description": "Resource type name.", + "$ref": "#/definitions/ResourceTypesName" + }, + "quotaPeriod": { + "description": "The time period over which the quota usage values are summarized. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because, for some resources like compute, the period is irrelevant.", + "type": "string", + "readOnly": true + }, + "isQuotaApplicable": { + "description": "States if quota can be requested for this resource.", + "type": "boolean", + "readOnly": true + }, + "error": { + "description": "Error details of the quota request.", + "$ref": "#/definitions/ServiceErrorDetail" }, - "description": "Error." - }, - "ServiceError": { - "description": "API error details.", - "type": "object", "properties": { - "code": { - "type": "string", - "description": "Error code." - }, - "message": { - "type": "string", - "description": "Error message." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/ServiceErrorDetail" - }, - "description": "List of error details.", - "readOnly": true - } + "description": "Additional properties for the specific resource provider.", + "type": "object" + } + } + }, + "QuotaRequestState": { + "description": "Quota request status.", + "enum": [ + "Accepted", + "Invalid", + "Succeeded", + "Failed", + "InProgress" + ], + "readOnly": true, + "type": "string", + "x-ms-enum": { + "name": "QuotaRequestState", + "modelAsString": true + } + }, + "ResourceTypesName": { + "description": "Resource types. For extensibility, it is a string.", + "readOnly": false, + "type": "string" + }, + "ExceptionResponse": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ServiceError", + "description": "API error details." } }, - "ServiceErrorDetail": { - "description": "Error details.", - "type": "object", - "properties": { - "code": { - "type": "string", - "readOnly": true, - "description": "Error code." + "description": "Error." + }, + "ServiceError": { + "description": "API error details.", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "message": { + "type": "string", + "description": "Error message." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceErrorDetail" }, - "message": { - "type": "string", - "readOnly": true, - "description": "Error message." - } + "description": "List of error details.", + "readOnly": true } } }, - "parameters": { - "SubscriptionIdInParameters": { - "name": "subscriptionId", - "x-ms-parameter-location": "method", - "in": "path", - "required": true, - "type": "string", - "description": "Azure subscription ID." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for this operation.", - "minLength": 1 - }, - "ResourceNameInParameters": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "Resource name for a given resource provider. For example:\r\n- SKU name for Microsoft.Compute\r\n- SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices\r\n For Microsoft.Network PublicIPAddresses.", - "x-ms-parameter-location": "method" - }, - "ResourceDimensionTypeInParameter": { - "name": "resourceDimension", - "in": "path", - "required": true, - "type": "string", - "description": "Resource dimension type for a resource provider. For example:\r\n- locations and SKUs for Microsoft.Compute\r\n- resource groups, batch accounts, and SKUs for Microsoft.Batch", - "x-ms-parameter-location": "method" - }, - "RequestIdInParameters": { - "name": "id", - "in": "path", - "required": true, - "type": "string", - "description": "Quota request ID.", - "x-ms-parameter-location": "method" - }, - "TopQueryParameter": { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "Number of records to return.", - "minimum": 1, - "x-ms-parameter-location": "method" - }, - "SkipTokenParameter": { - "name": "$skiptoken", - "in": "query", - "type": "string", - "required": false, - "description": "The **Skiptoken** parameter is used only if a previous operation returned a partial result. If a previous response contains a **nextLink** element, its value includes a **skiptoken** parameter that specifies a starting point to use for subsequent calls.", - "x-ms-parameter-location": "method" - }, - "ScopeInPath": { - "name": "scope", - "description": "The target Azure resource URI. For example, `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`. This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific resource.", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true + "ServiceErrorDetail": { + "description": "Error details.", + "type": "object", + "properties": { + "code": { + "type": "string", + "readOnly": true, + "description": "Error code." + }, + "message": { + "type": "string", + "readOnly": true, + "description": "Error message." + } } } + }, + "parameters": { + "SubscriptionIdInParameters": { + "name": "subscriptionId", + "x-ms-parameter-location": "method", + "in": "path", + "required": true, + "type": "string", + "description": "Azure subscription ID." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for this operation.", + "minLength": 1 + }, + "ResourceNameInParameters": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "Resource name for a given resource provider. For example:\r\n- SKU name for Microsoft.Compute\r\n- SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices\r\n For Microsoft.Network PublicIPAddresses.", + "x-ms-parameter-location": "method" + }, + "ResourceDimensionTypeInParameter": { + "name": "resourceDimension", + "in": "path", + "required": true, + "type": "string", + "description": "Resource dimension type for a resource provider. For example:\r\n- locations and SKUs for Microsoft.Compute\r\n- resource groups, batch accounts, and SKUs for Microsoft.Batch", + "x-ms-parameter-location": "method" + }, + "RequestIdInParameters": { + "name": "id", + "in": "path", + "required": true, + "type": "string", + "description": "Quota request ID.", + "x-ms-parameter-location": "method" + }, + "TopQueryParameter": { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "Number of records to return.", + "minimum": 1, + "x-ms-parameter-location": "method" + }, + "SkipTokenParameter": { + "name": "$skiptoken", + "in": "query", + "type": "string", + "required": false, + "description": "The **Skiptoken** parameter is used only if a previous operation returned a partial result. If a previous response contains a **nextLink** element, its value includes a **skiptoken** parameter that specifies a starting point to use for subsequent calls.", + "x-ms-parameter-location": "method" + }, + "ScopeInPath": { + "name": "scope", + "description": "The target Azure resource URI. For example, `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`. This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after `/quotas`, then it's the target Azure resource URI in the GET operation for the specific resource.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + } } +} From 0156a9c1edb1f78451a63b9f6395cec5761158a1 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 26 Aug 2021 11:17:06 -0700 Subject: [PATCH 123/127] Updating Network examples to include resourceType. --- .../examples/getNetworkOneSkuQuotaLimit.json | 3 ++- .../2021-03-15-preview/examples/getNetworkOneSkuUsages.json | 3 ++- .../examples/patchNetworkOneSkuQuotaRequest.json | 3 ++- .../examples/putNetworkOneSkuQuotaRequest.json | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json index 3d7588243fef..b5d0d9eecca3 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuQuotaLimit.json @@ -20,7 +20,8 @@ "localizedValue": "Min Public Ip InterNetwork Prefix Length" }, "unit": "Count", - "isQuotaApplicable": true + "isQuotaApplicable": true, + "resourceType": "MinPublicIpInterNetworkPrefixLength" } } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json index 8b5252dd3a3c..9ad0cac2e833 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkOneSkuUsages.json @@ -19,7 +19,8 @@ "localizedValue": "Min Public Ip InterNetwork Prefix Length" }, "unit": "Count", - "isQuotaApplicable": true + "isQuotaApplicable": true, + "resourceType": "MinPublicIpInterNetworkPrefixLength" } } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json index 32ba577531f2..b1e68eeff5c4 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json @@ -47,7 +47,8 @@ }, "name": { "value": "MinPublicIpInterNetworkPrefixLength" - } + }, + "resourceType": "MinPublicIpInterNetworkPrefixLength" } } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json index 32ba577531f2..b1e68eeff5c4 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json @@ -47,7 +47,8 @@ }, "name": { "value": "MinPublicIpInterNetworkPrefixLength" - } + }, + "resourceType": "MinPublicIpInterNetworkPrefixLength" } } } From 011be4e561fb32750ed3008d98147fa5039fb104 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Thu, 26 Aug 2021 11:38:46 -0700 Subject: [PATCH 124/127] Updating Networking Examples. --- .../examples/getNetworkQuotaLimits.json | 3 ++- .../examples/getNetworkUsages.json | 12 ++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json index ddd5bb43613c..bfa5fb9cfe6c 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkQuotaLimits.json @@ -685,7 +685,8 @@ "localizedValue": "Min Public Ip InterNetwork Prefix Length" }, "properties": {}, - "isQuotaApplicable": true + "isQuotaApplicable": true, + "resourceType": "MinPublicIpInterNetworkPrefixLength" }, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", "type": "Microsoft.Quota/Quotas", diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json index a2e3e7265307..7e3417e33c8c 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json @@ -68,8 +68,9 @@ "value": "PublicIPAddresses", "localizedValue": "Public IP Addresses - Basic" }, - "properties": {}, - "isQuotaApplicable": true + "isQuotaApplicable": true, + "resourceType": "PublicIpAddresses", + "properties": {} }, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", "type": "Microsoft.Quota/usages", @@ -323,8 +324,11 @@ "value": "StandardSkuPublicIpAddresses", "localizedValue": "Public IP Addresses - Standard" }, - "properties": {}, - "isQuotaApplicable": true + "properties": { + "availabilityZoneType": "Zonal" + }, + "isQuotaApplicable": true, + "resourceType": "PublicIpAddresses" }, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", "type": "Microsoft.Quota/usages", From 58b777a6c6b9c7552bdba427cbf5082fe49327ab Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Fri, 27 Aug 2021 10:18:56 -0700 Subject: [PATCH 125/127] Remove 202 response body for Put and Patch. --- .../examples/getNetworkUsages.json | 3 --- .../examples/patchComputeQuotaRequest.json | 9 --------- .../patchNetworkOneSkuQuotaRequest.json | 9 --------- .../putComputeOneSkuQuotaRequest.json | 9 --------- ...LearningServicesQuotaRequestDedicated.json | 14 -------------- ...arningServicesQuotaRequestLowPriority.json | 9 --------- .../putNetworkOneSkuQuotaRequest.json | 9 --------- ...taRequestStandardSkuPublicIpAddresses.json | 19 ++----------------- .../preview/2021-03-15-preview/quota.json | 10 ++-------- 9 files changed, 4 insertions(+), 87 deletions(-) diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json index 7e3417e33c8c..d96c10c13931 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/getNetworkUsages.json @@ -324,9 +324,6 @@ "value": "StandardSkuPublicIpAddresses", "localizedValue": "Public IP Addresses - Standard" }, - "properties": { - "availabilityZoneType": "Zonal" - }, "isQuotaApplicable": true, "resourceType": "PublicIpAddresses" }, diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json index 3e3e4558697a..228a4ee7c406 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchComputeQuotaRequest.json @@ -20,15 +20,6 @@ "headers": { "Retry-After": "30", "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" - }, - "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", - "type": "Microsoft.Quota/quotas", - "name": "standardFSv2Family", - "properties": { - "provisioningState": "InProgress", - "message": "" - } } }, "200": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json index b1e68eeff5c4..de67a65dcbc0 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/patchNetworkOneSkuQuotaRequest.json @@ -21,15 +21,6 @@ "headers": { "Retry-After": "30", "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" - }, - "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotas", - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "properties": { - "provisioningState": "InProgress", - "message": "" - } } }, "200": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json index 3c8d3fd7cd25..1b21eca08edd 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putComputeOneSkuQuotaRequest.json @@ -20,15 +20,6 @@ "headers": { "Retry-After": "30", "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" - }, - "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", - "type": "Microsoft.Quota/quotas", - "name": "standardFSv2Family", - "properties": { - "provisioningState": "InProgress", - "message": "" - } } }, "200": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json index 3c8d3fd7cd25..4807ac2fb58b 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json @@ -34,20 +34,6 @@ "200": { "headers": { "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" - }, - "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", - "type": "Microsoft.Quota/quotas", - "name": "standardFSv2Family", - "properties": { - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "name": { - "value": "standardFSv2Family" - } - } } } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json index dd6db0942a35..f00fc14f86e1 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json @@ -21,15 +21,6 @@ "headers": { "Retry-After": "30", "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" - }, - "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotas/TotalLowPriorityCores", - "type": "Microsoft.Quota/quotas", - "name": "TotalLowPriorityCores", - "properties": { - "provisioningState": "InProgress", - "message": "" - } } }, "200": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json index b1e68eeff5c4..de67a65dcbc0 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequest.json @@ -21,15 +21,6 @@ "headers": { "Retry-After": "30", "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" - }, - "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotas", - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "properties": { - "provisioningState": "InProgress", - "message": "" - } } }, "200": { diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json index 7132ac16e639..31b960611ce5 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json @@ -12,10 +12,7 @@ "name": { "value": "StandardSkuPublicIpAddresses" }, - "resourceType": "PublicIpAddresses", - "properties": { - "availabilityZoneType": "Zonal" - } + "resourceType": "PublicIpAddresses" } } }, @@ -24,15 +21,6 @@ "headers": { "Retry-After": "30", "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" - }, - "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotas", - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "properties": { - "provisioningState": "InProgress", - "message": "" - } } }, "200": { @@ -51,10 +39,7 @@ "name": { "value": "StandardSkuPublicIpAddresses" }, - "resourceType": "PublicIpAddresses", - "properties": { - "availabilityZoneType": "Zonal" - } + "resourceType": "PublicIpAddresses" } } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 8665fc769f92..3ace82cb62aa 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -235,10 +235,7 @@ } }, "202": { - "description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** obtained in the response of a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", - "schema": { - "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" - } + "description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** obtained in the response of a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation." }, "default": { "description": "Error response describing why the operation failed.", @@ -294,10 +291,7 @@ } }, "202": { - "description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** in a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.", - "schema": { - "$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse" - } + "description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** in a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation." }, "default": { "description": "Error response describing why the operation failed.", From e8f7a37599618fee4713e12ca05a1d0e09f00f08 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Fri, 27 Aug 2021 10:35:27 -0700 Subject: [PATCH 126/127] preRemove example - putMachineLearningServicesQuotaRequestDedicated.json --- ...LearningServicesQuotaRequestDedicated.json | 40 ------------------- .../preview/2021-03-15-preview/quota.json | 3 -- 2 files changed, 43 deletions(-) delete mode 100644 specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json deleted file mode 100644 index 4807ac2fb58b..000000000000 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus", - "resourceName": "standardFSv2Family", - "api-version": "2021-03-15-preview", - "createQuotaRequest": { - "properties": { - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "name": { - "value": "standardFSv2Family" - } - } - } - }, - "responses": { - "202": { - "headers": { - "Retry-After": "30", - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" - }, - "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", - "type": "Microsoft.Quota/quotas", - "name": "standardFSv2Family", - "properties": { - "provisioningState": "InProgress", - "message": "" - } - } - }, - "200": { - "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" - } - } - } -} diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 3ace82cb62aa..f2c1233112d8 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -193,9 +193,6 @@ "Quotas_Put_Request_ForCompute": { "$ref": "./examples/putComputeOneSkuQuotaRequest.json" }, - "Quotas_Request_ForMachineLearningServices_DedicatedResource": { - "$ref": "./examples/putMachineLearningServicesQuotaRequestDedicated.json" - }, "Quotas_Request_ForMachineLearningServices_LowPriorityResource": { "$ref": "./examples/putMachineLearningServicesQuotaRequestLowPriority.json" }, From f9f36d899a969a3f0eb1795a22a940defa6165b9 Mon Sep 17 00:00:00 2001 From: Rahul Singh Date: Fri, 27 Aug 2021 10:35:27 -0700 Subject: [PATCH 127/127] Remove example - putMachineLearningServicesQuotaRequestDedicated.json --- ...LearningServicesQuotaRequestDedicated.json | 40 ------------------- .../preview/2021-03-15-preview/quota.json | 3 -- 2 files changed, 43 deletions(-) delete mode 100644 specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json deleted file mode 100644 index 4807ac2fb58b..000000000000 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/examples/putMachineLearningServicesQuotaRequestDedicated.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus", - "resourceName": "standardFSv2Family", - "api-version": "2021-03-15-preview", - "createQuotaRequest": { - "properties": { - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "name": { - "value": "standardFSv2Family" - } - } - } - }, - "responses": { - "202": { - "headers": { - "Retry-After": "30", - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" - }, - "body": { - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", - "type": "Microsoft.Quota/quotas", - "name": "standardFSv2Family", - "properties": { - "provisioningState": "InProgress", - "message": "" - } - } - }, - "200": { - "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2021-03-15-preview" - } - } - } -} diff --git a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json index 3ace82cb62aa..f2c1233112d8 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json +++ b/specification/quota/resource-manager/Microsoft.Quota/preview/2021-03-15-preview/quota.json @@ -193,9 +193,6 @@ "Quotas_Put_Request_ForCompute": { "$ref": "./examples/putComputeOneSkuQuotaRequest.json" }, - "Quotas_Request_ForMachineLearningServices_DedicatedResource": { - "$ref": "./examples/putMachineLearningServicesQuotaRequestDedicated.json" - }, "Quotas_Request_ForMachineLearningServices_LowPriorityResource": { "$ref": "./examples/putMachineLearningServicesQuotaRequestLowPriority.json" },