Skip to content

Commit f1b3d4c

Browse files
Updated SDK documentation and Updated Reservation API version to previous SDK release version. (#12281)
* 1.Breaking Change - Removing duplicate autoQuotaIncreaseState from supportTicketAction. 2. Removing state=enabledForPreview. 3. Updating Example. * Updating Provider name in example. * Capacity RP Quota APIs for GA * Adding preview version to stable dir as base files. * Files from preview version, which will be removed. * Updating to GA Version. * 1. Updated reservation version tag to - Microsoft.Capacity/preview/2020-10-01-preview/reservations.json, which matches the previous SDK release. 2. Documentation changes. * Documentation updates for put and patch request, which includes only ONE quota request, so changing quotas to quota. * Update documenation for put. * Doc update. * Adding -preview tag for GO sdk. * Updating Go settings for output folder to be -preview. * Adding preview subdir for GO package. * Adding preview subdir to Go sdk path. * Removing tag - tag: package-2020-10-25-preview * introduce a new tag to keep the go sdk package unchanged * Revert "introduce a new tag to keep the go sdk package unchanged" This reverts commit 8f58d34. Co-authored-by: Arcturus Zhang <[email protected]>
1 parent bfec067 commit f1b3d4c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/quota.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"tags": [
4040
"QuotaInformation"
4141
],
42-
"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.",
42+
"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.",
4343
"operationId": "Quota_Get",
4444
"x-ms-examples": {
4545
"Quotas_Request_ForCompute": {
@@ -88,7 +88,7 @@
8888
"tags": [
8989
"QuotaInformation"
9090
],
91-
"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.",
91+
"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.",
9292
"operationId": "Quota_CreateOrUpdate",
9393
"x-ms-examples": {
9494
"Quotas_Request_ForCompute": {
@@ -285,7 +285,7 @@
285285
"$ref": "./examples/getQuotaRequestStatusFailed.json"
286286
}
287287
},
288-
"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.",
288+
"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.",
289289
"operationId": "QuotaRequestStatus_Get",
290290
"parameters": [
291291
{

specification/reservations/resource-manager/readme.go.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ These settings apply only when `--tag=package-2020-10-25 --go` is specified on t
2626
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
2727

2828
``` yaml $(tag)=='package-2020-10-25' && $(go)
29-
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-10-25/$(namespace)
29+
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-10-25/$(namespace)
3030
```
3131

3232
### Tag: package-preview-2019-07-19 and go

specification/reservations/resource-manager/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ These settings apply only when `--tag=package-2020-10-25` is specified on the co
3535

3636
``` yaml $(tag) == 'package-2020-10-25'
3737
input-file:
38-
- Microsoft.Capacity/stable/2017-11-01/reservations.json
38+
- Microsoft.Capacity/preview/2020-10-01-preview/reservations.json
3939
- Microsoft.Capacity/stable/2020-10-25/quota.json
4040
```
4141

0 commit comments

Comments
 (0)