{"files":{"SKILL.md":"---\nname: hdinsightmanagementclient\ndescription: \"HDInsightManagementClient API skill. Use when working with HDInsightManagementClient for subscriptions. Covers 6 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# HDInsightManagementClient\nAPI version: 2018-06-01-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.HDInsight/locations/{location}/capabilities -- gets the capabilities for the specified location.\n3. POST /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability -- create first checkNameAvailability\n\n## Endpoints\n6 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.HDInsight/locations/{location}/capabilities | Gets the capabilities for the specified location. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/usages | Lists the usages for the specified location. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/billingSpecs | Lists the billingSpecs for the specified subscription and location. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/azureasyncoperations/{operationId} | Get the async operation status. |\n| POST | /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability | Check the cluster name is available or not. |\n| POST | /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/validateCreateRequest | Validate the cluster create request spec is valid or not. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all capabilities?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/capabilities\n- \"List all usages?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/usages\n- \"List all billingSpecs?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/billingSpecs\n- \"Get azureasyncoperation details?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/azureasyncoperations/{operationId}\n- \"Create a checkNameAvailability?\" -> POST /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability\n- \"Create a validateCreateRequest?\" -> POST /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/validateCreateRequest\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 HDInsightManagementClient\n@base https://management.azure.com\n@version 2018-06-01-preview\n@auth OAuth2\n@common_fields {subscriptionId: any # The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., location: any # The Azure location (region) for which to make the request., api-version: any # The HDInsight client API Version.}\n@endpoints 6\n@toc subscriptions(6)\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/capabilities\n@desc Gets the capabilities for the specified location.\n@returns(200) OK response definition.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/usages\n@desc Lists the usages for the specified location.\n@returns(200) OK response definition.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/billingSpecs\n@desc Lists the billingSpecs for the specified subscription and location.\n@returns(200) OK response definition.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/azureasyncoperations/{operationId}\n@desc Get the async operation status.\n@required {operationId: any # The long running operation id.}\n@returns(200) OK response definition.\n\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability\n@desc Check the cluster name is available or not.\n@required {parameters: map}\n@returns(200) OK response definition.\n\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/validateCreateRequest\n@desc Validate the cluster create request spec is valid or not.\n@required {parameters: any}\n@returns(200) OK response definition.\n\n@end\n"}}