{"files":{"SKILL.md":"---\nname: hdinsightmanagementclient\ndescription: \"HDInsightManagementClient API skill. Use when working with HDInsightManagementClient for subscriptions. Covers 10 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}/extensions/clustermonitoring -- gets the status of operations management suite (oms) on the hdinsight cluster.\n3. Explore available endpoints below\n\n## Endpoints\n10 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}/extensions/clustermonitoring | Enables the Operations Management Suite (OMS) on the HDInsight cluster. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring | Gets the status of Operations Management Suite (OMS) on the HDInsight cluster. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring | Disables the Operations Management Suite (OMS) on the HDInsight cluster. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/azureMonitor | Enables the Azure Monitor on the HDInsight cluster. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/azureMonitor | Gets the status of Azure Monitor on the HDInsight cluster. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/azureMonitor | Disables the Azure Monitor on the HDInsight cluster. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName} | Creates an HDInsight cluster extension. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName} | Gets the extension properties for the specified HDInsight cluster extension. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName} | Deletes the specified extension for HDInsight cluster. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}/azureAsyncOperations/{operationId} | Gets the async operation status. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all clustermonitoring?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring\n- \"List all azureMonitor?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/azureMonitor\n- \"Update a extension?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}\n- \"Get extension details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}\n- \"Delete a extension?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}\n- \"Get azureAsyncOperation details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}/azureAsyncOperations/{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 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., resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster., api-version: any # The HDInsight client API Version.}\n@endpoints 10\n@toc subscriptions(10)\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring\n@desc Enables the Operations Management Suite (OMS) on the HDInsight cluster.\n@required {parameters: any # The Operations Management Suite (OMS) workspace parameters.}\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}/extensions/clustermonitoring\n@desc Gets the status of Operations Management Suite (OMS) on the HDInsight cluster.\n@returns(200) OK. The request has succeeded.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring\n@desc Disables the Operations Management Suite (OMS) on the HDInsight cluster.\n@returns(200) Ok response definition.\n@returns(202) OK response definition.\n@returns(204) No Content response definition.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/azureMonitor\n@desc Enables the Azure Monitor on the HDInsight cluster.\n@required {parameters: any # The Log Analytics workspace parameters.}\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}/extensions/azureMonitor\n@desc Gets the status of Azure Monitor on the HDInsight cluster.\n@returns(200) OK. The request has succeeded.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/azureMonitor\n@desc Disables the Azure Monitor on the HDInsight cluster.\n@returns(200) Ok response definition.\n@returns(202) OK response definition.\n@returns(204) No Content response definition.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}\n@desc Creates an HDInsight cluster extension.\n@required {extensionName: any # The name of the cluster extension., parameters: any # The cluster extensions create request.}\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}/extensions/{extensionName}\n@desc Gets the extension properties for the specified HDInsight cluster extension.\n@required {extensionName: any # The name of the cluster extension.}\n@returns(200) OK. The request has succeeded.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}\n@desc Deletes the specified extension for HDInsight cluster.\n@required {extensionName: any # The name of the cluster extension.}\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}/extensions/{extensionName}/azureAsyncOperations/{operationId}\n@desc Gets the async operation status.\n@required {extensionName: any # The name of the cluster extension., operationId: any # The long running operation id.}\n@returns(200) OK response definition.\n\n@end\n"}}