{"files":{"SKILL.md":"---\nname: azure-reservation-api\ndescription: \"Azure Reservation API skill. Use when working with Azure Reservation for subscriptions. Covers 8 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Azure Reservation API\nAPI version: 2019-07-19-preview\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName} -- gets the current service limits (quotas) and usage of a resource. the response from get api can be leveraged to submit quota update requests.\n3. Explore available endpoints below\n\n## Endpoints\n8 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName} | Gets the current service limits (quotas) and usage of a resource. The response from Get API can be leveraged to submit quota update requests. |\n| PUT | /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName} | Create or update the service limits (quota) of a resource to requested value. |\n| PATCH | /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName} | Update the service limits (quota) of a resource to requested value. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits | 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. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimitsRequests/{id} | 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. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimitsRequests | 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. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/autoQuotaIncrease | Gets the Auto Quota Increase enrollment details for the specified subscription. |\n| PUT | /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/autoQuotaIncrease | Sets the Auto Quota Increase enrollment properties for the specified subscription. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Get serviceLimit details?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}\n- \"Update a serviceLimit?\" -> PUT /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}\n- \"Partially update a serviceLimit?\" -> PATCH /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}\n- \"List all serviceLimits?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits\n- \"Get serviceLimitsRequest details?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimitsRequests/{id}\n- \"List all serviceLimitsRequests?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimitsRequests\n- \"List all autoQuotaIncrease?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/autoQuotaIncrease\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Azure Reservation API\n@base https://management.azure.com\n@version 2019-07-19-preview\n@auth OAuth2\n@common_fields {subscriptionId: any # Azure subscription id., api-version: any # API version.}\n@endpoints 8\n@toc subscriptions(8)\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}\n@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.\n@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}\n@returns(200) OK. Quota information will be returned as response with pagination.\n\n@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}\n@desc Create or update the service limits (quota) of a resource to requested value.\n@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.}\n@returns(200) OK. Returns Quota requests details.\n@returns(201) The request is accepted and is being processed. Please use requestId to check the status.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}\n@desc Update the service limits (quota) of a resource to requested value.\n@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.}\n@returns(200) OK. Returns Quota requests details.\n@returns(201) The request is accepted and is being processed. Use requestId to check the status.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits\n@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.\n@required {providerId: any # Azure resource provider id., location: any # Azure region.}\n@returns(200) OK. Quota information will be returned as response with pagination.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimitsRequests/{id}\n@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.\n@required {providerId: any # Azure resource provider id., location: any # Azure region., id: any # Quota Request id.}\n@returns(200) Ok. Returning the status for the quota request .\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimitsRequests\n@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.\n@required {providerId: any # Azure resource provider id., location: any # Azure region.}\n@optional {$filter: any # | Field | Supported operators |\r |---------------------|------------------------|\r |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}\n@returns(200) Ok. Sending Quota request status and details\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/autoQuotaIncrease\n@desc Gets the Auto Quota Increase enrollment details for the specified subscription.\n@returns(200) Ok. Returning the properties of auto quota increase .\n\n@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/autoQuotaIncrease\n@desc Sets the Auto Quota Increase enrollment properties for the specified subscription.\n@required {autoQuotaIncreaseRequest: map # Auto Quota increase request payload.}\n@returns(200) Ok. Returning the updated status of auto quota increase request.\n\n@end\n"}}