1. Packages
  2. Azure Native
  3. API Docs
  4. hdinsight
  5. Cluster
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.hdinsight.Cluster

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    The HDInsight cluster. Azure REST API version: 2021-06-01. Prior API version in Azure Native 1.x: 2018-06-01-preview.

    Other available API versions: 2023-04-15-preview, 2023-06-01-preview, 2023-08-15-preview, 2023-11-01-preview, 2024-05-01-preview, 2024-08-01-preview.

    Example Usage

    Create HDInsight cluster with Autoscale configuration

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
        {
            ClusterName = "cluster1",
            Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
            {
                ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
                {
                    ComponentVersion = 
                    {
                        { "Hadoop", "2.7" },
                    },
                    Configurations = new Dictionary<string, object?>
                    {
                        ["gateway"] = new Dictionary<string, object?>
                        {
                            ["restAuthCredential.isEnabled"] = true,
                            ["restAuthCredential.password"] = "**********",
                            ["restAuthCredential.username"] = "admin",
                        },
                    },
                    Kind = "hadoop",
                },
                ClusterVersion = "3.6",
                ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            AutoscaleConfiguration = new AzureNative.HDInsight.Inputs.AutoscaleArgs
                            {
                                Recurrence = new AzureNative.HDInsight.Inputs.AutoscaleRecurrenceArgs
                                {
                                    Schedule = new[]
                                    {
                                        new AzureNative.HDInsight.Inputs.AutoscaleScheduleArgs
                                        {
                                            Days = new[]
                                            {
                                                AzureNative.HDInsight.DaysOfWeek.Monday,
                                                AzureNative.HDInsight.DaysOfWeek.Tuesday,
                                                AzureNative.HDInsight.DaysOfWeek.Wednesday,
                                                AzureNative.HDInsight.DaysOfWeek.Thursday,
                                                AzureNative.HDInsight.DaysOfWeek.Friday,
                                            },
                                            TimeAndCapacity = new AzureNative.HDInsight.Inputs.AutoscaleTimeAndCapacityArgs
                                            {
                                                MaxInstanceCount = 3,
                                                MinInstanceCount = 3,
                                                Time = "09:00",
                                            },
                                        },
                                        new AzureNative.HDInsight.Inputs.AutoscaleScheduleArgs
                                        {
                                            Days = new[]
                                            {
                                                AzureNative.HDInsight.DaysOfWeek.Monday,
                                                AzureNative.HDInsight.DaysOfWeek.Tuesday,
                                                AzureNative.HDInsight.DaysOfWeek.Wednesday,
                                                AzureNative.HDInsight.DaysOfWeek.Thursday,
                                                AzureNative.HDInsight.DaysOfWeek.Friday,
                                            },
                                            TimeAndCapacity = new AzureNative.HDInsight.Inputs.AutoscaleTimeAndCapacityArgs
                                            {
                                                MaxInstanceCount = 6,
                                                MinInstanceCount = 6,
                                                Time = "18:00",
                                            },
                                        },
                                        new AzureNative.HDInsight.Inputs.AutoscaleScheduleArgs
                                        {
                                            Days = new[]
                                            {
                                                AzureNative.HDInsight.DaysOfWeek.Saturday,
                                                AzureNative.HDInsight.DaysOfWeek.Sunday,
                                            },
                                            TimeAndCapacity = new AzureNative.HDInsight.Inputs.AutoscaleTimeAndCapacityArgs
                                            {
                                                MaxInstanceCount = 2,
                                                MinInstanceCount = 2,
                                                Time = "09:00",
                                            },
                                        },
                                        new AzureNative.HDInsight.Inputs.AutoscaleScheduleArgs
                                        {
                                            Days = new[]
                                            {
                                                AzureNative.HDInsight.DaysOfWeek.Saturday,
                                                AzureNative.HDInsight.DaysOfWeek.Sunday,
                                            },
                                            TimeAndCapacity = new AzureNative.HDInsight.Inputs.AutoscaleTimeAndCapacityArgs
                                            {
                                                MaxInstanceCount = 4,
                                                MinInstanceCount = 4,
                                                Time = "18:00",
                                            },
                                        },
                                    },
                                    TimeZone = "China Standard Time",
                                },
                            },
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Standard_D4_V2",
                            },
                            Name = "workernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            ScriptActions = new() { },
                            TargetInstanceCount = 4,
                        },
                    },
                },
                OsType = AzureNative.HDInsight.OSType.Linux,
                StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
                {
                    Storageaccounts = new[]
                    {
                        new AzureNative.HDInsight.Inputs.StorageAccountArgs
                        {
                            Container = "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z",
                            IsDefault = true,
                            Key = "storagekey",
                            Name = "mystorage.blob.core.windows.net",
                        },
                    },
                },
                Tier = AzureNative.HDInsight.Tier.Standard,
            },
            ResourceGroupName = "rg1",
        });
    
    });
    
    package main
    
    import (
    	hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
    			ClusterName: pulumi.String("cluster1"),
    			Properties: &hdinsight.ClusterCreatePropertiesArgs{
    				ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
    					ComponentVersion: pulumi.StringMap{
    						"Hadoop": pulumi.String("2.7"),
    					},
    					Configurations: pulumi.Any(map[string]interface{}{
    						"gateway": map[string]interface{}{
    							"restAuthCredential.isEnabled": true,
    							"restAuthCredential.password":  "**********",
    							"restAuthCredential.username":  "admin",
    						},
    					}),
    					Kind: pulumi.String("hadoop"),
    				},
    				ClusterVersion: pulumi.String("3.6"),
    				ComputeProfile: &hdinsight.ComputeProfileArgs{
    					Roles: hdinsight.RoleArray{
    						&hdinsight.RoleArgs{
    							AutoscaleConfiguration: &hdinsight.AutoscaleArgs{
    								Recurrence: &hdinsight.AutoscaleRecurrenceArgs{
    									Schedule: hdinsight.AutoscaleScheduleArray{
    										&hdinsight.AutoscaleScheduleArgs{
    											Days: pulumi.StringArray{
    												pulumi.String(hdinsight.DaysOfWeekMonday),
    												pulumi.String(hdinsight.DaysOfWeekTuesday),
    												pulumi.String(hdinsight.DaysOfWeekWednesday),
    												pulumi.String(hdinsight.DaysOfWeekThursday),
    												pulumi.String(hdinsight.DaysOfWeekFriday),
    											},
    											TimeAndCapacity: &hdinsight.AutoscaleTimeAndCapacityArgs{
    												MaxInstanceCount: pulumi.Int(3),
    												MinInstanceCount: pulumi.Int(3),
    												Time:             pulumi.String("09:00"),
    											},
    										},
    										&hdinsight.AutoscaleScheduleArgs{
    											Days: pulumi.StringArray{
    												pulumi.String(hdinsight.DaysOfWeekMonday),
    												pulumi.String(hdinsight.DaysOfWeekTuesday),
    												pulumi.String(hdinsight.DaysOfWeekWednesday),
    												pulumi.String(hdinsight.DaysOfWeekThursday),
    												pulumi.String(hdinsight.DaysOfWeekFriday),
    											},
    											TimeAndCapacity: &hdinsight.AutoscaleTimeAndCapacityArgs{
    												MaxInstanceCount: pulumi.Int(6),
    												MinInstanceCount: pulumi.Int(6),
    												Time:             pulumi.String("18:00"),
    											},
    										},
    										&hdinsight.AutoscaleScheduleArgs{
    											Days: pulumi.StringArray{
    												pulumi.String(hdinsight.DaysOfWeekSaturday),
    												pulumi.String(hdinsight.DaysOfWeekSunday),
    											},
    											TimeAndCapacity: &hdinsight.AutoscaleTimeAndCapacityArgs{
    												MaxInstanceCount: pulumi.Int(2),
    												MinInstanceCount: pulumi.Int(2),
    												Time:             pulumi.String("09:00"),
    											},
    										},
    										&hdinsight.AutoscaleScheduleArgs{
    											Days: pulumi.StringArray{
    												pulumi.String(hdinsight.DaysOfWeekSaturday),
    												pulumi.String(hdinsight.DaysOfWeekSunday),
    											},
    											TimeAndCapacity: &hdinsight.AutoscaleTimeAndCapacityArgs{
    												MaxInstanceCount: pulumi.Int(4),
    												MinInstanceCount: pulumi.Int(4),
    												Time:             pulumi.String("18:00"),
    											},
    										},
    									},
    									TimeZone: pulumi.String("China Standard Time"),
    								},
    							},
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Standard_D4_V2"),
    							},
    							Name: pulumi.String("workernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							ScriptActions:       hdinsight.ScriptActionArray{},
    							TargetInstanceCount: pulumi.Int(4),
    						},
    					},
    				},
    				OsType: pulumi.String(hdinsight.OSTypeLinux),
    				StorageProfile: &hdinsight.StorageProfileArgs{
    					Storageaccounts: hdinsight.StorageAccountArray{
    						&hdinsight.StorageAccountArgs{
    							Container: pulumi.String("hdinsight-autoscale-tes-2019-06-18t05-49-16-591z"),
    							IsDefault: pulumi.Bool(true),
    							Key:       pulumi.String("storagekey"),
    							Name:      pulumi.String("mystorage.blob.core.windows.net"),
    						},
    					},
    				},
    				Tier: pulumi.String(hdinsight.TierStandard),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    		})
    		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.Cluster;
    import com.pulumi.azurenative.hdinsight.ClusterArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
    import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
    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 cluster = new Cluster("cluster", ClusterArgs.builder()
                .clusterName("cluster1")
                .properties(ClusterCreatePropertiesArgs.builder()
                    .clusterDefinition(ClusterDefinitionArgs.builder()
                        .componentVersion(Map.of("Hadoop", "2.7"))
                        .configurations(Map.of("gateway", Map.ofEntries(
                            Map.entry("restAuthCredential.isEnabled", true),
                            Map.entry("restAuthCredential.password", "**********"),
                            Map.entry("restAuthCredential.username", "admin")
                        )))
                        .kind("hadoop")
                        .build())
                    .clusterVersion("3.6")
                    .computeProfile(ComputeProfileArgs.builder()
                        .roles(RoleArgs.builder()
                            .autoscaleConfiguration(AutoscaleArgs.builder()
                                .recurrence(AutoscaleRecurrenceArgs.builder()
                                    .schedule(                                
                                        AutoscaleScheduleArgs.builder()
                                            .days(                                        
                                                "Monday",
                                                "Tuesday",
                                                "Wednesday",
                                                "Thursday",
                                                "Friday")
                                            .timeAndCapacity(AutoscaleTimeAndCapacityArgs.builder()
                                                .maxInstanceCount(3)
                                                .minInstanceCount(3)
                                                .time("09:00")
                                                .build())
                                            .build(),
                                        AutoscaleScheduleArgs.builder()
                                            .days(                                        
                                                "Monday",
                                                "Tuesday",
                                                "Wednesday",
                                                "Thursday",
                                                "Friday")
                                            .timeAndCapacity(AutoscaleTimeAndCapacityArgs.builder()
                                                .maxInstanceCount(6)
                                                .minInstanceCount(6)
                                                .time("18:00")
                                                .build())
                                            .build(),
                                        AutoscaleScheduleArgs.builder()
                                            .days(                                        
                                                "Saturday",
                                                "Sunday")
                                            .timeAndCapacity(AutoscaleTimeAndCapacityArgs.builder()
                                                .maxInstanceCount(2)
                                                .minInstanceCount(2)
                                                .time("09:00")
                                                .build())
                                            .build(),
                                        AutoscaleScheduleArgs.builder()
                                            .days(                                        
                                                "Saturday",
                                                "Sunday")
                                            .timeAndCapacity(AutoscaleTimeAndCapacityArgs.builder()
                                                .maxInstanceCount(4)
                                                .minInstanceCount(4)
                                                .time("18:00")
                                                .build())
                                            .build())
                                    .timeZone("China Standard Time")
                                    .build())
                                .build())
                            .hardwareProfile(HardwareProfileArgs.builder()
                                .vmSize("Standard_D4_V2")
                                .build())
                            .name("workernode")
                            .osProfile(OsProfileArgs.builder()
                                .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                    .password("**********")
                                    .username("sshuser")
                                    .build())
                                .build())
                            .scriptActions()
                            .targetInstanceCount(4)
                            .build())
                        .build())
                    .osType("Linux")
                    .storageProfile(StorageProfileArgs.builder()
                        .storageaccounts(StorageAccountArgs.builder()
                            .container("hdinsight-autoscale-tes-2019-06-18t05-49-16-591z")
                            .isDefault(true)
                            .key("storagekey")
                            .name("mystorage.blob.core.windows.net")
                            .build())
                        .build())
                    .tier("Standard")
                    .build())
                .resourceGroupName("rg1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cluster = azure_native.hdinsight.Cluster("cluster",
        cluster_name="cluster1",
        properties={
            "cluster_definition": {
                "component_version": {
                    "Hadoop": "2.7",
                },
                "configurations": {
                    "gateway": {
                        "restAuthCredential.isEnabled": True,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                "kind": "hadoop",
            },
            "cluster_version": "3.6",
            "compute_profile": {
                "roles": [{
                    "autoscale_configuration": {
                        "recurrence": {
                            "schedule": [
                                {
                                    "days": [
                                        azure_native.hdinsight.DaysOfWeek.MONDAY,
                                        azure_native.hdinsight.DaysOfWeek.TUESDAY,
                                        azure_native.hdinsight.DaysOfWeek.WEDNESDAY,
                                        azure_native.hdinsight.DaysOfWeek.THURSDAY,
                                        azure_native.hdinsight.DaysOfWeek.FRIDAY,
                                    ],
                                    "time_and_capacity": {
                                        "max_instance_count": 3,
                                        "min_instance_count": 3,
                                        "time": "09:00",
                                    },
                                },
                                {
                                    "days": [
                                        azure_native.hdinsight.DaysOfWeek.MONDAY,
                                        azure_native.hdinsight.DaysOfWeek.TUESDAY,
                                        azure_native.hdinsight.DaysOfWeek.WEDNESDAY,
                                        azure_native.hdinsight.DaysOfWeek.THURSDAY,
                                        azure_native.hdinsight.DaysOfWeek.FRIDAY,
                                    ],
                                    "time_and_capacity": {
                                        "max_instance_count": 6,
                                        "min_instance_count": 6,
                                        "time": "18:00",
                                    },
                                },
                                {
                                    "days": [
                                        azure_native.hdinsight.DaysOfWeek.SATURDAY,
                                        azure_native.hdinsight.DaysOfWeek.SUNDAY,
                                    ],
                                    "time_and_capacity": {
                                        "max_instance_count": 2,
                                        "min_instance_count": 2,
                                        "time": "09:00",
                                    },
                                },
                                {
                                    "days": [
                                        azure_native.hdinsight.DaysOfWeek.SATURDAY,
                                        azure_native.hdinsight.DaysOfWeek.SUNDAY,
                                    ],
                                    "time_and_capacity": {
                                        "max_instance_count": 4,
                                        "min_instance_count": 4,
                                        "time": "18:00",
                                    },
                                },
                            ],
                            "time_zone": "China Standard Time",
                        },
                    },
                    "hardware_profile": {
                        "vm_size": "Standard_D4_V2",
                    },
                    "name": "workernode",
                    "os_profile": {
                        "linux_operating_system_profile": {
                            "password": "**********",
                            "username": "sshuser",
                        },
                    },
                    "script_actions": [],
                    "target_instance_count": 4,
                }],
            },
            "os_type": azure_native.hdinsight.OSType.LINUX,
            "storage_profile": {
                "storageaccounts": [{
                    "container": "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z",
                    "is_default": True,
                    "key": "storagekey",
                    "name": "mystorage.blob.core.windows.net",
                }],
            },
            "tier": azure_native.hdinsight.Tier.STANDARD,
        },
        resource_group_name="rg1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cluster = new azure_native.hdinsight.Cluster("cluster", {
        clusterName: "cluster1",
        properties: {
            clusterDefinition: {
                componentVersion: {
                    Hadoop: "2.7",
                },
                configurations: {
                    gateway: {
                        "restAuthCredential.isEnabled": true,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                kind: "hadoop",
            },
            clusterVersion: "3.6",
            computeProfile: {
                roles: [{
                    autoscaleConfiguration: {
                        recurrence: {
                            schedule: [
                                {
                                    days: [
                                        azure_native.hdinsight.DaysOfWeek.Monday,
                                        azure_native.hdinsight.DaysOfWeek.Tuesday,
                                        azure_native.hdinsight.DaysOfWeek.Wednesday,
                                        azure_native.hdinsight.DaysOfWeek.Thursday,
                                        azure_native.hdinsight.DaysOfWeek.Friday,
                                    ],
                                    timeAndCapacity: {
                                        maxInstanceCount: 3,
                                        minInstanceCount: 3,
                                        time: "09:00",
                                    },
                                },
                                {
                                    days: [
                                        azure_native.hdinsight.DaysOfWeek.Monday,
                                        azure_native.hdinsight.DaysOfWeek.Tuesday,
                                        azure_native.hdinsight.DaysOfWeek.Wednesday,
                                        azure_native.hdinsight.DaysOfWeek.Thursday,
                                        azure_native.hdinsight.DaysOfWeek.Friday,
                                    ],
                                    timeAndCapacity: {
                                        maxInstanceCount: 6,
                                        minInstanceCount: 6,
                                        time: "18:00",
                                    },
                                },
                                {
                                    days: [
                                        azure_native.hdinsight.DaysOfWeek.Saturday,
                                        azure_native.hdinsight.DaysOfWeek.Sunday,
                                    ],
                                    timeAndCapacity: {
                                        maxInstanceCount: 2,
                                        minInstanceCount: 2,
                                        time: "09:00",
                                    },
                                },
                                {
                                    days: [
                                        azure_native.hdinsight.DaysOfWeek.Saturday,
                                        azure_native.hdinsight.DaysOfWeek.Sunday,
                                    ],
                                    timeAndCapacity: {
                                        maxInstanceCount: 4,
                                        minInstanceCount: 4,
                                        time: "18:00",
                                    },
                                },
                            ],
                            timeZone: "China Standard Time",
                        },
                    },
                    hardwareProfile: {
                        vmSize: "Standard_D4_V2",
                    },
                    name: "workernode",
                    osProfile: {
                        linuxOperatingSystemProfile: {
                            password: "**********",
                            username: "sshuser",
                        },
                    },
                    scriptActions: [],
                    targetInstanceCount: 4,
                }],
            },
            osType: azure_native.hdinsight.OSType.Linux,
            storageProfile: {
                storageaccounts: [{
                    container: "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z",
                    isDefault: true,
                    key: "storagekey",
                    name: "mystorage.blob.core.windows.net",
                }],
            },
            tier: azure_native.hdinsight.Tier.Standard,
        },
        resourceGroupName: "rg1",
    });
    
    resources:
      cluster:
        type: azure-native:hdinsight:Cluster
        properties:
          clusterName: cluster1
          properties:
            clusterDefinition:
              componentVersion:
                Hadoop: '2.7'
              configurations:
                gateway:
                  restAuthCredential.isEnabled: true
                  restAuthCredential.password: '**********'
                  restAuthCredential.username: admin
              kind: hadoop
            clusterVersion: '3.6'
            computeProfile:
              roles:
                - autoscaleConfiguration:
                    recurrence:
                      schedule:
                        - days:
                            - Monday
                            - Tuesday
                            - Wednesday
                            - Thursday
                            - Friday
                          timeAndCapacity:
                            maxInstanceCount: 3
                            minInstanceCount: 3
                            time: 09:00
                        - days:
                            - Monday
                            - Tuesday
                            - Wednesday
                            - Thursday
                            - Friday
                          timeAndCapacity:
                            maxInstanceCount: 6
                            minInstanceCount: 6
                            time: 18:00
                        - days:
                            - Saturday
                            - Sunday
                          timeAndCapacity:
                            maxInstanceCount: 2
                            minInstanceCount: 2
                            time: 09:00
                        - days:
                            - Saturday
                            - Sunday
                          timeAndCapacity:
                            maxInstanceCount: 4
                            minInstanceCount: 4
                            time: 18:00
                      timeZone: China Standard Time
                  hardwareProfile:
                    vmSize: Standard_D4_V2
                  name: workernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  scriptActions: []
                  targetInstanceCount: 4
            osType: Linux
            storageProfile:
              storageaccounts:
                - container: hdinsight-autoscale-tes-2019-06-18t05-49-16-591z
                  isDefault: true
                  key: storagekey
                  name: mystorage.blob.core.windows.net
            tier: Standard
          resourceGroupName: rg1
    

    Create Hadoop cluster with Azure Data Lake Storage Gen 2

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
        {
            ClusterName = "cluster1",
            Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
            {
                ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
                {
                    Configurations = new Dictionary<string, object?>
                    {
                        ["gateway"] = new Dictionary<string, object?>
                        {
                            ["restAuthCredential.isEnabled"] = "true",
                            ["restAuthCredential.password"] = "**********",
                            ["restAuthCredential.username"] = "admin",
                        },
                    },
                    Kind = "Hadoop",
                },
                ClusterVersion = "3.6",
                ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Standard_D3_V2",
                            },
                            MinInstanceCount = 1,
                            Name = "headnode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 2,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Standard_D3_V2",
                            },
                            MinInstanceCount = 1,
                            Name = "workernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 4,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Small",
                            },
                            MinInstanceCount = 1,
                            Name = "zookeepernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 3,
                        },
                    },
                },
                OsType = AzureNative.HDInsight.OSType.Linux,
                StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
                {
                    Storageaccounts = new[]
                    {
                        new AzureNative.HDInsight.Inputs.StorageAccountArgs
                        {
                            FileSystem = "default",
                            IsDefault = true,
                            Key = "storagekey",
                            Name = "mystorage.dfs.core.windows.net",
                        },
                    },
                },
                Tier = AzureNative.HDInsight.Tier.Standard,
            },
            ResourceGroupName = "rg1",
            Tags = 
            {
                { "key1", "val1" },
            },
        });
    
    });
    
    package main
    
    import (
    	hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
    			ClusterName: pulumi.String("cluster1"),
    			Properties: &hdinsight.ClusterCreatePropertiesArgs{
    				ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
    					Configurations: pulumi.Any(map[string]interface{}{
    						"gateway": map[string]interface{}{
    							"restAuthCredential.isEnabled": "true",
    							"restAuthCredential.password":  "**********",
    							"restAuthCredential.username":  "admin",
    						},
    					}),
    					Kind: pulumi.String("Hadoop"),
    				},
    				ClusterVersion: pulumi.String("3.6"),
    				ComputeProfile: &hdinsight.ComputeProfileArgs{
    					Roles: hdinsight.RoleArray{
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Standard_D3_V2"),
    							},
    							MinInstanceCount: pulumi.Int(1),
    							Name:             pulumi.String("headnode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(2),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Standard_D3_V2"),
    							},
    							MinInstanceCount: pulumi.Int(1),
    							Name:             pulumi.String("workernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(4),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Small"),
    							},
    							MinInstanceCount: pulumi.Int(1),
    							Name:             pulumi.String("zookeepernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(3),
    						},
    					},
    				},
    				OsType: pulumi.String(hdinsight.OSTypeLinux),
    				StorageProfile: &hdinsight.StorageProfileArgs{
    					Storageaccounts: hdinsight.StorageAccountArray{
    						&hdinsight.StorageAccountArgs{
    							FileSystem: pulumi.String("default"),
    							IsDefault:  pulumi.Bool(true),
    							Key:        pulumi.String("storagekey"),
    							Name:       pulumi.String("mystorage.dfs.core.windows.net"),
    						},
    					},
    				},
    				Tier: pulumi.String(hdinsight.TierStandard),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			Tags: pulumi.StringMap{
    				"key1": pulumi.String("val1"),
    			},
    		})
    		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.Cluster;
    import com.pulumi.azurenative.hdinsight.ClusterArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
    import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
    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 cluster = new Cluster("cluster", ClusterArgs.builder()
                .clusterName("cluster1")
                .properties(ClusterCreatePropertiesArgs.builder()
                    .clusterDefinition(ClusterDefinitionArgs.builder()
                        .configurations(Map.of("gateway", Map.ofEntries(
                            Map.entry("restAuthCredential.isEnabled", "true"),
                            Map.entry("restAuthCredential.password", "**********"),
                            Map.entry("restAuthCredential.username", "admin")
                        )))
                        .kind("Hadoop")
                        .build())
                    .clusterVersion("3.6")
                    .computeProfile(ComputeProfileArgs.builder()
                        .roles(                    
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Standard_D3_V2")
                                    .build())
                                .minInstanceCount(1)
                                .name("headnode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(2)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Standard_D3_V2")
                                    .build())
                                .minInstanceCount(1)
                                .name("workernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(4)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Small")
                                    .build())
                                .minInstanceCount(1)
                                .name("zookeepernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(3)
                                .build())
                        .build())
                    .osType("Linux")
                    .storageProfile(StorageProfileArgs.builder()
                        .storageaccounts(StorageAccountArgs.builder()
                            .fileSystem("default")
                            .isDefault(true)
                            .key("storagekey")
                            .name("mystorage.dfs.core.windows.net")
                            .build())
                        .build())
                    .tier("Standard")
                    .build())
                .resourceGroupName("rg1")
                .tags(Map.of("key1", "val1"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cluster = azure_native.hdinsight.Cluster("cluster",
        cluster_name="cluster1",
        properties={
            "cluster_definition": {
                "configurations": {
                    "gateway": {
                        "restAuthCredential.isEnabled": "true",
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                "kind": "Hadoop",
            },
            "cluster_version": "3.6",
            "compute_profile": {
                "roles": [
                    {
                        "hardware_profile": {
                            "vm_size": "Standard_D3_V2",
                        },
                        "min_instance_count": 1,
                        "name": "headnode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 2,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Standard_D3_V2",
                        },
                        "min_instance_count": 1,
                        "name": "workernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 4,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Small",
                        },
                        "min_instance_count": 1,
                        "name": "zookeepernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 3,
                    },
                ],
            },
            "os_type": azure_native.hdinsight.OSType.LINUX,
            "storage_profile": {
                "storageaccounts": [{
                    "file_system": "default",
                    "is_default": True,
                    "key": "storagekey",
                    "name": "mystorage.dfs.core.windows.net",
                }],
            },
            "tier": azure_native.hdinsight.Tier.STANDARD,
        },
        resource_group_name="rg1",
        tags={
            "key1": "val1",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cluster = new azure_native.hdinsight.Cluster("cluster", {
        clusterName: "cluster1",
        properties: {
            clusterDefinition: {
                configurations: {
                    gateway: {
                        "restAuthCredential.isEnabled": "true",
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                kind: "Hadoop",
            },
            clusterVersion: "3.6",
            computeProfile: {
                roles: [
                    {
                        hardwareProfile: {
                            vmSize: "Standard_D3_V2",
                        },
                        minInstanceCount: 1,
                        name: "headnode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 2,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Standard_D3_V2",
                        },
                        minInstanceCount: 1,
                        name: "workernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 4,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Small",
                        },
                        minInstanceCount: 1,
                        name: "zookeepernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 3,
                    },
                ],
            },
            osType: azure_native.hdinsight.OSType.Linux,
            storageProfile: {
                storageaccounts: [{
                    fileSystem: "default",
                    isDefault: true,
                    key: "storagekey",
                    name: "mystorage.dfs.core.windows.net",
                }],
            },
            tier: azure_native.hdinsight.Tier.Standard,
        },
        resourceGroupName: "rg1",
        tags: {
            key1: "val1",
        },
    });
    
    resources:
      cluster:
        type: azure-native:hdinsight:Cluster
        properties:
          clusterName: cluster1
          properties:
            clusterDefinition:
              configurations:
                gateway:
                  restAuthCredential.isEnabled: 'true'
                  restAuthCredential.password: '**********'
                  restAuthCredential.username: admin
              kind: Hadoop
            clusterVersion: '3.6'
            computeProfile:
              roles:
                - hardwareProfile:
                    vmSize: Standard_D3_V2
                  minInstanceCount: 1
                  name: headnode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 2
                - hardwareProfile:
                    vmSize: Standard_D3_V2
                  minInstanceCount: 1
                  name: workernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 4
                - hardwareProfile:
                    vmSize: Small
                  minInstanceCount: 1
                  name: zookeepernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 3
            osType: Linux
            storageProfile:
              storageaccounts:
                - fileSystem: default
                  isDefault: true
                  key: storagekey
                  name: mystorage.dfs.core.windows.net
            tier: Standard
          resourceGroupName: rg1
          tags:
            key1: val1
    

    Create Hadoop on Linux cluster with SSH password

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
        {
            ClusterName = "cluster1",
            Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
            {
                ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
                {
                    Configurations = new Dictionary<string, object?>
                    {
                        ["gateway"] = new Dictionary<string, object?>
                        {
                            ["restAuthCredential.isEnabled"] = "true",
                            ["restAuthCredential.password"] = "**********",
                            ["restAuthCredential.username"] = "admin",
                        },
                    },
                    Kind = "Hadoop",
                },
                ClusterVersion = "3.5",
                ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Standard_D3_V2",
                            },
                            MinInstanceCount = 1,
                            Name = "headnode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 2,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Standard_D3_V2",
                            },
                            MinInstanceCount = 1,
                            Name = "workernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 4,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Small",
                            },
                            MinInstanceCount = 1,
                            Name = "zookeepernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 3,
                        },
                    },
                },
                OsType = AzureNative.HDInsight.OSType.Linux,
                StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
                {
                    Storageaccounts = new[]
                    {
                        new AzureNative.HDInsight.Inputs.StorageAccountArgs
                        {
                            Container = "containername",
                            IsDefault = true,
                            Key = "storagekey",
                            Name = "mystorage.blob.core.windows.net",
                        },
                    },
                },
                Tier = AzureNative.HDInsight.Tier.Standard,
            },
            ResourceGroupName = "rg1",
            Tags = 
            {
                { "key1", "val1" },
            },
        });
    
    });
    
    package main
    
    import (
    	hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
    			ClusterName: pulumi.String("cluster1"),
    			Properties: &hdinsight.ClusterCreatePropertiesArgs{
    				ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
    					Configurations: pulumi.Any(map[string]interface{}{
    						"gateway": map[string]interface{}{
    							"restAuthCredential.isEnabled": "true",
    							"restAuthCredential.password":  "**********",
    							"restAuthCredential.username":  "admin",
    						},
    					}),
    					Kind: pulumi.String("Hadoop"),
    				},
    				ClusterVersion: pulumi.String("3.5"),
    				ComputeProfile: &hdinsight.ComputeProfileArgs{
    					Roles: hdinsight.RoleArray{
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Standard_D3_V2"),
    							},
    							MinInstanceCount: pulumi.Int(1),
    							Name:             pulumi.String("headnode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(2),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Standard_D3_V2"),
    							},
    							MinInstanceCount: pulumi.Int(1),
    							Name:             pulumi.String("workernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(4),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Small"),
    							},
    							MinInstanceCount: pulumi.Int(1),
    							Name:             pulumi.String("zookeepernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(3),
    						},
    					},
    				},
    				OsType: pulumi.String(hdinsight.OSTypeLinux),
    				StorageProfile: &hdinsight.StorageProfileArgs{
    					Storageaccounts: hdinsight.StorageAccountArray{
    						&hdinsight.StorageAccountArgs{
    							Container: pulumi.String("containername"),
    							IsDefault: pulumi.Bool(true),
    							Key:       pulumi.String("storagekey"),
    							Name:      pulumi.String("mystorage.blob.core.windows.net"),
    						},
    					},
    				},
    				Tier: pulumi.String(hdinsight.TierStandard),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			Tags: pulumi.StringMap{
    				"key1": pulumi.String("val1"),
    			},
    		})
    		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.Cluster;
    import com.pulumi.azurenative.hdinsight.ClusterArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
    import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
    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 cluster = new Cluster("cluster", ClusterArgs.builder()
                .clusterName("cluster1")
                .properties(ClusterCreatePropertiesArgs.builder()
                    .clusterDefinition(ClusterDefinitionArgs.builder()
                        .configurations(Map.of("gateway", Map.ofEntries(
                            Map.entry("restAuthCredential.isEnabled", "true"),
                            Map.entry("restAuthCredential.password", "**********"),
                            Map.entry("restAuthCredential.username", "admin")
                        )))
                        .kind("Hadoop")
                        .build())
                    .clusterVersion("3.5")
                    .computeProfile(ComputeProfileArgs.builder()
                        .roles(                    
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Standard_D3_V2")
                                    .build())
                                .minInstanceCount(1)
                                .name("headnode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(2)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Standard_D3_V2")
                                    .build())
                                .minInstanceCount(1)
                                .name("workernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(4)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Small")
                                    .build())
                                .minInstanceCount(1)
                                .name("zookeepernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(3)
                                .build())
                        .build())
                    .osType("Linux")
                    .storageProfile(StorageProfileArgs.builder()
                        .storageaccounts(StorageAccountArgs.builder()
                            .container("containername")
                            .isDefault(true)
                            .key("storagekey")
                            .name("mystorage.blob.core.windows.net")
                            .build())
                        .build())
                    .tier("Standard")
                    .build())
                .resourceGroupName("rg1")
                .tags(Map.of("key1", "val1"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cluster = azure_native.hdinsight.Cluster("cluster",
        cluster_name="cluster1",
        properties={
            "cluster_definition": {
                "configurations": {
                    "gateway": {
                        "restAuthCredential.isEnabled": "true",
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                "kind": "Hadoop",
            },
            "cluster_version": "3.5",
            "compute_profile": {
                "roles": [
                    {
                        "hardware_profile": {
                            "vm_size": "Standard_D3_V2",
                        },
                        "min_instance_count": 1,
                        "name": "headnode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 2,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Standard_D3_V2",
                        },
                        "min_instance_count": 1,
                        "name": "workernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 4,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Small",
                        },
                        "min_instance_count": 1,
                        "name": "zookeepernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 3,
                    },
                ],
            },
            "os_type": azure_native.hdinsight.OSType.LINUX,
            "storage_profile": {
                "storageaccounts": [{
                    "container": "containername",
                    "is_default": True,
                    "key": "storagekey",
                    "name": "mystorage.blob.core.windows.net",
                }],
            },
            "tier": azure_native.hdinsight.Tier.STANDARD,
        },
        resource_group_name="rg1",
        tags={
            "key1": "val1",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cluster = new azure_native.hdinsight.Cluster("cluster", {
        clusterName: "cluster1",
        properties: {
            clusterDefinition: {
                configurations: {
                    gateway: {
                        "restAuthCredential.isEnabled": "true",
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                kind: "Hadoop",
            },
            clusterVersion: "3.5",
            computeProfile: {
                roles: [
                    {
                        hardwareProfile: {
                            vmSize: "Standard_D3_V2",
                        },
                        minInstanceCount: 1,
                        name: "headnode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 2,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Standard_D3_V2",
                        },
                        minInstanceCount: 1,
                        name: "workernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 4,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Small",
                        },
                        minInstanceCount: 1,
                        name: "zookeepernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 3,
                    },
                ],
            },
            osType: azure_native.hdinsight.OSType.Linux,
            storageProfile: {
                storageaccounts: [{
                    container: "containername",
                    isDefault: true,
                    key: "storagekey",
                    name: "mystorage.blob.core.windows.net",
                }],
            },
            tier: azure_native.hdinsight.Tier.Standard,
        },
        resourceGroupName: "rg1",
        tags: {
            key1: "val1",
        },
    });
    
    resources:
      cluster:
        type: azure-native:hdinsight:Cluster
        properties:
          clusterName: cluster1
          properties:
            clusterDefinition:
              configurations:
                gateway:
                  restAuthCredential.isEnabled: 'true'
                  restAuthCredential.password: '**********'
                  restAuthCredential.username: admin
              kind: Hadoop
            clusterVersion: '3.5'
            computeProfile:
              roles:
                - hardwareProfile:
                    vmSize: Standard_D3_V2
                  minInstanceCount: 1
                  name: headnode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 2
                - hardwareProfile:
                    vmSize: Standard_D3_V2
                  minInstanceCount: 1
                  name: workernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 4
                - hardwareProfile:
                    vmSize: Small
                  minInstanceCount: 1
                  name: zookeepernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 3
            osType: Linux
            storageProfile:
              storageaccounts:
                - container: containername
                  isDefault: true
                  key: storagekey
                  name: mystorage.blob.core.windows.net
            tier: Standard
          resourceGroupName: rg1
          tags:
            key1: val1
    

    Create Hadoop on Linux cluster with SSH public key

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
        {
            ClusterName = "cluster1",
            Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
            {
                ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
                {
                    Configurations = new Dictionary<string, object?>
                    {
                        ["gateway"] = new Dictionary<string, object?>
                        {
                            ["restAuthCredential.isEnabled"] = true,
                            ["restAuthCredential.password"] = "**********",
                            ["restAuthCredential.username"] = "admin",
                        },
                    },
                    Kind = "Hadoop",
                },
                ClusterVersion = "3.5",
                ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Standard_D3_V2",
                            },
                            MinInstanceCount = 1,
                            Name = "headnode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
                                    {
                                        PublicKeys = new[]
                                        {
                                            new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
                                            {
                                                CertificateData = "**********",
                                            },
                                        },
                                    },
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 2,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Standard_D3_V2",
                            },
                            MinInstanceCount = 1,
                            Name = "workernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 4,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Small",
                            },
                            MinInstanceCount = 1,
                            Name = "zookeepernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 3,
                        },
                    },
                },
                OsType = AzureNative.HDInsight.OSType.Linux,
                StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
                {
                    Storageaccounts = new[]
                    {
                        new AzureNative.HDInsight.Inputs.StorageAccountArgs
                        {
                            Container = "containername",
                            IsDefault = true,
                            Key = "storagekey",
                            Name = "mystorage.blob.core.windows.net",
                        },
                    },
                },
                Tier = AzureNative.HDInsight.Tier.Standard,
            },
            ResourceGroupName = "rg1",
            Tags = 
            {
                { "key1", "val1" },
            },
        });
    
    });
    
    package main
    
    import (
    	hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
    			ClusterName: pulumi.String("cluster1"),
    			Properties: &hdinsight.ClusterCreatePropertiesArgs{
    				ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
    					Configurations: pulumi.Any(map[string]interface{}{
    						"gateway": map[string]interface{}{
    							"restAuthCredential.isEnabled": true,
    							"restAuthCredential.password":  "**********",
    							"restAuthCredential.username":  "admin",
    						},
    					}),
    					Kind: pulumi.String("Hadoop"),
    				},
    				ClusterVersion: pulumi.String("3.5"),
    				ComputeProfile: &hdinsight.ComputeProfileArgs{
    					Roles: hdinsight.RoleArray{
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Standard_D3_V2"),
    							},
    							MinInstanceCount: pulumi.Int(1),
    							Name:             pulumi.String("headnode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									SshProfile: &hdinsight.SshProfileArgs{
    										PublicKeys: hdinsight.SshPublicKeyArray{
    											&hdinsight.SshPublicKeyArgs{
    												CertificateData: pulumi.String("**********"),
    											},
    										},
    									},
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(2),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Standard_D3_V2"),
    							},
    							MinInstanceCount: pulumi.Int(1),
    							Name:             pulumi.String("workernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(4),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Small"),
    							},
    							MinInstanceCount: pulumi.Int(1),
    							Name:             pulumi.String("zookeepernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(3),
    						},
    					},
    				},
    				OsType: pulumi.String(hdinsight.OSTypeLinux),
    				StorageProfile: &hdinsight.StorageProfileArgs{
    					Storageaccounts: hdinsight.StorageAccountArray{
    						&hdinsight.StorageAccountArgs{
    							Container: pulumi.String("containername"),
    							IsDefault: pulumi.Bool(true),
    							Key:       pulumi.String("storagekey"),
    							Name:      pulumi.String("mystorage.blob.core.windows.net"),
    						},
    					},
    				},
    				Tier: pulumi.String(hdinsight.TierStandard),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			Tags: pulumi.StringMap{
    				"key1": pulumi.String("val1"),
    			},
    		})
    		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.Cluster;
    import com.pulumi.azurenative.hdinsight.ClusterArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
    import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
    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 cluster = new Cluster("cluster", ClusterArgs.builder()
                .clusterName("cluster1")
                .properties(ClusterCreatePropertiesArgs.builder()
                    .clusterDefinition(ClusterDefinitionArgs.builder()
                        .configurations(Map.of("gateway", Map.ofEntries(
                            Map.entry("restAuthCredential.isEnabled", true),
                            Map.entry("restAuthCredential.password", "**********"),
                            Map.entry("restAuthCredential.username", "admin")
                        )))
                        .kind("Hadoop")
                        .build())
                    .clusterVersion("3.5")
                    .computeProfile(ComputeProfileArgs.builder()
                        .roles(                    
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Standard_D3_V2")
                                    .build())
                                .minInstanceCount(1)
                                .name("headnode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .sshProfile(SshProfileArgs.builder()
                                            .publicKeys(SshPublicKeyArgs.builder()
                                                .certificateData("**********")
                                                .build())
                                            .build())
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(2)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Standard_D3_V2")
                                    .build())
                                .minInstanceCount(1)
                                .name("workernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(4)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Small")
                                    .build())
                                .minInstanceCount(1)
                                .name("zookeepernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(3)
                                .build())
                        .build())
                    .osType("Linux")
                    .storageProfile(StorageProfileArgs.builder()
                        .storageaccounts(StorageAccountArgs.builder()
                            .container("containername")
                            .isDefault(true)
                            .key("storagekey")
                            .name("mystorage.blob.core.windows.net")
                            .build())
                        .build())
                    .tier("Standard")
                    .build())
                .resourceGroupName("rg1")
                .tags(Map.of("key1", "val1"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cluster = azure_native.hdinsight.Cluster("cluster",
        cluster_name="cluster1",
        properties={
            "cluster_definition": {
                "configurations": {
                    "gateway": {
                        "restAuthCredential.isEnabled": True,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                "kind": "Hadoop",
            },
            "cluster_version": "3.5",
            "compute_profile": {
                "roles": [
                    {
                        "hardware_profile": {
                            "vm_size": "Standard_D3_V2",
                        },
                        "min_instance_count": 1,
                        "name": "headnode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "ssh_profile": {
                                    "public_keys": [{
                                        "certificate_data": "**********",
                                    }],
                                },
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 2,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Standard_D3_V2",
                        },
                        "min_instance_count": 1,
                        "name": "workernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 4,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Small",
                        },
                        "min_instance_count": 1,
                        "name": "zookeepernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 3,
                    },
                ],
            },
            "os_type": azure_native.hdinsight.OSType.LINUX,
            "storage_profile": {
                "storageaccounts": [{
                    "container": "containername",
                    "is_default": True,
                    "key": "storagekey",
                    "name": "mystorage.blob.core.windows.net",
                }],
            },
            "tier": azure_native.hdinsight.Tier.STANDARD,
        },
        resource_group_name="rg1",
        tags={
            "key1": "val1",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cluster = new azure_native.hdinsight.Cluster("cluster", {
        clusterName: "cluster1",
        properties: {
            clusterDefinition: {
                configurations: {
                    gateway: {
                        "restAuthCredential.isEnabled": true,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                kind: "Hadoop",
            },
            clusterVersion: "3.5",
            computeProfile: {
                roles: [
                    {
                        hardwareProfile: {
                            vmSize: "Standard_D3_V2",
                        },
                        minInstanceCount: 1,
                        name: "headnode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                sshProfile: {
                                    publicKeys: [{
                                        certificateData: "**********",
                                    }],
                                },
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 2,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Standard_D3_V2",
                        },
                        minInstanceCount: 1,
                        name: "workernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 4,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Small",
                        },
                        minInstanceCount: 1,
                        name: "zookeepernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 3,
                    },
                ],
            },
            osType: azure_native.hdinsight.OSType.Linux,
            storageProfile: {
                storageaccounts: [{
                    container: "containername",
                    isDefault: true,
                    key: "storagekey",
                    name: "mystorage.blob.core.windows.net",
                }],
            },
            tier: azure_native.hdinsight.Tier.Standard,
        },
        resourceGroupName: "rg1",
        tags: {
            key1: "val1",
        },
    });
    
    resources:
      cluster:
        type: azure-native:hdinsight:Cluster
        properties:
          clusterName: cluster1
          properties:
            clusterDefinition:
              configurations:
                gateway:
                  restAuthCredential.isEnabled: true
                  restAuthCredential.password: '**********'
                  restAuthCredential.username: admin
              kind: Hadoop
            clusterVersion: '3.5'
            computeProfile:
              roles:
                - hardwareProfile:
                    vmSize: Standard_D3_V2
                  minInstanceCount: 1
                  name: headnode
                  osProfile:
                    linuxOperatingSystemProfile:
                      sshProfile:
                        publicKeys:
                          - certificateData: '**********'
                      username: sshuser
                  targetInstanceCount: 2
                - hardwareProfile:
                    vmSize: Standard_D3_V2
                  minInstanceCount: 1
                  name: workernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 4
                - hardwareProfile:
                    vmSize: Small
                  minInstanceCount: 1
                  name: zookeepernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 3
            osType: Linux
            storageProfile:
              storageaccounts:
                - container: containername
                  isDefault: true
                  key: storagekey
                  name: mystorage.blob.core.windows.net
            tier: Standard
          resourceGroupName: rg1
          tags:
            key1: val1
    

    Create Kafka cluster with Kafka Rest Proxy

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
        {
            ClusterName = "cluster1",
            Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
            {
                ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
                {
                    ComponentVersion = 
                    {
                        { "Kafka", "2.1" },
                    },
                    Configurations = new Dictionary<string, object?>
                    {
                        ["gateway"] = new Dictionary<string, object?>
                        {
                            ["restAuthCredential.isEnabled"] = true,
                            ["restAuthCredential.password"] = "**********",
                            ["restAuthCredential.username"] = "admin",
                        },
                    },
                    Kind = "kafka",
                },
                ClusterVersion = "4.0",
                ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Large",
                            },
                            Name = "headnode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 2,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            DataDisksGroups = new[]
                            {
                                new AzureNative.HDInsight.Inputs.DataDisksGroupsArgs
                                {
                                    DisksPerNode = 8,
                                },
                            },
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Large",
                            },
                            Name = "workernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 3,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Small",
                            },
                            Name = "zookeepernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 3,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Standard_D4_v2",
                            },
                            Name = "kafkamanagementnode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "kafkauser",
                                },
                            },
                            TargetInstanceCount = 2,
                        },
                    },
                },
                KafkaRestProperties = new AzureNative.HDInsight.Inputs.KafkaRestPropertiesArgs
                {
                    ClientGroupInfo = new AzureNative.HDInsight.Inputs.ClientGroupInfoArgs
                    {
                        GroupId = "00000000-0000-0000-0000-111111111111",
                        GroupName = "Kafka security group name",
                    },
                },
                OsType = AzureNative.HDInsight.OSType.Linux,
                StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
                {
                    Storageaccounts = new[]
                    {
                        new AzureNative.HDInsight.Inputs.StorageAccountArgs
                        {
                            Container = "containername",
                            IsDefault = true,
                            Key = "storagekey",
                            Name = "mystorage.blob.core.windows.net",
                        },
                    },
                },
                Tier = AzureNative.HDInsight.Tier.Standard,
            },
            ResourceGroupName = "rg1",
        });
    
    });
    
    package main
    
    import (
    	hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
    			ClusterName: pulumi.String("cluster1"),
    			Properties: &hdinsight.ClusterCreatePropertiesArgs{
    				ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
    					ComponentVersion: pulumi.StringMap{
    						"Kafka": pulumi.String("2.1"),
    					},
    					Configurations: pulumi.Any(map[string]interface{}{
    						"gateway": map[string]interface{}{
    							"restAuthCredential.isEnabled": true,
    							"restAuthCredential.password":  "**********",
    							"restAuthCredential.username":  "admin",
    						},
    					}),
    					Kind: pulumi.String("kafka"),
    				},
    				ClusterVersion: pulumi.String("4.0"),
    				ComputeProfile: &hdinsight.ComputeProfileArgs{
    					Roles: hdinsight.RoleArray{
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Large"),
    							},
    							Name: pulumi.String("headnode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(2),
    						},
    						&hdinsight.RoleArgs{
    							DataDisksGroups: hdinsight.DataDisksGroupsArray{
    								&hdinsight.DataDisksGroupsArgs{
    									DisksPerNode: pulumi.Int(8),
    								},
    							},
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Large"),
    							},
    							Name: pulumi.String("workernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(3),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Small"),
    							},
    							Name: pulumi.String("zookeepernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(3),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Standard_D4_v2"),
    							},
    							Name: pulumi.String("kafkamanagementnode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("kafkauser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(2),
    						},
    					},
    				},
    				KafkaRestProperties: &hdinsight.KafkaRestPropertiesArgs{
    					ClientGroupInfo: &hdinsight.ClientGroupInfoArgs{
    						GroupId:   pulumi.String("00000000-0000-0000-0000-111111111111"),
    						GroupName: pulumi.String("Kafka security group name"),
    					},
    				},
    				OsType: pulumi.String(hdinsight.OSTypeLinux),
    				StorageProfile: &hdinsight.StorageProfileArgs{
    					Storageaccounts: hdinsight.StorageAccountArray{
    						&hdinsight.StorageAccountArgs{
    							Container: pulumi.String("containername"),
    							IsDefault: pulumi.Bool(true),
    							Key:       pulumi.String("storagekey"),
    							Name:      pulumi.String("mystorage.blob.core.windows.net"),
    						},
    					},
    				},
    				Tier: pulumi.String(hdinsight.TierStandard),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    		})
    		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.Cluster;
    import com.pulumi.azurenative.hdinsight.ClusterArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
    import com.pulumi.azurenative.hdinsight.inputs.KafkaRestPropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClientGroupInfoArgs;
    import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
    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 cluster = new Cluster("cluster", ClusterArgs.builder()
                .clusterName("cluster1")
                .properties(ClusterCreatePropertiesArgs.builder()
                    .clusterDefinition(ClusterDefinitionArgs.builder()
                        .componentVersion(Map.of("Kafka", "2.1"))
                        .configurations(Map.of("gateway", Map.ofEntries(
                            Map.entry("restAuthCredential.isEnabled", true),
                            Map.entry("restAuthCredential.password", "**********"),
                            Map.entry("restAuthCredential.username", "admin")
                        )))
                        .kind("kafka")
                        .build())
                    .clusterVersion("4.0")
                    .computeProfile(ComputeProfileArgs.builder()
                        .roles(                    
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Large")
                                    .build())
                                .name("headnode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(2)
                                .build(),
                            RoleArgs.builder()
                                .dataDisksGroups(DataDisksGroupsArgs.builder()
                                    .disksPerNode(8)
                                    .build())
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Large")
                                    .build())
                                .name("workernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(3)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Small")
                                    .build())
                                .name("zookeepernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(3)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Standard_D4_v2")
                                    .build())
                                .name("kafkamanagementnode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("kafkauser")
                                        .build())
                                    .build())
                                .targetInstanceCount(2)
                                .build())
                        .build())
                    .kafkaRestProperties(KafkaRestPropertiesArgs.builder()
                        .clientGroupInfo(ClientGroupInfoArgs.builder()
                            .groupId("00000000-0000-0000-0000-111111111111")
                            .groupName("Kafka security group name")
                            .build())
                        .build())
                    .osType("Linux")
                    .storageProfile(StorageProfileArgs.builder()
                        .storageaccounts(StorageAccountArgs.builder()
                            .container("containername")
                            .isDefault(true)
                            .key("storagekey")
                            .name("mystorage.blob.core.windows.net")
                            .build())
                        .build())
                    .tier("Standard")
                    .build())
                .resourceGroupName("rg1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cluster = azure_native.hdinsight.Cluster("cluster",
        cluster_name="cluster1",
        properties={
            "cluster_definition": {
                "component_version": {
                    "Kafka": "2.1",
                },
                "configurations": {
                    "gateway": {
                        "restAuthCredential.isEnabled": True,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                "kind": "kafka",
            },
            "cluster_version": "4.0",
            "compute_profile": {
                "roles": [
                    {
                        "hardware_profile": {
                            "vm_size": "Large",
                        },
                        "name": "headnode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 2,
                    },
                    {
                        "data_disks_groups": [{
                            "disks_per_node": 8,
                        }],
                        "hardware_profile": {
                            "vm_size": "Large",
                        },
                        "name": "workernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 3,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Small",
                        },
                        "name": "zookeepernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 3,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Standard_D4_v2",
                        },
                        "name": "kafkamanagementnode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "kafkauser",
                            },
                        },
                        "target_instance_count": 2,
                    },
                ],
            },
            "kafka_rest_properties": {
                "client_group_info": {
                    "group_id": "00000000-0000-0000-0000-111111111111",
                    "group_name": "Kafka security group name",
                },
            },
            "os_type": azure_native.hdinsight.OSType.LINUX,
            "storage_profile": {
                "storageaccounts": [{
                    "container": "containername",
                    "is_default": True,
                    "key": "storagekey",
                    "name": "mystorage.blob.core.windows.net",
                }],
            },
            "tier": azure_native.hdinsight.Tier.STANDARD,
        },
        resource_group_name="rg1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cluster = new azure_native.hdinsight.Cluster("cluster", {
        clusterName: "cluster1",
        properties: {
            clusterDefinition: {
                componentVersion: {
                    Kafka: "2.1",
                },
                configurations: {
                    gateway: {
                        "restAuthCredential.isEnabled": true,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                kind: "kafka",
            },
            clusterVersion: "4.0",
            computeProfile: {
                roles: [
                    {
                        hardwareProfile: {
                            vmSize: "Large",
                        },
                        name: "headnode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 2,
                    },
                    {
                        dataDisksGroups: [{
                            disksPerNode: 8,
                        }],
                        hardwareProfile: {
                            vmSize: "Large",
                        },
                        name: "workernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 3,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Small",
                        },
                        name: "zookeepernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 3,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Standard_D4_v2",
                        },
                        name: "kafkamanagementnode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "kafkauser",
                            },
                        },
                        targetInstanceCount: 2,
                    },
                ],
            },
            kafkaRestProperties: {
                clientGroupInfo: {
                    groupId: "00000000-0000-0000-0000-111111111111",
                    groupName: "Kafka security group name",
                },
            },
            osType: azure_native.hdinsight.OSType.Linux,
            storageProfile: {
                storageaccounts: [{
                    container: "containername",
                    isDefault: true,
                    key: "storagekey",
                    name: "mystorage.blob.core.windows.net",
                }],
            },
            tier: azure_native.hdinsight.Tier.Standard,
        },
        resourceGroupName: "rg1",
    });
    
    resources:
      cluster:
        type: azure-native:hdinsight:Cluster
        properties:
          clusterName: cluster1
          properties:
            clusterDefinition:
              componentVersion:
                Kafka: '2.1'
              configurations:
                gateway:
                  restAuthCredential.isEnabled: true
                  restAuthCredential.password: '**********'
                  restAuthCredential.username: admin
              kind: kafka
            clusterVersion: '4.0'
            computeProfile:
              roles:
                - hardwareProfile:
                    vmSize: Large
                  name: headnode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 2
                - dataDisksGroups:
                    - disksPerNode: 8
                  hardwareProfile:
                    vmSize: Large
                  name: workernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 3
                - hardwareProfile:
                    vmSize: Small
                  name: zookeepernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 3
                - hardwareProfile:
                    vmSize: Standard_D4_v2
                  name: kafkamanagementnode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: kafkauser
                  targetInstanceCount: 2
            kafkaRestProperties:
              clientGroupInfo:
                groupId: 00000000-0000-0000-0000-111111111111
                groupName: Kafka security group name
            osType: Linux
            storageProfile:
              storageaccounts:
                - container: containername
                  isDefault: true
                  key: storagekey
                  name: mystorage.blob.core.windows.net
            tier: Standard
          resourceGroupName: rg1
    

    Create Secure Hadoop cluster

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
        {
            ClusterName = "cluster1",
            Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
            {
                ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
                {
                    Configurations = new Dictionary<string, object?>
                    {
                        ["gateway"] = new Dictionary<string, object?>
                        {
                            ["restAuthCredential.isEnabled"] = true,
                            ["restAuthCredential.password"] = "**********",
                            ["restAuthCredential.username"] = "admin",
                        },
                    },
                    Kind = "Hadoop",
                },
                ClusterVersion = "3.5",
                ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Standard_D3_V2",
                            },
                            MinInstanceCount = 1,
                            Name = "headnode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
                                    {
                                        PublicKeys = new[]
                                        {
                                            new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
                                            {
                                                CertificateData = "**********",
                                            },
                                        },
                                    },
                                    Username = "sshuser",
                                },
                            },
                            ScriptActions = new() { },
                            TargetInstanceCount = 2,
                            VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
                            {
                                Id = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                                Subnet = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                            },
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Standard_D3_V2",
                            },
                            MinInstanceCount = 1,
                            Name = "workernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
                                    {
                                        PublicKeys = new[]
                                        {
                                            new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
                                            {
                                                CertificateData = "**********",
                                            },
                                        },
                                    },
                                    Username = "sshuser",
                                },
                            },
                            ScriptActions = new() { },
                            TargetInstanceCount = 4,
                            VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
                            {
                                Id = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                                Subnet = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                            },
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Small",
                            },
                            MinInstanceCount = 1,
                            Name = "zookeepernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
                                    {
                                        PublicKeys = new[]
                                        {
                                            new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
                                            {
                                                CertificateData = "**********",
                                            },
                                        },
                                    },
                                    Username = "sshuser",
                                },
                            },
                            ScriptActions = new() { },
                            TargetInstanceCount = 3,
                            VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
                            {
                                Id = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                                Subnet = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                            },
                        },
                    },
                },
                OsType = AzureNative.HDInsight.OSType.Linux,
                SecurityProfile = new AzureNative.HDInsight.Inputs.SecurityProfileArgs
                {
                    ClusterUsersGroupDNs = new[]
                    {
                        "hdiusers",
                    },
                    DirectoryType = AzureNative.HDInsight.DirectoryType.ActiveDirectory,
                    Domain = "DomainName",
                    DomainUserPassword = "**********",
                    DomainUsername = "DomainUsername",
                    LdapsUrls = new[]
                    {
                        "ldaps://10.10.0.4:636",
                    },
                    OrganizationalUnitDN = "OU=Hadoop,DC=hdinsight,DC=test",
                },
                StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
                {
                    Storageaccounts = new[]
                    {
                        new AzureNative.HDInsight.Inputs.StorageAccountArgs
                        {
                            Container = "containername",
                            IsDefault = true,
                            Key = "storage account key",
                            Name = "mystorage.blob.core.windows.net",
                        },
                    },
                },
                Tier = AzureNative.HDInsight.Tier.Premium,
            },
            ResourceGroupName = "rg1",
            Tags = 
            {
                { "key1", "val1" },
            },
        });
    
    });
    
    package main
    
    import (
    	hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
    			ClusterName: pulumi.String("cluster1"),
    			Properties: &hdinsight.ClusterCreatePropertiesArgs{
    				ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
    					Configurations: pulumi.Any(map[string]interface{}{
    						"gateway": map[string]interface{}{
    							"restAuthCredential.isEnabled": true,
    							"restAuthCredential.password":  "**********",
    							"restAuthCredential.username":  "admin",
    						},
    					}),
    					Kind: pulumi.String("Hadoop"),
    				},
    				ClusterVersion: pulumi.String("3.5"),
    				ComputeProfile: &hdinsight.ComputeProfileArgs{
    					Roles: hdinsight.RoleArray{
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Standard_D3_V2"),
    							},
    							MinInstanceCount: pulumi.Int(1),
    							Name:             pulumi.String("headnode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									SshProfile: &hdinsight.SshProfileArgs{
    										PublicKeys: hdinsight.SshPublicKeyArray{
    											&hdinsight.SshPublicKeyArgs{
    												CertificateData: pulumi.String("**********"),
    											},
    										},
    									},
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							ScriptActions:       hdinsight.ScriptActionArray{},
    							TargetInstanceCount: pulumi.Int(2),
    							VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
    								Id:     pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname"),
    								Subnet: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"),
    							},
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Standard_D3_V2"),
    							},
    							MinInstanceCount: pulumi.Int(1),
    							Name:             pulumi.String("workernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									SshProfile: &hdinsight.SshProfileArgs{
    										PublicKeys: hdinsight.SshPublicKeyArray{
    											&hdinsight.SshPublicKeyArgs{
    												CertificateData: pulumi.String("**********"),
    											},
    										},
    									},
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							ScriptActions:       hdinsight.ScriptActionArray{},
    							TargetInstanceCount: pulumi.Int(4),
    							VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
    								Id:     pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname"),
    								Subnet: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"),
    							},
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Small"),
    							},
    							MinInstanceCount: pulumi.Int(1),
    							Name:             pulumi.String("zookeepernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									SshProfile: &hdinsight.SshProfileArgs{
    										PublicKeys: hdinsight.SshPublicKeyArray{
    											&hdinsight.SshPublicKeyArgs{
    												CertificateData: pulumi.String("**********"),
    											},
    										},
    									},
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							ScriptActions:       hdinsight.ScriptActionArray{},
    							TargetInstanceCount: pulumi.Int(3),
    							VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
    								Id:     pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname"),
    								Subnet: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"),
    							},
    						},
    					},
    				},
    				OsType: pulumi.String(hdinsight.OSTypeLinux),
    				SecurityProfile: &hdinsight.SecurityProfileArgs{
    					ClusterUsersGroupDNs: pulumi.StringArray{
    						pulumi.String("hdiusers"),
    					},
    					DirectoryType:      pulumi.String(hdinsight.DirectoryTypeActiveDirectory),
    					Domain:             pulumi.String("DomainName"),
    					DomainUserPassword: pulumi.String("**********"),
    					DomainUsername:     pulumi.String("DomainUsername"),
    					LdapsUrls: pulumi.StringArray{
    						pulumi.String("ldaps://10.10.0.4:636"),
    					},
    					OrganizationalUnitDN: pulumi.String("OU=Hadoop,DC=hdinsight,DC=test"),
    				},
    				StorageProfile: &hdinsight.StorageProfileArgs{
    					Storageaccounts: hdinsight.StorageAccountArray{
    						&hdinsight.StorageAccountArgs{
    							Container: pulumi.String("containername"),
    							IsDefault: pulumi.Bool(true),
    							Key:       pulumi.String("storage account key"),
    							Name:      pulumi.String("mystorage.blob.core.windows.net"),
    						},
    					},
    				},
    				Tier: pulumi.String(hdinsight.TierPremium),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			Tags: pulumi.StringMap{
    				"key1": pulumi.String("val1"),
    			},
    		})
    		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.Cluster;
    import com.pulumi.azurenative.hdinsight.ClusterArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
    import com.pulumi.azurenative.hdinsight.inputs.SecurityProfileArgs;
    import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
    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 cluster = new Cluster("cluster", ClusterArgs.builder()
                .clusterName("cluster1")
                .properties(ClusterCreatePropertiesArgs.builder()
                    .clusterDefinition(ClusterDefinitionArgs.builder()
                        .configurations(Map.of("gateway", Map.ofEntries(
                            Map.entry("restAuthCredential.isEnabled", true),
                            Map.entry("restAuthCredential.password", "**********"),
                            Map.entry("restAuthCredential.username", "admin")
                        )))
                        .kind("Hadoop")
                        .build())
                    .clusterVersion("3.5")
                    .computeProfile(ComputeProfileArgs.builder()
                        .roles(                    
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Standard_D3_V2")
                                    .build())
                                .minInstanceCount(1)
                                .name("headnode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .sshProfile(SshProfileArgs.builder()
                                            .publicKeys(SshPublicKeyArgs.builder()
                                                .certificateData("**********")
                                                .build())
                                            .build())
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .scriptActions()
                                .targetInstanceCount(2)
                                .virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
                                    .id("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname")
                                    .subnet("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet")
                                    .build())
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Standard_D3_V2")
                                    .build())
                                .minInstanceCount(1)
                                .name("workernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .sshProfile(SshProfileArgs.builder()
                                            .publicKeys(SshPublicKeyArgs.builder()
                                                .certificateData("**********")
                                                .build())
                                            .build())
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .scriptActions()
                                .targetInstanceCount(4)
                                .virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
                                    .id("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname")
                                    .subnet("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet")
                                    .build())
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Small")
                                    .build())
                                .minInstanceCount(1)
                                .name("zookeepernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .sshProfile(SshProfileArgs.builder()
                                            .publicKeys(SshPublicKeyArgs.builder()
                                                .certificateData("**********")
                                                .build())
                                            .build())
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .scriptActions()
                                .targetInstanceCount(3)
                                .virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
                                    .id("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname")
                                    .subnet("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet")
                                    .build())
                                .build())
                        .build())
                    .osType("Linux")
                    .securityProfile(SecurityProfileArgs.builder()
                        .clusterUsersGroupDNs("hdiusers")
                        .directoryType("ActiveDirectory")
                        .domain("DomainName")
                        .domainUserPassword("**********")
                        .domainUsername("DomainUsername")
                        .ldapsUrls("ldaps://10.10.0.4:636")
                        .organizationalUnitDN("OU=Hadoop,DC=hdinsight,DC=test")
                        .build())
                    .storageProfile(StorageProfileArgs.builder()
                        .storageaccounts(StorageAccountArgs.builder()
                            .container("containername")
                            .isDefault(true)
                            .key("storage account key")
                            .name("mystorage.blob.core.windows.net")
                            .build())
                        .build())
                    .tier("Premium")
                    .build())
                .resourceGroupName("rg1")
                .tags(Map.of("key1", "val1"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cluster = azure_native.hdinsight.Cluster("cluster",
        cluster_name="cluster1",
        properties={
            "cluster_definition": {
                "configurations": {
                    "gateway": {
                        "restAuthCredential.isEnabled": True,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                "kind": "Hadoop",
            },
            "cluster_version": "3.5",
            "compute_profile": {
                "roles": [
                    {
                        "hardware_profile": {
                            "vm_size": "Standard_D3_V2",
                        },
                        "min_instance_count": 1,
                        "name": "headnode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "ssh_profile": {
                                    "public_keys": [{
                                        "certificate_data": "**********",
                                    }],
                                },
                                "username": "sshuser",
                            },
                        },
                        "script_actions": [],
                        "target_instance_count": 2,
                        "virtual_network_profile": {
                            "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                            "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                        },
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Standard_D3_V2",
                        },
                        "min_instance_count": 1,
                        "name": "workernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "ssh_profile": {
                                    "public_keys": [{
                                        "certificate_data": "**********",
                                    }],
                                },
                                "username": "sshuser",
                            },
                        },
                        "script_actions": [],
                        "target_instance_count": 4,
                        "virtual_network_profile": {
                            "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                            "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                        },
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Small",
                        },
                        "min_instance_count": 1,
                        "name": "zookeepernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "ssh_profile": {
                                    "public_keys": [{
                                        "certificate_data": "**********",
                                    }],
                                },
                                "username": "sshuser",
                            },
                        },
                        "script_actions": [],
                        "target_instance_count": 3,
                        "virtual_network_profile": {
                            "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                            "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                        },
                    },
                ],
            },
            "os_type": azure_native.hdinsight.OSType.LINUX,
            "security_profile": {
                "cluster_users_group_dns": ["hdiusers"],
                "directory_type": azure_native.hdinsight.DirectoryType.ACTIVE_DIRECTORY,
                "domain": "DomainName",
                "domain_user_password": "**********",
                "domain_username": "DomainUsername",
                "ldaps_urls": ["ldaps://10.10.0.4:636"],
                "organizational_unit_dn": "OU=Hadoop,DC=hdinsight,DC=test",
            },
            "storage_profile": {
                "storageaccounts": [{
                    "container": "containername",
                    "is_default": True,
                    "key": "storage account key",
                    "name": "mystorage.blob.core.windows.net",
                }],
            },
            "tier": azure_native.hdinsight.Tier.PREMIUM,
        },
        resource_group_name="rg1",
        tags={
            "key1": "val1",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cluster = new azure_native.hdinsight.Cluster("cluster", {
        clusterName: "cluster1",
        properties: {
            clusterDefinition: {
                configurations: {
                    gateway: {
                        "restAuthCredential.isEnabled": true,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                kind: "Hadoop",
            },
            clusterVersion: "3.5",
            computeProfile: {
                roles: [
                    {
                        hardwareProfile: {
                            vmSize: "Standard_D3_V2",
                        },
                        minInstanceCount: 1,
                        name: "headnode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                sshProfile: {
                                    publicKeys: [{
                                        certificateData: "**********",
                                    }],
                                },
                                username: "sshuser",
                            },
                        },
                        scriptActions: [],
                        targetInstanceCount: 2,
                        virtualNetworkProfile: {
                            id: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                            subnet: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                        },
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Standard_D3_V2",
                        },
                        minInstanceCount: 1,
                        name: "workernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                sshProfile: {
                                    publicKeys: [{
                                        certificateData: "**********",
                                    }],
                                },
                                username: "sshuser",
                            },
                        },
                        scriptActions: [],
                        targetInstanceCount: 4,
                        virtualNetworkProfile: {
                            id: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                            subnet: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                        },
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Small",
                        },
                        minInstanceCount: 1,
                        name: "zookeepernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                sshProfile: {
                                    publicKeys: [{
                                        certificateData: "**********",
                                    }],
                                },
                                username: "sshuser",
                            },
                        },
                        scriptActions: [],
                        targetInstanceCount: 3,
                        virtualNetworkProfile: {
                            id: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                            subnet: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                        },
                    },
                ],
            },
            osType: azure_native.hdinsight.OSType.Linux,
            securityProfile: {
                clusterUsersGroupDNs: ["hdiusers"],
                directoryType: azure_native.hdinsight.DirectoryType.ActiveDirectory,
                domain: "DomainName",
                domainUserPassword: "**********",
                domainUsername: "DomainUsername",
                ldapsUrls: ["ldaps://10.10.0.4:636"],
                organizationalUnitDN: "OU=Hadoop,DC=hdinsight,DC=test",
            },
            storageProfile: {
                storageaccounts: [{
                    container: "containername",
                    isDefault: true,
                    key: "storage account key",
                    name: "mystorage.blob.core.windows.net",
                }],
            },
            tier: azure_native.hdinsight.Tier.Premium,
        },
        resourceGroupName: "rg1",
        tags: {
            key1: "val1",
        },
    });
    
    resources:
      cluster:
        type: azure-native:hdinsight:Cluster
        properties:
          clusterName: cluster1
          properties:
            clusterDefinition:
              configurations:
                gateway:
                  restAuthCredential.isEnabled: true
                  restAuthCredential.password: '**********'
                  restAuthCredential.username: admin
              kind: Hadoop
            clusterVersion: '3.5'
            computeProfile:
              roles:
                - hardwareProfile:
                    vmSize: Standard_D3_V2
                  minInstanceCount: 1
                  name: headnode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      sshProfile:
                        publicKeys:
                          - certificateData: '**********'
                      username: sshuser
                  scriptActions: []
                  targetInstanceCount: 2
                  virtualNetworkProfile:
                    id: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname
                    subnet: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet
                - hardwareProfile:
                    vmSize: Standard_D3_V2
                  minInstanceCount: 1
                  name: workernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      sshProfile:
                        publicKeys:
                          - certificateData: '**********'
                      username: sshuser
                  scriptActions: []
                  targetInstanceCount: 4
                  virtualNetworkProfile:
                    id: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname
                    subnet: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet
                - hardwareProfile:
                    vmSize: Small
                  minInstanceCount: 1
                  name: zookeepernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      sshProfile:
                        publicKeys:
                          - certificateData: '**********'
                      username: sshuser
                  scriptActions: []
                  targetInstanceCount: 3
                  virtualNetworkProfile:
                    id: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname
                    subnet: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet
            osType: Linux
            securityProfile:
              clusterUsersGroupDNs:
                - hdiusers
              directoryType: ActiveDirectory
              domain: DomainName
              domainUserPassword: '**********'
              domainUsername: DomainUsername
              ldapsUrls:
                - ldaps://10.10.0.4:636
              organizationalUnitDN: OU=Hadoop,DC=hdinsight,DC=test
            storageProfile:
              storageaccounts:
                - container: containername
                  isDefault: true
                  key: storage account key
                  name: mystorage.blob.core.windows.net
            tier: Premium
          resourceGroupName: rg1
          tags:
            key1: val1
    

    Create Spark on Linux Cluster with SSH password

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
        {
            ClusterName = "cluster1",
            Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
            {
                ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
                {
                    ComponentVersion = 
                    {
                        { "Spark", "2.0" },
                    },
                    Configurations = new Dictionary<string, object?>
                    {
                        ["gateway"] = new Dictionary<string, object?>
                        {
                            ["restAuthCredential.isEnabled"] = true,
                            ["restAuthCredential.password"] = "**********",
                            ["restAuthCredential.username"] = "admin",
                        },
                    },
                    Kind = "Spark",
                },
                ClusterVersion = "3.5",
                ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Standard_D12_V2",
                            },
                            MinInstanceCount = 1,
                            Name = "headnode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 2,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Standard_D4_V2",
                            },
                            MinInstanceCount = 1,
                            Name = "workernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 4,
                        },
                    },
                },
                OsType = AzureNative.HDInsight.OSType.Linux,
                StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
                {
                    Storageaccounts = new[]
                    {
                        new AzureNative.HDInsight.Inputs.StorageAccountArgs
                        {
                            Container = "containername",
                            IsDefault = true,
                            Key = "storageapikey*",
                            Name = "mystorage.blob.core.windows.net",
                        },
                    },
                },
                Tier = AzureNative.HDInsight.Tier.Standard,
            },
            ResourceGroupName = "rg1",
            Tags = 
            {
                { "key1", "val1" },
            },
        });
    
    });
    
    package main
    
    import (
    	hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
    			ClusterName: pulumi.String("cluster1"),
    			Properties: &hdinsight.ClusterCreatePropertiesArgs{
    				ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
    					ComponentVersion: pulumi.StringMap{
    						"Spark": pulumi.String("2.0"),
    					},
    					Configurations: pulumi.Any(map[string]interface{}{
    						"gateway": map[string]interface{}{
    							"restAuthCredential.isEnabled": true,
    							"restAuthCredential.password":  "**********",
    							"restAuthCredential.username":  "admin",
    						},
    					}),
    					Kind: pulumi.String("Spark"),
    				},
    				ClusterVersion: pulumi.String("3.5"),
    				ComputeProfile: &hdinsight.ComputeProfileArgs{
    					Roles: hdinsight.RoleArray{
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Standard_D12_V2"),
    							},
    							MinInstanceCount: pulumi.Int(1),
    							Name:             pulumi.String("headnode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(2),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Standard_D4_V2"),
    							},
    							MinInstanceCount: pulumi.Int(1),
    							Name:             pulumi.String("workernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(4),
    						},
    					},
    				},
    				OsType: pulumi.String(hdinsight.OSTypeLinux),
    				StorageProfile: &hdinsight.StorageProfileArgs{
    					Storageaccounts: hdinsight.StorageAccountArray{
    						&hdinsight.StorageAccountArgs{
    							Container: pulumi.String("containername"),
    							IsDefault: pulumi.Bool(true),
    							Key:       pulumi.String("storageapikey*"),
    							Name:      pulumi.String("mystorage.blob.core.windows.net"),
    						},
    					},
    				},
    				Tier: pulumi.String(hdinsight.TierStandard),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			Tags: pulumi.StringMap{
    				"key1": pulumi.String("val1"),
    			},
    		})
    		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.Cluster;
    import com.pulumi.azurenative.hdinsight.ClusterArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
    import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
    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 cluster = new Cluster("cluster", ClusterArgs.builder()
                .clusterName("cluster1")
                .properties(ClusterCreatePropertiesArgs.builder()
                    .clusterDefinition(ClusterDefinitionArgs.builder()
                        .componentVersion(Map.of("Spark", "2.0"))
                        .configurations(Map.of("gateway", Map.ofEntries(
                            Map.entry("restAuthCredential.isEnabled", true),
                            Map.entry("restAuthCredential.password", "**********"),
                            Map.entry("restAuthCredential.username", "admin")
                        )))
                        .kind("Spark")
                        .build())
                    .clusterVersion("3.5")
                    .computeProfile(ComputeProfileArgs.builder()
                        .roles(                    
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Standard_D12_V2")
                                    .build())
                                .minInstanceCount(1)
                                .name("headnode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(2)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Standard_D4_V2")
                                    .build())
                                .minInstanceCount(1)
                                .name("workernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(4)
                                .build())
                        .build())
                    .osType("Linux")
                    .storageProfile(StorageProfileArgs.builder()
                        .storageaccounts(StorageAccountArgs.builder()
                            .container("containername")
                            .isDefault(true)
                            .key("storageapikey*")
                            .name("mystorage.blob.core.windows.net")
                            .build())
                        .build())
                    .tier("Standard")
                    .build())
                .resourceGroupName("rg1")
                .tags(Map.of("key1", "val1"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cluster = azure_native.hdinsight.Cluster("cluster",
        cluster_name="cluster1",
        properties={
            "cluster_definition": {
                "component_version": {
                    "Spark": "2.0",
                },
                "configurations": {
                    "gateway": {
                        "restAuthCredential.isEnabled": True,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                "kind": "Spark",
            },
            "cluster_version": "3.5",
            "compute_profile": {
                "roles": [
                    {
                        "hardware_profile": {
                            "vm_size": "Standard_D12_V2",
                        },
                        "min_instance_count": 1,
                        "name": "headnode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 2,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Standard_D4_V2",
                        },
                        "min_instance_count": 1,
                        "name": "workernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 4,
                    },
                ],
            },
            "os_type": azure_native.hdinsight.OSType.LINUX,
            "storage_profile": {
                "storageaccounts": [{
                    "container": "containername",
                    "is_default": True,
                    "key": "storageapikey*",
                    "name": "mystorage.blob.core.windows.net",
                }],
            },
            "tier": azure_native.hdinsight.Tier.STANDARD,
        },
        resource_group_name="rg1",
        tags={
            "key1": "val1",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cluster = new azure_native.hdinsight.Cluster("cluster", {
        clusterName: "cluster1",
        properties: {
            clusterDefinition: {
                componentVersion: {
                    Spark: "2.0",
                },
                configurations: {
                    gateway: {
                        "restAuthCredential.isEnabled": true,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                kind: "Spark",
            },
            clusterVersion: "3.5",
            computeProfile: {
                roles: [
                    {
                        hardwareProfile: {
                            vmSize: "Standard_D12_V2",
                        },
                        minInstanceCount: 1,
                        name: "headnode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 2,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Standard_D4_V2",
                        },
                        minInstanceCount: 1,
                        name: "workernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 4,
                    },
                ],
            },
            osType: azure_native.hdinsight.OSType.Linux,
            storageProfile: {
                storageaccounts: [{
                    container: "containername",
                    isDefault: true,
                    key: "storageapikey*",
                    name: "mystorage.blob.core.windows.net",
                }],
            },
            tier: azure_native.hdinsight.Tier.Standard,
        },
        resourceGroupName: "rg1",
        tags: {
            key1: "val1",
        },
    });
    
    resources:
      cluster:
        type: azure-native:hdinsight:Cluster
        properties:
          clusterName: cluster1
          properties:
            clusterDefinition:
              componentVersion:
                Spark: '2.0'
              configurations:
                gateway:
                  restAuthCredential.isEnabled: true
                  restAuthCredential.password: '**********'
                  restAuthCredential.username: admin
              kind: Spark
            clusterVersion: '3.5'
            computeProfile:
              roles:
                - hardwareProfile:
                    vmSize: Standard_D12_V2
                  minInstanceCount: 1
                  name: headnode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 2
                - hardwareProfile:
                    vmSize: Standard_D4_V2
                  minInstanceCount: 1
                  name: workernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 4
            osType: Linux
            storageProfile:
              storageaccounts:
                - container: containername
                  isDefault: true
                  key: storageapikey*
                  name: mystorage.blob.core.windows.net
            tier: Standard
          resourceGroupName: rg1
          tags:
            key1: val1
    

    Create cluster with TLS 1.2

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
        {
            ClusterName = "cluster1",
            Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
            {
                ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
                {
                    Configurations = new Dictionary<string, object?>
                    {
                        ["gateway"] = new Dictionary<string, object?>
                        {
                            ["restAuthCredential.isEnabled"] = true,
                            ["restAuthCredential.password"] = "**********",
                            ["restAuthCredential.username"] = "admin",
                        },
                    },
                    Kind = "Hadoop",
                },
                ClusterVersion = "3.6",
                ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Large",
                            },
                            Name = "headnode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 2,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Large",
                            },
                            Name = "workernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 3,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Small",
                            },
                            Name = "zookeepernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 3,
                        },
                    },
                },
                MinSupportedTlsVersion = "1.2",
                OsType = AzureNative.HDInsight.OSType.Linux,
                StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
                {
                    Storageaccounts = new[]
                    {
                        new AzureNative.HDInsight.Inputs.StorageAccountArgs
                        {
                            Container = "default8525",
                            IsDefault = true,
                            Key = "storagekey",
                            Name = "mystorage.blob.core.windows.net",
                        },
                    },
                },
                Tier = AzureNative.HDInsight.Tier.Standard,
            },
            ResourceGroupName = "rg1",
        });
    
    });
    
    package main
    
    import (
    	hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
    			ClusterName: pulumi.String("cluster1"),
    			Properties: &hdinsight.ClusterCreatePropertiesArgs{
    				ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
    					Configurations: pulumi.Any(map[string]interface{}{
    						"gateway": map[string]interface{}{
    							"restAuthCredential.isEnabled": true,
    							"restAuthCredential.password":  "**********",
    							"restAuthCredential.username":  "admin",
    						},
    					}),
    					Kind: pulumi.String("Hadoop"),
    				},
    				ClusterVersion: pulumi.String("3.6"),
    				ComputeProfile: &hdinsight.ComputeProfileArgs{
    					Roles: hdinsight.RoleArray{
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Large"),
    							},
    							Name: pulumi.String("headnode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(2),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Large"),
    							},
    							Name: pulumi.String("workernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(3),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Small"),
    							},
    							Name: pulumi.String("zookeepernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(3),
    						},
    					},
    				},
    				MinSupportedTlsVersion: pulumi.String("1.2"),
    				OsType:                 pulumi.String(hdinsight.OSTypeLinux),
    				StorageProfile: &hdinsight.StorageProfileArgs{
    					Storageaccounts: hdinsight.StorageAccountArray{
    						&hdinsight.StorageAccountArgs{
    							Container: pulumi.String("default8525"),
    							IsDefault: pulumi.Bool(true),
    							Key:       pulumi.String("storagekey"),
    							Name:      pulumi.String("mystorage.blob.core.windows.net"),
    						},
    					},
    				},
    				Tier: pulumi.String(hdinsight.TierStandard),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    		})
    		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.Cluster;
    import com.pulumi.azurenative.hdinsight.ClusterArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
    import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
    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 cluster = new Cluster("cluster", ClusterArgs.builder()
                .clusterName("cluster1")
                .properties(ClusterCreatePropertiesArgs.builder()
                    .clusterDefinition(ClusterDefinitionArgs.builder()
                        .configurations(Map.of("gateway", Map.ofEntries(
                            Map.entry("restAuthCredential.isEnabled", true),
                            Map.entry("restAuthCredential.password", "**********"),
                            Map.entry("restAuthCredential.username", "admin")
                        )))
                        .kind("Hadoop")
                        .build())
                    .clusterVersion("3.6")
                    .computeProfile(ComputeProfileArgs.builder()
                        .roles(                    
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Large")
                                    .build())
                                .name("headnode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(2)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Large")
                                    .build())
                                .name("workernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(3)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Small")
                                    .build())
                                .name("zookeepernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(3)
                                .build())
                        .build())
                    .minSupportedTlsVersion("1.2")
                    .osType("Linux")
                    .storageProfile(StorageProfileArgs.builder()
                        .storageaccounts(StorageAccountArgs.builder()
                            .container("default8525")
                            .isDefault(true)
                            .key("storagekey")
                            .name("mystorage.blob.core.windows.net")
                            .build())
                        .build())
                    .tier("Standard")
                    .build())
                .resourceGroupName("rg1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cluster = azure_native.hdinsight.Cluster("cluster",
        cluster_name="cluster1",
        properties={
            "cluster_definition": {
                "configurations": {
                    "gateway": {
                        "restAuthCredential.isEnabled": True,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                "kind": "Hadoop",
            },
            "cluster_version": "3.6",
            "compute_profile": {
                "roles": [
                    {
                        "hardware_profile": {
                            "vm_size": "Large",
                        },
                        "name": "headnode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 2,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Large",
                        },
                        "name": "workernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 3,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Small",
                        },
                        "name": "zookeepernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 3,
                    },
                ],
            },
            "min_supported_tls_version": "1.2",
            "os_type": azure_native.hdinsight.OSType.LINUX,
            "storage_profile": {
                "storageaccounts": [{
                    "container": "default8525",
                    "is_default": True,
                    "key": "storagekey",
                    "name": "mystorage.blob.core.windows.net",
                }],
            },
            "tier": azure_native.hdinsight.Tier.STANDARD,
        },
        resource_group_name="rg1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cluster = new azure_native.hdinsight.Cluster("cluster", {
        clusterName: "cluster1",
        properties: {
            clusterDefinition: {
                configurations: {
                    gateway: {
                        "restAuthCredential.isEnabled": true,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                kind: "Hadoop",
            },
            clusterVersion: "3.6",
            computeProfile: {
                roles: [
                    {
                        hardwareProfile: {
                            vmSize: "Large",
                        },
                        name: "headnode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 2,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Large",
                        },
                        name: "workernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 3,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Small",
                        },
                        name: "zookeepernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 3,
                    },
                ],
            },
            minSupportedTlsVersion: "1.2",
            osType: azure_native.hdinsight.OSType.Linux,
            storageProfile: {
                storageaccounts: [{
                    container: "default8525",
                    isDefault: true,
                    key: "storagekey",
                    name: "mystorage.blob.core.windows.net",
                }],
            },
            tier: azure_native.hdinsight.Tier.Standard,
        },
        resourceGroupName: "rg1",
    });
    
    resources:
      cluster:
        type: azure-native:hdinsight:Cluster
        properties:
          clusterName: cluster1
          properties:
            clusterDefinition:
              configurations:
                gateway:
                  restAuthCredential.isEnabled: true
                  restAuthCredential.password: '**********'
                  restAuthCredential.username: admin
              kind: Hadoop
            clusterVersion: '3.6'
            computeProfile:
              roles:
                - hardwareProfile:
                    vmSize: Large
                  name: headnode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 2
                - hardwareProfile:
                    vmSize: Large
                  name: workernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 3
                - hardwareProfile:
                    vmSize: Small
                  name: zookeepernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 3
            minSupportedTlsVersion: '1.2'
            osType: Linux
            storageProfile:
              storageaccounts:
                - container: default8525
                  isDefault: true
                  key: storagekey
                  name: mystorage.blob.core.windows.net
            tier: Standard
          resourceGroupName: rg1
    

    Create cluster with availability zones

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
        {
            ClusterName = "cluster1",
            Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
            {
                ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
                {
                    Configurations = new Dictionary<string, object?>
                    {
                        ["ambari-conf"] = new Dictionary<string, object?>
                        {
                            ["database-name"] = "{ambari database name}",
                            ["database-server"] = "{sql server name}.database.windows.net",
                            ["database-user-name"] = "**********",
                            ["database-user-password"] = "**********",
                        },
                        ["gateway"] = new Dictionary<string, object?>
                        {
                            ["restAuthCredential.isEnabled"] = true,
                            ["restAuthCredential.password"] = "**********",
                            ["restAuthCredential.username"] = "admin",
                        },
                        ["hive-env"] = new Dictionary<string, object?>
                        {
                            ["hive_database"] = "Existing MSSQL Server database with SQL authentication",
                            ["hive_database_name"] = "{hive metastore name}",
                            ["hive_database_type"] = "mssql",
                            ["hive_existing_mssql_server_database"] = "{hive metastore name}",
                            ["hive_existing_mssql_server_host"] = "{sql server name}.database.windows.net",
                            ["hive_hostname"] = "{sql server name}.database.windows.net",
                        },
                        ["hive-site"] = new Dictionary<string, object?>
                        {
                            ["javax.jdo.option.ConnectionDriverName"] = "com.microsoft.sqlserver.jdbc.SQLServerDriver",
                            ["javax.jdo.option.ConnectionPassword"] = "**********!",
                            ["javax.jdo.option.ConnectionURL"] = "jdbc:sqlserver://{sql server name}.database.windows.net;database={hive metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
                            ["javax.jdo.option.ConnectionUserName"] = "**********",
                        },
                        ["oozie-env"] = new Dictionary<string, object?>
                        {
                            ["oozie_database"] = "Existing MSSQL Server database with SQL authentication",
                            ["oozie_database_name"] = "{oozie metastore name}",
                            ["oozie_database_type"] = "mssql",
                            ["oozie_existing_mssql_server_database"] = "{oozie metastore name}",
                            ["oozie_existing_mssql_server_host"] = "{sql server name}.database.windows.net",
                            ["oozie_hostname"] = "{sql server name}.database.windows.net",
                        },
                        ["oozie-site"] = new Dictionary<string, object?>
                        {
                            ["oozie.db.schema.name"] = "oozie",
                            ["oozie.service.JPAService.jdbc.driver"] = "com.microsoft.sqlserver.jdbc.SQLServerDriver",
                            ["oozie.service.JPAService.jdbc.password"] = "**********",
                            ["oozie.service.JPAService.jdbc.url"] = "jdbc:sqlserver://{sql server name}.database.windows.net;database={oozie metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
                            ["oozie.service.JPAService.jdbc.username"] = "**********",
                        },
                    },
                    Kind = "hadoop",
                },
                ClusterVersion = "3.6",
                ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "standard_d3",
                            },
                            Name = "headnode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
                                    {
                                        PublicKeys = new[]
                                        {
                                            new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
                                            {
                                                CertificateData = "**********",
                                            },
                                        },
                                    },
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 2,
                            VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
                            {
                                Id = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                                Subnet = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                            },
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "standard_d3",
                            },
                            Name = "workernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
                                    {
                                        PublicKeys = new[]
                                        {
                                            new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
                                            {
                                                CertificateData = "**********",
                                            },
                                        },
                                    },
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 2,
                            VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
                            {
                                Id = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                                Subnet = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                            },
                        },
                    },
                },
                OsType = AzureNative.HDInsight.OSType.Linux,
                StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
                {
                    Storageaccounts = new[]
                    {
                        new AzureNative.HDInsight.Inputs.StorageAccountArgs
                        {
                            Container = "containername",
                            IsDefault = true,
                            Key = "storage account key",
                            Name = "mystorage",
                        },
                    },
                },
            },
            ResourceGroupName = "rg1",
            Zones = new[]
            {
                "1",
            },
        });
    
    });
    
    package main
    
    import (
    	hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
    			ClusterName: pulumi.String("cluster1"),
    			Properties: &hdinsight.ClusterCreatePropertiesArgs{
    				ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
    					Configurations: pulumi.Any(map[string]interface{}{
    						"ambari-conf": map[string]interface{}{
    							"database-name":          "{ambari database name}",
    							"database-server":        "{sql server name}.database.windows.net",
    							"database-user-name":     "**********",
    							"database-user-password": "**********",
    						},
    						"gateway": map[string]interface{}{
    							"restAuthCredential.isEnabled": true,
    							"restAuthCredential.password":  "**********",
    							"restAuthCredential.username":  "admin",
    						},
    						"hive-env": map[string]interface{}{
    							"hive_database":                       "Existing MSSQL Server database with SQL authentication",
    							"hive_database_name":                  "{hive metastore name}",
    							"hive_database_type":                  "mssql",
    							"hive_existing_mssql_server_database": "{hive metastore name}",
    							"hive_existing_mssql_server_host":     "{sql server name}.database.windows.net",
    							"hive_hostname":                       "{sql server name}.database.windows.net",
    						},
    						"hive-site": map[string]interface{}{
    							"javax.jdo.option.ConnectionDriverName": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
    							"javax.jdo.option.ConnectionPassword":   "**********!",
    							"javax.jdo.option.ConnectionURL":        "jdbc:sqlserver://{sql server name}.database.windows.net;database={hive metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
    							"javax.jdo.option.ConnectionUserName":   "**********",
    						},
    						"oozie-env": map[string]interface{}{
    							"oozie_database":                       "Existing MSSQL Server database with SQL authentication",
    							"oozie_database_name":                  "{oozie metastore name}",
    							"oozie_database_type":                  "mssql",
    							"oozie_existing_mssql_server_database": "{oozie metastore name}",
    							"oozie_existing_mssql_server_host":     "{sql server name}.database.windows.net",
    							"oozie_hostname":                       "{sql server name}.database.windows.net",
    						},
    						"oozie-site": map[string]interface{}{
    							"oozie.db.schema.name":                   "oozie",
    							"oozie.service.JPAService.jdbc.driver":   "com.microsoft.sqlserver.jdbc.SQLServerDriver",
    							"oozie.service.JPAService.jdbc.password": "**********",
    							"oozie.service.JPAService.jdbc.url":      "jdbc:sqlserver://{sql server name}.database.windows.net;database={oozie metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
    							"oozie.service.JPAService.jdbc.username": "**********",
    						},
    					}),
    					Kind: pulumi.String("hadoop"),
    				},
    				ClusterVersion: pulumi.String("3.6"),
    				ComputeProfile: &hdinsight.ComputeProfileArgs{
    					Roles: hdinsight.RoleArray{
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("standard_d3"),
    							},
    							Name: pulumi.String("headnode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									SshProfile: &hdinsight.SshProfileArgs{
    										PublicKeys: hdinsight.SshPublicKeyArray{
    											&hdinsight.SshPublicKeyArgs{
    												CertificateData: pulumi.String("**********"),
    											},
    										},
    									},
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(2),
    							VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
    								Id:     pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname"),
    								Subnet: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"),
    							},
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("standard_d3"),
    							},
    							Name: pulumi.String("workernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									SshProfile: &hdinsight.SshProfileArgs{
    										PublicKeys: hdinsight.SshPublicKeyArray{
    											&hdinsight.SshPublicKeyArgs{
    												CertificateData: pulumi.String("**********"),
    											},
    										},
    									},
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(2),
    							VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
    								Id:     pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname"),
    								Subnet: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"),
    							},
    						},
    					},
    				},
    				OsType: pulumi.String(hdinsight.OSTypeLinux),
    				StorageProfile: &hdinsight.StorageProfileArgs{
    					Storageaccounts: hdinsight.StorageAccountArray{
    						&hdinsight.StorageAccountArgs{
    							Container: pulumi.String("containername"),
    							IsDefault: pulumi.Bool(true),
    							Key:       pulumi.String("storage account key"),
    							Name:      pulumi.String("mystorage"),
    						},
    					},
    				},
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			Zones: pulumi.StringArray{
    				pulumi.String("1"),
    			},
    		})
    		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.Cluster;
    import com.pulumi.azurenative.hdinsight.ClusterArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
    import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
    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 cluster = new Cluster("cluster", ClusterArgs.builder()
                .clusterName("cluster1")
                .properties(ClusterCreatePropertiesArgs.builder()
                    .clusterDefinition(ClusterDefinitionArgs.builder()
                        .configurations(Map.ofEntries(
                            Map.entry("ambari-conf", Map.ofEntries(
                                Map.entry("database-name", "{ambari database name}"),
                                Map.entry("database-server", "{sql server name}.database.windows.net"),
                                Map.entry("database-user-name", "**********"),
                                Map.entry("database-user-password", "**********")
                            )),
                            Map.entry("gateway", Map.ofEntries(
                                Map.entry("restAuthCredential.isEnabled", true),
                                Map.entry("restAuthCredential.password", "**********"),
                                Map.entry("restAuthCredential.username", "admin")
                            )),
                            Map.entry("hive-env", Map.ofEntries(
                                Map.entry("hive_database", "Existing MSSQL Server database with SQL authentication"),
                                Map.entry("hive_database_name", "{hive metastore name}"),
                                Map.entry("hive_database_type", "mssql"),
                                Map.entry("hive_existing_mssql_server_database", "{hive metastore name}"),
                                Map.entry("hive_existing_mssql_server_host", "{sql server name}.database.windows.net"),
                                Map.entry("hive_hostname", "{sql server name}.database.windows.net")
                            )),
                            Map.entry("hive-site", Map.ofEntries(
                                Map.entry("javax.jdo.option.ConnectionDriverName", "com.microsoft.sqlserver.jdbc.SQLServerDriver"),
                                Map.entry("javax.jdo.option.ConnectionPassword", "**********!"),
                                Map.entry("javax.jdo.option.ConnectionURL", "jdbc:sqlserver://{sql server name}.database.windows.net;database={hive metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0"),
                                Map.entry("javax.jdo.option.ConnectionUserName", "**********")
                            )),
                            Map.entry("oozie-env", Map.ofEntries(
                                Map.entry("oozie_database", "Existing MSSQL Server database with SQL authentication"),
                                Map.entry("oozie_database_name", "{oozie metastore name}"),
                                Map.entry("oozie_database_type", "mssql"),
                                Map.entry("oozie_existing_mssql_server_database", "{oozie metastore name}"),
                                Map.entry("oozie_existing_mssql_server_host", "{sql server name}.database.windows.net"),
                                Map.entry("oozie_hostname", "{sql server name}.database.windows.net")
                            )),
                            Map.entry("oozie-site", Map.ofEntries(
                                Map.entry("oozie.db.schema.name", "oozie"),
                                Map.entry("oozie.service.JPAService.jdbc.driver", "com.microsoft.sqlserver.jdbc.SQLServerDriver"),
                                Map.entry("oozie.service.JPAService.jdbc.password", "**********"),
                                Map.entry("oozie.service.JPAService.jdbc.url", "jdbc:sqlserver://{sql server name}.database.windows.net;database={oozie metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0"),
                                Map.entry("oozie.service.JPAService.jdbc.username", "**********")
                            ))
                        ))
                        .kind("hadoop")
                        .build())
                    .clusterVersion("3.6")
                    .computeProfile(ComputeProfileArgs.builder()
                        .roles(                    
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("standard_d3")
                                    .build())
                                .name("headnode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .sshProfile(SshProfileArgs.builder()
                                            .publicKeys(SshPublicKeyArgs.builder()
                                                .certificateData("**********")
                                                .build())
                                            .build())
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(2)
                                .virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
                                    .id("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname")
                                    .subnet("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet")
                                    .build())
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("standard_d3")
                                    .build())
                                .name("workernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .sshProfile(SshProfileArgs.builder()
                                            .publicKeys(SshPublicKeyArgs.builder()
                                                .certificateData("**********")
                                                .build())
                                            .build())
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(2)
                                .virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
                                    .id("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname")
                                    .subnet("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet")
                                    .build())
                                .build())
                        .build())
                    .osType("Linux")
                    .storageProfile(StorageProfileArgs.builder()
                        .storageaccounts(StorageAccountArgs.builder()
                            .container("containername")
                            .isDefault(true)
                            .key("storage account key")
                            .name("mystorage")
                            .build())
                        .build())
                    .build())
                .resourceGroupName("rg1")
                .zones("1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cluster = azure_native.hdinsight.Cluster("cluster",
        cluster_name="cluster1",
        properties={
            "cluster_definition": {
                "configurations": {
                    "ambari-conf": {
                        "database-name": "{ambari database name}",
                        "database-server": "{sql server name}.database.windows.net",
                        "database-user-name": "**********",
                        "database-user-password": "**********",
                    },
                    "gateway": {
                        "restAuthCredential.isEnabled": True,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                    "hive-env": {
                        "hive_database": "Existing MSSQL Server database with SQL authentication",
                        "hive_database_name": "{hive metastore name}",
                        "hive_database_type": "mssql",
                        "hive_existing_mssql_server_database": "{hive metastore name}",
                        "hive_existing_mssql_server_host": "{sql server name}.database.windows.net",
                        "hive_hostname": "{sql server name}.database.windows.net",
                    },
                    "hive-site": {
                        "javax.jdo.option.ConnectionDriverName": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
                        "javax.jdo.option.ConnectionPassword": "**********!",
                        "javax.jdo.option.ConnectionURL": "jdbc:sqlserver://{sql server name}.database.windows.net;database={hive metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
                        "javax.jdo.option.ConnectionUserName": "**********",
                    },
                    "oozie-env": {
                        "oozie_database": "Existing MSSQL Server database with SQL authentication",
                        "oozie_database_name": "{oozie metastore name}",
                        "oozie_database_type": "mssql",
                        "oozie_existing_mssql_server_database": "{oozie metastore name}",
                        "oozie_existing_mssql_server_host": "{sql server name}.database.windows.net",
                        "oozie_hostname": "{sql server name}.database.windows.net",
                    },
                    "oozie-site": {
                        "oozie.db.schema.name": "oozie",
                        "oozie.service.JPAService.jdbc.driver": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
                        "oozie.service.JPAService.jdbc.password": "**********",
                        "oozie.service.JPAService.jdbc.url": "jdbc:sqlserver://{sql server name}.database.windows.net;database={oozie metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
                        "oozie.service.JPAService.jdbc.username": "**********",
                    },
                },
                "kind": "hadoop",
            },
            "cluster_version": "3.6",
            "compute_profile": {
                "roles": [
                    {
                        "hardware_profile": {
                            "vm_size": "standard_d3",
                        },
                        "name": "headnode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "ssh_profile": {
                                    "public_keys": [{
                                        "certificate_data": "**********",
                                    }],
                                },
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 2,
                        "virtual_network_profile": {
                            "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                            "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                        },
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "standard_d3",
                        },
                        "name": "workernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "ssh_profile": {
                                    "public_keys": [{
                                        "certificate_data": "**********",
                                    }],
                                },
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 2,
                        "virtual_network_profile": {
                            "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                            "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                        },
                    },
                ],
            },
            "os_type": azure_native.hdinsight.OSType.LINUX,
            "storage_profile": {
                "storageaccounts": [{
                    "container": "containername",
                    "is_default": True,
                    "key": "storage account key",
                    "name": "mystorage",
                }],
            },
        },
        resource_group_name="rg1",
        zones=["1"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cluster = new azure_native.hdinsight.Cluster("cluster", {
        clusterName: "cluster1",
        properties: {
            clusterDefinition: {
                configurations: {
                    "ambari-conf": {
                        "database-name": "{ambari database name}",
                        "database-server": "{sql server name}.database.windows.net",
                        "database-user-name": "**********",
                        "database-user-password": "**********",
                    },
                    gateway: {
                        "restAuthCredential.isEnabled": true,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                    "hive-env": {
                        hive_database: "Existing MSSQL Server database with SQL authentication",
                        hive_database_name: "{hive metastore name}",
                        hive_database_type: "mssql",
                        hive_existing_mssql_server_database: "{hive metastore name}",
                        hive_existing_mssql_server_host: "{sql server name}.database.windows.net",
                        hive_hostname: "{sql server name}.database.windows.net",
                    },
                    "hive-site": {
                        "javax.jdo.option.ConnectionDriverName": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
                        "javax.jdo.option.ConnectionPassword": "**********!",
                        "javax.jdo.option.ConnectionURL": "jdbc:sqlserver://{sql server name}.database.windows.net;database={hive metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
                        "javax.jdo.option.ConnectionUserName": "**********",
                    },
                    "oozie-env": {
                        oozie_database: "Existing MSSQL Server database with SQL authentication",
                        oozie_database_name: "{oozie metastore name}",
                        oozie_database_type: "mssql",
                        oozie_existing_mssql_server_database: "{oozie metastore name}",
                        oozie_existing_mssql_server_host: "{sql server name}.database.windows.net",
                        oozie_hostname: "{sql server name}.database.windows.net",
                    },
                    "oozie-site": {
                        "oozie.db.schema.name": "oozie",
                        "oozie.service.JPAService.jdbc.driver": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
                        "oozie.service.JPAService.jdbc.password": "**********",
                        "oozie.service.JPAService.jdbc.url": "jdbc:sqlserver://{sql server name}.database.windows.net;database={oozie metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
                        "oozie.service.JPAService.jdbc.username": "**********",
                    },
                },
                kind: "hadoop",
            },
            clusterVersion: "3.6",
            computeProfile: {
                roles: [
                    {
                        hardwareProfile: {
                            vmSize: "standard_d3",
                        },
                        name: "headnode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                sshProfile: {
                                    publicKeys: [{
                                        certificateData: "**********",
                                    }],
                                },
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 2,
                        virtualNetworkProfile: {
                            id: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                            subnet: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                        },
                    },
                    {
                        hardwareProfile: {
                            vmSize: "standard_d3",
                        },
                        name: "workernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                sshProfile: {
                                    publicKeys: [{
                                        certificateData: "**********",
                                    }],
                                },
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 2,
                        virtualNetworkProfile: {
                            id: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                            subnet: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                        },
                    },
                ],
            },
            osType: azure_native.hdinsight.OSType.Linux,
            storageProfile: {
                storageaccounts: [{
                    container: "containername",
                    isDefault: true,
                    key: "storage account key",
                    name: "mystorage",
                }],
            },
        },
        resourceGroupName: "rg1",
        zones: ["1"],
    });
    
    resources:
      cluster:
        type: azure-native:hdinsight:Cluster
        properties:
          clusterName: cluster1
          properties:
            clusterDefinition:
              configurations:
                ambari-conf:
                  database-name: '{ambari database name}'
                  database-server: '{sql server name}.database.windows.net'
                  database-user-name: '**********'
                  database-user-password: '**********'
                gateway:
                  restAuthCredential.isEnabled: true
                  restAuthCredential.password: '**********'
                  restAuthCredential.username: admin
                hive-env:
                  hive_database: Existing MSSQL Server database with SQL authentication
                  hive_database_name: '{hive metastore name}'
                  hive_database_type: mssql
                  hive_existing_mssql_server_database: '{hive metastore name}'
                  hive_existing_mssql_server_host: '{sql server name}.database.windows.net'
                  hive_hostname: '{sql server name}.database.windows.net'
                hive-site:
                  javax.jdo.option.ConnectionDriverName: com.microsoft.sqlserver.jdbc.SQLServerDriver
                  javax.jdo.option.ConnectionPassword: '**********!'
                  javax.jdo.option.ConnectionURL: jdbc:sqlserver://{sql server name}.database.windows.net;database={hive metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0
                  javax.jdo.option.ConnectionUserName: '**********'
                oozie-env:
                  oozie_database: Existing MSSQL Server database with SQL authentication
                  oozie_database_name: '{oozie metastore name}'
                  oozie_database_type: mssql
                  oozie_existing_mssql_server_database: '{oozie metastore name}'
                  oozie_existing_mssql_server_host: '{sql server name}.database.windows.net'
                  oozie_hostname: '{sql server name}.database.windows.net'
                oozie-site:
                  oozie.db.schema.name: oozie
                  oozie.service.JPAService.jdbc.driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
                  oozie.service.JPAService.jdbc.password: '**********'
                  oozie.service.JPAService.jdbc.url: jdbc:sqlserver://{sql server name}.database.windows.net;database={oozie metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0
                  oozie.service.JPAService.jdbc.username: '**********'
              kind: hadoop
            clusterVersion: '3.6'
            computeProfile:
              roles:
                - hardwareProfile:
                    vmSize: standard_d3
                  name: headnode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      sshProfile:
                        publicKeys:
                          - certificateData: '**********'
                      username: sshuser
                  targetInstanceCount: 2
                  virtualNetworkProfile:
                    id: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname
                    subnet: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet
                - hardwareProfile:
                    vmSize: standard_d3
                  name: workernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      sshProfile:
                        publicKeys:
                          - certificateData: '**********'
                      username: sshuser
                  targetInstanceCount: 2
                  virtualNetworkProfile:
                    id: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname
                    subnet: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet
            osType: Linux
            storageProfile:
              storageaccounts:
                - container: containername
                  isDefault: true
                  key: storage account key
                  name: mystorage
          resourceGroupName: rg1
          zones:
            - '1'
    

    Create cluster with compute isolation properties

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
        {
            ClusterName = "cluster1",
            Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
            {
                ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
                {
                    Configurations = new Dictionary<string, object?>
                    {
                        ["gateway"] = new Dictionary<string, object?>
                        {
                            ["restAuthCredential.isEnabled"] = true,
                            ["restAuthCredential.password"] = "**********",
                            ["restAuthCredential.username"] = "admin",
                        },
                    },
                    Kind = "hadoop",
                },
                ClusterVersion = "3.6",
                ComputeIsolationProperties = new AzureNative.HDInsight.Inputs.ComputeIsolationPropertiesArgs
                {
                    EnableComputeIsolation = true,
                },
                ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "standard_d3",
                            },
                            Name = "headnode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
                                    {
                                        PublicKeys = new[]
                                        {
                                            new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
                                            {
                                                CertificateData = "**********",
                                            },
                                        },
                                    },
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 2,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "standard_d3",
                            },
                            Name = "workernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
                                    {
                                        PublicKeys = new[]
                                        {
                                            new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
                                            {
                                                CertificateData = "**********",
                                            },
                                        },
                                    },
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 2,
                        },
                    },
                },
                OsType = AzureNative.HDInsight.OSType.Linux,
                StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
                {
                    Storageaccounts = new[]
                    {
                        new AzureNative.HDInsight.Inputs.StorageAccountArgs
                        {
                            Container = "containername",
                            IsDefault = true,
                            Key = "storage account key",
                            Name = "mystorage",
                        },
                    },
                },
            },
            ResourceGroupName = "rg1",
        });
    
    });
    
    package main
    
    import (
    	hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
    			ClusterName: pulumi.String("cluster1"),
    			Properties: &hdinsight.ClusterCreatePropertiesArgs{
    				ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
    					Configurations: pulumi.Any(map[string]interface{}{
    						"gateway": map[string]interface{}{
    							"restAuthCredential.isEnabled": true,
    							"restAuthCredential.password":  "**********",
    							"restAuthCredential.username":  "admin",
    						},
    					}),
    					Kind: pulumi.String("hadoop"),
    				},
    				ClusterVersion: pulumi.String("3.6"),
    				ComputeIsolationProperties: &hdinsight.ComputeIsolationPropertiesArgs{
    					EnableComputeIsolation: pulumi.Bool(true),
    				},
    				ComputeProfile: &hdinsight.ComputeProfileArgs{
    					Roles: hdinsight.RoleArray{
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("standard_d3"),
    							},
    							Name: pulumi.String("headnode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									SshProfile: &hdinsight.SshProfileArgs{
    										PublicKeys: hdinsight.SshPublicKeyArray{
    											&hdinsight.SshPublicKeyArgs{
    												CertificateData: pulumi.String("**********"),
    											},
    										},
    									},
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(2),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("standard_d3"),
    							},
    							Name: pulumi.String("workernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									SshProfile: &hdinsight.SshProfileArgs{
    										PublicKeys: hdinsight.SshPublicKeyArray{
    											&hdinsight.SshPublicKeyArgs{
    												CertificateData: pulumi.String("**********"),
    											},
    										},
    									},
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(2),
    						},
    					},
    				},
    				OsType: pulumi.String(hdinsight.OSTypeLinux),
    				StorageProfile: &hdinsight.StorageProfileArgs{
    					Storageaccounts: hdinsight.StorageAccountArray{
    						&hdinsight.StorageAccountArgs{
    							Container: pulumi.String("containername"),
    							IsDefault: pulumi.Bool(true),
    							Key:       pulumi.String("storage account key"),
    							Name:      pulumi.String("mystorage"),
    						},
    					},
    				},
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    		})
    		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.Cluster;
    import com.pulumi.azurenative.hdinsight.ClusterArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ComputeIsolationPropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
    import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
    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 cluster = new Cluster("cluster", ClusterArgs.builder()
                .clusterName("cluster1")
                .properties(ClusterCreatePropertiesArgs.builder()
                    .clusterDefinition(ClusterDefinitionArgs.builder()
                        .configurations(Map.of("gateway", Map.ofEntries(
                            Map.entry("restAuthCredential.isEnabled", true),
                            Map.entry("restAuthCredential.password", "**********"),
                            Map.entry("restAuthCredential.username", "admin")
                        )))
                        .kind("hadoop")
                        .build())
                    .clusterVersion("3.6")
                    .computeIsolationProperties(ComputeIsolationPropertiesArgs.builder()
                        .enableComputeIsolation(true)
                        .build())
                    .computeProfile(ComputeProfileArgs.builder()
                        .roles(                    
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("standard_d3")
                                    .build())
                                .name("headnode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .sshProfile(SshProfileArgs.builder()
                                            .publicKeys(SshPublicKeyArgs.builder()
                                                .certificateData("**********")
                                                .build())
                                            .build())
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(2)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("standard_d3")
                                    .build())
                                .name("workernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .sshProfile(SshProfileArgs.builder()
                                            .publicKeys(SshPublicKeyArgs.builder()
                                                .certificateData("**********")
                                                .build())
                                            .build())
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(2)
                                .build())
                        .build())
                    .osType("Linux")
                    .storageProfile(StorageProfileArgs.builder()
                        .storageaccounts(StorageAccountArgs.builder()
                            .container("containername")
                            .isDefault(true)
                            .key("storage account key")
                            .name("mystorage")
                            .build())
                        .build())
                    .build())
                .resourceGroupName("rg1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cluster = azure_native.hdinsight.Cluster("cluster",
        cluster_name="cluster1",
        properties={
            "cluster_definition": {
                "configurations": {
                    "gateway": {
                        "restAuthCredential.isEnabled": True,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                "kind": "hadoop",
            },
            "cluster_version": "3.6",
            "compute_isolation_properties": {
                "enable_compute_isolation": True,
            },
            "compute_profile": {
                "roles": [
                    {
                        "hardware_profile": {
                            "vm_size": "standard_d3",
                        },
                        "name": "headnode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "ssh_profile": {
                                    "public_keys": [{
                                        "certificate_data": "**********",
                                    }],
                                },
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 2,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "standard_d3",
                        },
                        "name": "workernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "ssh_profile": {
                                    "public_keys": [{
                                        "certificate_data": "**********",
                                    }],
                                },
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 2,
                    },
                ],
            },
            "os_type": azure_native.hdinsight.OSType.LINUX,
            "storage_profile": {
                "storageaccounts": [{
                    "container": "containername",
                    "is_default": True,
                    "key": "storage account key",
                    "name": "mystorage",
                }],
            },
        },
        resource_group_name="rg1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cluster = new azure_native.hdinsight.Cluster("cluster", {
        clusterName: "cluster1",
        properties: {
            clusterDefinition: {
                configurations: {
                    gateway: {
                        "restAuthCredential.isEnabled": true,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                kind: "hadoop",
            },
            clusterVersion: "3.6",
            computeIsolationProperties: {
                enableComputeIsolation: true,
            },
            computeProfile: {
                roles: [
                    {
                        hardwareProfile: {
                            vmSize: "standard_d3",
                        },
                        name: "headnode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                sshProfile: {
                                    publicKeys: [{
                                        certificateData: "**********",
                                    }],
                                },
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 2,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "standard_d3",
                        },
                        name: "workernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                sshProfile: {
                                    publicKeys: [{
                                        certificateData: "**********",
                                    }],
                                },
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 2,
                    },
                ],
            },
            osType: azure_native.hdinsight.OSType.Linux,
            storageProfile: {
                storageaccounts: [{
                    container: "containername",
                    isDefault: true,
                    key: "storage account key",
                    name: "mystorage",
                }],
            },
        },
        resourceGroupName: "rg1",
    });
    
    resources:
      cluster:
        type: azure-native:hdinsight:Cluster
        properties:
          clusterName: cluster1
          properties:
            clusterDefinition:
              configurations:
                gateway:
                  restAuthCredential.isEnabled: true
                  restAuthCredential.password: '**********'
                  restAuthCredential.username: admin
              kind: hadoop
            clusterVersion: '3.6'
            computeIsolationProperties:
              enableComputeIsolation: true
            computeProfile:
              roles:
                - hardwareProfile:
                    vmSize: standard_d3
                  name: headnode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      sshProfile:
                        publicKeys:
                          - certificateData: '**********'
                      username: sshuser
                  targetInstanceCount: 2
                - hardwareProfile:
                    vmSize: standard_d3
                  name: workernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      sshProfile:
                        publicKeys:
                          - certificateData: '**********'
                      username: sshuser
                  targetInstanceCount: 2
            osType: Linux
            storageProfile:
              storageaccounts:
                - container: containername
                  isDefault: true
                  key: storage account key
                  name: mystorage
          resourceGroupName: rg1
    

    Create cluster with encryption at host

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
        {
            ClusterName = "cluster1",
            Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
            {
                ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
                {
                    Configurations = new Dictionary<string, object?>
                    {
                        ["gateway"] = new Dictionary<string, object?>
                        {
                            ["restAuthCredential.isEnabled"] = true,
                            ["restAuthCredential.password"] = "**********",
                            ["restAuthCredential.username"] = "admin",
                        },
                    },
                    Kind = "Hadoop",
                },
                ClusterVersion = "3.6",
                ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Standard_DS14_v2",
                            },
                            Name = "headnode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 2,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Standard_DS14_v2",
                            },
                            Name = "workernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 3,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Standard_DS14_v2",
                            },
                            Name = "zookeepernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 3,
                        },
                    },
                },
                DiskEncryptionProperties = new AzureNative.HDInsight.Inputs.DiskEncryptionPropertiesArgs
                {
                    EncryptionAtHost = true,
                },
                OsType = AzureNative.HDInsight.OSType.Linux,
                StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
                {
                    Storageaccounts = new[]
                    {
                        new AzureNative.HDInsight.Inputs.StorageAccountArgs
                        {
                            Container = "default8525",
                            IsDefault = true,
                            Key = "storagekey",
                            Name = "mystorage.blob.core.windows.net",
                        },
                    },
                },
                Tier = AzureNative.HDInsight.Tier.Standard,
            },
            ResourceGroupName = "rg1",
        });
    
    });
    
    package main
    
    import (
    	hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
    			ClusterName: pulumi.String("cluster1"),
    			Properties: &hdinsight.ClusterCreatePropertiesArgs{
    				ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
    					Configurations: pulumi.Any(map[string]interface{}{
    						"gateway": map[string]interface{}{
    							"restAuthCredential.isEnabled": true,
    							"restAuthCredential.password":  "**********",
    							"restAuthCredential.username":  "admin",
    						},
    					}),
    					Kind: pulumi.String("Hadoop"),
    				},
    				ClusterVersion: pulumi.String("3.6"),
    				ComputeProfile: &hdinsight.ComputeProfileArgs{
    					Roles: hdinsight.RoleArray{
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Standard_DS14_v2"),
    							},
    							Name: pulumi.String("headnode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(2),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Standard_DS14_v2"),
    							},
    							Name: pulumi.String("workernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(3),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Standard_DS14_v2"),
    							},
    							Name: pulumi.String("zookeepernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(3),
    						},
    					},
    				},
    				DiskEncryptionProperties: &hdinsight.DiskEncryptionPropertiesArgs{
    					EncryptionAtHost: pulumi.Bool(true),
    				},
    				OsType: pulumi.String(hdinsight.OSTypeLinux),
    				StorageProfile: &hdinsight.StorageProfileArgs{
    					Storageaccounts: hdinsight.StorageAccountArray{
    						&hdinsight.StorageAccountArgs{
    							Container: pulumi.String("default8525"),
    							IsDefault: pulumi.Bool(true),
    							Key:       pulumi.String("storagekey"),
    							Name:      pulumi.String("mystorage.blob.core.windows.net"),
    						},
    					},
    				},
    				Tier: pulumi.String(hdinsight.TierStandard),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    		})
    		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.Cluster;
    import com.pulumi.azurenative.hdinsight.ClusterArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
    import com.pulumi.azurenative.hdinsight.inputs.DiskEncryptionPropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
    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 cluster = new Cluster("cluster", ClusterArgs.builder()
                .clusterName("cluster1")
                .properties(ClusterCreatePropertiesArgs.builder()
                    .clusterDefinition(ClusterDefinitionArgs.builder()
                        .configurations(Map.of("gateway", Map.ofEntries(
                            Map.entry("restAuthCredential.isEnabled", true),
                            Map.entry("restAuthCredential.password", "**********"),
                            Map.entry("restAuthCredential.username", "admin")
                        )))
                        .kind("Hadoop")
                        .build())
                    .clusterVersion("3.6")
                    .computeProfile(ComputeProfileArgs.builder()
                        .roles(                    
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Standard_DS14_v2")
                                    .build())
                                .name("headnode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(2)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Standard_DS14_v2")
                                    .build())
                                .name("workernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(3)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Standard_DS14_v2")
                                    .build())
                                .name("zookeepernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(3)
                                .build())
                        .build())
                    .diskEncryptionProperties(DiskEncryptionPropertiesArgs.builder()
                        .encryptionAtHost(true)
                        .build())
                    .osType("Linux")
                    .storageProfile(StorageProfileArgs.builder()
                        .storageaccounts(StorageAccountArgs.builder()
                            .container("default8525")
                            .isDefault(true)
                            .key("storagekey")
                            .name("mystorage.blob.core.windows.net")
                            .build())
                        .build())
                    .tier("Standard")
                    .build())
                .resourceGroupName("rg1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cluster = azure_native.hdinsight.Cluster("cluster",
        cluster_name="cluster1",
        properties={
            "cluster_definition": {
                "configurations": {
                    "gateway": {
                        "restAuthCredential.isEnabled": True,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                "kind": "Hadoop",
            },
            "cluster_version": "3.6",
            "compute_profile": {
                "roles": [
                    {
                        "hardware_profile": {
                            "vm_size": "Standard_DS14_v2",
                        },
                        "name": "headnode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 2,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Standard_DS14_v2",
                        },
                        "name": "workernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 3,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Standard_DS14_v2",
                        },
                        "name": "zookeepernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 3,
                    },
                ],
            },
            "disk_encryption_properties": {
                "encryption_at_host": True,
            },
            "os_type": azure_native.hdinsight.OSType.LINUX,
            "storage_profile": {
                "storageaccounts": [{
                    "container": "default8525",
                    "is_default": True,
                    "key": "storagekey",
                    "name": "mystorage.blob.core.windows.net",
                }],
            },
            "tier": azure_native.hdinsight.Tier.STANDARD,
        },
        resource_group_name="rg1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cluster = new azure_native.hdinsight.Cluster("cluster", {
        clusterName: "cluster1",
        properties: {
            clusterDefinition: {
                configurations: {
                    gateway: {
                        "restAuthCredential.isEnabled": true,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                kind: "Hadoop",
            },
            clusterVersion: "3.6",
            computeProfile: {
                roles: [
                    {
                        hardwareProfile: {
                            vmSize: "Standard_DS14_v2",
                        },
                        name: "headnode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 2,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Standard_DS14_v2",
                        },
                        name: "workernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 3,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Standard_DS14_v2",
                        },
                        name: "zookeepernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 3,
                    },
                ],
            },
            diskEncryptionProperties: {
                encryptionAtHost: true,
            },
            osType: azure_native.hdinsight.OSType.Linux,
            storageProfile: {
                storageaccounts: [{
                    container: "default8525",
                    isDefault: true,
                    key: "storagekey",
                    name: "mystorage.blob.core.windows.net",
                }],
            },
            tier: azure_native.hdinsight.Tier.Standard,
        },
        resourceGroupName: "rg1",
    });
    
    resources:
      cluster:
        type: azure-native:hdinsight:Cluster
        properties:
          clusterName: cluster1
          properties:
            clusterDefinition:
              configurations:
                gateway:
                  restAuthCredential.isEnabled: true
                  restAuthCredential.password: '**********'
                  restAuthCredential.username: admin
              kind: Hadoop
            clusterVersion: '3.6'
            computeProfile:
              roles:
                - hardwareProfile:
                    vmSize: Standard_DS14_v2
                  name: headnode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 2
                - hardwareProfile:
                    vmSize: Standard_DS14_v2
                  name: workernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 3
                - hardwareProfile:
                    vmSize: Standard_DS14_v2
                  name: zookeepernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 3
            diskEncryptionProperties:
              encryptionAtHost: true
            osType: Linux
            storageProfile:
              storageaccounts:
                - container: default8525
                  isDefault: true
                  key: storagekey
                  name: mystorage.blob.core.windows.net
            tier: Standard
          resourceGroupName: rg1
    

    Create cluster with encryption in transit

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
        {
            ClusterName = "cluster1",
            Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
            {
                ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
                {
                    Configurations = new Dictionary<string, object?>
                    {
                        ["gateway"] = new Dictionary<string, object?>
                        {
                            ["restAuthCredential.isEnabled"] = true,
                            ["restAuthCredential.password"] = "**********",
                            ["restAuthCredential.username"] = "admin",
                        },
                    },
                    Kind = "Hadoop",
                },
                ClusterVersion = "3.6",
                ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Large",
                            },
                            Name = "headnode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 2,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Large",
                            },
                            Name = "workernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 3,
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "Small",
                            },
                            Name = "zookeepernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 3,
                        },
                    },
                },
                EncryptionInTransitProperties = new AzureNative.HDInsight.Inputs.EncryptionInTransitPropertiesArgs
                {
                    IsEncryptionInTransitEnabled = true,
                },
                OsType = AzureNative.HDInsight.OSType.Linux,
                StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
                {
                    Storageaccounts = new[]
                    {
                        new AzureNative.HDInsight.Inputs.StorageAccountArgs
                        {
                            Container = "default8525",
                            IsDefault = true,
                            Key = "storagekey",
                            Name = "mystorage.blob.core.windows.net",
                        },
                    },
                },
                Tier = AzureNative.HDInsight.Tier.Standard,
            },
            ResourceGroupName = "rg1",
        });
    
    });
    
    package main
    
    import (
    	hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
    			ClusterName: pulumi.String("cluster1"),
    			Properties: &hdinsight.ClusterCreatePropertiesArgs{
    				ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
    					Configurations: pulumi.Any(map[string]interface{}{
    						"gateway": map[string]interface{}{
    							"restAuthCredential.isEnabled": true,
    							"restAuthCredential.password":  "**********",
    							"restAuthCredential.username":  "admin",
    						},
    					}),
    					Kind: pulumi.String("Hadoop"),
    				},
    				ClusterVersion: pulumi.String("3.6"),
    				ComputeProfile: &hdinsight.ComputeProfileArgs{
    					Roles: hdinsight.RoleArray{
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Large"),
    							},
    							Name: pulumi.String("headnode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(2),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Large"),
    							},
    							Name: pulumi.String("workernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(3),
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("Small"),
    							},
    							Name: pulumi.String("zookeepernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(3),
    						},
    					},
    				},
    				EncryptionInTransitProperties: &hdinsight.EncryptionInTransitPropertiesArgs{
    					IsEncryptionInTransitEnabled: pulumi.Bool(true),
    				},
    				OsType: pulumi.String(hdinsight.OSTypeLinux),
    				StorageProfile: &hdinsight.StorageProfileArgs{
    					Storageaccounts: hdinsight.StorageAccountArray{
    						&hdinsight.StorageAccountArgs{
    							Container: pulumi.String("default8525"),
    							IsDefault: pulumi.Bool(true),
    							Key:       pulumi.String("storagekey"),
    							Name:      pulumi.String("mystorage.blob.core.windows.net"),
    						},
    					},
    				},
    				Tier: pulumi.String(hdinsight.TierStandard),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    		})
    		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.Cluster;
    import com.pulumi.azurenative.hdinsight.ClusterArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
    import com.pulumi.azurenative.hdinsight.inputs.EncryptionInTransitPropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
    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 cluster = new Cluster("cluster", ClusterArgs.builder()
                .clusterName("cluster1")
                .properties(ClusterCreatePropertiesArgs.builder()
                    .clusterDefinition(ClusterDefinitionArgs.builder()
                        .configurations(Map.of("gateway", Map.ofEntries(
                            Map.entry("restAuthCredential.isEnabled", true),
                            Map.entry("restAuthCredential.password", "**********"),
                            Map.entry("restAuthCredential.username", "admin")
                        )))
                        .kind("Hadoop")
                        .build())
                    .clusterVersion("3.6")
                    .computeProfile(ComputeProfileArgs.builder()
                        .roles(                    
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Large")
                                    .build())
                                .name("headnode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(2)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Large")
                                    .build())
                                .name("workernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(3)
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("Small")
                                    .build())
                                .name("zookeepernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(3)
                                .build())
                        .build())
                    .encryptionInTransitProperties(EncryptionInTransitPropertiesArgs.builder()
                        .isEncryptionInTransitEnabled(true)
                        .build())
                    .osType("Linux")
                    .storageProfile(StorageProfileArgs.builder()
                        .storageaccounts(StorageAccountArgs.builder()
                            .container("default8525")
                            .isDefault(true)
                            .key("storagekey")
                            .name("mystorage.blob.core.windows.net")
                            .build())
                        .build())
                    .tier("Standard")
                    .build())
                .resourceGroupName("rg1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cluster = azure_native.hdinsight.Cluster("cluster",
        cluster_name="cluster1",
        properties={
            "cluster_definition": {
                "configurations": {
                    "gateway": {
                        "restAuthCredential.isEnabled": True,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                "kind": "Hadoop",
            },
            "cluster_version": "3.6",
            "compute_profile": {
                "roles": [
                    {
                        "hardware_profile": {
                            "vm_size": "Large",
                        },
                        "name": "headnode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 2,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Large",
                        },
                        "name": "workernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 3,
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "Small",
                        },
                        "name": "zookeepernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 3,
                    },
                ],
            },
            "encryption_in_transit_properties": {
                "is_encryption_in_transit_enabled": True,
            },
            "os_type": azure_native.hdinsight.OSType.LINUX,
            "storage_profile": {
                "storageaccounts": [{
                    "container": "default8525",
                    "is_default": True,
                    "key": "storagekey",
                    "name": "mystorage.blob.core.windows.net",
                }],
            },
            "tier": azure_native.hdinsight.Tier.STANDARD,
        },
        resource_group_name="rg1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cluster = new azure_native.hdinsight.Cluster("cluster", {
        clusterName: "cluster1",
        properties: {
            clusterDefinition: {
                configurations: {
                    gateway: {
                        "restAuthCredential.isEnabled": true,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                kind: "Hadoop",
            },
            clusterVersion: "3.6",
            computeProfile: {
                roles: [
                    {
                        hardwareProfile: {
                            vmSize: "Large",
                        },
                        name: "headnode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 2,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Large",
                        },
                        name: "workernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 3,
                    },
                    {
                        hardwareProfile: {
                            vmSize: "Small",
                        },
                        name: "zookeepernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 3,
                    },
                ],
            },
            encryptionInTransitProperties: {
                isEncryptionInTransitEnabled: true,
            },
            osType: azure_native.hdinsight.OSType.Linux,
            storageProfile: {
                storageaccounts: [{
                    container: "default8525",
                    isDefault: true,
                    key: "storagekey",
                    name: "mystorage.blob.core.windows.net",
                }],
            },
            tier: azure_native.hdinsight.Tier.Standard,
        },
        resourceGroupName: "rg1",
    });
    
    resources:
      cluster:
        type: azure-native:hdinsight:Cluster
        properties:
          clusterName: cluster1
          properties:
            clusterDefinition:
              configurations:
                gateway:
                  restAuthCredential.isEnabled: true
                  restAuthCredential.password: '**********'
                  restAuthCredential.username: admin
              kind: Hadoop
            clusterVersion: '3.6'
            computeProfile:
              roles:
                - hardwareProfile:
                    vmSize: Large
                  name: headnode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 2
                - hardwareProfile:
                    vmSize: Large
                  name: workernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 3
                - hardwareProfile:
                    vmSize: Small
                  name: zookeepernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      username: sshuser
                  targetInstanceCount: 3
            encryptionInTransitProperties:
              isEncryptionInTransitEnabled: true
            osType: Linux
            storageProfile:
              storageaccounts:
                - container: default8525
                  isDefault: true
                  key: storagekey
                  name: mystorage.blob.core.windows.net
            tier: Standard
          resourceGroupName: rg1
    

    Create cluster with network properties

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
        {
            ClusterName = "cluster1",
            Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
            {
                ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
                {
                    Configurations = new Dictionary<string, object?>
                    {
                        ["gateway"] = new Dictionary<string, object?>
                        {
                            ["restAuthCredential.isEnabled"] = true,
                            ["restAuthCredential.password"] = "**********",
                            ["restAuthCredential.username"] = "admin",
                        },
                    },
                    Kind = "hadoop",
                },
                ClusterVersion = "3.6",
                ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "standard_d3",
                            },
                            Name = "headnode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
                                    {
                                        PublicKeys = new[]
                                        {
                                            new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
                                            {
                                                CertificateData = "**********",
                                            },
                                        },
                                    },
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 2,
                            VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
                            {
                                Id = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                                Subnet = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                            },
                        },
                        new AzureNative.HDInsight.Inputs.RoleArgs
                        {
                            HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                            {
                                VmSize = "standard_d3",
                            },
                            Name = "workernode",
                            OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                            {
                                LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                                {
                                    Password = "**********",
                                    SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
                                    {
                                        PublicKeys = new[]
                                        {
                                            new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
                                            {
                                                CertificateData = "**********",
                                            },
                                        },
                                    },
                                    Username = "sshuser",
                                },
                            },
                            TargetInstanceCount = 2,
                            VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
                            {
                                Id = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                                Subnet = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                            },
                        },
                    },
                },
                NetworkProperties = new AzureNative.HDInsight.Inputs.NetworkPropertiesArgs
                {
                    PrivateLink = AzureNative.HDInsight.PrivateLink.Enabled,
                    ResourceProviderConnection = AzureNative.HDInsight.ResourceProviderConnection.Outbound,
                },
                OsType = AzureNative.HDInsight.OSType.Linux,
                StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
                {
                    Storageaccounts = new[]
                    {
                        new AzureNative.HDInsight.Inputs.StorageAccountArgs
                        {
                            Container = "containername",
                            IsDefault = true,
                            Key = "storage account key",
                            Name = "mystorage",
                        },
                    },
                },
            },
            ResourceGroupName = "rg1",
        });
    
    });
    
    package main
    
    import (
    	hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
    			ClusterName: pulumi.String("cluster1"),
    			Properties: &hdinsight.ClusterCreatePropertiesArgs{
    				ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
    					Configurations: pulumi.Any(map[string]interface{}{
    						"gateway": map[string]interface{}{
    							"restAuthCredential.isEnabled": true,
    							"restAuthCredential.password":  "**********",
    							"restAuthCredential.username":  "admin",
    						},
    					}),
    					Kind: pulumi.String("hadoop"),
    				},
    				ClusterVersion: pulumi.String("3.6"),
    				ComputeProfile: &hdinsight.ComputeProfileArgs{
    					Roles: hdinsight.RoleArray{
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("standard_d3"),
    							},
    							Name: pulumi.String("headnode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									SshProfile: &hdinsight.SshProfileArgs{
    										PublicKeys: hdinsight.SshPublicKeyArray{
    											&hdinsight.SshPublicKeyArgs{
    												CertificateData: pulumi.String("**********"),
    											},
    										},
    									},
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(2),
    							VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
    								Id:     pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname"),
    								Subnet: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"),
    							},
    						},
    						&hdinsight.RoleArgs{
    							HardwareProfile: &hdinsight.HardwareProfileArgs{
    								VmSize: pulumi.String("standard_d3"),
    							},
    							Name: pulumi.String("workernode"),
    							OsProfile: &hdinsight.OsProfileArgs{
    								LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    									Password: pulumi.String("**********"),
    									SshProfile: &hdinsight.SshProfileArgs{
    										PublicKeys: hdinsight.SshPublicKeyArray{
    											&hdinsight.SshPublicKeyArgs{
    												CertificateData: pulumi.String("**********"),
    											},
    										},
    									},
    									Username: pulumi.String("sshuser"),
    								},
    							},
    							TargetInstanceCount: pulumi.Int(2),
    							VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
    								Id:     pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname"),
    								Subnet: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"),
    							},
    						},
    					},
    				},
    				NetworkProperties: &hdinsight.NetworkPropertiesArgs{
    					PrivateLink:                pulumi.String(hdinsight.PrivateLinkEnabled),
    					ResourceProviderConnection: pulumi.String(hdinsight.ResourceProviderConnectionOutbound),
    				},
    				OsType: pulumi.String(hdinsight.OSTypeLinux),
    				StorageProfile: &hdinsight.StorageProfileArgs{
    					Storageaccounts: hdinsight.StorageAccountArray{
    						&hdinsight.StorageAccountArgs{
    							Container: pulumi.String("containername"),
    							IsDefault: pulumi.Bool(true),
    							Key:       pulumi.String("storage account key"),
    							Name:      pulumi.String("mystorage"),
    						},
    					},
    				},
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    		})
    		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.Cluster;
    import com.pulumi.azurenative.hdinsight.ClusterArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
    import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
    import com.pulumi.azurenative.hdinsight.inputs.NetworkPropertiesArgs;
    import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
    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 cluster = new Cluster("cluster", ClusterArgs.builder()
                .clusterName("cluster1")
                .properties(ClusterCreatePropertiesArgs.builder()
                    .clusterDefinition(ClusterDefinitionArgs.builder()
                        .configurations(Map.of("gateway", Map.ofEntries(
                            Map.entry("restAuthCredential.isEnabled", true),
                            Map.entry("restAuthCredential.password", "**********"),
                            Map.entry("restAuthCredential.username", "admin")
                        )))
                        .kind("hadoop")
                        .build())
                    .clusterVersion("3.6")
                    .computeProfile(ComputeProfileArgs.builder()
                        .roles(                    
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("standard_d3")
                                    .build())
                                .name("headnode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .sshProfile(SshProfileArgs.builder()
                                            .publicKeys(SshPublicKeyArgs.builder()
                                                .certificateData("**********")
                                                .build())
                                            .build())
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(2)
                                .virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
                                    .id("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname")
                                    .subnet("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet")
                                    .build())
                                .build(),
                            RoleArgs.builder()
                                .hardwareProfile(HardwareProfileArgs.builder()
                                    .vmSize("standard_d3")
                                    .build())
                                .name("workernode")
                                .osProfile(OsProfileArgs.builder()
                                    .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                                        .password("**********")
                                        .sshProfile(SshProfileArgs.builder()
                                            .publicKeys(SshPublicKeyArgs.builder()
                                                .certificateData("**********")
                                                .build())
                                            .build())
                                        .username("sshuser")
                                        .build())
                                    .build())
                                .targetInstanceCount(2)
                                .virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
                                    .id("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname")
                                    .subnet("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet")
                                    .build())
                                .build())
                        .build())
                    .networkProperties(NetworkPropertiesArgs.builder()
                        .privateLink("Enabled")
                        .resourceProviderConnection("Outbound")
                        .build())
                    .osType("Linux")
                    .storageProfile(StorageProfileArgs.builder()
                        .storageaccounts(StorageAccountArgs.builder()
                            .container("containername")
                            .isDefault(true)
                            .key("storage account key")
                            .name("mystorage")
                            .build())
                        .build())
                    .build())
                .resourceGroupName("rg1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cluster = azure_native.hdinsight.Cluster("cluster",
        cluster_name="cluster1",
        properties={
            "cluster_definition": {
                "configurations": {
                    "gateway": {
                        "restAuthCredential.isEnabled": True,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                "kind": "hadoop",
            },
            "cluster_version": "3.6",
            "compute_profile": {
                "roles": [
                    {
                        "hardware_profile": {
                            "vm_size": "standard_d3",
                        },
                        "name": "headnode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "ssh_profile": {
                                    "public_keys": [{
                                        "certificate_data": "**********",
                                    }],
                                },
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 2,
                        "virtual_network_profile": {
                            "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                            "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                        },
                    },
                    {
                        "hardware_profile": {
                            "vm_size": "standard_d3",
                        },
                        "name": "workernode",
                        "os_profile": {
                            "linux_operating_system_profile": {
                                "password": "**********",
                                "ssh_profile": {
                                    "public_keys": [{
                                        "certificate_data": "**********",
                                    }],
                                },
                                "username": "sshuser",
                            },
                        },
                        "target_instance_count": 2,
                        "virtual_network_profile": {
                            "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                            "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                        },
                    },
                ],
            },
            "network_properties": {
                "private_link": azure_native.hdinsight.PrivateLink.ENABLED,
                "resource_provider_connection": azure_native.hdinsight.ResourceProviderConnection.OUTBOUND,
            },
            "os_type": azure_native.hdinsight.OSType.LINUX,
            "storage_profile": {
                "storageaccounts": [{
                    "container": "containername",
                    "is_default": True,
                    "key": "storage account key",
                    "name": "mystorage",
                }],
            },
        },
        resource_group_name="rg1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cluster = new azure_native.hdinsight.Cluster("cluster", {
        clusterName: "cluster1",
        properties: {
            clusterDefinition: {
                configurations: {
                    gateway: {
                        "restAuthCredential.isEnabled": true,
                        "restAuthCredential.password": "**********",
                        "restAuthCredential.username": "admin",
                    },
                },
                kind: "hadoop",
            },
            clusterVersion: "3.6",
            computeProfile: {
                roles: [
                    {
                        hardwareProfile: {
                            vmSize: "standard_d3",
                        },
                        name: "headnode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                sshProfile: {
                                    publicKeys: [{
                                        certificateData: "**********",
                                    }],
                                },
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 2,
                        virtualNetworkProfile: {
                            id: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                            subnet: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                        },
                    },
                    {
                        hardwareProfile: {
                            vmSize: "standard_d3",
                        },
                        name: "workernode",
                        osProfile: {
                            linuxOperatingSystemProfile: {
                                password: "**********",
                                sshProfile: {
                                    publicKeys: [{
                                        certificateData: "**********",
                                    }],
                                },
                                username: "sshuser",
                            },
                        },
                        targetInstanceCount: 2,
                        virtualNetworkProfile: {
                            id: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
                            subnet: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
                        },
                    },
                ],
            },
            networkProperties: {
                privateLink: azure_native.hdinsight.PrivateLink.Enabled,
                resourceProviderConnection: azure_native.hdinsight.ResourceProviderConnection.Outbound,
            },
            osType: azure_native.hdinsight.OSType.Linux,
            storageProfile: {
                storageaccounts: [{
                    container: "containername",
                    isDefault: true,
                    key: "storage account key",
                    name: "mystorage",
                }],
            },
        },
        resourceGroupName: "rg1",
    });
    
    resources:
      cluster:
        type: azure-native:hdinsight:Cluster
        properties:
          clusterName: cluster1
          properties:
            clusterDefinition:
              configurations:
                gateway:
                  restAuthCredential.isEnabled: true
                  restAuthCredential.password: '**********'
                  restAuthCredential.username: admin
              kind: hadoop
            clusterVersion: '3.6'
            computeProfile:
              roles:
                - hardwareProfile:
                    vmSize: standard_d3
                  name: headnode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      sshProfile:
                        publicKeys:
                          - certificateData: '**********'
                      username: sshuser
                  targetInstanceCount: 2
                  virtualNetworkProfile:
                    id: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname
                    subnet: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet
                - hardwareProfile:
                    vmSize: standard_d3
                  name: workernode
                  osProfile:
                    linuxOperatingSystemProfile:
                      password: '**********'
                      sshProfile:
                        publicKeys:
                          - certificateData: '**********'
                      username: sshuser
                  targetInstanceCount: 2
                  virtualNetworkProfile:
                    id: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname
                    subnet: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet
            networkProperties:
              privateLink: Enabled
              resourceProviderConnection: Outbound
            osType: Linux
            storageProfile:
              storageaccounts:
                - container: containername
                  isDefault: true
                  key: storage account key
                  name: mystorage
          resourceGroupName: rg1
    

    Create Cluster Resource

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

    Constructor syntax

    new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);
    @overload
    def Cluster(resource_name: str,
                args: ClusterArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Cluster(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                resource_group_name: Optional[str] = None,
                cluster_name: Optional[str] = None,
                identity: Optional[ClusterIdentityArgs] = None,
                location: Optional[str] = None,
                properties: Optional[ClusterCreatePropertiesArgs] = None,
                tags: Optional[Mapping[str, str]] = None,
                zones: Optional[Sequence[str]] = None)
    func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)
    public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
    public Cluster(String name, ClusterArgs args)
    public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
    
    type: azure-native:hdinsight:Cluster
    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 ClusterArgs
    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 ClusterArgs
    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 ClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClusterArgs
    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 exampleclusterResourceResourceFromHdinsight = new AzureNative.HDInsight.Cluster("exampleclusterResourceResourceFromHdinsight", new()
    {
        ResourceGroupName = "string",
        ClusterName = "string",
        Identity = new AzureNative.HDInsight.Inputs.ClusterIdentityArgs
        {
            Type = "string",
            UserAssignedIdentities = 
            {
                { "string", new AzureNative.HDInsight.Inputs.UserAssignedIdentityArgs
                {
                    TenantId = "string",
                } },
            },
        },
        Location = "string",
        Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
        {
            ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
            {
                Blueprint = "string",
                ComponentVersion = 
                {
                    { "string", "string" },
                },
                Configurations = "any",
                Kind = "string",
            },
            ClusterVersion = "string",
            ComputeIsolationProperties = new AzureNative.HDInsight.Inputs.ComputeIsolationPropertiesArgs
            {
                EnableComputeIsolation = false,
                HostSku = "string",
            },
            ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
            {
                Roles = new[]
                {
                    new AzureNative.HDInsight.Inputs.RoleArgs
                    {
                        AutoscaleConfiguration = new AzureNative.HDInsight.Inputs.AutoscaleArgs
                        {
                            Capacity = new AzureNative.HDInsight.Inputs.AutoscaleCapacityArgs
                            {
                                MaxInstanceCount = 0,
                                MinInstanceCount = 0,
                            },
                            Recurrence = new AzureNative.HDInsight.Inputs.AutoscaleRecurrenceArgs
                            {
                                Schedule = new[]
                                {
                                    new AzureNative.HDInsight.Inputs.AutoscaleScheduleArgs
                                    {
                                        Days = new[]
                                        {
                                            "string",
                                        },
                                        TimeAndCapacity = new AzureNative.HDInsight.Inputs.AutoscaleTimeAndCapacityArgs
                                        {
                                            MaxInstanceCount = 0,
                                            MinInstanceCount = 0,
                                            Time = "string",
                                        },
                                    },
                                },
                                TimeZone = "string",
                            },
                        },
                        DataDisksGroups = new[]
                        {
                            new AzureNative.HDInsight.Inputs.DataDisksGroupsArgs
                            {
                                DisksPerNode = 0,
                            },
                        },
                        EncryptDataDisks = false,
                        HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
                        {
                            VmSize = "string",
                        },
                        MinInstanceCount = 0,
                        Name = "string",
                        OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
                        {
                            LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
                            {
                                Password = "string",
                                SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
                                {
                                    PublicKeys = new[]
                                    {
                                        new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
                                        {
                                            CertificateData = "string",
                                        },
                                    },
                                },
                                Username = "string",
                            },
                        },
                        ScriptActions = new[]
                        {
                            new AzureNative.HDInsight.Inputs.ScriptActionArgs
                            {
                                Name = "string",
                                Parameters = "string",
                                Uri = "string",
                            },
                        },
                        TargetInstanceCount = 0,
                        VMGroupName = "string",
                        VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
                        {
                            Id = "string",
                            Subnet = "string",
                        },
                    },
                },
            },
            DiskEncryptionProperties = new AzureNative.HDInsight.Inputs.DiskEncryptionPropertiesArgs
            {
                EncryptionAlgorithm = "string",
                EncryptionAtHost = false,
                KeyName = "string",
                KeyVersion = "string",
                MsiResourceId = "string",
                VaultUri = "string",
            },
            EncryptionInTransitProperties = new AzureNative.HDInsight.Inputs.EncryptionInTransitPropertiesArgs
            {
                IsEncryptionInTransitEnabled = false,
            },
            KafkaRestProperties = new AzureNative.HDInsight.Inputs.KafkaRestPropertiesArgs
            {
                ClientGroupInfo = new AzureNative.HDInsight.Inputs.ClientGroupInfoArgs
                {
                    GroupId = "string",
                    GroupName = "string",
                },
                ConfigurationOverride = 
                {
                    { "string", "string" },
                },
            },
            MinSupportedTlsVersion = "string",
            NetworkProperties = new AzureNative.HDInsight.Inputs.NetworkPropertiesArgs
            {
                PrivateLink = "string",
                ResourceProviderConnection = "string",
            },
            OsType = "string",
            PrivateLinkConfigurations = new[]
            {
                new AzureNative.HDInsight.Inputs.PrivateLinkConfigurationArgs
                {
                    GroupId = "string",
                    IpConfigurations = new[]
                    {
                        new AzureNative.HDInsight.Inputs.IPConfigurationArgs
                        {
                            Name = "string",
                            Primary = false,
                            PrivateIPAddress = "string",
                            PrivateIPAllocationMethod = "string",
                            Subnet = new AzureNative.HDInsight.Inputs.ResourceIdArgs
                            {
                                Id = "string",
                            },
                        },
                    },
                    Name = "string",
                },
            },
            SecurityProfile = new AzureNative.HDInsight.Inputs.SecurityProfileArgs
            {
                AaddsResourceId = "string",
                ClusterUsersGroupDNs = new[]
                {
                    "string",
                },
                DirectoryType = "string",
                Domain = "string",
                DomainUserPassword = "string",
                DomainUsername = "string",
                LdapsUrls = new[]
                {
                    "string",
                },
                MsiResourceId = "string",
                OrganizationalUnitDN = "string",
            },
            StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
            {
                Storageaccounts = new[]
                {
                    new AzureNative.HDInsight.Inputs.StorageAccountArgs
                    {
                        Container = "string",
                        FileSystem = "string",
                        Fileshare = "string",
                        IsDefault = false,
                        Key = "string",
                        MsiResourceId = "string",
                        Name = "string",
                        ResourceId = "string",
                        Saskey = "string",
                    },
                },
            },
            Tier = "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
        Zones = new[]
        {
            "string",
        },
    });
    
    example, err := hdinsight.NewCluster(ctx, "exampleclusterResourceResourceFromHdinsight", &hdinsight.ClusterArgs{
    	ResourceGroupName: pulumi.String("string"),
    	ClusterName:       pulumi.String("string"),
    	Identity: &hdinsight.ClusterIdentityArgs{
    		Type: pulumi.String("string"),
    		UserAssignedIdentities: hdinsight.UserAssignedIdentityMap{
    			"string": &hdinsight.UserAssignedIdentityArgs{
    				TenantId: pulumi.String("string"),
    			},
    		},
    	},
    	Location: pulumi.String("string"),
    	Properties: &hdinsight.ClusterCreatePropertiesArgs{
    		ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
    			Blueprint: pulumi.String("string"),
    			ComponentVersion: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Configurations: pulumi.Any("any"),
    			Kind:           pulumi.String("string"),
    		},
    		ClusterVersion: pulumi.String("string"),
    		ComputeIsolationProperties: &hdinsight.ComputeIsolationPropertiesArgs{
    			EnableComputeIsolation: pulumi.Bool(false),
    			HostSku:                pulumi.String("string"),
    		},
    		ComputeProfile: &hdinsight.ComputeProfileArgs{
    			Roles: hdinsight.RoleArray{
    				&hdinsight.RoleArgs{
    					AutoscaleConfiguration: &hdinsight.AutoscaleArgs{
    						Capacity: &hdinsight.AutoscaleCapacityArgs{
    							MaxInstanceCount: pulumi.Int(0),
    							MinInstanceCount: pulumi.Int(0),
    						},
    						Recurrence: &hdinsight.AutoscaleRecurrenceArgs{
    							Schedule: hdinsight.AutoscaleScheduleArray{
    								&hdinsight.AutoscaleScheduleArgs{
    									Days: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    									TimeAndCapacity: &hdinsight.AutoscaleTimeAndCapacityArgs{
    										MaxInstanceCount: pulumi.Int(0),
    										MinInstanceCount: pulumi.Int(0),
    										Time:             pulumi.String("string"),
    									},
    								},
    							},
    							TimeZone: pulumi.String("string"),
    						},
    					},
    					DataDisksGroups: hdinsight.DataDisksGroupsArray{
    						&hdinsight.DataDisksGroupsArgs{
    							DisksPerNode: pulumi.Int(0),
    						},
    					},
    					EncryptDataDisks: pulumi.Bool(false),
    					HardwareProfile: &hdinsight.HardwareProfileArgs{
    						VmSize: pulumi.String("string"),
    					},
    					MinInstanceCount: pulumi.Int(0),
    					Name:             pulumi.String("string"),
    					OsProfile: &hdinsight.OsProfileArgs{
    						LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
    							Password: pulumi.String("string"),
    							SshProfile: &hdinsight.SshProfileArgs{
    								PublicKeys: hdinsight.SshPublicKeyArray{
    									&hdinsight.SshPublicKeyArgs{
    										CertificateData: pulumi.String("string"),
    									},
    								},
    							},
    							Username: pulumi.String("string"),
    						},
    					},
    					ScriptActions: hdinsight.ScriptActionArray{
    						&hdinsight.ScriptActionArgs{
    							Name:       pulumi.String("string"),
    							Parameters: pulumi.String("string"),
    							Uri:        pulumi.String("string"),
    						},
    					},
    					TargetInstanceCount: pulumi.Int(0),
    					VMGroupName:         pulumi.String("string"),
    					VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
    						Id:     pulumi.String("string"),
    						Subnet: pulumi.String("string"),
    					},
    				},
    			},
    		},
    		DiskEncryptionProperties: &hdinsight.DiskEncryptionPropertiesArgs{
    			EncryptionAlgorithm: pulumi.String("string"),
    			EncryptionAtHost:    pulumi.Bool(false),
    			KeyName:             pulumi.String("string"),
    			KeyVersion:          pulumi.String("string"),
    			MsiResourceId:       pulumi.String("string"),
    			VaultUri:            pulumi.String("string"),
    		},
    		EncryptionInTransitProperties: &hdinsight.EncryptionInTransitPropertiesArgs{
    			IsEncryptionInTransitEnabled: pulumi.Bool(false),
    		},
    		KafkaRestProperties: &hdinsight.KafkaRestPropertiesArgs{
    			ClientGroupInfo: &hdinsight.ClientGroupInfoArgs{
    				GroupId:   pulumi.String("string"),
    				GroupName: pulumi.String("string"),
    			},
    			ConfigurationOverride: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    		},
    		MinSupportedTlsVersion: pulumi.String("string"),
    		NetworkProperties: &hdinsight.NetworkPropertiesArgs{
    			PrivateLink:                pulumi.String("string"),
    			ResourceProviderConnection: pulumi.String("string"),
    		},
    		OsType: pulumi.String("string"),
    		PrivateLinkConfigurations: hdinsight.PrivateLinkConfigurationArray{
    			&hdinsight.PrivateLinkConfigurationArgs{
    				GroupId: pulumi.String("string"),
    				IpConfigurations: hdinsight.IPConfigurationArray{
    					&hdinsight.IPConfigurationArgs{
    						Name:                      pulumi.String("string"),
    						Primary:                   pulumi.Bool(false),
    						PrivateIPAddress:          pulumi.String("string"),
    						PrivateIPAllocationMethod: pulumi.String("string"),
    						Subnet: &hdinsight.ResourceIdArgs{
    							Id: pulumi.String("string"),
    						},
    					},
    				},
    				Name: pulumi.String("string"),
    			},
    		},
    		SecurityProfile: &hdinsight.SecurityProfileArgs{
    			AaddsResourceId: pulumi.String("string"),
    			ClusterUsersGroupDNs: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DirectoryType:      pulumi.String("string"),
    			Domain:             pulumi.String("string"),
    			DomainUserPassword: pulumi.String("string"),
    			DomainUsername:     pulumi.String("string"),
    			LdapsUrls: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			MsiResourceId:        pulumi.String("string"),
    			OrganizationalUnitDN: pulumi.String("string"),
    		},
    		StorageProfile: &hdinsight.StorageProfileArgs{
    			Storageaccounts: hdinsight.StorageAccountArray{
    				&hdinsight.StorageAccountArgs{
    					Container:     pulumi.String("string"),
    					FileSystem:    pulumi.String("string"),
    					Fileshare:     pulumi.String("string"),
    					IsDefault:     pulumi.Bool(false),
    					Key:           pulumi.String("string"),
    					MsiResourceId: pulumi.String("string"),
    					Name:          pulumi.String("string"),
    					ResourceId:    pulumi.String("string"),
    					Saskey:        pulumi.String("string"),
    				},
    			},
    		},
    		Tier: pulumi.String("string"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Zones: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var exampleclusterResourceResourceFromHdinsight = new Cluster("exampleclusterResourceResourceFromHdinsight", ClusterArgs.builder()
        .resourceGroupName("string")
        .clusterName("string")
        .identity(ClusterIdentityArgs.builder()
            .type("string")
            .userAssignedIdentities(Map.of("string", Map.of("tenantId", "string")))
            .build())
        .location("string")
        .properties(ClusterCreatePropertiesArgs.builder()
            .clusterDefinition(ClusterDefinitionArgs.builder()
                .blueprint("string")
                .componentVersion(Map.of("string", "string"))
                .configurations("any")
                .kind("string")
                .build())
            .clusterVersion("string")
            .computeIsolationProperties(ComputeIsolationPropertiesArgs.builder()
                .enableComputeIsolation(false)
                .hostSku("string")
                .build())
            .computeProfile(ComputeProfileArgs.builder()
                .roles(RoleArgs.builder()
                    .autoscaleConfiguration(AutoscaleArgs.builder()
                        .capacity(AutoscaleCapacityArgs.builder()
                            .maxInstanceCount(0)
                            .minInstanceCount(0)
                            .build())
                        .recurrence(AutoscaleRecurrenceArgs.builder()
                            .schedule(AutoscaleScheduleArgs.builder()
                                .days("string")
                                .timeAndCapacity(AutoscaleTimeAndCapacityArgs.builder()
                                    .maxInstanceCount(0)
                                    .minInstanceCount(0)
                                    .time("string")
                                    .build())
                                .build())
                            .timeZone("string")
                            .build())
                        .build())
                    .dataDisksGroups(DataDisksGroupsArgs.builder()
                        .disksPerNode(0)
                        .build())
                    .encryptDataDisks(false)
                    .hardwareProfile(HardwareProfileArgs.builder()
                        .vmSize("string")
                        .build())
                    .minInstanceCount(0)
                    .name("string")
                    .osProfile(OsProfileArgs.builder()
                        .linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
                            .password("string")
                            .sshProfile(SshProfileArgs.builder()
                                .publicKeys(SshPublicKeyArgs.builder()
                                    .certificateData("string")
                                    .build())
                                .build())
                            .username("string")
                            .build())
                        .build())
                    .scriptActions(ScriptActionArgs.builder()
                        .name("string")
                        .parameters("string")
                        .uri("string")
                        .build())
                    .targetInstanceCount(0)
                    .vMGroupName("string")
                    .virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
                        .id("string")
                        .subnet("string")
                        .build())
                    .build())
                .build())
            .diskEncryptionProperties(DiskEncryptionPropertiesArgs.builder()
                .encryptionAlgorithm("string")
                .encryptionAtHost(false)
                .keyName("string")
                .keyVersion("string")
                .msiResourceId("string")
                .vaultUri("string")
                .build())
            .encryptionInTransitProperties(EncryptionInTransitPropertiesArgs.builder()
                .isEncryptionInTransitEnabled(false)
                .build())
            .kafkaRestProperties(KafkaRestPropertiesArgs.builder()
                .clientGroupInfo(ClientGroupInfoArgs.builder()
                    .groupId("string")
                    .groupName("string")
                    .build())
                .configurationOverride(Map.of("string", "string"))
                .build())
            .minSupportedTlsVersion("string")
            .networkProperties(NetworkPropertiesArgs.builder()
                .privateLink("string")
                .resourceProviderConnection("string")
                .build())
            .osType("string")
            .privateLinkConfigurations(PrivateLinkConfigurationArgs.builder()
                .groupId("string")
                .ipConfigurations(IPConfigurationArgs.builder()
                    .name("string")
                    .primary(false)
                    .privateIPAddress("string")
                    .privateIPAllocationMethod("string")
                    .subnet(ResourceIdArgs.builder()
                        .id("string")
                        .build())
                    .build())
                .name("string")
                .build())
            .securityProfile(SecurityProfileArgs.builder()
                .aaddsResourceId("string")
                .clusterUsersGroupDNs("string")
                .directoryType("string")
                .domain("string")
                .domainUserPassword("string")
                .domainUsername("string")
                .ldapsUrls("string")
                .msiResourceId("string")
                .organizationalUnitDN("string")
                .build())
            .storageProfile(StorageProfileArgs.builder()
                .storageaccounts(StorageAccountArgs.builder()
                    .container("string")
                    .fileSystem("string")
                    .fileshare("string")
                    .isDefault(false)
                    .key("string")
                    .msiResourceId("string")
                    .name("string")
                    .resourceId("string")
                    .saskey("string")
                    .build())
                .build())
            .tier("string")
            .build())
        .tags(Map.of("string", "string"))
        .zones("string")
        .build());
    
    examplecluster_resource_resource_from_hdinsight = azure_native.hdinsight.Cluster("exampleclusterResourceResourceFromHdinsight",
        resource_group_name="string",
        cluster_name="string",
        identity={
            "type": "string",
            "user_assigned_identities": {
                "string": {
                    "tenant_id": "string",
                },
            },
        },
        location="string",
        properties={
            "cluster_definition": {
                "blueprint": "string",
                "component_version": {
                    "string": "string",
                },
                "configurations": "any",
                "kind": "string",
            },
            "cluster_version": "string",
            "compute_isolation_properties": {
                "enable_compute_isolation": False,
                "host_sku": "string",
            },
            "compute_profile": {
                "roles": [{
                    "autoscale_configuration": {
                        "capacity": {
                            "max_instance_count": 0,
                            "min_instance_count": 0,
                        },
                        "recurrence": {
                            "schedule": [{
                                "days": ["string"],
                                "time_and_capacity": {
                                    "max_instance_count": 0,
                                    "min_instance_count": 0,
                                    "time": "string",
                                },
                            }],
                            "time_zone": "string",
                        },
                    },
                    "data_disks_groups": [{
                        "disks_per_node": 0,
                    }],
                    "encrypt_data_disks": False,
                    "hardware_profile": {
                        "vm_size": "string",
                    },
                    "min_instance_count": 0,
                    "name": "string",
                    "os_profile": {
                        "linux_operating_system_profile": {
                            "password": "string",
                            "ssh_profile": {
                                "public_keys": [{
                                    "certificate_data": "string",
                                }],
                            },
                            "username": "string",
                        },
                    },
                    "script_actions": [{
                        "name": "string",
                        "parameters": "string",
                        "uri": "string",
                    }],
                    "target_instance_count": 0,
                    "v_m_group_name": "string",
                    "virtual_network_profile": {
                        "id": "string",
                        "subnet": "string",
                    },
                }],
            },
            "disk_encryption_properties": {
                "encryption_algorithm": "string",
                "encryption_at_host": False,
                "key_name": "string",
                "key_version": "string",
                "msi_resource_id": "string",
                "vault_uri": "string",
            },
            "encryption_in_transit_properties": {
                "is_encryption_in_transit_enabled": False,
            },
            "kafka_rest_properties": {
                "client_group_info": {
                    "group_id": "string",
                    "group_name": "string",
                },
                "configuration_override": {
                    "string": "string",
                },
            },
            "min_supported_tls_version": "string",
            "network_properties": {
                "private_link": "string",
                "resource_provider_connection": "string",
            },
            "os_type": "string",
            "private_link_configurations": [{
                "group_id": "string",
                "ip_configurations": [{
                    "name": "string",
                    "primary": False,
                    "private_ip_address": "string",
                    "private_ip_allocation_method": "string",
                    "subnet": {
                        "id": "string",
                    },
                }],
                "name": "string",
            }],
            "security_profile": {
                "aadds_resource_id": "string",
                "cluster_users_group_dns": ["string"],
                "directory_type": "string",
                "domain": "string",
                "domain_user_password": "string",
                "domain_username": "string",
                "ldaps_urls": ["string"],
                "msi_resource_id": "string",
                "organizational_unit_dn": "string",
            },
            "storage_profile": {
                "storageaccounts": [{
                    "container": "string",
                    "file_system": "string",
                    "fileshare": "string",
                    "is_default": False,
                    "key": "string",
                    "msi_resource_id": "string",
                    "name": "string",
                    "resource_id": "string",
                    "saskey": "string",
                }],
            },
            "tier": "string",
        },
        tags={
            "string": "string",
        },
        zones=["string"])
    
    const exampleclusterResourceResourceFromHdinsight = new azure_native.hdinsight.Cluster("exampleclusterResourceResourceFromHdinsight", {
        resourceGroupName: "string",
        clusterName: "string",
        identity: {
            type: "string",
            userAssignedIdentities: {
                string: {
                    tenantId: "string",
                },
            },
        },
        location: "string",
        properties: {
            clusterDefinition: {
                blueprint: "string",
                componentVersion: {
                    string: "string",
                },
                configurations: "any",
                kind: "string",
            },
            clusterVersion: "string",
            computeIsolationProperties: {
                enableComputeIsolation: false,
                hostSku: "string",
            },
            computeProfile: {
                roles: [{
                    autoscaleConfiguration: {
                        capacity: {
                            maxInstanceCount: 0,
                            minInstanceCount: 0,
                        },
                        recurrence: {
                            schedule: [{
                                days: ["string"],
                                timeAndCapacity: {
                                    maxInstanceCount: 0,
                                    minInstanceCount: 0,
                                    time: "string",
                                },
                            }],
                            timeZone: "string",
                        },
                    },
                    dataDisksGroups: [{
                        disksPerNode: 0,
                    }],
                    encryptDataDisks: false,
                    hardwareProfile: {
                        vmSize: "string",
                    },
                    minInstanceCount: 0,
                    name: "string",
                    osProfile: {
                        linuxOperatingSystemProfile: {
                            password: "string",
                            sshProfile: {
                                publicKeys: [{
                                    certificateData: "string",
                                }],
                            },
                            username: "string",
                        },
                    },
                    scriptActions: [{
                        name: "string",
                        parameters: "string",
                        uri: "string",
                    }],
                    targetInstanceCount: 0,
                    vMGroupName: "string",
                    virtualNetworkProfile: {
                        id: "string",
                        subnet: "string",
                    },
                }],
            },
            diskEncryptionProperties: {
                encryptionAlgorithm: "string",
                encryptionAtHost: false,
                keyName: "string",
                keyVersion: "string",
                msiResourceId: "string",
                vaultUri: "string",
            },
            encryptionInTransitProperties: {
                isEncryptionInTransitEnabled: false,
            },
            kafkaRestProperties: {
                clientGroupInfo: {
                    groupId: "string",
                    groupName: "string",
                },
                configurationOverride: {
                    string: "string",
                },
            },
            minSupportedTlsVersion: "string",
            networkProperties: {
                privateLink: "string",
                resourceProviderConnection: "string",
            },
            osType: "string",
            privateLinkConfigurations: [{
                groupId: "string",
                ipConfigurations: [{
                    name: "string",
                    primary: false,
                    privateIPAddress: "string",
                    privateIPAllocationMethod: "string",
                    subnet: {
                        id: "string",
                    },
                }],
                name: "string",
            }],
            securityProfile: {
                aaddsResourceId: "string",
                clusterUsersGroupDNs: ["string"],
                directoryType: "string",
                domain: "string",
                domainUserPassword: "string",
                domainUsername: "string",
                ldapsUrls: ["string"],
                msiResourceId: "string",
                organizationalUnitDN: "string",
            },
            storageProfile: {
                storageaccounts: [{
                    container: "string",
                    fileSystem: "string",
                    fileshare: "string",
                    isDefault: false,
                    key: "string",
                    msiResourceId: "string",
                    name: "string",
                    resourceId: "string",
                    saskey: "string",
                }],
            },
            tier: "string",
        },
        tags: {
            string: "string",
        },
        zones: ["string"],
    });
    
    type: azure-native:hdinsight:Cluster
    properties:
        clusterName: string
        identity:
            type: string
            userAssignedIdentities:
                string:
                    tenantId: string
        location: string
        properties:
            clusterDefinition:
                blueprint: string
                componentVersion:
                    string: string
                configurations: any
                kind: string
            clusterVersion: string
            computeIsolationProperties:
                enableComputeIsolation: false
                hostSku: string
            computeProfile:
                roles:
                    - autoscaleConfiguration:
                        capacity:
                            maxInstanceCount: 0
                            minInstanceCount: 0
                        recurrence:
                            schedule:
                                - days:
                                    - string
                                  timeAndCapacity:
                                    maxInstanceCount: 0
                                    minInstanceCount: 0
                                    time: string
                            timeZone: string
                      dataDisksGroups:
                        - disksPerNode: 0
                      encryptDataDisks: false
                      hardwareProfile:
                        vmSize: string
                      minInstanceCount: 0
                      name: string
                      osProfile:
                        linuxOperatingSystemProfile:
                            password: string
                            sshProfile:
                                publicKeys:
                                    - certificateData: string
                            username: string
                      scriptActions:
                        - name: string
                          parameters: string
                          uri: string
                      targetInstanceCount: 0
                      vMGroupName: string
                      virtualNetworkProfile:
                        id: string
                        subnet: string
            diskEncryptionProperties:
                encryptionAlgorithm: string
                encryptionAtHost: false
                keyName: string
                keyVersion: string
                msiResourceId: string
                vaultUri: string
            encryptionInTransitProperties:
                isEncryptionInTransitEnabled: false
            kafkaRestProperties:
                clientGroupInfo:
                    groupId: string
                    groupName: string
                configurationOverride:
                    string: string
            minSupportedTlsVersion: string
            networkProperties:
                privateLink: string
                resourceProviderConnection: string
            osType: string
            privateLinkConfigurations:
                - groupId: string
                  ipConfigurations:
                    - name: string
                      primary: false
                      privateIPAddress: string
                      privateIPAllocationMethod: string
                      subnet:
                        id: string
                  name: string
            securityProfile:
                aaddsResourceId: string
                clusterUsersGroupDNs:
                    - string
                directoryType: string
                domain: string
                domainUserPassword: string
                domainUsername: string
                ldapsUrls:
                    - string
                msiResourceId: string
                organizationalUnitDN: string
            storageProfile:
                storageaccounts:
                    - container: string
                      fileSystem: string
                      fileshare: string
                      isDefault: false
                      key: string
                      msiResourceId: string
                      name: string
                      resourceId: string
                      saskey: string
            tier: string
        resourceGroupName: string
        tags:
            string: string
        zones:
            - string
    

    Cluster 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 Cluster resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group.
    ClusterName string
    The name of the cluster.
    Identity Pulumi.AzureNative.HDInsight.Inputs.ClusterIdentity
    The identity of the cluster, if configured.
    Location string
    The location of the cluster.
    Properties Pulumi.AzureNative.HDInsight.Inputs.ClusterCreateProperties
    The cluster create parameters.
    Tags Dictionary<string, string>
    The resource tags.
    Zones List<string>
    The availability zones.
    ResourceGroupName string
    The name of the resource group.
    ClusterName string
    The name of the cluster.
    Identity ClusterIdentityArgs
    The identity of the cluster, if configured.
    Location string
    The location of the cluster.
    Properties ClusterCreatePropertiesArgs
    The cluster create parameters.
    Tags map[string]string
    The resource tags.
    Zones []string
    The availability zones.
    resourceGroupName String
    The name of the resource group.
    clusterName String
    The name of the cluster.
    identity ClusterIdentity
    The identity of the cluster, if configured.
    location String
    The location of the cluster.
    properties ClusterCreateProperties
    The cluster create parameters.
    tags Map<String,String>
    The resource tags.
    zones List<String>
    The availability zones.
    resourceGroupName string
    The name of the resource group.
    clusterName string
    The name of the cluster.
    identity ClusterIdentity
    The identity of the cluster, if configured.
    location string
    The location of the cluster.
    properties ClusterCreateProperties
    The cluster create parameters.
    tags {[key: string]: string}
    The resource tags.
    zones string[]
    The availability zones.
    resource_group_name str
    The name of the resource group.
    cluster_name str
    The name of the cluster.
    identity ClusterIdentityArgs
    The identity of the cluster, if configured.
    location str
    The location of the cluster.
    properties ClusterCreatePropertiesArgs
    The cluster create parameters.
    tags Mapping[str, str]
    The resource tags.
    zones Sequence[str]
    The availability zones.
    resourceGroupName String
    The name of the resource group.
    clusterName String
    The name of the cluster.
    identity Property Map
    The identity of the cluster, if configured.
    location String
    The location of the cluster.
    properties Property Map
    The cluster create parameters.
    tags Map<String>
    The resource tags.
    zones List<String>
    The availability zones.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.HDInsight.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Etag string
    The ETag for the resource
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Etag string
    The ETag for the resource
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag String
    The ETag for the resource
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag string
    The ETag for the resource
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag str
    The ETag for the resource
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag String
    The ETag for the resource

    Supporting Types

    Autoscale, AutoscaleArgs

    Capacity AutoscaleCapacity
    Parameters for load-based autoscale
    Recurrence AutoscaleRecurrence
    Parameters for schedule-based autoscale
    capacity AutoscaleCapacity
    Parameters for load-based autoscale
    recurrence AutoscaleRecurrence
    Parameters for schedule-based autoscale
    capacity AutoscaleCapacity
    Parameters for load-based autoscale
    recurrence AutoscaleRecurrence
    Parameters for schedule-based autoscale
    capacity AutoscaleCapacity
    Parameters for load-based autoscale
    recurrence AutoscaleRecurrence
    Parameters for schedule-based autoscale
    capacity Property Map
    Parameters for load-based autoscale
    recurrence Property Map
    Parameters for schedule-based autoscale

    AutoscaleCapacity, AutoscaleCapacityArgs

    MaxInstanceCount int
    The maximum instance count of the cluster
    MinInstanceCount int
    The minimum instance count of the cluster
    MaxInstanceCount int
    The maximum instance count of the cluster
    MinInstanceCount int
    The minimum instance count of the cluster
    maxInstanceCount Integer
    The maximum instance count of the cluster
    minInstanceCount Integer
    The minimum instance count of the cluster
    maxInstanceCount number
    The maximum instance count of the cluster
    minInstanceCount number
    The minimum instance count of the cluster
    max_instance_count int
    The maximum instance count of the cluster
    min_instance_count int
    The minimum instance count of the cluster
    maxInstanceCount Number
    The maximum instance count of the cluster
    minInstanceCount Number
    The minimum instance count of the cluster

    AutoscaleCapacityResponse, AutoscaleCapacityResponseArgs

    MaxInstanceCount int
    The maximum instance count of the cluster
    MinInstanceCount int
    The minimum instance count of the cluster
    MaxInstanceCount int
    The maximum instance count of the cluster
    MinInstanceCount int
    The minimum instance count of the cluster
    maxInstanceCount Integer
    The maximum instance count of the cluster
    minInstanceCount Integer
    The minimum instance count of the cluster
    maxInstanceCount number
    The maximum instance count of the cluster
    minInstanceCount number
    The minimum instance count of the cluster
    max_instance_count int
    The maximum instance count of the cluster
    min_instance_count int
    The minimum instance count of the cluster
    maxInstanceCount Number
    The maximum instance count of the cluster
    minInstanceCount Number
    The minimum instance count of the cluster

    AutoscaleRecurrence, AutoscaleRecurrenceArgs

    Schedule List<Pulumi.AzureNative.HDInsight.Inputs.AutoscaleSchedule>
    Array of schedule-based autoscale rules
    TimeZone string
    The time zone for the autoscale schedule times
    Schedule []AutoscaleSchedule
    Array of schedule-based autoscale rules
    TimeZone string
    The time zone for the autoscale schedule times
    schedule List<AutoscaleSchedule>
    Array of schedule-based autoscale rules
    timeZone String
    The time zone for the autoscale schedule times
    schedule AutoscaleSchedule[]
    Array of schedule-based autoscale rules
    timeZone string
    The time zone for the autoscale schedule times
    schedule Sequence[AutoscaleSchedule]
    Array of schedule-based autoscale rules
    time_zone str
    The time zone for the autoscale schedule times
    schedule List<Property Map>
    Array of schedule-based autoscale rules
    timeZone String
    The time zone for the autoscale schedule times

    AutoscaleRecurrenceResponse, AutoscaleRecurrenceResponseArgs

    Schedule List<Pulumi.AzureNative.HDInsight.Inputs.AutoscaleScheduleResponse>
    Array of schedule-based autoscale rules
    TimeZone string
    The time zone for the autoscale schedule times
    Schedule []AutoscaleScheduleResponse
    Array of schedule-based autoscale rules
    TimeZone string
    The time zone for the autoscale schedule times
    schedule List<AutoscaleScheduleResponse>
    Array of schedule-based autoscale rules
    timeZone String
    The time zone for the autoscale schedule times
    schedule AutoscaleScheduleResponse[]
    Array of schedule-based autoscale rules
    timeZone string
    The time zone for the autoscale schedule times
    schedule Sequence[AutoscaleScheduleResponse]
    Array of schedule-based autoscale rules
    time_zone str
    The time zone for the autoscale schedule times
    schedule List<Property Map>
    Array of schedule-based autoscale rules
    timeZone String
    The time zone for the autoscale schedule times

    AutoscaleResponse, AutoscaleResponseArgs

    Capacity AutoscaleCapacityResponse
    Parameters for load-based autoscale
    Recurrence AutoscaleRecurrenceResponse
    Parameters for schedule-based autoscale
    capacity AutoscaleCapacityResponse
    Parameters for load-based autoscale
    recurrence AutoscaleRecurrenceResponse
    Parameters for schedule-based autoscale
    capacity AutoscaleCapacityResponse
    Parameters for load-based autoscale
    recurrence AutoscaleRecurrenceResponse
    Parameters for schedule-based autoscale
    capacity AutoscaleCapacityResponse
    Parameters for load-based autoscale
    recurrence AutoscaleRecurrenceResponse
    Parameters for schedule-based autoscale
    capacity Property Map
    Parameters for load-based autoscale
    recurrence Property Map
    Parameters for schedule-based autoscale

    AutoscaleSchedule, AutoscaleScheduleArgs

    Days List<Union<string, Pulumi.AzureNative.HDInsight.DaysOfWeek>>
    Days of the week for a schedule-based autoscale rule
    TimeAndCapacity Pulumi.AzureNative.HDInsight.Inputs.AutoscaleTimeAndCapacity
    Time and capacity for a schedule-based autoscale rule
    Days []string
    Days of the week for a schedule-based autoscale rule
    TimeAndCapacity AutoscaleTimeAndCapacity
    Time and capacity for a schedule-based autoscale rule
    days List<Either<String,DaysOfWeek>>
    Days of the week for a schedule-based autoscale rule
    timeAndCapacity AutoscaleTimeAndCapacity
    Time and capacity for a schedule-based autoscale rule
    days (string | DaysOfWeek)[]
    Days of the week for a schedule-based autoscale rule
    timeAndCapacity AutoscaleTimeAndCapacity
    Time and capacity for a schedule-based autoscale rule
    days Sequence[Union[str, DaysOfWeek]]
    Days of the week for a schedule-based autoscale rule
    time_and_capacity AutoscaleTimeAndCapacity
    Time and capacity for a schedule-based autoscale rule
    days List<String | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday">
    Days of the week for a schedule-based autoscale rule
    timeAndCapacity Property Map
    Time and capacity for a schedule-based autoscale rule

    AutoscaleScheduleResponse, AutoscaleScheduleResponseArgs

    Days List<string>
    Days of the week for a schedule-based autoscale rule
    TimeAndCapacity Pulumi.AzureNative.HDInsight.Inputs.AutoscaleTimeAndCapacityResponse
    Time and capacity for a schedule-based autoscale rule
    Days []string
    Days of the week for a schedule-based autoscale rule
    TimeAndCapacity AutoscaleTimeAndCapacityResponse
    Time and capacity for a schedule-based autoscale rule
    days List<String>
    Days of the week for a schedule-based autoscale rule
    timeAndCapacity AutoscaleTimeAndCapacityResponse
    Time and capacity for a schedule-based autoscale rule
    days string[]
    Days of the week for a schedule-based autoscale rule
    timeAndCapacity AutoscaleTimeAndCapacityResponse
    Time and capacity for a schedule-based autoscale rule
    days Sequence[str]
    Days of the week for a schedule-based autoscale rule
    time_and_capacity AutoscaleTimeAndCapacityResponse
    Time and capacity for a schedule-based autoscale rule
    days List<String>
    Days of the week for a schedule-based autoscale rule
    timeAndCapacity Property Map
    Time and capacity for a schedule-based autoscale rule

    AutoscaleTimeAndCapacity, AutoscaleTimeAndCapacityArgs

    MaxInstanceCount int
    The maximum instance count of the cluster
    MinInstanceCount int
    The minimum instance count of the cluster
    Time string
    24-hour time in the form xx:xx
    MaxInstanceCount int
    The maximum instance count of the cluster
    MinInstanceCount int
    The minimum instance count of the cluster
    Time string
    24-hour time in the form xx:xx
    maxInstanceCount Integer
    The maximum instance count of the cluster
    minInstanceCount Integer
    The minimum instance count of the cluster
    time String
    24-hour time in the form xx:xx
    maxInstanceCount number
    The maximum instance count of the cluster
    minInstanceCount number
    The minimum instance count of the cluster
    time string
    24-hour time in the form xx:xx
    max_instance_count int
    The maximum instance count of the cluster
    min_instance_count int
    The minimum instance count of the cluster
    time str
    24-hour time in the form xx:xx
    maxInstanceCount Number
    The maximum instance count of the cluster
    minInstanceCount Number
    The minimum instance count of the cluster
    time String
    24-hour time in the form xx:xx

    AutoscaleTimeAndCapacityResponse, AutoscaleTimeAndCapacityResponseArgs

    MaxInstanceCount int
    The maximum instance count of the cluster
    MinInstanceCount int
    The minimum instance count of the cluster
    Time string
    24-hour time in the form xx:xx
    MaxInstanceCount int
    The maximum instance count of the cluster
    MinInstanceCount int
    The minimum instance count of the cluster
    Time string
    24-hour time in the form xx:xx
    maxInstanceCount Integer
    The maximum instance count of the cluster
    minInstanceCount Integer
    The minimum instance count of the cluster
    time String
    24-hour time in the form xx:xx
    maxInstanceCount number
    The maximum instance count of the cluster
    minInstanceCount number
    The minimum instance count of the cluster
    time string
    24-hour time in the form xx:xx
    max_instance_count int
    The maximum instance count of the cluster
    min_instance_count int
    The minimum instance count of the cluster
    time str
    24-hour time in the form xx:xx
    maxInstanceCount Number
    The maximum instance count of the cluster
    minInstanceCount Number
    The minimum instance count of the cluster
    time String
    24-hour time in the form xx:xx

    ClientGroupInfo, ClientGroupInfoArgs

    GroupId string
    The AAD security group id.
    GroupName string
    The AAD security group name.
    GroupId string
    The AAD security group id.
    GroupName string
    The AAD security group name.
    groupId String
    The AAD security group id.
    groupName String
    The AAD security group name.
    groupId string
    The AAD security group id.
    groupName string
    The AAD security group name.
    group_id str
    The AAD security group id.
    group_name str
    The AAD security group name.
    groupId String
    The AAD security group id.
    groupName String
    The AAD security group name.

    ClientGroupInfoResponse, ClientGroupInfoResponseArgs

    GroupId string
    The AAD security group id.
    GroupName string
    The AAD security group name.
    GroupId string
    The AAD security group id.
    GroupName string
    The AAD security group name.
    groupId String
    The AAD security group id.
    groupName String
    The AAD security group name.
    groupId string
    The AAD security group id.
    groupName string
    The AAD security group name.
    group_id str
    The AAD security group id.
    group_name str
    The AAD security group name.
    groupId String
    The AAD security group id.
    groupName String
    The AAD security group name.

    ClusterCreateProperties, ClusterCreatePropertiesArgs

    ClusterDefinition Pulumi.AzureNative.HDInsight.Inputs.ClusterDefinition
    The cluster definition.
    ClusterVersion string
    The version of the cluster.
    ComputeIsolationProperties Pulumi.AzureNative.HDInsight.Inputs.ComputeIsolationProperties
    The compute isolation properties.
    ComputeProfile Pulumi.AzureNative.HDInsight.Inputs.ComputeProfile
    The compute profile.
    DiskEncryptionProperties Pulumi.AzureNative.HDInsight.Inputs.DiskEncryptionProperties
    The disk encryption properties.
    EncryptionInTransitProperties Pulumi.AzureNative.HDInsight.Inputs.EncryptionInTransitProperties
    The encryption-in-transit properties.
    KafkaRestProperties Pulumi.AzureNative.HDInsight.Inputs.KafkaRestProperties
    The cluster kafka rest proxy configuration.
    MinSupportedTlsVersion string
    The minimal supported tls version.
    NetworkProperties Pulumi.AzureNative.HDInsight.Inputs.NetworkProperties
    The network properties.
    OsType string | Pulumi.AzureNative.HDInsight.OSType
    The type of operating system.
    PrivateLinkConfigurations List<Pulumi.AzureNative.HDInsight.Inputs.PrivateLinkConfiguration>
    The private link configurations.
    SecurityProfile Pulumi.AzureNative.HDInsight.Inputs.SecurityProfile
    The security profile.
    StorageProfile Pulumi.AzureNative.HDInsight.Inputs.StorageProfile
    The storage profile.
    Tier string | Pulumi.AzureNative.HDInsight.Tier
    The cluster tier.
    ClusterDefinition ClusterDefinition
    The cluster definition.
    ClusterVersion string
    The version of the cluster.
    ComputeIsolationProperties ComputeIsolationProperties
    The compute isolation properties.
    ComputeProfile ComputeProfile
    The compute profile.
    DiskEncryptionProperties DiskEncryptionProperties
    The disk encryption properties.
    EncryptionInTransitProperties EncryptionInTransitProperties
    The encryption-in-transit properties.
    KafkaRestProperties KafkaRestProperties
    The cluster kafka rest proxy configuration.
    MinSupportedTlsVersion string
    The minimal supported tls version.
    NetworkProperties NetworkProperties
    The network properties.
    OsType string | OSType
    The type of operating system.
    PrivateLinkConfigurations []PrivateLinkConfiguration
    The private link configurations.
    SecurityProfile SecurityProfile
    The security profile.
    StorageProfile StorageProfile
    The storage profile.
    Tier string | Tier
    The cluster tier.
    clusterDefinition ClusterDefinition
    The cluster definition.
    clusterVersion String
    The version of the cluster.
    computeIsolationProperties ComputeIsolationProperties
    The compute isolation properties.
    computeProfile ComputeProfile
    The compute profile.
    diskEncryptionProperties DiskEncryptionProperties
    The disk encryption properties.
    encryptionInTransitProperties EncryptionInTransitProperties
    The encryption-in-transit properties.
    kafkaRestProperties KafkaRestProperties
    The cluster kafka rest proxy configuration.
    minSupportedTlsVersion String
    The minimal supported tls version.
    networkProperties NetworkProperties
    The network properties.
    osType String | OSType
    The type of operating system.
    privateLinkConfigurations List<PrivateLinkConfiguration>
    The private link configurations.
    securityProfile SecurityProfile
    The security profile.
    storageProfile StorageProfile
    The storage profile.
    tier String | Tier
    The cluster tier.
    clusterDefinition ClusterDefinition
    The cluster definition.
    clusterVersion string
    The version of the cluster.
    computeIsolationProperties ComputeIsolationProperties
    The compute isolation properties.
    computeProfile ComputeProfile
    The compute profile.
    diskEncryptionProperties DiskEncryptionProperties
    The disk encryption properties.
    encryptionInTransitProperties EncryptionInTransitProperties
    The encryption-in-transit properties.
    kafkaRestProperties KafkaRestProperties
    The cluster kafka rest proxy configuration.
    minSupportedTlsVersion string
    The minimal supported tls version.
    networkProperties NetworkProperties
    The network properties.
    osType string | OSType
    The type of operating system.
    privateLinkConfigurations PrivateLinkConfiguration[]
    The private link configurations.
    securityProfile SecurityProfile
    The security profile.
    storageProfile StorageProfile
    The storage profile.
    tier string | Tier
    The cluster tier.
    cluster_definition ClusterDefinition
    The cluster definition.
    cluster_version str
    The version of the cluster.
    compute_isolation_properties ComputeIsolationProperties
    The compute isolation properties.
    compute_profile ComputeProfile
    The compute profile.
    disk_encryption_properties DiskEncryptionProperties
    The disk encryption properties.
    encryption_in_transit_properties EncryptionInTransitProperties
    The encryption-in-transit properties.
    kafka_rest_properties KafkaRestProperties
    The cluster kafka rest proxy configuration.
    min_supported_tls_version str
    The minimal supported tls version.
    network_properties NetworkProperties
    The network properties.
    os_type str | OSType
    The type of operating system.
    private_link_configurations Sequence[PrivateLinkConfiguration]
    The private link configurations.
    security_profile SecurityProfile
    The security profile.
    storage_profile StorageProfile
    The storage profile.
    tier str | Tier
    The cluster tier.
    clusterDefinition Property Map
    The cluster definition.
    clusterVersion String
    The version of the cluster.
    computeIsolationProperties Property Map
    The compute isolation properties.
    computeProfile Property Map
    The compute profile.
    diskEncryptionProperties Property Map
    The disk encryption properties.
    encryptionInTransitProperties Property Map
    The encryption-in-transit properties.
    kafkaRestProperties Property Map
    The cluster kafka rest proxy configuration.
    minSupportedTlsVersion String
    The minimal supported tls version.
    networkProperties Property Map
    The network properties.
    osType String | "Windows" | "Linux"
    The type of operating system.
    privateLinkConfigurations List<Property Map>
    The private link configurations.
    securityProfile Property Map
    The security profile.
    storageProfile Property Map
    The storage profile.
    tier String | "Standard" | "Premium"
    The cluster tier.

    ClusterDefinition, ClusterDefinitionArgs

    Blueprint string
    The link to the blueprint.
    ComponentVersion Dictionary<string, string>
    The versions of different services in the cluster.
    Configurations object
    The cluster configurations.
    Kind string
    The type of cluster.
    Blueprint string
    The link to the blueprint.
    ComponentVersion map[string]string
    The versions of different services in the cluster.
    Configurations interface{}
    The cluster configurations.
    Kind string
    The type of cluster.
    blueprint String
    The link to the blueprint.
    componentVersion Map<String,String>
    The versions of different services in the cluster.
    configurations Object
    The cluster configurations.
    kind String
    The type of cluster.
    blueprint string
    The link to the blueprint.
    componentVersion {[key: string]: string}
    The versions of different services in the cluster.
    configurations any
    The cluster configurations.
    kind string
    The type of cluster.
    blueprint str
    The link to the blueprint.
    component_version Mapping[str, str]
    The versions of different services in the cluster.
    configurations Any
    The cluster configurations.
    kind str
    The type of cluster.
    blueprint String
    The link to the blueprint.
    componentVersion Map<String>
    The versions of different services in the cluster.
    configurations Any
    The cluster configurations.
    kind String
    The type of cluster.

    ClusterDefinitionResponse, ClusterDefinitionResponseArgs

    Blueprint string
    The link to the blueprint.
    ComponentVersion Dictionary<string, string>
    The versions of different services in the cluster.
    Configurations object
    The cluster configurations.
    Kind string
    The type of cluster.
    Blueprint string
    The link to the blueprint.
    ComponentVersion map[string]string
    The versions of different services in the cluster.
    Configurations interface{}
    The cluster configurations.
    Kind string
    The type of cluster.
    blueprint String
    The link to the blueprint.
    componentVersion Map<String,String>
    The versions of different services in the cluster.
    configurations Object
    The cluster configurations.
    kind String
    The type of cluster.
    blueprint string
    The link to the blueprint.
    componentVersion {[key: string]: string}
    The versions of different services in the cluster.
    configurations any
    The cluster configurations.
    kind string
    The type of cluster.
    blueprint str
    The link to the blueprint.
    component_version Mapping[str, str]
    The versions of different services in the cluster.
    configurations Any
    The cluster configurations.
    kind str
    The type of cluster.
    blueprint String
    The link to the blueprint.
    componentVersion Map<String>
    The versions of different services in the cluster.
    configurations Any
    The cluster configurations.
    kind String
    The type of cluster.

    ClusterGetPropertiesResponse, ClusterGetPropertiesResponseArgs

    ClusterDefinition Pulumi.AzureNative.HDInsight.Inputs.ClusterDefinitionResponse
    The cluster definition.
    PrivateEndpointConnections List<Pulumi.AzureNative.HDInsight.Inputs.PrivateEndpointConnectionResponse>
    The list of private endpoint connections.
    ClusterHdpVersion string
    The hdp version of the cluster.
    ClusterId string
    The cluster id.
    ClusterState string
    The state of the cluster.
    ClusterVersion string
    The version of the cluster.
    ComputeIsolationProperties Pulumi.AzureNative.HDInsight.Inputs.ComputeIsolationPropertiesResponse
    The compute isolation properties.
    ComputeProfile Pulumi.AzureNative.HDInsight.Inputs.ComputeProfileResponse
    The compute profile.
    ConnectivityEndpoints List<Pulumi.AzureNative.HDInsight.Inputs.ConnectivityEndpointResponse>
    The list of connectivity endpoints.
    CreatedDate string
    The date on which the cluster was created.
    DiskEncryptionProperties Pulumi.AzureNative.HDInsight.Inputs.DiskEncryptionPropertiesResponse
    The disk encryption properties.
    EncryptionInTransitProperties Pulumi.AzureNative.HDInsight.Inputs.EncryptionInTransitPropertiesResponse
    The encryption-in-transit properties.
    Errors List<Pulumi.AzureNative.HDInsight.Inputs.ErrorsResponse>
    The list of errors.
    ExcludedServicesConfig Pulumi.AzureNative.HDInsight.Inputs.ExcludedServicesConfigResponse
    The excluded services config.
    KafkaRestProperties Pulumi.AzureNative.HDInsight.Inputs.KafkaRestPropertiesResponse
    The cluster kafka rest proxy configuration.
    MinSupportedTlsVersion string
    The minimal supported tls version.
    NetworkProperties Pulumi.AzureNative.HDInsight.Inputs.NetworkPropertiesResponse
    The network properties.
    OsType string
    The type of operating system.
    PrivateLinkConfigurations List<Pulumi.AzureNative.HDInsight.Inputs.PrivateLinkConfigurationResponse>
    The private link configurations.
    ProvisioningState string
    The provisioning state, which only appears in the response.
    QuotaInfo Pulumi.AzureNative.HDInsight.Inputs.QuotaInfoResponse
    The quota information.
    SecurityProfile Pulumi.AzureNative.HDInsight.Inputs.SecurityProfileResponse
    The security profile.
    StorageProfile Pulumi.AzureNative.HDInsight.Inputs.StorageProfileResponse
    The storage profile.
    Tier string
    The cluster tier.
    ClusterDefinition ClusterDefinitionResponse
    The cluster definition.
    PrivateEndpointConnections []PrivateEndpointConnectionResponse
    The list of private endpoint connections.
    ClusterHdpVersion string
    The hdp version of the cluster.
    ClusterId string
    The cluster id.
    ClusterState string
    The state of the cluster.
    ClusterVersion string
    The version of the cluster.
    ComputeIsolationProperties ComputeIsolationPropertiesResponse
    The compute isolation properties.
    ComputeProfile ComputeProfileResponse
    The compute profile.
    ConnectivityEndpoints []ConnectivityEndpointResponse
    The list of connectivity endpoints.
    CreatedDate string
    The date on which the cluster was created.
    DiskEncryptionProperties DiskEncryptionPropertiesResponse
    The disk encryption properties.
    EncryptionInTransitProperties EncryptionInTransitPropertiesResponse
    The encryption-in-transit properties.
    Errors []ErrorsResponse
    The list of errors.
    ExcludedServicesConfig ExcludedServicesConfigResponse
    The excluded services config.
    KafkaRestProperties KafkaRestPropertiesResponse
    The cluster kafka rest proxy configuration.
    MinSupportedTlsVersion string
    The minimal supported tls version.
    NetworkProperties NetworkPropertiesResponse
    The network properties.
    OsType string
    The type of operating system.
    PrivateLinkConfigurations []PrivateLinkConfigurationResponse
    The private link configurations.
    ProvisioningState string
    The provisioning state, which only appears in the response.
    QuotaInfo QuotaInfoResponse
    The quota information.
    SecurityProfile SecurityProfileResponse
    The security profile.
    StorageProfile StorageProfileResponse
    The storage profile.
    Tier string
    The cluster tier.
    clusterDefinition ClusterDefinitionResponse
    The cluster definition.
    privateEndpointConnections List<PrivateEndpointConnectionResponse>
    The list of private endpoint connections.
    clusterHdpVersion String
    The hdp version of the cluster.
    clusterId String
    The cluster id.
    clusterState String
    The state of the cluster.
    clusterVersion String
    The version of the cluster.
    computeIsolationProperties ComputeIsolationPropertiesResponse
    The compute isolation properties.
    computeProfile ComputeProfileResponse
    The compute profile.
    connectivityEndpoints List<ConnectivityEndpointResponse>
    The list of connectivity endpoints.
    createdDate String
    The date on which the cluster was created.
    diskEncryptionProperties DiskEncryptionPropertiesResponse
    The disk encryption properties.
    encryptionInTransitProperties EncryptionInTransitPropertiesResponse
    The encryption-in-transit properties.
    errors List<ErrorsResponse>
    The list of errors.
    excludedServicesConfig ExcludedServicesConfigResponse
    The excluded services config.
    kafkaRestProperties KafkaRestPropertiesResponse
    The cluster kafka rest proxy configuration.
    minSupportedTlsVersion String
    The minimal supported tls version.
    networkProperties NetworkPropertiesResponse
    The network properties.
    osType String
    The type of operating system.
    privateLinkConfigurations List<PrivateLinkConfigurationResponse>
    The private link configurations.
    provisioningState String
    The provisioning state, which only appears in the response.
    quotaInfo QuotaInfoResponse
    The quota information.
    securityProfile SecurityProfileResponse
    The security profile.
    storageProfile StorageProfileResponse
    The storage profile.
    tier String
    The cluster tier.
    clusterDefinition ClusterDefinitionResponse
    The cluster definition.
    privateEndpointConnections PrivateEndpointConnectionResponse[]
    The list of private endpoint connections.
    clusterHdpVersion string
    The hdp version of the cluster.
    clusterId string
    The cluster id.
    clusterState string
    The state of the cluster.
    clusterVersion string
    The version of the cluster.
    computeIsolationProperties ComputeIsolationPropertiesResponse
    The compute isolation properties.
    computeProfile ComputeProfileResponse
    The compute profile.
    connectivityEndpoints ConnectivityEndpointResponse[]
    The list of connectivity endpoints.
    createdDate string
    The date on which the cluster was created.
    diskEncryptionProperties DiskEncryptionPropertiesResponse
    The disk encryption properties.
    encryptionInTransitProperties EncryptionInTransitPropertiesResponse
    The encryption-in-transit properties.
    errors ErrorsResponse[]
    The list of errors.
    excludedServicesConfig ExcludedServicesConfigResponse
    The excluded services config.
    kafkaRestProperties KafkaRestPropertiesResponse
    The cluster kafka rest proxy configuration.
    minSupportedTlsVersion string
    The minimal supported tls version.
    networkProperties NetworkPropertiesResponse
    The network properties.
    osType string
    The type of operating system.
    privateLinkConfigurations PrivateLinkConfigurationResponse[]
    The private link configurations.
    provisioningState string
    The provisioning state, which only appears in the response.
    quotaInfo QuotaInfoResponse
    The quota information.
    securityProfile SecurityProfileResponse
    The security profile.
    storageProfile StorageProfileResponse
    The storage profile.
    tier string
    The cluster tier.
    cluster_definition ClusterDefinitionResponse
    The cluster definition.
    private_endpoint_connections Sequence[PrivateEndpointConnectionResponse]
    The list of private endpoint connections.
    cluster_hdp_version str
    The hdp version of the cluster.
    cluster_id str
    The cluster id.
    cluster_state str
    The state of the cluster.
    cluster_version str
    The version of the cluster.
    compute_isolation_properties ComputeIsolationPropertiesResponse
    The compute isolation properties.
    compute_profile ComputeProfileResponse
    The compute profile.
    connectivity_endpoints Sequence[ConnectivityEndpointResponse]
    The list of connectivity endpoints.
    created_date str
    The date on which the cluster was created.
    disk_encryption_properties DiskEncryptionPropertiesResponse
    The disk encryption properties.
    encryption_in_transit_properties EncryptionInTransitPropertiesResponse
    The encryption-in-transit properties.
    errors Sequence[ErrorsResponse]
    The list of errors.
    excluded_services_config ExcludedServicesConfigResponse
    The excluded services config.
    kafka_rest_properties KafkaRestPropertiesResponse
    The cluster kafka rest proxy configuration.
    min_supported_tls_version str
    The minimal supported tls version.
    network_properties NetworkPropertiesResponse
    The network properties.
    os_type str
    The type of operating system.
    private_link_configurations Sequence[PrivateLinkConfigurationResponse]
    The private link configurations.
    provisioning_state str
    The provisioning state, which only appears in the response.
    quota_info QuotaInfoResponse
    The quota information.
    security_profile SecurityProfileResponse
    The security profile.
    storage_profile StorageProfileResponse
    The storage profile.
    tier str
    The cluster tier.
    clusterDefinition Property Map
    The cluster definition.
    privateEndpointConnections List<Property Map>
    The list of private endpoint connections.
    clusterHdpVersion String
    The hdp version of the cluster.
    clusterId String
    The cluster id.
    clusterState String
    The state of the cluster.
    clusterVersion String
    The version of the cluster.
    computeIsolationProperties Property Map
    The compute isolation properties.
    computeProfile Property Map
    The compute profile.
    connectivityEndpoints List<Property Map>
    The list of connectivity endpoints.
    createdDate String
    The date on which the cluster was created.
    diskEncryptionProperties Property Map
    The disk encryption properties.
    encryptionInTransitProperties Property Map
    The encryption-in-transit properties.
    errors List<Property Map>
    The list of errors.
    excludedServicesConfig Property Map
    The excluded services config.
    kafkaRestProperties Property Map
    The cluster kafka rest proxy configuration.
    minSupportedTlsVersion String
    The minimal supported tls version.
    networkProperties Property Map
    The network properties.
    osType String
    The type of operating system.
    privateLinkConfigurations List<Property Map>
    The private link configurations.
    provisioningState String
    The provisioning state, which only appears in the response.
    quotaInfo Property Map
    The quota information.
    securityProfile Property Map
    The security profile.
    storageProfile Property Map
    The storage profile.
    tier String
    The cluster tier.

    ClusterIdentity, ClusterIdentityArgs

    Type string | Pulumi.AzureNative.HDInsight.ResourceIdentityType
    The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities.
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.HDInsight.Inputs.UserAssignedIdentity>
    The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    Type string | ResourceIdentityType
    The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities.
    UserAssignedIdentities map[string]UserAssignedIdentity
    The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    type String | ResourceIdentityType
    The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities.
    userAssignedIdentities Map<String,UserAssignedIdentity>
    The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    type string | ResourceIdentityType
    The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities.
    userAssignedIdentities {[key: string]: UserAssignedIdentity}
    The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    type str | ResourceIdentityType
    The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities.
    user_assigned_identities Mapping[str, UserAssignedIdentity]
    The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    type String | "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"
    The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities.
    userAssignedIdentities Map<Property Map>
    The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

    ClusterIdentityResponse, ClusterIdentityResponseArgs

    PrincipalId string
    The principal id of cluster identity. This property will only be provided for a system assigned identity.
    TenantId string
    The tenant id associated with the cluster. This property will only be provided for a system assigned identity.
    Type string
    The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities.
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.HDInsight.Inputs.UserAssignedIdentityResponse>
    The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    PrincipalId string
    The principal id of cluster identity. This property will only be provided for a system assigned identity.
    TenantId string
    The tenant id associated with the cluster. This property will only be provided for a system assigned identity.
    Type string
    The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities.
    UserAssignedIdentities map[string]UserAssignedIdentityResponse
    The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal id of cluster identity. This property will only be provided for a system assigned identity.
    tenantId String
    The tenant id associated with the cluster. This property will only be provided for a system assigned identity.
    type String
    The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities.
    userAssignedIdentities Map<String,UserAssignedIdentityResponse>
    The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId string
    The principal id of cluster identity. This property will only be provided for a system assigned identity.
    tenantId string
    The tenant id associated with the cluster. This property will only be provided for a system assigned identity.
    type string
    The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities.
    userAssignedIdentities {[key: string]: UserAssignedIdentityResponse}
    The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principal_id str
    The principal id of cluster identity. This property will only be provided for a system assigned identity.
    tenant_id str
    The tenant id associated with the cluster. This property will only be provided for a system assigned identity.
    type str
    The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities.
    user_assigned_identities Mapping[str, UserAssignedIdentityResponse]
    The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal id of cluster identity. This property will only be provided for a system assigned identity.
    tenantId String
    The tenant id associated with the cluster. This property will only be provided for a system assigned identity.
    type String
    The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities.
    userAssignedIdentities Map<Property Map>
    The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

    ComputeIsolationProperties, ComputeIsolationPropertiesArgs

    EnableComputeIsolation bool
    The flag indicates whether enable compute isolation or not.
    HostSku string
    The host sku.
    EnableComputeIsolation bool
    The flag indicates whether enable compute isolation or not.
    HostSku string
    The host sku.
    enableComputeIsolation Boolean
    The flag indicates whether enable compute isolation or not.
    hostSku String
    The host sku.
    enableComputeIsolation boolean
    The flag indicates whether enable compute isolation or not.
    hostSku string
    The host sku.
    enable_compute_isolation bool
    The flag indicates whether enable compute isolation or not.
    host_sku str
    The host sku.
    enableComputeIsolation Boolean
    The flag indicates whether enable compute isolation or not.
    hostSku String
    The host sku.

    ComputeIsolationPropertiesResponse, ComputeIsolationPropertiesResponseArgs

    EnableComputeIsolation bool
    The flag indicates whether enable compute isolation or not.
    HostSku string
    The host sku.
    EnableComputeIsolation bool
    The flag indicates whether enable compute isolation or not.
    HostSku string
    The host sku.
    enableComputeIsolation Boolean
    The flag indicates whether enable compute isolation or not.
    hostSku String
    The host sku.
    enableComputeIsolation boolean
    The flag indicates whether enable compute isolation or not.
    hostSku string
    The host sku.
    enable_compute_isolation bool
    The flag indicates whether enable compute isolation or not.
    host_sku str
    The host sku.
    enableComputeIsolation Boolean
    The flag indicates whether enable compute isolation or not.
    hostSku String
    The host sku.

    ComputeProfile, ComputeProfileArgs

    Roles List<Pulumi.AzureNative.HDInsight.Inputs.Role>
    The list of roles in the cluster.
    Roles []Role
    The list of roles in the cluster.
    roles List<Role>
    The list of roles in the cluster.
    roles Role[]
    The list of roles in the cluster.
    roles Sequence[Role]
    The list of roles in the cluster.
    roles List<Property Map>
    The list of roles in the cluster.

    ComputeProfileResponse, ComputeProfileResponseArgs

    Roles []RoleResponse
    The list of roles in the cluster.
    roles List<RoleResponse>
    The list of roles in the cluster.
    roles RoleResponse[]
    The list of roles in the cluster.
    roles Sequence[RoleResponse]
    The list of roles in the cluster.
    roles List<Property Map>
    The list of roles in the cluster.

    ConnectivityEndpointResponse, ConnectivityEndpointResponseArgs

    Location string
    The location of the endpoint.
    Name string
    The name of the endpoint.
    Port int
    The port to connect to.
    PrivateIPAddress string
    The private ip address of the endpoint.
    Protocol string
    The protocol of the endpoint.
    Location string
    The location of the endpoint.
    Name string
    The name of the endpoint.
    Port int
    The port to connect to.
    PrivateIPAddress string
    The private ip address of the endpoint.
    Protocol string
    The protocol of the endpoint.
    location String
    The location of the endpoint.
    name String
    The name of the endpoint.
    port Integer
    The port to connect to.
    privateIPAddress String
    The private ip address of the endpoint.
    protocol String
    The protocol of the endpoint.
    location string
    The location of the endpoint.
    name string
    The name of the endpoint.
    port number
    The port to connect to.
    privateIPAddress string
    The private ip address of the endpoint.
    protocol string
    The protocol of the endpoint.
    location str
    The location of the endpoint.
    name str
    The name of the endpoint.
    port int
    The port to connect to.
    private_ip_address str
    The private ip address of the endpoint.
    protocol str
    The protocol of the endpoint.
    location String
    The location of the endpoint.
    name String
    The name of the endpoint.
    port Number
    The port to connect to.
    privateIPAddress String
    The private ip address of the endpoint.
    protocol String
    The protocol of the endpoint.

    DataDisksGroups, DataDisksGroupsArgs

    DisksPerNode int
    The number of disks per node.
    DisksPerNode int
    The number of disks per node.
    disksPerNode Integer
    The number of disks per node.
    disksPerNode number
    The number of disks per node.
    disks_per_node int
    The number of disks per node.
    disksPerNode Number
    The number of disks per node.

    DataDisksGroupsResponse, DataDisksGroupsResponseArgs

    DiskSizeGB int
    ReadOnly. The DiskSize in GB. Do not set this value.
    StorageAccountType string
    ReadOnly. The storage account type. Do not set this value.
    DisksPerNode int
    The number of disks per node.
    DiskSizeGB int
    ReadOnly. The DiskSize in GB. Do not set this value.
    StorageAccountType string
    ReadOnly. The storage account type. Do not set this value.
    DisksPerNode int
    The number of disks per node.
    diskSizeGB Integer
    ReadOnly. The DiskSize in GB. Do not set this value.
    storageAccountType String
    ReadOnly. The storage account type. Do not set this value.
    disksPerNode Integer
    The number of disks per node.
    diskSizeGB number
    ReadOnly. The DiskSize in GB. Do not set this value.
    storageAccountType string
    ReadOnly. The storage account type. Do not set this value.
    disksPerNode number
    The number of disks per node.
    disk_size_gb int
    ReadOnly. The DiskSize in GB. Do not set this value.
    storage_account_type str
    ReadOnly. The storage account type. Do not set this value.
    disks_per_node int
    The number of disks per node.
    diskSizeGB Number
    ReadOnly. The DiskSize in GB. Do not set this value.
    storageAccountType String
    ReadOnly. The storage account type. Do not set this value.
    disksPerNode Number
    The number of disks per node.

    DaysOfWeek, DaysOfWeekArgs

    Monday
    Monday
    Tuesday
    Tuesday
    Wednesday
    Wednesday
    Thursday
    Thursday
    Friday
    Friday
    Saturday
    Saturday
    Sunday
    Sunday
    DaysOfWeekMonday
    Monday
    DaysOfWeekTuesday
    Tuesday
    DaysOfWeekWednesday
    Wednesday
    DaysOfWeekThursday
    Thursday
    DaysOfWeekFriday
    Friday
    DaysOfWeekSaturday
    Saturday
    DaysOfWeekSunday
    Sunday
    Monday
    Monday
    Tuesday
    Tuesday
    Wednesday
    Wednesday
    Thursday
    Thursday
    Friday
    Friday
    Saturday
    Saturday
    Sunday
    Sunday
    Monday
    Monday
    Tuesday
    Tuesday
    Wednesday
    Wednesday
    Thursday
    Thursday
    Friday
    Friday
    Saturday
    Saturday
    Sunday
    Sunday
    MONDAY
    Monday
    TUESDAY
    Tuesday
    WEDNESDAY
    Wednesday
    THURSDAY
    Thursday
    FRIDAY
    Friday
    SATURDAY
    Saturday
    SUNDAY
    Sunday
    "Monday"
    Monday
    "Tuesday"
    Tuesday
    "Wednesday"
    Wednesday
    "Thursday"
    Thursday
    "Friday"
    Friday
    "Saturday"
    Saturday
    "Sunday"
    Sunday

    DirectoryType, DirectoryTypeArgs

    ActiveDirectory
    ActiveDirectory
    DirectoryTypeActiveDirectory
    ActiveDirectory
    ActiveDirectory
    ActiveDirectory
    ActiveDirectory
    ActiveDirectory
    ACTIVE_DIRECTORY
    ActiveDirectory
    "ActiveDirectory"
    ActiveDirectory

    DiskEncryptionProperties, DiskEncryptionPropertiesArgs

    EncryptionAlgorithm string | Pulumi.AzureNative.HDInsight.JsonWebKeyEncryptionAlgorithm
    Algorithm identifier for encryption, default RSA-OAEP.
    EncryptionAtHost bool
    Indicates whether or not resource disk encryption is enabled.
    KeyName string
    Key name that is used for enabling disk encryption.
    KeyVersion string
    Specific key version that is used for enabling disk encryption.
    MsiResourceId string
    Resource ID of Managed Identity that is used to access the key vault.
    VaultUri string
    Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
    EncryptionAlgorithm string | JsonWebKeyEncryptionAlgorithm
    Algorithm identifier for encryption, default RSA-OAEP.
    EncryptionAtHost bool
    Indicates whether or not resource disk encryption is enabled.
    KeyName string
    Key name that is used for enabling disk encryption.
    KeyVersion string
    Specific key version that is used for enabling disk encryption.
    MsiResourceId string
    Resource ID of Managed Identity that is used to access the key vault.
    VaultUri string
    Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
    encryptionAlgorithm String | JsonWebKeyEncryptionAlgorithm
    Algorithm identifier for encryption, default RSA-OAEP.
    encryptionAtHost Boolean
    Indicates whether or not resource disk encryption is enabled.
    keyName String
    Key name that is used for enabling disk encryption.
    keyVersion String
    Specific key version that is used for enabling disk encryption.
    msiResourceId String
    Resource ID of Managed Identity that is used to access the key vault.
    vaultUri String
    Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
    encryptionAlgorithm string | JsonWebKeyEncryptionAlgorithm
    Algorithm identifier for encryption, default RSA-OAEP.
    encryptionAtHost boolean
    Indicates whether or not resource disk encryption is enabled.
    keyName string
    Key name that is used for enabling disk encryption.
    keyVersion string
    Specific key version that is used for enabling disk encryption.
    msiResourceId string
    Resource ID of Managed Identity that is used to access the key vault.
    vaultUri string
    Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
    encryption_algorithm str | JsonWebKeyEncryptionAlgorithm
    Algorithm identifier for encryption, default RSA-OAEP.
    encryption_at_host bool
    Indicates whether or not resource disk encryption is enabled.
    key_name str
    Key name that is used for enabling disk encryption.
    key_version str
    Specific key version that is used for enabling disk encryption.
    msi_resource_id str
    Resource ID of Managed Identity that is used to access the key vault.
    vault_uri str
    Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
    encryptionAlgorithm String | "RSA-OAEP" | "RSA-OAEP-256" | "RSA1_5"
    Algorithm identifier for encryption, default RSA-OAEP.
    encryptionAtHost Boolean
    Indicates whether or not resource disk encryption is enabled.
    keyName String
    Key name that is used for enabling disk encryption.
    keyVersion String
    Specific key version that is used for enabling disk encryption.
    msiResourceId String
    Resource ID of Managed Identity that is used to access the key vault.
    vaultUri String
    Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net

    DiskEncryptionPropertiesResponse, DiskEncryptionPropertiesResponseArgs

    EncryptionAlgorithm string
    Algorithm identifier for encryption, default RSA-OAEP.
    EncryptionAtHost bool
    Indicates whether or not resource disk encryption is enabled.
    KeyName string
    Key name that is used for enabling disk encryption.
    KeyVersion string
    Specific key version that is used for enabling disk encryption.
    MsiResourceId string
    Resource ID of Managed Identity that is used to access the key vault.
    VaultUri string
    Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
    EncryptionAlgorithm string
    Algorithm identifier for encryption, default RSA-OAEP.
    EncryptionAtHost bool
    Indicates whether or not resource disk encryption is enabled.
    KeyName string
    Key name that is used for enabling disk encryption.
    KeyVersion string
    Specific key version that is used for enabling disk encryption.
    MsiResourceId string
    Resource ID of Managed Identity that is used to access the key vault.
    VaultUri string
    Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
    encryptionAlgorithm String
    Algorithm identifier for encryption, default RSA-OAEP.
    encryptionAtHost Boolean
    Indicates whether or not resource disk encryption is enabled.
    keyName String
    Key name that is used for enabling disk encryption.
    keyVersion String
    Specific key version that is used for enabling disk encryption.
    msiResourceId String
    Resource ID of Managed Identity that is used to access the key vault.
    vaultUri String
    Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
    encryptionAlgorithm string
    Algorithm identifier for encryption, default RSA-OAEP.
    encryptionAtHost boolean
    Indicates whether or not resource disk encryption is enabled.
    keyName string
    Key name that is used for enabling disk encryption.
    keyVersion string
    Specific key version that is used for enabling disk encryption.
    msiResourceId string
    Resource ID of Managed Identity that is used to access the key vault.
    vaultUri string
    Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
    encryption_algorithm str
    Algorithm identifier for encryption, default RSA-OAEP.
    encryption_at_host bool
    Indicates whether or not resource disk encryption is enabled.
    key_name str
    Key name that is used for enabling disk encryption.
    key_version str
    Specific key version that is used for enabling disk encryption.
    msi_resource_id str
    Resource ID of Managed Identity that is used to access the key vault.
    vault_uri str
    Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
    encryptionAlgorithm String
    Algorithm identifier for encryption, default RSA-OAEP.
    encryptionAtHost Boolean
    Indicates whether or not resource disk encryption is enabled.
    keyName String
    Key name that is used for enabling disk encryption.
    keyVersion String
    Specific key version that is used for enabling disk encryption.
    msiResourceId String
    Resource ID of Managed Identity that is used to access the key vault.
    vaultUri String
    Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net

    EncryptionInTransitProperties, EncryptionInTransitPropertiesArgs

    IsEncryptionInTransitEnabled bool
    Indicates whether or not inter cluster node communication is encrypted in transit.
    IsEncryptionInTransitEnabled bool
    Indicates whether or not inter cluster node communication is encrypted in transit.
    isEncryptionInTransitEnabled Boolean
    Indicates whether or not inter cluster node communication is encrypted in transit.
    isEncryptionInTransitEnabled boolean
    Indicates whether or not inter cluster node communication is encrypted in transit.
    is_encryption_in_transit_enabled bool
    Indicates whether or not inter cluster node communication is encrypted in transit.
    isEncryptionInTransitEnabled Boolean
    Indicates whether or not inter cluster node communication is encrypted in transit.

    EncryptionInTransitPropertiesResponse, EncryptionInTransitPropertiesResponseArgs

    IsEncryptionInTransitEnabled bool
    Indicates whether or not inter cluster node communication is encrypted in transit.
    IsEncryptionInTransitEnabled bool
    Indicates whether or not inter cluster node communication is encrypted in transit.
    isEncryptionInTransitEnabled Boolean
    Indicates whether or not inter cluster node communication is encrypted in transit.
    isEncryptionInTransitEnabled boolean
    Indicates whether or not inter cluster node communication is encrypted in transit.
    is_encryption_in_transit_enabled bool
    Indicates whether or not inter cluster node communication is encrypted in transit.
    isEncryptionInTransitEnabled Boolean
    Indicates whether or not inter cluster node communication is encrypted in transit.

    ErrorsResponse, ErrorsResponseArgs

    Code string
    The error code.
    Message string
    The error message.
    Code string
    The error code.
    Message string
    The error message.
    code String
    The error code.
    message String
    The error message.
    code string
    The error code.
    message string
    The error message.
    code str
    The error code.
    message str
    The error message.
    code String
    The error code.
    message String
    The error message.

    ExcludedServicesConfigResponse, ExcludedServicesConfigResponseArgs

    ExcludedServicesConfigId string
    The config id of excluded services.
    ExcludedServicesList string
    The list of excluded services.
    ExcludedServicesConfigId string
    The config id of excluded services.
    ExcludedServicesList string
    The list of excluded services.
    excludedServicesConfigId String
    The config id of excluded services.
    excludedServicesList String
    The list of excluded services.
    excludedServicesConfigId string
    The config id of excluded services.
    excludedServicesList string
    The list of excluded services.
    excluded_services_config_id str
    The config id of excluded services.
    excluded_services_list str
    The list of excluded services.
    excludedServicesConfigId String
    The config id of excluded services.
    excludedServicesList String
    The list of excluded services.

    HardwareProfile, HardwareProfileArgs

    VmSize string
    The size of the VM
    VmSize string
    The size of the VM
    vmSize String
    The size of the VM
    vmSize string
    The size of the VM
    vm_size str
    The size of the VM
    vmSize String
    The size of the VM

    HardwareProfileResponse, HardwareProfileResponseArgs

    VmSize string
    The size of the VM
    VmSize string
    The size of the VM
    vmSize String
    The size of the VM
    vmSize string
    The size of the VM
    vm_size str
    The size of the VM
    vmSize String
    The size of the VM

    IPConfiguration, IPConfigurationArgs

    Name string
    The name of private link IP configuration.
    Primary bool
    Indicates whether this IP configuration is primary for the corresponding NIC.
    PrivateIPAddress string
    The IP address.
    PrivateIPAllocationMethod string | Pulumi.AzureNative.HDInsight.PrivateIPAllocationMethod
    The method that private IP address is allocated.
    Subnet Pulumi.AzureNative.HDInsight.Inputs.ResourceId
    The subnet resource id.
    Name string
    The name of private link IP configuration.
    Primary bool
    Indicates whether this IP configuration is primary for the corresponding NIC.
    PrivateIPAddress string
    The IP address.
    PrivateIPAllocationMethod string | PrivateIPAllocationMethod
    The method that private IP address is allocated.
    Subnet ResourceId
    The subnet resource id.
    name String
    The name of private link IP configuration.
    primary Boolean
    Indicates whether this IP configuration is primary for the corresponding NIC.
    privateIPAddress String
    The IP address.
    privateIPAllocationMethod String | PrivateIPAllocationMethod
    The method that private IP address is allocated.
    subnet ResourceId
    The subnet resource id.
    name string
    The name of private link IP configuration.
    primary boolean
    Indicates whether this IP configuration is primary for the corresponding NIC.
    privateIPAddress string
    The IP address.
    privateIPAllocationMethod string | PrivateIPAllocationMethod
    The method that private IP address is allocated.
    subnet ResourceId
    The subnet resource id.
    name str
    The name of private link IP configuration.
    primary bool
    Indicates whether this IP configuration is primary for the corresponding NIC.
    private_ip_address str
    The IP address.
    private_ip_allocation_method str | PrivateIPAllocationMethod
    The method that private IP address is allocated.
    subnet ResourceId
    The subnet resource id.
    name String
    The name of private link IP configuration.
    primary Boolean
    Indicates whether this IP configuration is primary for the corresponding NIC.
    privateIPAddress String
    The IP address.
    privateIPAllocationMethod String | "dynamic" | "static"
    The method that private IP address is allocated.
    subnet Property Map
    The subnet resource id.

    IPConfigurationResponse, IPConfigurationResponseArgs

    Id string
    The private link IP configuration id.
    Name string
    The name of private link IP configuration.
    ProvisioningState string
    The private link configuration provisioning state, which only appears in the response.
    Type string
    The type of the private link IP configuration.
    Primary bool
    Indicates whether this IP configuration is primary for the corresponding NIC.
    PrivateIPAddress string
    The IP address.
    PrivateIPAllocationMethod string
    The method that private IP address is allocated.
    Subnet Pulumi.AzureNative.HDInsight.Inputs.ResourceIdResponse
    The subnet resource id.
    Id string
    The private link IP configuration id.
    Name string
    The name of private link IP configuration.
    ProvisioningState string
    The private link configuration provisioning state, which only appears in the response.
    Type string
    The type of the private link IP configuration.
    Primary bool
    Indicates whether this IP configuration is primary for the corresponding NIC.
    PrivateIPAddress string
    The IP address.
    PrivateIPAllocationMethod string
    The method that private IP address is allocated.
    Subnet ResourceIdResponse
    The subnet resource id.
    id String
    The private link IP configuration id.
    name String
    The name of private link IP configuration.
    provisioningState String
    The private link configuration provisioning state, which only appears in the response.
    type String
    The type of the private link IP configuration.
    primary Boolean
    Indicates whether this IP configuration is primary for the corresponding NIC.
    privateIPAddress String
    The IP address.
    privateIPAllocationMethod String
    The method that private IP address is allocated.
    subnet ResourceIdResponse
    The subnet resource id.
    id string
    The private link IP configuration id.
    name string
    The name of private link IP configuration.
    provisioningState string
    The private link configuration provisioning state, which only appears in the response.
    type string
    The type of the private link IP configuration.
    primary boolean
    Indicates whether this IP configuration is primary for the corresponding NIC.
    privateIPAddress string
    The IP address.
    privateIPAllocationMethod string
    The method that private IP address is allocated.
    subnet ResourceIdResponse
    The subnet resource id.
    id str
    The private link IP configuration id.
    name str
    The name of private link IP configuration.
    provisioning_state str
    The private link configuration provisioning state, which only appears in the response.
    type str
    The type of the private link IP configuration.
    primary bool
    Indicates whether this IP configuration is primary for the corresponding NIC.
    private_ip_address str
    The IP address.
    private_ip_allocation_method str
    The method that private IP address is allocated.
    subnet ResourceIdResponse
    The subnet resource id.
    id String
    The private link IP configuration id.
    name String
    The name of private link IP configuration.
    provisioningState String
    The private link configuration provisioning state, which only appears in the response.
    type String
    The type of the private link IP configuration.
    primary Boolean
    Indicates whether this IP configuration is primary for the corresponding NIC.
    privateIPAddress String
    The IP address.
    privateIPAllocationMethod String
    The method that private IP address is allocated.
    subnet Property Map
    The subnet resource id.

    JsonWebKeyEncryptionAlgorithm, JsonWebKeyEncryptionAlgorithmArgs

    RSA_OAEP
    RSA-OAEP
    RSA_OAEP_256
    RSA-OAEP-256
    RSA1_5
    RSA1_5
    JsonWebKeyEncryptionAlgorithm_RSA_OAEP
    RSA-OAEP
    JsonWebKeyEncryptionAlgorithm_RSA_OAEP_256
    RSA-OAEP-256
    JsonWebKeyEncryptionAlgorithm_RSA1_5
    RSA1_5
    RSAOAEP
    RSA-OAEP
    RSAOAEP256
    RSA-OAEP-256
    RSA1_5
    RSA1_5
    RSA_OAEP
    RSA-OAEP
    RSA_OAEP_256
    RSA-OAEP-256
    RSA1_5
    RSA1_5
    RS_A_OAEP
    RSA-OAEP
    RS_A_OAE_P_256
    RSA-OAEP-256
    RSA1_5
    RSA1_5
    "RSA-OAEP"
    RSA-OAEP
    "RSA-OAEP-256"
    RSA-OAEP-256
    "RSA1_5"
    RSA1_5

    KafkaRestProperties, KafkaRestPropertiesArgs

    ClientGroupInfo Pulumi.AzureNative.HDInsight.Inputs.ClientGroupInfo
    The information of AAD security group.
    ConfigurationOverride Dictionary<string, string>
    The configurations that need to be overriden.
    ClientGroupInfo ClientGroupInfo
    The information of AAD security group.
    ConfigurationOverride map[string]string
    The configurations that need to be overriden.
    clientGroupInfo ClientGroupInfo
    The information of AAD security group.
    configurationOverride Map<String,String>
    The configurations that need to be overriden.
    clientGroupInfo ClientGroupInfo
    The information of AAD security group.
    configurationOverride {[key: string]: string}
    The configurations that need to be overriden.
    client_group_info ClientGroupInfo
    The information of AAD security group.
    configuration_override Mapping[str, str]
    The configurations that need to be overriden.
    clientGroupInfo Property Map
    The information of AAD security group.
    configurationOverride Map<String>
    The configurations that need to be overriden.

    KafkaRestPropertiesResponse, KafkaRestPropertiesResponseArgs

    ClientGroupInfo Pulumi.AzureNative.HDInsight.Inputs.ClientGroupInfoResponse
    The information of AAD security group.
    ConfigurationOverride Dictionary<string, string>
    The configurations that need to be overriden.
    ClientGroupInfo ClientGroupInfoResponse
    The information of AAD security group.
    ConfigurationOverride map[string]string
    The configurations that need to be overriden.
    clientGroupInfo ClientGroupInfoResponse
    The information of AAD security group.
    configurationOverride Map<String,String>
    The configurations that need to be overriden.
    clientGroupInfo ClientGroupInfoResponse
    The information of AAD security group.
    configurationOverride {[key: string]: string}
    The configurations that need to be overriden.
    client_group_info ClientGroupInfoResponse
    The information of AAD security group.
    configuration_override Mapping[str, str]
    The configurations that need to be overriden.
    clientGroupInfo Property Map
    The information of AAD security group.
    configurationOverride Map<String>
    The configurations that need to be overriden.

    LinuxOperatingSystemProfile, LinuxOperatingSystemProfileArgs

    Password string
    The password.
    SshProfile Pulumi.AzureNative.HDInsight.Inputs.SshProfile
    The SSH profile.
    Username string
    The username.
    Password string
    The password.
    SshProfile SshProfile
    The SSH profile.
    Username string
    The username.
    password String
    The password.
    sshProfile SshProfile
    The SSH profile.
    username String
    The username.
    password string
    The password.
    sshProfile SshProfile
    The SSH profile.
    username string
    The username.
    password str
    The password.
    ssh_profile SshProfile
    The SSH profile.
    username str
    The username.
    password String
    The password.
    sshProfile Property Map
    The SSH profile.
    username String
    The username.

    LinuxOperatingSystemProfileResponse, LinuxOperatingSystemProfileResponseArgs

    Password string
    The password.
    SshProfile Pulumi.AzureNative.HDInsight.Inputs.SshProfileResponse
    The SSH profile.
    Username string
    The username.
    Password string
    The password.
    SshProfile SshProfileResponse
    The SSH profile.
    Username string
    The username.
    password String
    The password.
    sshProfile SshProfileResponse
    The SSH profile.
    username String
    The username.
    password string
    The password.
    sshProfile SshProfileResponse
    The SSH profile.
    username string
    The username.
    password str
    The password.
    ssh_profile SshProfileResponse
    The SSH profile.
    username str
    The username.
    password String
    The password.
    sshProfile Property Map
    The SSH profile.
    username String
    The username.

    NetworkProperties, NetworkPropertiesArgs

    PrivateLink string | Pulumi.AzureNative.HDInsight.PrivateLink
    Indicates whether or not private link is enabled.
    ResourceProviderConnection string | Pulumi.AzureNative.HDInsight.ResourceProviderConnection
    The direction for the resource provider connection.
    PrivateLink string | PrivateLink
    Indicates whether or not private link is enabled.
    ResourceProviderConnection string | ResourceProviderConnection
    The direction for the resource provider connection.
    privateLink String | PrivateLink
    Indicates whether or not private link is enabled.
    resourceProviderConnection String | ResourceProviderConnection
    The direction for the resource provider connection.
    privateLink string | PrivateLink
    Indicates whether or not private link is enabled.
    resourceProviderConnection string | ResourceProviderConnection
    The direction for the resource provider connection.
    private_link str | PrivateLink
    Indicates whether or not private link is enabled.
    resource_provider_connection str | ResourceProviderConnection
    The direction for the resource provider connection.
    privateLink String | "Disabled" | "Enabled"
    Indicates whether or not private link is enabled.
    resourceProviderConnection String | "Inbound" | "Outbound"
    The direction for the resource provider connection.

    NetworkPropertiesResponse, NetworkPropertiesResponseArgs

    PrivateLink string
    Indicates whether or not private link is enabled.
    ResourceProviderConnection string
    The direction for the resource provider connection.
    PrivateLink string
    Indicates whether or not private link is enabled.
    ResourceProviderConnection string
    The direction for the resource provider connection.
    privateLink String
    Indicates whether or not private link is enabled.
    resourceProviderConnection String
    The direction for the resource provider connection.
    privateLink string
    Indicates whether or not private link is enabled.
    resourceProviderConnection string
    The direction for the resource provider connection.
    private_link str
    Indicates whether or not private link is enabled.
    resource_provider_connection str
    The direction for the resource provider connection.
    privateLink String
    Indicates whether or not private link is enabled.
    resourceProviderConnection String
    The direction for the resource provider connection.

    OSType, OSTypeArgs

    Windows
    Windows
    Linux
    Linux
    OSTypeWindows
    Windows
    OSTypeLinux
    Linux
    Windows
    Windows
    Linux
    Linux
    Windows
    Windows
    Linux
    Linux
    WINDOWS
    Windows
    LINUX
    Linux
    "Windows"
    Windows
    "Linux"
    Linux

    OsProfile, OsProfileArgs

    OsProfileResponse, OsProfileResponseArgs

    PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs

    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    LinkIdentifier string
    The link identifier.
    Name string
    The name of the resource
    PrivateEndpoint Pulumi.AzureNative.HDInsight.Inputs.PrivateEndpointResponse
    The private endpoint of the private endpoint connection
    PrivateLinkServiceConnectionState Pulumi.AzureNative.HDInsight.Inputs.PrivateLinkServiceConnectionStateResponse
    The private link service connection state.
    ProvisioningState string
    The provisioning state, which only appears in the response.
    SystemData Pulumi.AzureNative.HDInsight.Inputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    LinkIdentifier string
    The link identifier.
    Name string
    The name of the resource
    PrivateEndpoint PrivateEndpointResponse
    The private endpoint of the private endpoint connection
    PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    The private link service connection state.
    ProvisioningState string
    The provisioning state, which only appears in the response.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    linkIdentifier String
    The link identifier.
    name String
    The name of the resource
    privateEndpoint PrivateEndpointResponse
    The private endpoint of the private endpoint connection
    privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    The private link service connection state.
    provisioningState String
    The provisioning state, which only appears in the response.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    linkIdentifier string
    The link identifier.
    name string
    The name of the resource
    privateEndpoint PrivateEndpointResponse
    The private endpoint of the private endpoint connection
    privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    The private link service connection state.
    provisioningState string
    The provisioning state, which only appears in the response.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    link_identifier str
    The link identifier.
    name str
    The name of the resource
    private_endpoint PrivateEndpointResponse
    The private endpoint of the private endpoint connection
    private_link_service_connection_state PrivateLinkServiceConnectionStateResponse
    The private link service connection state.
    provisioning_state str
    The provisioning state, which only appears in the response.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    linkIdentifier String
    The link identifier.
    name String
    The name of the resource
    privateEndpoint Property Map
    The private endpoint of the private endpoint connection
    privateLinkServiceConnectionState Property Map
    The private link service connection state.
    provisioningState String
    The provisioning state, which only appears in the response.
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    PrivateEndpointResponse, PrivateEndpointResponseArgs

    Id string
    The private endpoint id.
    Id string
    The private endpoint id.
    id String
    The private endpoint id.
    id string
    The private endpoint id.
    id str
    The private endpoint id.
    id String
    The private endpoint id.

    PrivateIPAllocationMethod, PrivateIPAllocationMethodArgs

    @Dynamic
    dynamic
    @Static
    static
    PrivateIPAllocationMethodDynamic
    dynamic
    PrivateIPAllocationMethodStatic
    static
    Dynamic
    dynamic
    Static_
    static
    Dynamic
    dynamic
    Static
    static
    DYNAMIC
    dynamic
    STATIC
    static
    "dynamic"
    dynamic
    "static"
    static
    Disabled
    Disabled
    Enabled
    Enabled
    PrivateLinkDisabled
    Disabled
    PrivateLinkEnabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    DISABLED
    Disabled
    ENABLED
    Enabled
    "Disabled"
    Disabled
    "Enabled"
    Enabled

    PrivateLinkConfiguration, PrivateLinkConfigurationArgs

    GroupId string
    The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
    IpConfigurations List<Pulumi.AzureNative.HDInsight.Inputs.IPConfiguration>
    The IP configurations for the private link service.
    Name string
    The name of private link configuration.
    GroupId string
    The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
    IpConfigurations []IPConfiguration
    The IP configurations for the private link service.
    Name string
    The name of private link configuration.
    groupId String
    The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
    ipConfigurations List<IPConfiguration>
    The IP configurations for the private link service.
    name String
    The name of private link configuration.
    groupId string
    The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
    ipConfigurations IPConfiguration[]
    The IP configurations for the private link service.
    name string
    The name of private link configuration.
    group_id str
    The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
    ip_configurations Sequence[IPConfiguration]
    The IP configurations for the private link service.
    name str
    The name of private link configuration.
    groupId String
    The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
    ipConfigurations List<Property Map>
    The IP configurations for the private link service.
    name String
    The name of private link configuration.

    PrivateLinkConfigurationResponse, PrivateLinkConfigurationResponseArgs

    GroupId string
    The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
    Id string
    The private link configuration id.
    IpConfigurations List<Pulumi.AzureNative.HDInsight.Inputs.IPConfigurationResponse>
    The IP configurations for the private link service.
    Name string
    The name of private link configuration.
    ProvisioningState string
    The private link configuration provisioning state, which only appears in the response.
    Type string
    The type of the private link configuration.
    GroupId string
    The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
    Id string
    The private link configuration id.
    IpConfigurations []IPConfigurationResponse
    The IP configurations for the private link service.
    Name string
    The name of private link configuration.
    ProvisioningState string
    The private link configuration provisioning state, which only appears in the response.
    Type string
    The type of the private link configuration.
    groupId String
    The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
    id String
    The private link configuration id.
    ipConfigurations List<IPConfigurationResponse>
    The IP configurations for the private link service.
    name String
    The name of private link configuration.
    provisioningState String
    The private link configuration provisioning state, which only appears in the response.
    type String
    The type of the private link configuration.
    groupId string
    The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
    id string
    The private link configuration id.
    ipConfigurations IPConfigurationResponse[]
    The IP configurations for the private link service.
    name string
    The name of private link configuration.
    provisioningState string
    The private link configuration provisioning state, which only appears in the response.
    type string
    The type of the private link configuration.
    group_id str
    The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
    id str
    The private link configuration id.
    ip_configurations Sequence[IPConfigurationResponse]
    The IP configurations for the private link service.
    name str
    The name of private link configuration.
    provisioning_state str
    The private link configuration provisioning state, which only appears in the response.
    type str
    The type of the private link configuration.
    groupId String
    The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
    id String
    The private link configuration id.
    ipConfigurations List<Property Map>
    The IP configurations for the private link service.
    name String
    The name of private link configuration.
    provisioningState String
    The private link configuration provisioning state, which only appears in the response.
    type String
    The type of the private link configuration.

    PrivateLinkServiceConnectionStateResponse, PrivateLinkServiceConnectionStateResponseArgs

    Status string
    The concrete private link service connection.
    ActionsRequired string
    Whether there is further actions.
    Description string
    The optional description of the status.
    Status string
    The concrete private link service connection.
    ActionsRequired string
    Whether there is further actions.
    Description string
    The optional description of the status.
    status String
    The concrete private link service connection.
    actionsRequired String
    Whether there is further actions.
    description String
    The optional description of the status.
    status string
    The concrete private link service connection.
    actionsRequired string
    Whether there is further actions.
    description string
    The optional description of the status.
    status str
    The concrete private link service connection.
    actions_required str
    Whether there is further actions.
    description str
    The optional description of the status.
    status String
    The concrete private link service connection.
    actionsRequired String
    Whether there is further actions.
    description String
    The optional description of the status.

    QuotaInfoResponse, QuotaInfoResponseArgs

    CoresUsed int
    The cores used by the cluster.
    CoresUsed int
    The cores used by the cluster.
    coresUsed Integer
    The cores used by the cluster.
    coresUsed number
    The cores used by the cluster.
    cores_used int
    The cores used by the cluster.
    coresUsed Number
    The cores used by the cluster.

    ResourceId, ResourceIdArgs

    Id string
    The azure resource id.
    Id string
    The azure resource id.
    id String
    The azure resource id.
    id string
    The azure resource id.
    id str
    The azure resource id.
    id String
    The azure resource id.

    ResourceIdResponse, ResourceIdResponseArgs

    Id string
    The azure resource id.
    Id string
    The azure resource id.
    id String
    The azure resource id.
    id string
    The azure resource id.
    id str
    The azure resource id.
    id String
    The azure resource id.

    ResourceIdentityType, ResourceIdentityTypeArgs

    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    None
    None
    ResourceIdentityTypeSystemAssigned
    SystemAssigned
    ResourceIdentityTypeUserAssigned
    UserAssigned
    ResourceIdentityType_SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    ResourceIdentityTypeNone
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    None
    None
    SYSTEM_ASSIGNED
    SystemAssigned
    USER_ASSIGNED
    UserAssigned
    SYSTEM_ASSIGNED_USER_ASSIGNED
    SystemAssigned, UserAssigned
    NONE
    None
    "SystemAssigned"
    SystemAssigned
    "UserAssigned"
    UserAssigned
    "SystemAssigned, UserAssigned"
    SystemAssigned, UserAssigned
    "None"
    None

    ResourceProviderConnection, ResourceProviderConnectionArgs

    Inbound
    Inbound
    Outbound
    Outbound
    ResourceProviderConnectionInbound
    Inbound
    ResourceProviderConnectionOutbound
    Outbound
    Inbound
    Inbound
    Outbound
    Outbound
    Inbound
    Inbound
    Outbound
    Outbound
    INBOUND
    Inbound
    OUTBOUND
    Outbound
    "Inbound"
    Inbound
    "Outbound"
    Outbound

    Role, RoleArgs

    AutoscaleConfiguration Pulumi.AzureNative.HDInsight.Inputs.Autoscale
    The autoscale configurations.
    DataDisksGroups List<Pulumi.AzureNative.HDInsight.Inputs.DataDisksGroups>
    The data disks groups for the role.
    EncryptDataDisks bool
    Indicates whether encrypt the data disks.
    HardwareProfile Pulumi.AzureNative.HDInsight.Inputs.HardwareProfile
    The hardware profile.
    MinInstanceCount int
    The minimum instance count of the cluster.
    Name string
    The name of the role.
    OsProfile Pulumi.AzureNative.HDInsight.Inputs.OsProfile
    The operating system profile.
    ScriptActions List<Pulumi.AzureNative.HDInsight.Inputs.ScriptAction>
    The list of script actions on the role.
    TargetInstanceCount int
    The instance count of the cluster.
    VMGroupName string
    The name of the virtual machine group.
    VirtualNetworkProfile Pulumi.AzureNative.HDInsight.Inputs.VirtualNetworkProfile
    The virtual network profile.
    AutoscaleConfiguration Autoscale
    The autoscale configurations.
    DataDisksGroups []DataDisksGroups
    The data disks groups for the role.
    EncryptDataDisks bool
    Indicates whether encrypt the data disks.
    HardwareProfile HardwareProfile
    The hardware profile.
    MinInstanceCount int
    The minimum instance count of the cluster.
    Name string
    The name of the role.
    OsProfile OsProfile
    The operating system profile.
    ScriptActions []ScriptAction
    The list of script actions on the role.
    TargetInstanceCount int
    The instance count of the cluster.
    VMGroupName string
    The name of the virtual machine group.
    VirtualNetworkProfile VirtualNetworkProfile
    The virtual network profile.
    autoscaleConfiguration Autoscale
    The autoscale configurations.
    dataDisksGroups List<DataDisksGroups>
    The data disks groups for the role.
    encryptDataDisks Boolean
    Indicates whether encrypt the data disks.
    hardwareProfile HardwareProfile
    The hardware profile.
    minInstanceCount Integer
    The minimum instance count of the cluster.
    name String
    The name of the role.
    osProfile OsProfile
    The operating system profile.
    scriptActions List<ScriptAction>
    The list of script actions on the role.
    targetInstanceCount Integer
    The instance count of the cluster.
    vMGroupName String
    The name of the virtual machine group.
    virtualNetworkProfile VirtualNetworkProfile
    The virtual network profile.
    autoscaleConfiguration Autoscale
    The autoscale configurations.
    dataDisksGroups DataDisksGroups[]
    The data disks groups for the role.
    encryptDataDisks boolean
    Indicates whether encrypt the data disks.
    hardwareProfile HardwareProfile
    The hardware profile.
    minInstanceCount number
    The minimum instance count of the cluster.
    name string
    The name of the role.
    osProfile OsProfile
    The operating system profile.
    scriptActions ScriptAction[]
    The list of script actions on the role.
    targetInstanceCount number
    The instance count of the cluster.
    vMGroupName string
    The name of the virtual machine group.
    virtualNetworkProfile VirtualNetworkProfile
    The virtual network profile.
    autoscale_configuration Autoscale
    The autoscale configurations.
    data_disks_groups Sequence[DataDisksGroups]
    The data disks groups for the role.
    encrypt_data_disks bool
    Indicates whether encrypt the data disks.
    hardware_profile HardwareProfile
    The hardware profile.
    min_instance_count int
    The minimum instance count of the cluster.
    name str
    The name of the role.
    os_profile OsProfile
    The operating system profile.
    script_actions Sequence[ScriptAction]
    The list of script actions on the role.
    target_instance_count int
    The instance count of the cluster.
    v_m_group_name str
    The name of the virtual machine group.
    virtual_network_profile VirtualNetworkProfile
    The virtual network profile.
    autoscaleConfiguration Property Map
    The autoscale configurations.
    dataDisksGroups List<Property Map>
    The data disks groups for the role.
    encryptDataDisks Boolean
    Indicates whether encrypt the data disks.
    hardwareProfile Property Map
    The hardware profile.
    minInstanceCount Number
    The minimum instance count of the cluster.
    name String
    The name of the role.
    osProfile Property Map
    The operating system profile.
    scriptActions List<Property Map>
    The list of script actions on the role.
    targetInstanceCount Number
    The instance count of the cluster.
    vMGroupName String
    The name of the virtual machine group.
    virtualNetworkProfile Property Map
    The virtual network profile.

    RoleResponse, RoleResponseArgs

    AutoscaleConfiguration Pulumi.AzureNative.HDInsight.Inputs.AutoscaleResponse
    The autoscale configurations.
    DataDisksGroups List<Pulumi.AzureNative.HDInsight.Inputs.DataDisksGroupsResponse>
    The data disks groups for the role.
    EncryptDataDisks bool
    Indicates whether encrypt the data disks.
    HardwareProfile Pulumi.AzureNative.HDInsight.Inputs.HardwareProfileResponse
    The hardware profile.
    MinInstanceCount int
    The minimum instance count of the cluster.
    Name string
    The name of the role.
    OsProfile Pulumi.AzureNative.HDInsight.Inputs.OsProfileResponse
    The operating system profile.
    ScriptActions List<Pulumi.AzureNative.HDInsight.Inputs.ScriptActionResponse>
    The list of script actions on the role.
    TargetInstanceCount int
    The instance count of the cluster.
    VMGroupName string
    The name of the virtual machine group.
    VirtualNetworkProfile Pulumi.AzureNative.HDInsight.Inputs.VirtualNetworkProfileResponse
    The virtual network profile.
    AutoscaleConfiguration AutoscaleResponse
    The autoscale configurations.
    DataDisksGroups []DataDisksGroupsResponse
    The data disks groups for the role.
    EncryptDataDisks bool
    Indicates whether encrypt the data disks.
    HardwareProfile HardwareProfileResponse
    The hardware profile.
    MinInstanceCount int
    The minimum instance count of the cluster.
    Name string
    The name of the role.
    OsProfile OsProfileResponse
    The operating system profile.
    ScriptActions []ScriptActionResponse
    The list of script actions on the role.
    TargetInstanceCount int
    The instance count of the cluster.
    VMGroupName string
    The name of the virtual machine group.
    VirtualNetworkProfile VirtualNetworkProfileResponse
    The virtual network profile.
    autoscaleConfiguration AutoscaleResponse
    The autoscale configurations.
    dataDisksGroups List<DataDisksGroupsResponse>
    The data disks groups for the role.
    encryptDataDisks Boolean
    Indicates whether encrypt the data disks.
    hardwareProfile HardwareProfileResponse
    The hardware profile.
    minInstanceCount Integer
    The minimum instance count of the cluster.
    name String
    The name of the role.
    osProfile OsProfileResponse
    The operating system profile.
    scriptActions List<ScriptActionResponse>
    The list of script actions on the role.
    targetInstanceCount Integer
    The instance count of the cluster.
    vMGroupName String
    The name of the virtual machine group.
    virtualNetworkProfile VirtualNetworkProfileResponse
    The virtual network profile.
    autoscaleConfiguration AutoscaleResponse
    The autoscale configurations.
    dataDisksGroups DataDisksGroupsResponse[]
    The data disks groups for the role.
    encryptDataDisks boolean
    Indicates whether encrypt the data disks.
    hardwareProfile HardwareProfileResponse
    The hardware profile.
    minInstanceCount number
    The minimum instance count of the cluster.
    name string
    The name of the role.
    osProfile OsProfileResponse
    The operating system profile.
    scriptActions ScriptActionResponse[]
    The list of script actions on the role.
    targetInstanceCount number
    The instance count of the cluster.
    vMGroupName string
    The name of the virtual machine group.
    virtualNetworkProfile VirtualNetworkProfileResponse
    The virtual network profile.
    autoscale_configuration AutoscaleResponse
    The autoscale configurations.
    data_disks_groups Sequence[DataDisksGroupsResponse]
    The data disks groups for the role.
    encrypt_data_disks bool
    Indicates whether encrypt the data disks.
    hardware_profile HardwareProfileResponse
    The hardware profile.
    min_instance_count int
    The minimum instance count of the cluster.
    name str
    The name of the role.
    os_profile OsProfileResponse
    The operating system profile.
    script_actions Sequence[ScriptActionResponse]
    The list of script actions on the role.
    target_instance_count int
    The instance count of the cluster.
    v_m_group_name str
    The name of the virtual machine group.
    virtual_network_profile VirtualNetworkProfileResponse
    The virtual network profile.
    autoscaleConfiguration Property Map
    The autoscale configurations.
    dataDisksGroups List<Property Map>
    The data disks groups for the role.
    encryptDataDisks Boolean
    Indicates whether encrypt the data disks.
    hardwareProfile Property Map
    The hardware profile.
    minInstanceCount Number
    The minimum instance count of the cluster.
    name String
    The name of the role.
    osProfile Property Map
    The operating system profile.
    scriptActions List<Property Map>
    The list of script actions on the role.
    targetInstanceCount Number
    The instance count of the cluster.
    vMGroupName String
    The name of the virtual machine group.
    virtualNetworkProfile Property Map
    The virtual network profile.

    ScriptAction, ScriptActionArgs

    Name string
    The name of the script action.
    Parameters string
    The parameters for the script provided.
    Uri string
    The URI to the script.
    Name string
    The name of the script action.
    Parameters string
    The parameters for the script provided.
    Uri string
    The URI to the script.
    name String
    The name of the script action.
    parameters String
    The parameters for the script provided.
    uri String
    The URI to the script.
    name string
    The name of the script action.
    parameters string
    The parameters for the script provided.
    uri string
    The URI to the script.
    name str
    The name of the script action.
    parameters str
    The parameters for the script provided.
    uri str
    The URI to the script.
    name String
    The name of the script action.
    parameters String
    The parameters for the script provided.
    uri String
    The URI to the script.

    ScriptActionResponse, ScriptActionResponseArgs

    Name string
    The name of the script action.
    Parameters string
    The parameters for the script provided.
    Uri string
    The URI to the script.
    Name string
    The name of the script action.
    Parameters string
    The parameters for the script provided.
    Uri string
    The URI to the script.
    name String
    The name of the script action.
    parameters String
    The parameters for the script provided.
    uri String
    The URI to the script.
    name string
    The name of the script action.
    parameters string
    The parameters for the script provided.
    uri string
    The URI to the script.
    name str
    The name of the script action.
    parameters str
    The parameters for the script provided.
    uri str
    The URI to the script.
    name String
    The name of the script action.
    parameters String
    The parameters for the script provided.
    uri String
    The URI to the script.

    SecurityProfile, SecurityProfileArgs

    AaddsResourceId string
    The resource ID of the user's Azure Active Directory Domain Service.
    ClusterUsersGroupDNs List<string>
    Optional. The Distinguished Names for cluster user groups
    DirectoryType string | Pulumi.AzureNative.HDInsight.DirectoryType
    The directory type.
    Domain string
    The organization's active directory domain.
    DomainUserPassword string
    The domain admin password.
    DomainUsername string
    The domain user account that will have admin privileges on the cluster.
    LdapsUrls List<string>
    The LDAPS protocol URLs to communicate with the Active Directory.
    MsiResourceId string
    User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
    OrganizationalUnitDN string
    The organizational unit within the Active Directory to place the cluster and service accounts.
    AaddsResourceId string
    The resource ID of the user's Azure Active Directory Domain Service.
    ClusterUsersGroupDNs []string
    Optional. The Distinguished Names for cluster user groups
    DirectoryType string | DirectoryType
    The directory type.
    Domain string
    The organization's active directory domain.
    DomainUserPassword string
    The domain admin password.
    DomainUsername string
    The domain user account that will have admin privileges on the cluster.
    LdapsUrls []string
    The LDAPS protocol URLs to communicate with the Active Directory.
    MsiResourceId string
    User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
    OrganizationalUnitDN string
    The organizational unit within the Active Directory to place the cluster and service accounts.
    aaddsResourceId String
    The resource ID of the user's Azure Active Directory Domain Service.
    clusterUsersGroupDNs List<String>
    Optional. The Distinguished Names for cluster user groups
    directoryType String | DirectoryType
    The directory type.
    domain String
    The organization's active directory domain.
    domainUserPassword String
    The domain admin password.
    domainUsername String
    The domain user account that will have admin privileges on the cluster.
    ldapsUrls List<String>
    The LDAPS protocol URLs to communicate with the Active Directory.
    msiResourceId String
    User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
    organizationalUnitDN String
    The organizational unit within the Active Directory to place the cluster and service accounts.
    aaddsResourceId string
    The resource ID of the user's Azure Active Directory Domain Service.
    clusterUsersGroupDNs string[]
    Optional. The Distinguished Names for cluster user groups
    directoryType string | DirectoryType
    The directory type.
    domain string
    The organization's active directory domain.
    domainUserPassword string
    The domain admin password.
    domainUsername string
    The domain user account that will have admin privileges on the cluster.
    ldapsUrls string[]
    The LDAPS protocol URLs to communicate with the Active Directory.
    msiResourceId string
    User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
    organizationalUnitDN string
    The organizational unit within the Active Directory to place the cluster and service accounts.
    aadds_resource_id str
    The resource ID of the user's Azure Active Directory Domain Service.
    cluster_users_group_dns Sequence[str]
    Optional. The Distinguished Names for cluster user groups
    directory_type str | DirectoryType
    The directory type.
    domain str
    The organization's active directory domain.
    domain_user_password str
    The domain admin password.
    domain_username str
    The domain user account that will have admin privileges on the cluster.
    ldaps_urls Sequence[str]
    The LDAPS protocol URLs to communicate with the Active Directory.
    msi_resource_id str
    User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
    organizational_unit_dn str
    The organizational unit within the Active Directory to place the cluster and service accounts.
    aaddsResourceId String
    The resource ID of the user's Azure Active Directory Domain Service.
    clusterUsersGroupDNs List<String>
    Optional. The Distinguished Names for cluster user groups
    directoryType String | "ActiveDirectory"
    The directory type.
    domain String
    The organization's active directory domain.
    domainUserPassword String
    The domain admin password.
    domainUsername String
    The domain user account that will have admin privileges on the cluster.
    ldapsUrls List<String>
    The LDAPS protocol URLs to communicate with the Active Directory.
    msiResourceId String
    User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
    organizationalUnitDN String
    The organizational unit within the Active Directory to place the cluster and service accounts.

    SecurityProfileResponse, SecurityProfileResponseArgs

    AaddsResourceId string
    The resource ID of the user's Azure Active Directory Domain Service.
    ClusterUsersGroupDNs List<string>
    Optional. The Distinguished Names for cluster user groups
    DirectoryType string
    The directory type.
    Domain string
    The organization's active directory domain.
    DomainUserPassword string
    The domain admin password.
    DomainUsername string
    The domain user account that will have admin privileges on the cluster.
    LdapsUrls List<string>
    The LDAPS protocol URLs to communicate with the Active Directory.
    MsiResourceId string
    User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
    OrganizationalUnitDN string
    The organizational unit within the Active Directory to place the cluster and service accounts.
    AaddsResourceId string
    The resource ID of the user's Azure Active Directory Domain Service.
    ClusterUsersGroupDNs []string
    Optional. The Distinguished Names for cluster user groups
    DirectoryType string
    The directory type.
    Domain string
    The organization's active directory domain.
    DomainUserPassword string
    The domain admin password.
    DomainUsername string
    The domain user account that will have admin privileges on the cluster.
    LdapsUrls []string
    The LDAPS protocol URLs to communicate with the Active Directory.
    MsiResourceId string
    User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
    OrganizationalUnitDN string
    The organizational unit within the Active Directory to place the cluster and service accounts.
    aaddsResourceId String
    The resource ID of the user's Azure Active Directory Domain Service.
    clusterUsersGroupDNs List<String>
    Optional. The Distinguished Names for cluster user groups
    directoryType String
    The directory type.
    domain String
    The organization's active directory domain.
    domainUserPassword String
    The domain admin password.
    domainUsername String
    The domain user account that will have admin privileges on the cluster.
    ldapsUrls List<String>
    The LDAPS protocol URLs to communicate with the Active Directory.
    msiResourceId String
    User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
    organizationalUnitDN String
    The organizational unit within the Active Directory to place the cluster and service accounts.
    aaddsResourceId string
    The resource ID of the user's Azure Active Directory Domain Service.
    clusterUsersGroupDNs string[]
    Optional. The Distinguished Names for cluster user groups
    directoryType string
    The directory type.
    domain string
    The organization's active directory domain.
    domainUserPassword string
    The domain admin password.
    domainUsername string
    The domain user account that will have admin privileges on the cluster.
    ldapsUrls string[]
    The LDAPS protocol URLs to communicate with the Active Directory.
    msiResourceId string
    User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
    organizationalUnitDN string
    The organizational unit within the Active Directory to place the cluster and service accounts.
    aadds_resource_id str
    The resource ID of the user's Azure Active Directory Domain Service.
    cluster_users_group_dns Sequence[str]
    Optional. The Distinguished Names for cluster user groups
    directory_type str
    The directory type.
    domain str
    The organization's active directory domain.
    domain_user_password str
    The domain admin password.
    domain_username str
    The domain user account that will have admin privileges on the cluster.
    ldaps_urls Sequence[str]
    The LDAPS protocol URLs to communicate with the Active Directory.
    msi_resource_id str
    User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
    organizational_unit_dn str
    The organizational unit within the Active Directory to place the cluster and service accounts.
    aaddsResourceId String
    The resource ID of the user's Azure Active Directory Domain Service.
    clusterUsersGroupDNs List<String>
    Optional. The Distinguished Names for cluster user groups
    directoryType String
    The directory type.
    domain String
    The organization's active directory domain.
    domainUserPassword String
    The domain admin password.
    domainUsername String
    The domain user account that will have admin privileges on the cluster.
    ldapsUrls List<String>
    The LDAPS protocol URLs to communicate with the Active Directory.
    msiResourceId String
    User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
    organizationalUnitDN String
    The organizational unit within the Active Directory to place the cluster and service accounts.

    SshProfile, SshProfileArgs

    PublicKeys []SshPublicKey
    The list of SSH public keys.
    publicKeys List<SshPublicKey>
    The list of SSH public keys.
    publicKeys SshPublicKey[]
    The list of SSH public keys.
    public_keys Sequence[SshPublicKey]
    The list of SSH public keys.
    publicKeys List<Property Map>
    The list of SSH public keys.

    SshProfileResponse, SshProfileResponseArgs

    PublicKeys []SshPublicKeyResponse
    The list of SSH public keys.
    publicKeys List<SshPublicKeyResponse>
    The list of SSH public keys.
    publicKeys SshPublicKeyResponse[]
    The list of SSH public keys.
    public_keys Sequence[SshPublicKeyResponse]
    The list of SSH public keys.
    publicKeys List<Property Map>
    The list of SSH public keys.

    SshPublicKey, SshPublicKeyArgs

    CertificateData string
    The certificate for SSH.
    CertificateData string
    The certificate for SSH.
    certificateData String
    The certificate for SSH.
    certificateData string
    The certificate for SSH.
    certificate_data str
    The certificate for SSH.
    certificateData String
    The certificate for SSH.

    SshPublicKeyResponse, SshPublicKeyResponseArgs

    CertificateData string
    The certificate for SSH.
    CertificateData string
    The certificate for SSH.
    certificateData String
    The certificate for SSH.
    certificateData string
    The certificate for SSH.
    certificate_data str
    The certificate for SSH.
    certificateData String
    The certificate for SSH.

    StorageAccount, StorageAccountArgs

    Container string
    The container in the storage account, only to be specified for WASB storage accounts.
    FileSystem string
    The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
    Fileshare string
    The file share name.
    IsDefault bool
    Whether or not the storage account is the default storage account.
    Key string
    The storage account access key.
    MsiResourceId string
    The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
    Name string
    The name of the storage account.
    ResourceId string
    The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
    Saskey string
    The shared access signature key.
    Container string
    The container in the storage account, only to be specified for WASB storage accounts.
    FileSystem string
    The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
    Fileshare string
    The file share name.
    IsDefault bool
    Whether or not the storage account is the default storage account.
    Key string
    The storage account access key.
    MsiResourceId string
    The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
    Name string
    The name of the storage account.
    ResourceId string
    The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
    Saskey string
    The shared access signature key.
    container String
    The container in the storage account, only to be specified for WASB storage accounts.
    fileSystem String
    The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
    fileshare String
    The file share name.
    isDefault Boolean
    Whether or not the storage account is the default storage account.
    key String
    The storage account access key.
    msiResourceId String
    The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
    name String
    The name of the storage account.
    resourceId String
    The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
    saskey String
    The shared access signature key.
    container string
    The container in the storage account, only to be specified for WASB storage accounts.
    fileSystem string
    The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
    fileshare string
    The file share name.
    isDefault boolean
    Whether or not the storage account is the default storage account.
    key string
    The storage account access key.
    msiResourceId string
    The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
    name string
    The name of the storage account.
    resourceId string
    The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
    saskey string
    The shared access signature key.
    container str
    The container in the storage account, only to be specified for WASB storage accounts.
    file_system str
    The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
    fileshare str
    The file share name.
    is_default bool
    Whether or not the storage account is the default storage account.
    key str
    The storage account access key.
    msi_resource_id str
    The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
    name str
    The name of the storage account.
    resource_id str
    The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
    saskey str
    The shared access signature key.
    container String
    The container in the storage account, only to be specified for WASB storage accounts.
    fileSystem String
    The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
    fileshare String
    The file share name.
    isDefault Boolean
    Whether or not the storage account is the default storage account.
    key String
    The storage account access key.
    msiResourceId String
    The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
    name String
    The name of the storage account.
    resourceId String
    The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
    saskey String
    The shared access signature key.

    StorageAccountResponse, StorageAccountResponseArgs

    Container string
    The container in the storage account, only to be specified for WASB storage accounts.
    FileSystem string
    The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
    Fileshare string
    The file share name.
    IsDefault bool
    Whether or not the storage account is the default storage account.
    Key string
    The storage account access key.
    MsiResourceId string
    The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
    Name string
    The name of the storage account.
    ResourceId string
    The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
    Saskey string
    The shared access signature key.
    Container string
    The container in the storage account, only to be specified for WASB storage accounts.
    FileSystem string
    The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
    Fileshare string
    The file share name.
    IsDefault bool
    Whether or not the storage account is the default storage account.
    Key string
    The storage account access key.
    MsiResourceId string
    The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
    Name string
    The name of the storage account.
    ResourceId string
    The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
    Saskey string
    The shared access signature key.
    container String
    The container in the storage account, only to be specified for WASB storage accounts.
    fileSystem String
    The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
    fileshare String
    The file share name.
    isDefault Boolean
    Whether or not the storage account is the default storage account.
    key String
    The storage account access key.
    msiResourceId String
    The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
    name String
    The name of the storage account.
    resourceId String
    The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
    saskey String
    The shared access signature key.
    container string
    The container in the storage account, only to be specified for WASB storage accounts.
    fileSystem string
    The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
    fileshare string
    The file share name.
    isDefault boolean
    Whether or not the storage account is the default storage account.
    key string
    The storage account access key.
    msiResourceId string
    The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
    name string
    The name of the storage account.
    resourceId string
    The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
    saskey string
    The shared access signature key.
    container str
    The container in the storage account, only to be specified for WASB storage accounts.
    file_system str
    The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
    fileshare str
    The file share name.
    is_default bool
    Whether or not the storage account is the default storage account.
    key str
    The storage account access key.
    msi_resource_id str
    The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
    name str
    The name of the storage account.
    resource_id str
    The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
    saskey str
    The shared access signature key.
    container String
    The container in the storage account, only to be specified for WASB storage accounts.
    fileSystem String
    The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
    fileshare String
    The file share name.
    isDefault Boolean
    Whether or not the storage account is the default storage account.
    key String
    The storage account access key.
    msiResourceId String
    The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
    name String
    The name of the storage account.
    resourceId String
    The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
    saskey String
    The shared access signature key.

    StorageProfile, StorageProfileArgs

    Storageaccounts []StorageAccount
    The list of storage accounts in the cluster.
    storageaccounts List<StorageAccount>
    The list of storage accounts in the cluster.
    storageaccounts StorageAccount[]
    The list of storage accounts in the cluster.
    storageaccounts Sequence[StorageAccount]
    The list of storage accounts in the cluster.
    storageaccounts List<Property Map>
    The list of storage accounts in the cluster.

    StorageProfileResponse, StorageProfileResponseArgs

    Storageaccounts []StorageAccountResponse
    The list of storage accounts in the cluster.
    storageaccounts List<StorageAccountResponse>
    The list of storage accounts in the cluster.
    storageaccounts StorageAccountResponse[]
    The list of storage accounts in the cluster.
    storageaccounts Sequence[StorageAccountResponse]
    The list of storage accounts in the cluster.
    storageaccounts List<Property Map>
    The list of storage accounts in the cluster.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Tier, TierArgs

    Standard
    Standard
    Premium
    Premium
    TierStandard
    Standard
    TierPremium
    Premium
    Standard
    Standard
    Premium
    Premium
    Standard
    Standard
    Premium
    Premium
    STANDARD
    Standard
    PREMIUM
    Premium
    "Standard"
    Standard
    "Premium"
    Premium

    UserAssignedIdentity, UserAssignedIdentityArgs

    TenantId string
    The tenant id of user assigned identity.
    TenantId string
    The tenant id of user assigned identity.
    tenantId String
    The tenant id of user assigned identity.
    tenantId string
    The tenant id of user assigned identity.
    tenant_id str
    The tenant id of user assigned identity.
    tenantId String
    The tenant id of user assigned identity.

    UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs

    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    TenantId string
    The tenant id of user assigned identity.
    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    TenantId string
    The tenant id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.
    tenantId String
    The tenant id of user assigned identity.
    clientId string
    The client id of user assigned identity.
    principalId string
    The principal id of user assigned identity.
    tenantId string
    The tenant id of user assigned identity.
    client_id str
    The client id of user assigned identity.
    principal_id str
    The principal id of user assigned identity.
    tenant_id str
    The tenant id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.
    tenantId String
    The tenant id of user assigned identity.

    VirtualNetworkProfile, VirtualNetworkProfileArgs

    Id string
    The ID of the virtual network.
    Subnet string
    The name of the subnet.
    Id string
    The ID of the virtual network.
    Subnet string
    The name of the subnet.
    id String
    The ID of the virtual network.
    subnet String
    The name of the subnet.
    id string
    The ID of the virtual network.
    subnet string
    The name of the subnet.
    id str
    The ID of the virtual network.
    subnet str
    The name of the subnet.
    id String
    The ID of the virtual network.
    subnet String
    The name of the subnet.

    VirtualNetworkProfileResponse, VirtualNetworkProfileResponseArgs

    Id string
    The ID of the virtual network.
    Subnet string
    The name of the subnet.
    Id string
    The ID of the virtual network.
    Subnet string
    The name of the subnet.
    id String
    The ID of the virtual network.
    subnet String
    The name of the subnet.
    id string
    The ID of the virtual network.
    subnet string
    The name of the subnet.
    id str
    The ID of the virtual network.
    subnet str
    The name of the subnet.
    id String
    The ID of the virtual network.
    subnet String
    The name of the subnet.

    Import

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

    $ pulumi import azure-native:hdinsight:Cluster cluster1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName} 
    

    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 v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi