{"files":{"SKILL.md":"---\nname: hdinsightmanagementclient\ndescription: \"HDInsightManagementClient API skill. Use when working with HDInsightManagementClient for subscriptions. Covers 13 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName} -- gets the specified cluster.\n3. POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/resize -- create first resize\n\n## Endpoints\n13 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName} | Creates a new HDInsight cluster with the specified parameters. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName} | Patch HDInsight cluster with the specified parameters. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName} | Deletes the specified HDInsight cluster. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName} | Gets the specified cluster. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters | Lists the HDInsight clusters in a resource group. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/resize | Resizes the specified HDInsight cluster to the specified size. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/autoscale | Updates the Autoscale Configuration for HDInsight cluster. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusters | Lists all the HDInsight clusters under the subscription. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/rotatediskencryptionkey | Rotate disk encryption key of the specified HDInsight cluster. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/getGatewaySettings | Gets the gateway settings for the specified cluster. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/updateGatewaySettings | Configures the gateway settings on the specified cluster. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/azureasyncoperations/{operationId} | The the async operation status. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/updateClusterIdentityCertificate | Updates the cluster identity certificate. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Update a cluster?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}\n- \"Partially update a cluster?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}\n- \"Delete a cluster?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}\n- \"Get cluster details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}\n- \"List all clusters?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters\n- \"Create a resize?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/resize\n- \"Create a autoscale?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/autoscale\n- \"Create a rotatediskencryptionkey?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/rotatediskencryptionkey\n- \"Create a getGatewaySetting?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/getGatewaySettings\n- \"Create a updateGatewaySetting?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/updateGatewaySettings\n- \"Get azureasyncoperation details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/azureasyncoperations/{operationId}\n- \"Create a updateClusterIdentityCertificate?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/updateClusterIdentityCertificate\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., api-version: any # The HDInsight client API Version.}\n@endpoints 13\n@toc subscriptions(13)\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}\n@desc Creates a new HDInsight cluster with the specified parameters.\n@required {resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster., parameters: any # The cluster create request.}\n@returns(200) OK response definition.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}\n@desc Patch HDInsight cluster with the specified parameters.\n@required {resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster., parameters: any # The cluster patch request.}\n@returns(200) OK response definition.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}\n@desc Deletes the specified HDInsight cluster.\n@required {resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster.}\n@returns(200) Ok response definition.\n@returns(202) Accepted response definition.\n@returns(204) No Content response definition.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}\n@desc Gets the specified cluster.\n@required {resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster.}\n@returns(200) OK response definition.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters\n@desc Lists the HDInsight clusters in a resource group.\n@required {resourceGroupName: any # The name of the resource group.}\n@returns(200) OK response definition.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/resize\n@desc Resizes the specified HDInsight cluster to the specified size.\n@required {resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster., roleName: any # The constant value for the roleName, parameters: any # The parameters for the resize operation.}\n@returns(200) OK response definition.\n@returns(202) Accepted response definition.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/autoscale\n@desc Updates the Autoscale Configuration for HDInsight cluster.\n@required {resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster., roleName: any # The constant value for the roleName, parameters: any # The parameters for the update autoscale configuration operation.}\n@returns(200) OK response definition.\n@returns(202) Accepted response definition.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusters\n@desc Lists all the HDInsight clusters under the subscription.\n@returns(200) OK response definition.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/rotatediskencryptionkey\n@desc Rotate disk encryption key of the specified HDInsight cluster.\n@required {resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster., parameters: any # The parameters for the disk encryption operation.}\n@returns(200) OK response definition.\n@returns(202) Accepted response definition.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/getGatewaySettings\n@desc Gets the gateway settings for the specified cluster.\n@required {resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster.}\n@returns(200) OK response definition.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/updateGatewaySettings\n@desc Configures the gateway settings on the specified cluster.\n@required {resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster., parameters: any # The cluster configurations.}\n@returns(200) OK response definition.\n@returns(202) Accepted response definition\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/azureasyncoperations/{operationId}\n@desc The the async operation status.\n@required {resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster., operationId: any # The long running operation id.}\n@returns(200) OK response definition.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/updateClusterIdentityCertificate\n@desc Updates the cluster identity certificate.\n@required {resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster., parameters: map # The cluster configurations.}\n@returns(200) OK response definition.\n@returns(202) Accepted response definition\n\n@end\n"}}