1. Packages
  2. Azure Native
  3. API Docs
  4. hdinsight
  5. ExtensionMonitoringStatus
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi

    The cluster monitoring status response.

    Uses Azure REST API version 2024-08-01-preview. In version 2.x of the Azure Native provider, it used API version 2021-06-01.

    Other available API versions: 2021-06-01, 2023-04-15-preview, 2023-08-15-preview, 2025-01-15-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native hdinsight [ApiVersion]. See the version guide for details.

    Example Usage

    Enable cluster monitoring

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var extensionMonitoringStatus = new AzureNative.HDInsight.ExtensionMonitoringStatus("extensionMonitoringStatus", new()
        {
            ClusterName = "cluster1",
            PrimaryKey = "**********",
            ResourceGroupName = "rg1",
            WorkspaceId = "a2090ead-8c9f-4fba-b70e-533e3e003163",
        });
    
    });
    
    package main
    
    import (
    	hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hdinsight.NewExtensionMonitoringStatus(ctx, "extensionMonitoringStatus", &hdinsight.ExtensionMonitoringStatusArgs{
    			ClusterName:       pulumi.String("cluster1"),
    			PrimaryKey:        pulumi.String("**********"),
    			ResourceGroupName: pulumi.String("rg1"),
    			WorkspaceId:       pulumi.String("a2090ead-8c9f-4fba-b70e-533e3e003163"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.hdinsight.ExtensionMonitoringStatus;
    import com.pulumi.azurenative.hdinsight.ExtensionMonitoringStatusArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var extensionMonitoringStatus = new ExtensionMonitoringStatus("extensionMonitoringStatus", ExtensionMonitoringStatusArgs.builder()
                .clusterName("cluster1")
                .primaryKey("**********")
                .resourceGroupName("rg1")
                .workspaceId("a2090ead-8c9f-4fba-b70e-533e3e003163")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const extensionMonitoringStatus = new azure_native.hdinsight.ExtensionMonitoringStatus("extensionMonitoringStatus", {
        clusterName: "cluster1",
        primaryKey: "**********",
        resourceGroupName: "rg1",
        workspaceId: "a2090ead-8c9f-4fba-b70e-533e3e003163",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    extension_monitoring_status = azure_native.hdinsight.ExtensionMonitoringStatus("extensionMonitoringStatus",
        cluster_name="cluster1",
        primary_key="**********",
        resource_group_name="rg1",
        workspace_id="a2090ead-8c9f-4fba-b70e-533e3e003163")
    
    resources:
      extensionMonitoringStatus:
        type: azure-native:hdinsight:ExtensionMonitoringStatus
        properties:
          clusterName: cluster1
          primaryKey: '**********'
          resourceGroupName: rg1
          workspaceId: a2090ead-8c9f-4fba-b70e-533e3e003163
    

    Create ExtensionMonitoringStatus Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ExtensionMonitoringStatus(name: string, args: ExtensionMonitoringStatusArgs, opts?: CustomResourceOptions);
    @overload
    def ExtensionMonitoringStatus(resource_name: str,
                                  args: ExtensionMonitoringStatusArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def ExtensionMonitoringStatus(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  cluster_name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  primary_key: Optional[str] = None,
                                  workspace_id: Optional[str] = None)
    func NewExtensionMonitoringStatus(ctx *Context, name string, args ExtensionMonitoringStatusArgs, opts ...ResourceOption) (*ExtensionMonitoringStatus, error)
    public ExtensionMonitoringStatus(string name, ExtensionMonitoringStatusArgs args, CustomResourceOptions? opts = null)
    public ExtensionMonitoringStatus(String name, ExtensionMonitoringStatusArgs args)
    public ExtensionMonitoringStatus(String name, ExtensionMonitoringStatusArgs args, CustomResourceOptions options)
    
    type: azure-native:hdinsight:ExtensionMonitoringStatus
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ExtensionMonitoringStatusArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ExtensionMonitoringStatusArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ExtensionMonitoringStatusArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ExtensionMonitoringStatusArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ExtensionMonitoringStatusArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var extensionMonitoringStatusResource = new AzureNative.HDInsight.ExtensionMonitoringStatus("extensionMonitoringStatusResource", new()
    {
        ClusterName = "string",
        ResourceGroupName = "string",
        PrimaryKey = "string",
        WorkspaceId = "string",
    });
    
    example, err := hdinsight.NewExtensionMonitoringStatus(ctx, "extensionMonitoringStatusResource", &hdinsight.ExtensionMonitoringStatusArgs{
    	ClusterName:       pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	PrimaryKey:        pulumi.String("string"),
    	WorkspaceId:       pulumi.String("string"),
    })
    
    var extensionMonitoringStatusResource = new ExtensionMonitoringStatus("extensionMonitoringStatusResource", ExtensionMonitoringStatusArgs.builder()
        .clusterName("string")
        .resourceGroupName("string")
        .primaryKey("string")
        .workspaceId("string")
        .build());
    
    extension_monitoring_status_resource = azure_native.hdinsight.ExtensionMonitoringStatus("extensionMonitoringStatusResource",
        cluster_name="string",
        resource_group_name="string",
        primary_key="string",
        workspace_id="string")
    
    const extensionMonitoringStatusResource = new azure_native.hdinsight.ExtensionMonitoringStatus("extensionMonitoringStatusResource", {
        clusterName: "string",
        resourceGroupName: "string",
        primaryKey: "string",
        workspaceId: "string",
    });
    
    type: azure-native:hdinsight:ExtensionMonitoringStatus
    properties:
        clusterName: string
        primaryKey: string
        resourceGroupName: string
        workspaceId: string
    

    ExtensionMonitoringStatus Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ExtensionMonitoringStatus resource accepts the following input properties:

    ClusterName string
    The name of the cluster.
    ResourceGroupName string
    The name of the resource group.
    PrimaryKey string
    The cluster monitor workspace key.
    WorkspaceId string
    The cluster monitor workspace ID.
    ClusterName string
    The name of the cluster.
    ResourceGroupName string
    The name of the resource group.
    PrimaryKey string
    The cluster monitor workspace key.
    WorkspaceId string
    The cluster monitor workspace ID.
    clusterName String
    The name of the cluster.
    resourceGroupName String
    The name of the resource group.
    primaryKey String
    The cluster monitor workspace key.
    workspaceId String
    The cluster monitor workspace ID.
    clusterName string
    The name of the cluster.
    resourceGroupName string
    The name of the resource group.
    primaryKey string
    The cluster monitor workspace key.
    workspaceId string
    The cluster monitor workspace ID.
    cluster_name str
    The name of the cluster.
    resource_group_name str
    The name of the resource group.
    primary_key str
    The cluster monitor workspace key.
    workspace_id str
    The cluster monitor workspace ID.
    clusterName String
    The name of the cluster.
    resourceGroupName String
    The name of the resource group.
    primaryKey String
    The cluster monitor workspace key.
    workspaceId String
    The cluster monitor workspace ID.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ExtensionMonitoringStatus resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    ClusterMonitoringEnabled bool
    The status of the monitor on the HDInsight cluster.
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    ClusterMonitoringEnabled bool
    The status of the monitor on the HDInsight cluster.
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    clusterMonitoringEnabled Boolean
    The status of the monitor on the HDInsight cluster.
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    clusterMonitoringEnabled boolean
    The status of the monitor on the HDInsight cluster.
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    cluster_monitoring_enabled bool
    The status of the monitor on the HDInsight cluster.
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    clusterMonitoringEnabled Boolean
    The status of the monitor on the HDInsight cluster.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:hdinsight:ExtensionMonitoringStatus myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate