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 48acc0554f29..6ac9a3d0a71c 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,11 +11,11 @@ "name": "Automatic Quota Increase", "properties": { "settings": { - "autoQuotaIncreaseState": "enabled" + "autoQuotaIncreaseState": "enabledForPreview" }, "onSuccess": { "emailActions": { - "value": [ + "emailAddresses": [ { "emailAddress": "itsupport@contoso.com" }, @@ -27,7 +27,7 @@ }, "onFailure": { "emailActions": { - "value": [ + "emailAddresses": [ { "emailAddress": "itsupport@contoso.com" }, @@ -38,7 +38,7 @@ } }, "supportTicketAction": { - "autoQuotaIncreaseState": "enabled", + "autoQuotaIncreaseState": "enabledForPreview", "severity": "Minimal", "firstName": "FN", "lastName": "LN", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/getBatchAIUsages.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/getBatchAIUsages.json index 24d476be36d0..824b3eef7d4e 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/getBatchAIUsages.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/getBatchAIUsages.json @@ -14,10 +14,10 @@ "currentValue": 15, "limit": 20, "name": { - "localizedValue": "Clusters", - "value": "Clusters" + "value": "standardDv2Family", + "localizedValue": "Standard Dv2 Family vCPUs" }, - "unit": "Count" + "resourceType": "dedicated" } }, { @@ -25,43 +25,10 @@ "currentValue": 49, "limit": 600, "name": { - "localizedValue": "Total Cluster Dedicated Regional vCPUs", - "value": "Total Cluster Dedicated Regional vCPUs" + "value": "totalLowPriorityCores", + "localizedValue": "Total Regional Low-priority vCPUs" }, - "unit": "Count" - } - }, - { - "properties": { - "currentValue": 1, - "limit": 600, - "name": { - "localizedValue": "Standard D Family Cluster Dedicated vCPUs", - "value": "Standard D Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - } - }, - { - "properties": { - "currentValue": 0, - "limit": 0, - "name": { - "localizedValue": "Standard ND Family Cluster Low Priority vCPUs", - "value": "Standard ND Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - } - }, - { - "properties": { - "currentValue": 0, - "limit": 150, - "name": { - "localizedValue": "Standard NV Family Cluster Low Priority vCPUs", - "value": "Standard NV Family Cluster LowPriority vCPUs" - }, - "unit": "Count" + "resourceType": "lowPriority" } } ] diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/patchComputeQuotaRequest.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/patchComputeQuotaRequest.json index aec6096cdbc1..4bd4702a9bf6 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/patchComputeQuotaRequest.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/patchComputeQuotaRequest.json @@ -5,7 +5,6 @@ "location": "eastus", "resourceName": "standardFSv2Family", "api-version": "2019-07-19-preview", - "If-Match": "F2E0FB94-7F6B-4852-8EE8-67A04BBA6520", "createQuotaRequest": { "properties": { "limit": 200, 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 b5763ea27d25..9dfc190deec2 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,11 +5,11 @@ "autoQuotaIncreaseRequest": { "properties": { "settings": { - "autoQuotaIncreaseState": "enabled" + "autoQuotaIncreaseState": "enabledForPreview" }, "onSuccess": { "emailActions": { - "value": [ + "emailAddresses": [ { "emailAddress": "itsupport@contoso.com" }, @@ -21,7 +21,7 @@ }, "onFailure": { "emailActions": { - "value": [ + "emailAddresses": [ { "emailAddress": "itsupport@contoso.com" }, @@ -32,7 +32,7 @@ } }, "supportTicketAction": { - "autoQuotaIncreaseState": "enabled", + "autoQuotaIncreaseState": "enabledForPreview", "severity": "Minimal", "firstName": "FN", "lastName": "LN", @@ -57,11 +57,11 @@ "name": "Automatic Quota Increase", "properties": { "settings": { - "autoQuotaIncreaseState": "enabled" + "autoQuotaIncreaseState": "enabledForPreview" }, "onSuccess": { "emailActions": { - "value": [ + "emailAddresses": [ { "emailAddress": "itsupport@contoso.com" }, @@ -73,7 +73,7 @@ }, "onFailure": { "emailActions": { - "value": [ + "emailAddresses": [ { "emailAddress": "itsupport@contoso.com" }, @@ -84,7 +84,7 @@ } }, "supportTicketAction": { - "autoQuotaIncreaseState": "enabled", + "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 1f2b86e99176..c7a2af0a7d21 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 @@ -9,7 +9,7 @@ }, "onSuccess": { "emailActions": { - "value": [ + "emailAddresses": [ { "emailAddress": "itsupport@contoso.com" }, @@ -21,12 +21,12 @@ }, "onFailure": { "emailActions": { - "value": [ + "emailAddresses": [ { "emailAddress": "itsupport@contoso.com" }, { - "emailAddress": "admin2@contoso.com" + "emailAddress": "admin3@contoso.com" } ] } @@ -61,7 +61,7 @@ }, "onSuccess": { "emailActions": { - "value": [ + "emailAddresses": [ { "emailAddress": "itsupport@contoso.com" }, @@ -73,12 +73,12 @@ }, "onFailure": { "emailActions": { - "value": [ + "emailAddresses": [ { "emailAddress": "itsupport@contoso.com" }, { - "emailAddress": "admin2@contoso.com" + "emailAddress": "admin3@contoso.com" } ] } diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/putComputeOneSkuQuotaRequest.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/putComputeOneSkuQuotaRequest.json index 29dc58a1e447..d459467a2130 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/putComputeOneSkuQuotaRequest.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-07-19/examples/putComputeOneSkuQuotaRequest.json @@ -5,7 +5,6 @@ "location": "eastus", "resourceName": "standardFSv2Family", "api-version": "2019-07-19-preview", - "If-Match": "*", "createQuotaRequest": { "properties": { "limit": 200, 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 66dc47323378..c5134aee0475 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 @@ -41,7 +41,7 @@ ], "summary": "Gets the current quota limit and usages for the resource provider for the specified location for the specific resource in the parameter.", "description": "This API gets the current quota limit and usages for the specific resource for resource provider for the specified location. This response can be used to submit quotaRequests.", - "operationId": "Quota_listStatus", + "operationId": "Quota_Get", "x-ms-examples": { "Quotas_Request_ForCompute": { "$ref": "./examples/getComputeOneSkuUsages.json" @@ -87,11 +87,11 @@ }, "put": { "tags": [ - "QuotaRequests" + "QuotaInformation" ], "summary": "Submits a Quota Request for a resource provider at the specified location for the specific resource in the parameter.", - "description": "Submits Quota change request for a resource provider for the specified location for the specific resource in the parameter. To use, first make a Get request to get quota information for the specific resource. This information consists of information regarding that specific resources. For the specific resource, if it requires an update to the quota, update the limit field in the response from the Get request to the new value of quota. Then, submit this updated JSON object to this quota request API. This will update the quota to the value specified. The location header in the response will be used to track the status of the quota request. Please check the provisioningState field in the response.", - "operationId": "QuotaRequest_Create", + "description": "Submits Quota change request for a resource provider for the specified location for the specific resource in the parameter. To use, first make a Get request to get quota information for the specific resource. This information consists of information regarding that specific resources. For the specific resource, if it requires an update to the quota, update the limit field in the response from the Get request to the new value of quota. Then, submit this updated JSON object to this quota request API. This will update the quota to the value specified. The location header in the response will be used to track the status of the quota request. Please check the provisioningState field in the response. The Patch operation can be used also to update the quota.", + "operationId": "Quota_CreateOrUpdate", "x-ms-examples": { "Quotas_Request_listForCompute": { "$ref": "./examples/putComputeOneSkuQuotaRequest.json" @@ -125,9 +125,6 @@ "schema": { "$ref": "#/definitions/CurrentQuotaLimitBase" } - }, - { - "$ref": "#/parameters/IfMatchRequiredParameter" } ], "responses": { @@ -153,11 +150,11 @@ }, "patch": { "tags": [ - "QuotaRequests" + "QuotaInformation" ], "summary": "Submits a Quota Request for a resource provider at the specified location for the specific resource in the parameter.", - "description": "Submits Quota change request for a resource provider for the specified location for the specific resource in the parameter. To use, first make a Get request to get quota information for the specific resource. This information consists of information regarding that specific resources. For the specific resource, if it requires an update to the quota, update the limit field in the response from the Get request to the new value of quota. Then, submit this updated JSON object to this quota request API. This will update the quota to the value specified. The location header in the response will be used to track the status of the quota request. Please check the provisioningState field in the response.", - "operationId": "QuotaRequest_Update", + "description": "Submits Quota change request for a resource provider for the specified location for the specific resource in the parameter. To use, first make a Get request to get quota information for the specific resource. This information consists of information regarding that specific resources. For the specific resource, if it requires an update to the quota, update the limit field in the response from the Get request to the new value of quota. Then, submit this updated JSON object to this quota request API. This will update the quota to the value specified. The location header in the response will be used to track the status of the quota request. Please check the provisioningState field in the response. The Put operation can be used also to update the quota.", + "operationId": "Quota_Update", "x-ms-examples": { "Quotas_Request_PatchForCompute": { "$ref": "./examples/patchComputeQuotaRequest.json" @@ -191,9 +188,6 @@ "schema": { "$ref": "#/definitions/CurrentQuotaLimitBase" } - }, - { - "$ref": "#/parameters/IfMatchRequiredParameter" } ], "responses": { @@ -225,7 +219,7 @@ ], "summary": "Gets the current quota limit and usages for all the resources by the resource provider at the specified location.", "description": "This API gets the current quota limits and usages for the resource provider for the specified location. This response can be used to submit quotaRequests.", - "operationId": "Quotas_listStatus", + "operationId": "Quota_List", "x-ms-examples": { "Quotas_listUsagesForCompute": { "$ref": "./examples/getComputeUsages.json" @@ -294,7 +288,7 @@ }, "summary": "Gets the Quota request status by requestId, for the specified resource provider at specified location.", "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": "QuotaRequests_GetStatus", + "operationId": "QuotaRequestStatus_Get", "parameters": [ { "$ref": "#/parameters/SubscriptionIdInParameters" @@ -340,7 +334,7 @@ }, "summary": "For the specified location and resource Provider, gets the quota requests under the subscription over the time\n period of one year ago from now to one year back, based on the filter specified.", "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": "QuotaRequests_ListStatus", + "operationId": "QuotaRequestStatus_List", "parameters": [ { "$ref": "#/parameters/SubscriptionIdInParameters" @@ -851,6 +845,7 @@ "enum": [ "standard", "dedicated", + "lowPriority", "shared", "serviceSpecific" ], @@ -896,11 +891,11 @@ }, "onFailure": { "description": "The on failure Actions.", - "$ref": "#/definitions/OnFailure" + "$ref": "#/definitions/Actions" }, "onSuccess": { "description": "The on success Actions.", - "$ref": "#/definitions/OnSuccess" + "$ref": "#/definitions/Actions" }, "supportTicketAction": { "description": "The support ticket action.", @@ -930,19 +925,6 @@ "modelAsString": true } }, - "EmailActions": { - "description": "The email actions.", - "properties": { - "value": { - "description": "The list of email actions based on the success or failure of automatic quota increase action.", - "type": "array", - "items": { - "description": "The email recipients for the specific action types.", - "$ref": "#/definitions/EmailAction" - } - } - } - }, "SupportRequestAction": { "description": "The SupportRequest action.", "type": "object", @@ -1006,7 +988,7 @@ } }, "ContactMethod": { - "description": "The contact method.", + "description": "The contact method - Email: Contact using provided email, Phone: contact using provided phone number.", "enum": [ "Email", "Phone" @@ -1017,9 +999,10 @@ } }, "AqiState": { - "description": "The Auto quota increase state.", + "description": "The Auto quota increase feature state - enabled: feature is fully enabled, enabledForPreview: feature enabled for preview only, disabled: feature is disabled.", "enum": [ "enabled", + "enabledForPreview", "disabled" ], "x-ms-enum": { @@ -1043,6 +1026,7 @@ }, "EmailAction": { "description": "Email Action.", + "type": "object", "properties": { "emailAddress": { "description": "The email address for the action.", @@ -1050,13 +1034,18 @@ } } }, - "OnFailure": { - "description": "The on failure action for auto quota increase.", - "$ref": "#/definitions/Actions" - }, - "OnSuccess": { - "description": "The on success action for auto quota increase.", - "$ref": "#/definitions/Actions" + "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.", @@ -1064,29 +1053,7 @@ "properties": { "emailActions": { "description": "The email actions for auto quota increase.", - "properties": { - "value": { - "description": "The list of email actions.", - "type": "array", - "items": { - "description": "The email recipients.", - "$ref": "#/definitions/EmailAction" - } - } - } - }, - "phoneActions": { - "description": "The phone actions for auto quota increase.", - "properties": { - "value": { - "description": "The list of phone actions.", - "type": "array", - "items": { - "description": "The email recipients.", - "$ref": "#/definitions/PhoneAction" - } - } - } + "$ref": "#/definitions/EmailActions" } } }, @@ -1204,14 +1171,6 @@ "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", "x-ms-parameter-location": "method" - }, - "IfMatchRequiredParameter": { - "name": "If-Match", - "in": "header", - "required": true, - "description": "ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.", - "type": "string", - "x-ms-parameter-location": "method" } } }