{"files":{"SKILL.md":"---\nname: subscriptiondefinitionsclient\ndescription: \"SubscriptionDefinitionsClient API skill. Use when working with SubscriptionDefinitionsClient for providers. Covers 5 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# SubscriptionDefinitionsClient\nAPI version: 2017-11-01-preview\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/Microsoft.Subscription/operations -- lists all of the available microsoft.subscription api operations.\n3. Explore available endpoints below\n\n## Endpoints\n5 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.Subscription/operations | Lists all of the available Microsoft.Subscription API operations. |\n| PUT | /providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName} | Create an Azure subscription definition. |\n| GET | /providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName} | Get an Azure subscription definition. |\n| GET | /providers/Microsoft.Subscription/subscriptionDefinitions | List an Azure subscription definition by subscriptionId. |\n| GET | /providers/Microsoft.Subscription/subscriptionOperations/{operationId} | Retrieves the status of the subscription definition PUT operation. The URI of this API is returned in the Location field of the response header. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all operations?\" -> GET /providers/Microsoft.Subscription/operations\n- \"Update a subscriptionDefinition?\" -> PUT /providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName}\n- \"Get subscriptionDefinition details?\" -> GET /providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName}\n- \"List all subscriptionDefinitions?\" -> GET /providers/Microsoft.Subscription/subscriptionDefinitions\n- \"Get subscriptionOperation details?\" -> GET /providers/Microsoft.Subscription/subscriptionOperations/{operationId}\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 SubscriptionDefinitionsClient\n@base https://management.azure.com\n@version 2017-11-01-preview\n@auth OAuth2\n@endpoints 5\n@toc providers(5)\n\n@endpoint GET /providers/Microsoft.Subscription/operations\n@desc Lists all of the available Microsoft.Subscription API operations.\n@required {api-version: any # Version of the API to be used with the client request. Current version is 2015-06-01}\n@returns(200) OK. The request has succeeded.\n\n@endpoint PUT /providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName}\n@desc Create an Azure subscription definition.\n@required {subscriptionDefinitionName: any # The name of the Azure subscription definition., api-version: any # Version of the API to be used with the client request. Current version is 2015-06-01, body: any # The subscription definition creation.}\n@returns(200) Normal response for a successful query. The response body will contain the data that matches the filters specified in the query parameters.\n@returns(202) Accepted. Subscription creation is in progress.\n\n@endpoint GET /providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName}\n@desc Get an Azure subscription definition.\n@required {subscriptionDefinitionName: any # The name of the Azure subscription definition., api-version: any # Version of the API to be used with the client request. Current version is 2015-06-01}\n@returns(200) Normal response for a successful query. The response body will contain the data that matches the filters specified in the query parameters.\n\n@endpoint GET /providers/Microsoft.Subscription/subscriptionDefinitions\n@desc List an Azure subscription definition by subscriptionId.\n@required {api-version: any # Version of the API to be used with the client request. Current version is 2015-06-01}\n@returns(200) Normal response for a successful query. The response body will contain the data that matches the filters specified in the query parameters.\n\n@endpoint GET /providers/Microsoft.Subscription/subscriptionOperations/{operationId}\n@desc Retrieves the status of the subscription definition PUT operation. The URI of this API is returned in the Location field of the response header.\n@required {api-version: any # Version of the API to be used with the client request. Current version is 2015-06-01, operationId: any # The operation ID, which can be found from the Location field in the generate recommendation response header.}\n@returns(200) Successful completion of the asynchronous operation\n@returns(202) Accepted. Subscription update is in progress.\n\n@end\n"}}