Skip to content

Commit

Permalink
Generated from 3e64d8292e2be765e277bd41111ab2984cb4e3c0
Browse files Browse the repository at this point in the history
1. Updating description of Quota APIs.
2. Removing Summary, as summary and description was combined in the doc. It had repeated statements.
  • Loading branch information
SDK Automation committed May 29, 2020
1 parent d5ad018 commit 648e622
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 64 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export class AutoQuotaIncrease {

/**
* Gets the Auto Quota Increase enrollment details for the specified subscription.
* @summary For the specified subscription, gets the Auto Quota Increase enrollment status.
* @param subscriptionId Azure subscription id.
* @param [options] The optional parameters
* @returns Promise<Models.AutoQuotaIncreaseGetPropertiesResponse>
Expand Down Expand Up @@ -57,7 +56,6 @@ export class AutoQuotaIncrease {

/**
* Sets the Auto Quota Increase enrollment properties for the specified subscription.
* @summary For the specified subscription, sets the Auto Quota Increase enrollment properties.
* @param subscriptionId Azure subscription id.
* @param autoQuotaIncreaseRequest Auto Quota increase request payload.
* @param [options] The optional parameters
Expand Down
100 changes: 46 additions & 54 deletions sdk/reservations/arm-reservations/src/operations/quota.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ export class Quota {
}

/**
* 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.
* @summary Gets the current quota limit and usages for the resource provider for the specified
* location for the specific resource in the parameter.
* Gets the current service limits (quotas) and usage of a resource. The response from Get API can
* be leveraged to submit quota update requests.
* @param subscriptionId Azure subscription id.
* @param providerId Azure resource Provider id.
* @param location Azure region.
Expand Down Expand Up @@ -74,17 +72,16 @@ export class Quota {
}

/**
* 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.
* @summary Submits a Quota Request for a resource provider at the specified location for the
* specific resource in the parameter.
* Create or update the service limits (quota) of a resource to requested value.
* Steps:
*
* 1. Make the Get request to get the quota information for specific resource.
*
* 2. To increase the quota, update the limit field in the response from Get request to new value.
*
* 3. Submit the JSON to the quota request API to update the quota.
* The Create quota request may be constructed as follows. The PUT operation can be used to update
* the quota.
* @param subscriptionId Azure subscription id.
* @param providerId Azure resource Provider id.
* @param location Azure region.
Expand All @@ -100,16 +97,16 @@ export class Quota {
}

/**
* 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.
* @summary Submits a Quota Request for a resource provider at the specified location for the
* specific resource in the parameter.
* Create or update the service limits (quota) of a resource to requested value.
* Steps:
*
* 1. Make the Get request to get the quota information for specific resource.
*
* 2. To increase the quota, update the limit field in the response from Get request to new value.
*
* 3. Submit the JSON to the quota request API to update the quota.
* The Create quota request may be constructed as follows. The PUT operation can be used to update
* the quota.
* @param subscriptionId Azure subscription id.
* @param providerId Azure resource Provider id.
* @param location Azure region.
Expand All @@ -125,10 +122,8 @@ export class Quota {
}

/**
* 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.
* @summary Gets the current quota limit and usages for all the resources by the resource provider
* at the specified location.
* 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.
* @param subscriptionId Azure subscription id.
* @param providerId Azure resource Provider id.
* @param location Azure region.
Expand Down Expand Up @@ -164,17 +159,16 @@ export class Quota {
}

/**
* 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.
* @summary Submits a Quota Request for a resource provider at the specified location for the
* specific resource in the parameter.
* Create or update the service limits (quota) of a resource to requested value.
* Steps:
*
* 1. Make the Get request to get the quota information for specific resource.
*
* 2. To increase the quota, update the limit field in the response from Get request to new value.
*
* 3. Submit the JSON to the quota request API to update the quota.
* The Create quota request may be constructed as follows. The PUT operation can be used to update
* the quota.
* @param subscriptionId Azure subscription id.
* @param providerId Azure resource Provider id.
* @param location Azure region.
Expand All @@ -199,16 +193,16 @@ export class Quota {
}

/**
* 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.
* @summary Submits a Quota Request for a resource provider at the specified location for the
* specific resource in the parameter.
* Create or update the service limits (quota) of a resource to requested value.
* Steps:
*
* 1. Make the Get request to get the quota information for specific resource.
*
* 2. To increase the quota, update the limit field in the response from Get request to new value.
*
* 3. Submit the JSON to the quota request API to update the quota.
* The Create quota request may be constructed as follows. The PUT operation can be used to update
* the quota.
* @param subscriptionId Azure subscription id.
* @param providerId Azure resource Provider id.
* @param location Azure region.
Expand All @@ -233,10 +227,8 @@ export class Quota {
}

/**
* 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.
* @summary Gets the current quota limit and usages for all the resources by the resource provider
* at the specified location.
* 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.
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param [options] The optional parameters
* @returns Promise<Models.QuotaListResponse>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ export class QuotaRequestStatus {
* 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.
* @summary Gets the Quota request status by requestId, for the specified resource provider at
* specified location.
* @param subscriptionId Azure subscription id.
* @param providerId Azure resource Provider id.
* @param location Azure region.
Expand Down Expand Up @@ -74,9 +72,6 @@ export class QuotaRequestStatus {
* 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.
* @summary For the specified location and resource Provider, gets the quota requests under the
* subscription over the time
* period of one year ago from now to one year back, based on the filter specified.
* @param subscriptionId Azure subscription id.
* @param providerId Azure resource Provider id.
* @param location Azure region.
Expand Down Expand Up @@ -115,9 +110,6 @@ export class QuotaRequestStatus {
* 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.
* @summary For the specified location and resource Provider, gets the quota requests under the
* subscription over the time
* period of one year ago from now to one year back, based on the filter specified.
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param [options] The optional parameters
* @returns Promise<Models.QuotaRequestStatusListNextResponse>
Expand Down

0 comments on commit 648e622

Please sign in to comment.