@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Azure Reservation API
@base https://management.azure.com
@version 2019-07-19-preview
@auth OAuth2
@common_fields {subscriptionId: any # Azure subscription id., api-version: any # API version.}
@endpoints 8
@toc subscriptions(8)

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}
@desc Gets the current service limits (quotas) and usage of a resource. The response from Get API can be leveraged to submit quota update requests.
@required {providerId: any # Azure resource provider id., location: any # Azure region., resourceName: any # The resource name for a resource provider, such as SKU name for Microsoft.Compute, Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices}
@returns(200) OK. Quota information will be returned as response with pagination.

@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}
@desc Create or update the service limits (quota) of a resource to requested value.
@required {providerId: any # Azure resource provider id., location: any # Azure region., resourceName: any # The resource name for a resource provider, such as SKU name for Microsoft.Compute, Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices, createQuotaRequest: map # Quota requests payload.}
@returns(200) OK. Returns Quota requests details.
@returns(201) The request is accepted and is being processed. Please use requestId to check the status.

@endpoint PATCH /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}
@desc Update the service limits (quota) of a resource to requested value.
@required {providerId: any # Azure resource provider id., location: any # Azure region., resourceName: any # The resource name for a resource provider, such as SKU name for Microsoft.Compute, Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices, createQuotaRequest: map # Quota requests payload.}
@returns(200) OK. Returns Quota requests details.
@returns(201) The request is accepted and is being processed. Use requestId to check the status.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits
@desc 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.
@required {providerId: any # Azure resource provider id., location: any # Azure region.}
@returns(200) OK. Quota information will be returned as response with pagination.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimitsRequests/{id}
@desc 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.
@required {providerId: any # Azure resource provider id., location: any # Azure region., id: any # Quota Request id.}
@returns(200) Ok. Returning the status for the quota request .

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimitsRequests
@desc 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.
@required {providerId: any # Azure resource provider id., location: any # Azure region.}
@optional {$filter: any # | Field | Supported operators | |---------------------|------------------------| |requestSubmitTime | ge, le, eq, gt, lt |, $top: any # Number of records to return., $skiptoken: any # 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}
@returns(200) Ok. Sending Quota request status and details

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/autoQuotaIncrease
@desc Gets the Auto Quota Increase enrollment details for the specified subscription.
@returns(200) Ok. Returning the properties of auto quota increase .

@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/autoQuotaIncrease
@desc Sets the Auto Quota Increase enrollment properties for the specified subscription.
@required {autoQuotaIncreaseRequest: map # Auto Quota increase request payload.}
@returns(200) Ok. Returning the updated status of auto quota increase request.

@end
