extensions
Creates, updates, deletes, gets or lists a extensions
resource.
Overview
Name | extensions |
Type | Resource |
Id | azure.hdinsight.extensions |
Fields
Name | Datatype | Description |
---|---|---|
clusterMonitoringEnabled | boolean | The status of the monitor on the HDInsight cluster. |
workspaceId | string | The workspace ID of the monitor on the HDInsight cluster. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | clusterName, extensionName, resourceGroupName, subscriptionId | Gets the extension properties for the specified HDInsight cluster extension. |
create | INSERT | clusterName, extensionName, resourceGroupName, subscriptionId | Creates an HDInsight cluster extension. |
delete | DELETE | clusterName, extensionName, resourceGroupName, subscriptionId | Deletes the specified extension for HDInsight cluster. |
disable_azure_monitor | EXEC | clusterName, resourceGroupName, subscriptionId | Disables the Azure Monitor on the HDInsight cluster. |
disable_azure_monitor_agent | EXEC | clusterName, resourceGroupName, subscriptionId | Disables the Azure Monitor Agent on the HDInsight cluster. |
disable_monitoring | EXEC | clusterName, resourceGroupName, subscriptionId | Disables the Operations Management Suite (OMS) on the HDInsight cluster. |
enable_azure_monitor | EXEC | clusterName, resourceGroupName, subscriptionId | Enables the Azure Monitor on the HDInsight cluster. |
enable_azure_monitor_agent | EXEC | clusterName, resourceGroupName, subscriptionId | Enables the Azure Monitor Agent on the HDInsight cluster. |
enable_monitoring | EXEC | clusterName, resourceGroupName, subscriptionId | Enables the Operations Management Suite (OMS) on the HDInsight cluster. |
SELECT
examples
Gets the extension properties for the specified HDInsight cluster extension.
SELECT
clusterMonitoringEnabled,
workspaceId
FROM azure.hdinsight.extensions
WHERE clusterName = '{{ clusterName }}'
AND extensionName = '{{ extensionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new extensions
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.hdinsight.extensions (
clusterName,
extensionName,
resourceGroupName,
subscriptionId,
workspaceId,
primaryKey
)
SELECT
'{{ clusterName }}',
'{{ extensionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceId }}',
'{{ primaryKey }}'
;
- name: your_resource_model_name
props:
- name: workspaceId
value: string
- name: primaryKey
value: string
DELETE
example
Deletes the specified extensions
resource.
/*+ delete */
DELETE FROM azure.hdinsight.extensions
WHERE clusterName = '{{ clusterName }}'
AND extensionName = '{{ extensionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';