azure-native.hdinsight.Cluster
Explore with Pulumi AI
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 * 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",
});
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")
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 * 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",
    },
});
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",
    })
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 * 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",
    },
});
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",
    })
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 * 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",
    },
});
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",
    })
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 * 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",
});
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")
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 * 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",
    },
});
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",
    })
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 * 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",
    },
});
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",
    })
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 * 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",
});
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")
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 * 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"],
});
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"])
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 * 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",
});
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")
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 * 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",
});
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")
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 * 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",
});
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")
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 * 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",
});
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")
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:
- ResourceGroup stringName 
- The name of the resource group.
- ClusterName string
- The name of the cluster.
- Identity
Pulumi.Azure Native. HDInsight. Inputs. Cluster Identity 
- The identity of the cluster, if configured.
- Location string
- The location of the cluster.
- Properties
Pulumi.Azure Native. HDInsight. Inputs. Cluster Create Properties 
- The cluster create parameters.
- Dictionary<string, string>
- The resource tags.
- Zones List<string>
- The availability zones.
- ResourceGroup stringName 
- The name of the resource group.
- ClusterName string
- The name of the cluster.
- Identity
ClusterIdentity Args 
- The identity of the cluster, if configured.
- Location string
- The location of the cluster.
- Properties
ClusterCreate Properties Args 
- The cluster create parameters.
- map[string]string
- The resource tags.
- Zones []string
- The availability zones.
- resourceGroup StringName 
- 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
ClusterCreate Properties 
- The cluster create parameters.
- Map<String,String>
- The resource tags.
- zones List<String>
- The availability zones.
- resourceGroup stringName 
- 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
ClusterCreate Properties 
- The cluster create parameters.
- {[key: string]: string}
- The resource tags.
- zones string[]
- The availability zones.
- resource_group_ strname 
- The name of the resource group.
- cluster_name str
- The name of the cluster.
- identity
ClusterIdentity Args 
- The identity of the cluster, if configured.
- location str
- The location of the cluster.
- properties
ClusterCreate Properties Args 
- The cluster create parameters.
- Mapping[str, str]
- The resource tags.
- zones Sequence[str]
- The availability zones.
- resourceGroup StringName 
- 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.
- 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.Azure Native. HDInsight. Outputs. System Data Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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
Pulumi.Azure Native. HDInsight. Inputs. Autoscale Capacity 
- Parameters for load-based autoscale
- Recurrence
Pulumi.Azure Native. HDInsight. Inputs. Autoscale Recurrence 
- 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
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    
- MaxInstance intCount 
- The maximum instance count of the cluster
- MinInstance intCount 
- The minimum instance count of the cluster
- MaxInstance intCount 
- The maximum instance count of the cluster
- MinInstance intCount 
- The minimum instance count of the cluster
- maxInstance IntegerCount 
- The maximum instance count of the cluster
- minInstance IntegerCount 
- The minimum instance count of the cluster
- maxInstance numberCount 
- The maximum instance count of the cluster
- minInstance numberCount 
- The minimum instance count of the cluster
- max_instance_ intcount 
- The maximum instance count of the cluster
- min_instance_ intcount 
- The minimum instance count of the cluster
- maxInstance NumberCount 
- The maximum instance count of the cluster
- minInstance NumberCount 
- The minimum instance count of the cluster
AutoscaleCapacityResponse, AutoscaleCapacityResponseArgs      
- MaxInstance intCount 
- The maximum instance count of the cluster
- MinInstance intCount 
- The minimum instance count of the cluster
- MaxInstance intCount 
- The maximum instance count of the cluster
- MinInstance intCount 
- The minimum instance count of the cluster
- maxInstance IntegerCount 
- The maximum instance count of the cluster
- minInstance IntegerCount 
- The minimum instance count of the cluster
- maxInstance numberCount 
- The maximum instance count of the cluster
- minInstance numberCount 
- The minimum instance count of the cluster
- max_instance_ intcount 
- The maximum instance count of the cluster
- min_instance_ intcount 
- The minimum instance count of the cluster
- maxInstance NumberCount 
- The maximum instance count of the cluster
- minInstance NumberCount 
- The minimum instance count of the cluster
AutoscaleRecurrence, AutoscaleRecurrenceArgs    
- Schedule
List<Pulumi.Azure Native. HDInsight. Inputs. Autoscale Schedule> 
- 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.Azure Native. HDInsight. Inputs. Autoscale Schedule Response> 
- Array of schedule-based autoscale rules
- TimeZone string
- The time zone for the autoscale schedule times
- Schedule
[]AutoscaleSchedule Response 
- Array of schedule-based autoscale rules
- TimeZone string
- The time zone for the autoscale schedule times
- schedule
List<AutoscaleSchedule Response> 
- Array of schedule-based autoscale rules
- timeZone String
- The time zone for the autoscale schedule times
- schedule
AutoscaleSchedule Response[] 
- Array of schedule-based autoscale rules
- timeZone string
- The time zone for the autoscale schedule times
- schedule
Sequence[AutoscaleSchedule Response] 
- 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
Pulumi.Azure Native. HDInsight. Inputs. Autoscale Capacity Response 
- Parameters for load-based autoscale
- Recurrence
Pulumi.Azure Native. HDInsight. Inputs. Autoscale Recurrence Response 
- Parameters for schedule-based autoscale
- Capacity
AutoscaleCapacity Response 
- Parameters for load-based autoscale
- Recurrence
AutoscaleRecurrence Response 
- Parameters for schedule-based autoscale
- capacity
AutoscaleCapacity Response 
- Parameters for load-based autoscale
- recurrence
AutoscaleRecurrence Response 
- Parameters for schedule-based autoscale
- capacity
AutoscaleCapacity Response 
- Parameters for load-based autoscale
- recurrence
AutoscaleRecurrence Response 
- Parameters for schedule-based autoscale
- capacity
AutoscaleCapacity Response 
- Parameters for load-based autoscale
- recurrence
AutoscaleRecurrence Response 
- 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.Azure Native. HDInsight. Days Of Week>> 
- Days of the week for a schedule-based autoscale rule
- TimeAnd Pulumi.Capacity Azure Native. HDInsight. Inputs. Autoscale Time And Capacity 
- Time and capacity for a schedule-based autoscale rule
- Days []string
- Days of the week for a schedule-based autoscale rule
- TimeAnd AutoscaleCapacity Time And Capacity 
- Time and capacity for a schedule-based autoscale rule
- days
List<Either<String,DaysOf Week>> 
- Days of the week for a schedule-based autoscale rule
- timeAnd AutoscaleCapacity Time And Capacity 
- Time and capacity for a schedule-based autoscale rule
- days
(string | DaysOf Week)[] 
- Days of the week for a schedule-based autoscale rule
- timeAnd AutoscaleCapacity Time And Capacity 
- Time and capacity for a schedule-based autoscale rule
- days
Sequence[Union[str, DaysOf Week]] 
- Days of the week for a schedule-based autoscale rule
- time_and_ Autoscalecapacity Time And Capacity 
- 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
- timeAnd Property MapCapacity 
- Time and capacity for a schedule-based autoscale rule
AutoscaleScheduleResponse, AutoscaleScheduleResponseArgs      
- Days List<string>
- Days of the week for a schedule-based autoscale rule
- TimeAnd Pulumi.Capacity Azure Native. HDInsight. Inputs. Autoscale Time And Capacity Response 
- Time and capacity for a schedule-based autoscale rule
- Days []string
- Days of the week for a schedule-based autoscale rule
- TimeAnd AutoscaleCapacity Time And Capacity Response 
- Time and capacity for a schedule-based autoscale rule
- days List<String>
- Days of the week for a schedule-based autoscale rule
- timeAnd AutoscaleCapacity Time And Capacity Response 
- Time and capacity for a schedule-based autoscale rule
- days string[]
- Days of the week for a schedule-based autoscale rule
- timeAnd AutoscaleCapacity Time And Capacity Response 
- Time and capacity for a schedule-based autoscale rule
- days Sequence[str]
- Days of the week for a schedule-based autoscale rule
- time_and_ Autoscalecapacity Time And Capacity Response 
- Time and capacity for a schedule-based autoscale rule
- days List<String>
- Days of the week for a schedule-based autoscale rule
- timeAnd Property MapCapacity 
- Time and capacity for a schedule-based autoscale rule
AutoscaleTimeAndCapacity, AutoscaleTimeAndCapacityArgs        
- MaxInstance intCount 
- The maximum instance count of the cluster
- MinInstance intCount 
- The minimum instance count of the cluster
- Time string
- 24-hour time in the form xx:xx
- MaxInstance intCount 
- The maximum instance count of the cluster
- MinInstance intCount 
- The minimum instance count of the cluster
- Time string
- 24-hour time in the form xx:xx
- maxInstance IntegerCount 
- The maximum instance count of the cluster
- minInstance IntegerCount 
- The minimum instance count of the cluster
- time String
- 24-hour time in the form xx:xx
- maxInstance numberCount 
- The maximum instance count of the cluster
- minInstance numberCount 
- The minimum instance count of the cluster
- time string
- 24-hour time in the form xx:xx
- max_instance_ intcount 
- The maximum instance count of the cluster
- min_instance_ intcount 
- The minimum instance count of the cluster
- time str
- 24-hour time in the form xx:xx
- maxInstance NumberCount 
- The maximum instance count of the cluster
- minInstance NumberCount 
- The minimum instance count of the cluster
- time String
- 24-hour time in the form xx:xx
AutoscaleTimeAndCapacityResponse, AutoscaleTimeAndCapacityResponseArgs          
- MaxInstance intCount 
- The maximum instance count of the cluster
- MinInstance intCount 
- The minimum instance count of the cluster
- Time string
- 24-hour time in the form xx:xx
- MaxInstance intCount 
- The maximum instance count of the cluster
- MinInstance intCount 
- The minimum instance count of the cluster
- Time string
- 24-hour time in the form xx:xx
- maxInstance IntegerCount 
- The maximum instance count of the cluster
- minInstance IntegerCount 
- The minimum instance count of the cluster
- time String
- 24-hour time in the form xx:xx
- maxInstance numberCount 
- The maximum instance count of the cluster
- minInstance numberCount 
- The minimum instance count of the cluster
- time string
- 24-hour time in the form xx:xx
- max_instance_ intcount 
- The maximum instance count of the cluster
- min_instance_ intcount 
- The minimum instance count of the cluster
- time str
- 24-hour time in the form xx:xx
- maxInstance NumberCount 
- The maximum instance count of the cluster
- minInstance NumberCount 
- The minimum instance count of the cluster
- time String
- 24-hour time in the form xx:xx
ClientGroupInfo, ClientGroupInfoArgs      
- group_id str
- The AAD security group id.
- group_name str
- The AAD security group name.
ClientGroupInfoResponse, ClientGroupInfoResponseArgs        
- group_id str
- The AAD security group id.
- group_name str
- The AAD security group name.
ClusterCreateProperties, ClusterCreatePropertiesArgs      
- ClusterDefinition Pulumi.Azure Native. HDInsight. Inputs. Cluster Definition 
- The cluster definition.
- ClusterVersion string
- The version of the cluster.
- ComputeIsolation Pulumi.Properties Azure Native. HDInsight. Inputs. Compute Isolation Properties 
- The compute isolation properties.
- ComputeProfile Pulumi.Azure Native. HDInsight. Inputs. Compute Profile 
- The compute profile.
- DiskEncryption Pulumi.Properties Azure Native. HDInsight. Inputs. Disk Encryption Properties 
- The disk encryption properties.
- EncryptionIn Pulumi.Transit Properties Azure Native. HDInsight. Inputs. Encryption In Transit Properties 
- The encryption-in-transit properties.
- KafkaRest Pulumi.Properties Azure Native. HDInsight. Inputs. Kafka Rest Properties 
- The cluster kafka rest proxy configuration.
- MinSupported stringTls Version 
- The minimal supported tls version.
- NetworkProperties Pulumi.Azure Native. HDInsight. Inputs. Network Properties 
- The network properties.
- OsType string | Pulumi.Azure Native. HDInsight. OSType 
- The type of operating system.
- PrivateLink List<Pulumi.Configurations Azure Native. HDInsight. Inputs. Private Link Configuration> 
- The private link configurations.
- SecurityProfile Pulumi.Azure Native. HDInsight. Inputs. Security Profile 
- The security profile.
- StorageProfile Pulumi.Azure Native. HDInsight. Inputs. Storage Profile 
- The storage profile.
- Tier
string | Pulumi.Azure Native. HDInsight. Tier 
- The cluster tier.
- ClusterDefinition ClusterDefinition 
- The cluster definition.
- ClusterVersion string
- The version of the cluster.
- ComputeIsolation ComputeProperties Isolation Properties 
- The compute isolation properties.
- ComputeProfile ComputeProfile 
- The compute profile.
- DiskEncryption DiskProperties Encryption Properties 
- The disk encryption properties.
- EncryptionIn EncryptionTransit Properties In Transit Properties 
- The encryption-in-transit properties.
- KafkaRest KafkaProperties Rest Properties 
- The cluster kafka rest proxy configuration.
- MinSupported stringTls Version 
- The minimal supported tls version.
- NetworkProperties NetworkProperties 
- The network properties.
- OsType string | OSType
- The type of operating system.
- PrivateLink []PrivateConfigurations Link Configuration 
- 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.
- computeIsolation ComputeProperties Isolation Properties 
- The compute isolation properties.
- computeProfile ComputeProfile 
- The compute profile.
- diskEncryption DiskProperties Encryption Properties 
- The disk encryption properties.
- encryptionIn EncryptionTransit Properties In Transit Properties 
- The encryption-in-transit properties.
- kafkaRest KafkaProperties Rest Properties 
- The cluster kafka rest proxy configuration.
- minSupported StringTls Version 
- The minimal supported tls version.
- networkProperties NetworkProperties 
- The network properties.
- osType String | OSType
- The type of operating system.
- privateLink List<PrivateConfigurations Link Configuration> 
- 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.
- computeIsolation ComputeProperties Isolation Properties 
- The compute isolation properties.
- computeProfile ComputeProfile 
- The compute profile.
- diskEncryption DiskProperties Encryption Properties 
- The disk encryption properties.
- encryptionIn EncryptionTransit Properties In Transit Properties 
- The encryption-in-transit properties.
- kafkaRest KafkaProperties Rest Properties 
- The cluster kafka rest proxy configuration.
- minSupported stringTls Version 
- The minimal supported tls version.
- networkProperties NetworkProperties 
- The network properties.
- osType string | OSType
- The type of operating system.
- privateLink PrivateConfigurations Link Configuration[] 
- 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_ Computeproperties Isolation Properties 
- The compute isolation properties.
- compute_profile ComputeProfile 
- The compute profile.
- disk_encryption_ Diskproperties Encryption Properties 
- The disk encryption properties.
- encryption_in_ Encryptiontransit_ properties In Transit Properties 
- The encryption-in-transit properties.
- kafka_rest_ Kafkaproperties Rest Properties 
- The cluster kafka rest proxy configuration.
- min_supported_ strtls_ version 
- The minimal supported tls version.
- network_properties NetworkProperties 
- The network properties.
- os_type str | OSType
- The type of operating system.
- private_link_ Sequence[Privateconfigurations Link Configuration] 
- 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.
- computeIsolation Property MapProperties 
- The compute isolation properties.
- computeProfile Property Map
- The compute profile.
- diskEncryption Property MapProperties 
- The disk encryption properties.
- encryptionIn Property MapTransit Properties 
- The encryption-in-transit properties.
- kafkaRest Property MapProperties 
- The cluster kafka rest proxy configuration.
- minSupported StringTls Version 
- The minimal supported tls version.
- networkProperties Property Map
- The network properties.
- osType String | "Windows" | "Linux"
- The type of operating system.
- privateLink List<Property Map>Configurations 
- 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.Azure Native. HDInsight. Inputs. Cluster Definition Response 
- The cluster definition.
- PrivateEndpoint List<Pulumi.Connections Azure Native. HDInsight. Inputs. Private Endpoint Connection Response> 
- The list of private endpoint connections.
- ClusterHdp stringVersion 
- 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.
- ComputeIsolation Pulumi.Properties Azure Native. HDInsight. Inputs. Compute Isolation Properties Response 
- The compute isolation properties.
- ComputeProfile Pulumi.Azure Native. HDInsight. Inputs. Compute Profile Response 
- The compute profile.
- ConnectivityEndpoints List<Pulumi.Azure Native. HDInsight. Inputs. Connectivity Endpoint Response> 
- The list of connectivity endpoints.
- CreatedDate string
- The date on which the cluster was created.
- DiskEncryption Pulumi.Properties Azure Native. HDInsight. Inputs. Disk Encryption Properties Response 
- The disk encryption properties.
- EncryptionIn Pulumi.Transit Properties Azure Native. HDInsight. Inputs. Encryption In Transit Properties Response 
- The encryption-in-transit properties.
- Errors
List<Pulumi.Azure Native. HDInsight. Inputs. Errors Response> 
- The list of errors.
- ExcludedServices Pulumi.Config Azure Native. HDInsight. Inputs. Excluded Services Config Response 
- The excluded services config.
- KafkaRest Pulumi.Properties Azure Native. HDInsight. Inputs. Kafka Rest Properties Response 
- The cluster kafka rest proxy configuration.
- MinSupported stringTls Version 
- The minimal supported tls version.
- NetworkProperties Pulumi.Azure Native. HDInsight. Inputs. Network Properties Response 
- The network properties.
- OsType string
- The type of operating system.
- PrivateLink List<Pulumi.Configurations Azure Native. HDInsight. Inputs. Private Link Configuration Response> 
- The private link configurations.
- ProvisioningState string
- The provisioning state, which only appears in the response.
- QuotaInfo Pulumi.Azure Native. HDInsight. Inputs. Quota Info Response 
- The quota information.
- SecurityProfile Pulumi.Azure Native. HDInsight. Inputs. Security Profile Response 
- The security profile.
- StorageProfile Pulumi.Azure Native. HDInsight. Inputs. Storage Profile Response 
- The storage profile.
- Tier string
- The cluster tier.
- ClusterDefinition ClusterDefinition Response 
- The cluster definition.
- PrivateEndpoint []PrivateConnections Endpoint Connection Response 
- The list of private endpoint connections.
- ClusterHdp stringVersion 
- 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.
- ComputeIsolation ComputeProperties Isolation Properties Response 
- The compute isolation properties.
- ComputeProfile ComputeProfile Response 
- The compute profile.
- ConnectivityEndpoints []ConnectivityEndpoint Response 
- The list of connectivity endpoints.
- CreatedDate string
- The date on which the cluster was created.
- DiskEncryption DiskProperties Encryption Properties Response 
- The disk encryption properties.
- EncryptionIn EncryptionTransit Properties In Transit Properties Response 
- The encryption-in-transit properties.
- Errors
[]ErrorsResponse 
- The list of errors.
- ExcludedServices ExcludedConfig Services Config Response 
- The excluded services config.
- KafkaRest KafkaProperties Rest Properties Response 
- The cluster kafka rest proxy configuration.
- MinSupported stringTls Version 
- The minimal supported tls version.
- NetworkProperties NetworkProperties Response 
- The network properties.
- OsType string
- The type of operating system.
- PrivateLink []PrivateConfigurations Link Configuration Response 
- The private link configurations.
- ProvisioningState string
- The provisioning state, which only appears in the response.
- QuotaInfo QuotaInfo Response 
- The quota information.
- SecurityProfile SecurityProfile Response 
- The security profile.
- StorageProfile StorageProfile Response 
- The storage profile.
- Tier string
- The cluster tier.
- clusterDefinition ClusterDefinition Response 
- The cluster definition.
- privateEndpoint List<PrivateConnections Endpoint Connection Response> 
- The list of private endpoint connections.
- clusterHdp StringVersion 
- 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.
- computeIsolation ComputeProperties Isolation Properties Response 
- The compute isolation properties.
- computeProfile ComputeProfile Response 
- The compute profile.
- connectivityEndpoints List<ConnectivityEndpoint Response> 
- The list of connectivity endpoints.
- createdDate String
- The date on which the cluster was created.
- diskEncryption DiskProperties Encryption Properties Response 
- The disk encryption properties.
- encryptionIn EncryptionTransit Properties In Transit Properties Response 
- The encryption-in-transit properties.
- errors
List<ErrorsResponse> 
- The list of errors.
- excludedServices ExcludedConfig Services Config Response 
- The excluded services config.
- kafkaRest KafkaProperties Rest Properties Response 
- The cluster kafka rest proxy configuration.
- minSupported StringTls Version 
- The minimal supported tls version.
- networkProperties NetworkProperties Response 
- The network properties.
- osType String
- The type of operating system.
- privateLink List<PrivateConfigurations Link Configuration Response> 
- The private link configurations.
- provisioningState String
- The provisioning state, which only appears in the response.
- quotaInfo QuotaInfo Response 
- The quota information.
- securityProfile SecurityProfile Response 
- The security profile.
- storageProfile StorageProfile Response 
- The storage profile.
- tier String
- The cluster tier.
- clusterDefinition ClusterDefinition Response 
- The cluster definition.
- privateEndpoint PrivateConnections Endpoint Connection Response[] 
- The list of private endpoint connections.
- clusterHdp stringVersion 
- 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.
- computeIsolation ComputeProperties Isolation Properties Response 
- The compute isolation properties.
- computeProfile ComputeProfile Response 
- The compute profile.
- connectivityEndpoints ConnectivityEndpoint Response[] 
- The list of connectivity endpoints.
- createdDate string
- The date on which the cluster was created.
- diskEncryption DiskProperties Encryption Properties Response 
- The disk encryption properties.
- encryptionIn EncryptionTransit Properties In Transit Properties Response 
- The encryption-in-transit properties.
- errors
ErrorsResponse[] 
- The list of errors.
- excludedServices ExcludedConfig Services Config Response 
- The excluded services config.
- kafkaRest KafkaProperties Rest Properties Response 
- The cluster kafka rest proxy configuration.
- minSupported stringTls Version 
- The minimal supported tls version.
- networkProperties NetworkProperties Response 
- The network properties.
- osType string
- The type of operating system.
- privateLink PrivateConfigurations Link Configuration Response[] 
- The private link configurations.
- provisioningState string
- The provisioning state, which only appears in the response.
- quotaInfo QuotaInfo Response 
- The quota information.
- securityProfile SecurityProfile Response 
- The security profile.
- storageProfile StorageProfile Response 
- The storage profile.
- tier string
- The cluster tier.
- cluster_definition ClusterDefinition Response 
- The cluster definition.
- private_endpoint_ Sequence[Privateconnections Endpoint Connection Response] 
- The list of private endpoint connections.
- cluster_hdp_ strversion 
- 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_ Computeproperties Isolation Properties Response 
- The compute isolation properties.
- compute_profile ComputeProfile Response 
- The compute profile.
- connectivity_endpoints Sequence[ConnectivityEndpoint Response] 
- The list of connectivity endpoints.
- created_date str
- The date on which the cluster was created.
- disk_encryption_ Diskproperties Encryption Properties Response 
- The disk encryption properties.
- encryption_in_ Encryptiontransit_ properties In Transit Properties Response 
- The encryption-in-transit properties.
- errors
Sequence[ErrorsResponse] 
- The list of errors.
- excluded_services_ Excludedconfig Services Config Response 
- The excluded services config.
- kafka_rest_ Kafkaproperties Rest Properties Response 
- The cluster kafka rest proxy configuration.
- min_supported_ strtls_ version 
- The minimal supported tls version.
- network_properties NetworkProperties Response 
- The network properties.
- os_type str
- The type of operating system.
- private_link_ Sequence[Privateconfigurations Link Configuration Response] 
- The private link configurations.
- provisioning_state str
- The provisioning state, which only appears in the response.
- quota_info QuotaInfo Response 
- The quota information.
- security_profile SecurityProfile Response 
- The security profile.
- storage_profile StorageProfile Response 
- The storage profile.
- tier str
- The cluster tier.
- clusterDefinition Property Map
- The cluster definition.
- privateEndpoint List<Property Map>Connections 
- The list of private endpoint connections.
- clusterHdp StringVersion 
- 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.
- computeIsolation Property MapProperties 
- 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.
- diskEncryption Property MapProperties 
- The disk encryption properties.
- encryptionIn Property MapTransit Properties 
- The encryption-in-transit properties.
- errors List<Property Map>
- The list of errors.
- excludedServices Property MapConfig 
- The excluded services config.
- kafkaRest Property MapProperties 
- The cluster kafka rest proxy configuration.
- minSupported StringTls Version 
- The minimal supported tls version.
- networkProperties Property Map
- The network properties.
- osType String
- The type of operating system.
- privateLink List<Property Map>Configurations 
- 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.Azure Native. HDInsight. Resource Identity Type 
- 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.
- UserAssigned Dictionary<string, Pulumi.Identities Azure Native. HDInsight. Inputs. User Assigned Identity> 
- 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 | ResourceIdentity Type 
- 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.
- UserAssigned map[string]UserIdentities Assigned Identity 
- 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 | ResourceIdentity Type 
- 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.
- userAssigned Map<String,UserIdentities Assigned Identity> 
- 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 | ResourceIdentity Type 
- 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.
- userAssigned {[key: string]: UserIdentities Assigned Identity} 
- 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 | ResourceIdentity Type 
- 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_ Mapping[str, Useridentities Assigned Identity] 
- 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" | "User Assigned" | "System Assigned, User Assigned" | "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.
- userAssigned Map<Property Map>Identities 
- 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.
- UserAssigned Dictionary<string, Pulumi.Identities Azure Native. HDInsight. Inputs. User Assigned Identity Response> 
- 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.
- UserAssigned map[string]UserIdentities Assigned Identity Response 
- 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.
- userAssigned Map<String,UserIdentities Assigned Identity Response> 
- 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.
- userAssigned {[key: string]: UserIdentities Assigned Identity Response} 
- 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_ Mapping[str, Useridentities Assigned Identity Response] 
- 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.
- userAssigned Map<Property Map>Identities 
- 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      
- EnableCompute boolIsolation 
- The flag indicates whether enable compute isolation or not.
- HostSku string
- The host sku.
- EnableCompute boolIsolation 
- The flag indicates whether enable compute isolation or not.
- HostSku string
- The host sku.
- enableCompute BooleanIsolation 
- The flag indicates whether enable compute isolation or not.
- hostSku String
- The host sku.
- enableCompute booleanIsolation 
- The flag indicates whether enable compute isolation or not.
- hostSku string
- The host sku.
- enable_compute_ boolisolation 
- The flag indicates whether enable compute isolation or not.
- host_sku str
- The host sku.
- enableCompute BooleanIsolation 
- The flag indicates whether enable compute isolation or not.
- hostSku String
- The host sku.
ComputeIsolationPropertiesResponse, ComputeIsolationPropertiesResponseArgs        
- EnableCompute boolIsolation 
- The flag indicates whether enable compute isolation or not.
- HostSku string
- The host sku.
- EnableCompute boolIsolation 
- The flag indicates whether enable compute isolation or not.
- HostSku string
- The host sku.
- enableCompute BooleanIsolation 
- The flag indicates whether enable compute isolation or not.
- hostSku String
- The host sku.
- enableCompute booleanIsolation 
- The flag indicates whether enable compute isolation or not.
- hostSku string
- The host sku.
- enable_compute_ boolisolation 
- The flag indicates whether enable compute isolation or not.
- host_sku str
- The host sku.
- enableCompute BooleanIsolation 
- The flag indicates whether enable compute isolation or not.
- hostSku String
- The host sku.
ComputeProfile, ComputeProfileArgs    
- Roles
List<Pulumi.Azure Native. HDInsight. Inputs. Role> 
- The list of roles in the cluster.
- roles List<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
List<Pulumi.Azure Native. HDInsight. Inputs. Role Response> 
- The list of roles in the cluster.
- 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_ straddress 
- 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      
- DisksPer intNode 
- The number of disks per node.
- DisksPer intNode 
- The number of disks per node.
- disksPer IntegerNode 
- The number of disks per node.
- disksPer numberNode 
- The number of disks per node.
- disks_per_ intnode 
- The number of disks per node.
- disksPer NumberNode 
- The number of disks per node.
DataDisksGroupsResponse, DataDisksGroupsResponseArgs        
- DiskSize intGB 
- ReadOnly. The DiskSize in GB. Do not set this value.
- StorageAccount stringType 
- ReadOnly. The storage account type. Do not set this value.
- DisksPer intNode 
- The number of disks per node.
- DiskSize intGB 
- ReadOnly. The DiskSize in GB. Do not set this value.
- StorageAccount stringType 
- ReadOnly. The storage account type. Do not set this value.
- DisksPer intNode 
- The number of disks per node.
- diskSize IntegerGB 
- ReadOnly. The DiskSize in GB. Do not set this value.
- storageAccount StringType 
- ReadOnly. The storage account type. Do not set this value.
- disksPer IntegerNode 
- The number of disks per node.
- diskSize numberGB 
- ReadOnly. The DiskSize in GB. Do not set this value.
- storageAccount stringType 
- ReadOnly. The storage account type. Do not set this value.
- disksPer numberNode 
- The number of disks per node.
- disk_size_ intgb 
- ReadOnly. The DiskSize in GB. Do not set this value.
- storage_account_ strtype 
- ReadOnly. The storage account type. Do not set this value.
- disks_per_ intnode 
- The number of disks per node.
- diskSize NumberGB 
- ReadOnly. The DiskSize in GB. Do not set this value.
- storageAccount StringType 
- ReadOnly. The storage account type. Do not set this value.
- disksPer NumberNode 
- The number of disks per node.
DaysOfWeek, DaysOfWeekArgs      
- Monday
- Monday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Thursday
- Thursday
- Friday
- Friday
- Saturday
- Saturday
- Sunday
- Sunday
- DaysOf Week Monday 
- Monday
- DaysOf Week Tuesday 
- Tuesday
- DaysOf Week Wednesday 
- Wednesday
- DaysOf Week Thursday 
- Thursday
- DaysOf Week Friday 
- Friday
- DaysOf Week Saturday 
- Saturday
- DaysOf Week 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
- "Monday"
- Monday
- "Tuesday"
- Tuesday
- "Wednesday"
- Wednesday
- "Thursday"
- Thursday
- "Friday"
- Friday
- "Saturday"
- Saturday
- "Sunday"
- Sunday
DirectoryType, DirectoryTypeArgs    
- ActiveDirectory 
- ActiveDirectory
- DirectoryType Active Directory 
- ActiveDirectory
- ActiveDirectory 
- ActiveDirectory
- ActiveDirectory 
- ActiveDirectory
- ACTIVE_DIRECTORY
- ActiveDirectory
- "ActiveDirectory" 
- ActiveDirectory
DiskEncryptionProperties, DiskEncryptionPropertiesArgs      
- EncryptionAlgorithm string | Pulumi.Azure Native. HDInsight. Json Web Key Encryption Algorithm 
- Algorithm identifier for encryption, default RSA-OAEP.
- EncryptionAt boolHost 
- 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.
- MsiResource stringId 
- 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 | JsonWeb Key Encryption Algorithm 
- Algorithm identifier for encryption, default RSA-OAEP.
- EncryptionAt boolHost 
- 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.
- MsiResource stringId 
- 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 | JsonWeb Key Encryption Algorithm 
- Algorithm identifier for encryption, default RSA-OAEP.
- encryptionAt BooleanHost 
- 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.
- msiResource StringId 
- 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 | JsonWeb Key Encryption Algorithm 
- Algorithm identifier for encryption, default RSA-OAEP.
- encryptionAt booleanHost 
- 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.
- msiResource stringId 
- 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 | JsonWeb Key Encryption Algorithm 
- Algorithm identifier for encryption, default RSA-OAEP.
- encryption_at_ boolhost 
- 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_ strid 
- 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.
- encryptionAt BooleanHost 
- 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.
- msiResource StringId 
- 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.
- EncryptionAt boolHost 
- 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.
- MsiResource stringId 
- 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.
- EncryptionAt boolHost 
- 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.
- MsiResource stringId 
- 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.
- encryptionAt BooleanHost 
- 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.
- msiResource StringId 
- 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.
- encryptionAt booleanHost 
- 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.
- msiResource stringId 
- 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_ boolhost 
- 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_ strid 
- 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.
- encryptionAt BooleanHost 
- 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.
- msiResource StringId 
- 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        
- IsEncryption boolIn Transit Enabled 
- Indicates whether or not inter cluster node communication is encrypted in transit.
- IsEncryption boolIn Transit Enabled 
- Indicates whether or not inter cluster node communication is encrypted in transit.
- isEncryption BooleanIn Transit Enabled 
- Indicates whether or not inter cluster node communication is encrypted in transit.
- isEncryption booleanIn Transit Enabled 
- Indicates whether or not inter cluster node communication is encrypted in transit.
- is_encryption_ boolin_ transit_ enabled 
- Indicates whether or not inter cluster node communication is encrypted in transit.
- isEncryption BooleanIn Transit Enabled 
- Indicates whether or not inter cluster node communication is encrypted in transit.
EncryptionInTransitPropertiesResponse, EncryptionInTransitPropertiesResponseArgs          
- IsEncryption boolIn Transit Enabled 
- Indicates whether or not inter cluster node communication is encrypted in transit.
- IsEncryption boolIn Transit Enabled 
- Indicates whether or not inter cluster node communication is encrypted in transit.
- isEncryption BooleanIn Transit Enabled 
- Indicates whether or not inter cluster node communication is encrypted in transit.
- isEncryption booleanIn Transit Enabled 
- Indicates whether or not inter cluster node communication is encrypted in transit.
- is_encryption_ boolin_ transit_ enabled 
- Indicates whether or not inter cluster node communication is encrypted in transit.
- isEncryption BooleanIn Transit Enabled 
- Indicates whether or not inter cluster node communication is encrypted in transit.
ErrorsResponse, ErrorsResponseArgs    
ExcludedServicesConfigResponse, ExcludedServicesConfigResponseArgs        
- ExcludedServices stringConfig Id 
- The config id of excluded services.
- ExcludedServices stringList 
- The list of excluded services.
- ExcludedServices stringConfig Id 
- The config id of excluded services.
- ExcludedServices stringList 
- The list of excluded services.
- excludedServices StringConfig Id 
- The config id of excluded services.
- excludedServices StringList 
- The list of excluded services.
- excludedServices stringConfig Id 
- The config id of excluded services.
- excludedServices stringList 
- The list of excluded services.
- excluded_services_ strconfig_ id 
- The config id of excluded services.
- excluded_services_ strlist 
- The list of excluded services.
- excludedServices StringConfig Id 
- The config id of excluded services.
- excludedServices StringList 
- 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.
- PrivateIPAllocation string | Pulumi.Method Azure Native. HDInsight. Private IPAllocation Method 
- The method that private IP address is allocated.
- Subnet
Pulumi.Azure Native. HDInsight. Inputs. Resource Id 
- 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.
- PrivateIPAllocation string | PrivateMethod IPAllocation Method 
- 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.
- privateIPAllocation String | PrivateMethod IPAllocation Method 
- 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.
- privateIPAllocation string | PrivateMethod IPAllocation Method 
- 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_ straddress 
- The IP address.
- private_ip_ str | Privateallocation_ method IPAllocation Method 
- 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.
- privateIPAllocation String | "dynamic" | "static"Method 
- 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.
- PrivateIPAllocation stringMethod 
- The method that private IP address is allocated.
- Subnet
Pulumi.Azure Native. HDInsight. Inputs. Resource Id Response 
- 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.
- PrivateIPAllocation stringMethod 
- The method that private IP address is allocated.
- Subnet
ResourceId Response 
- 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.
- privateIPAllocation StringMethod 
- The method that private IP address is allocated.
- subnet
ResourceId Response 
- 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.
- privateIPAllocation stringMethod 
- The method that private IP address is allocated.
- subnet
ResourceId Response 
- 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_ straddress 
- The IP address.
- private_ip_ strallocation_ method 
- The method that private IP address is allocated.
- subnet
ResourceId Response 
- 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.
- privateIPAllocation StringMethod 
- 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
- JsonWeb Key Encryption Algorithm_RSA_OAEP 
- RSA-OAEP
- JsonWeb Key Encryption Algorithm_RSA_OAEP_256 
- RSA-OAEP-256
- JsonWeb Key Encryption Algorithm_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      
- ClientGroup Pulumi.Info Azure Native. HDInsight. Inputs. Client Group Info 
- The information of AAD security group.
- ConfigurationOverride Dictionary<string, string>
- The configurations that need to be overriden.
- ClientGroup ClientInfo Group Info 
- The information of AAD security group.
- ConfigurationOverride map[string]string
- The configurations that need to be overriden.
- clientGroup ClientInfo Group Info 
- The information of AAD security group.
- configurationOverride Map<String,String>
- The configurations that need to be overriden.
- clientGroup ClientInfo Group Info 
- The information of AAD security group.
- configurationOverride {[key: string]: string}
- The configurations that need to be overriden.
- client_group_ Clientinfo Group Info 
- The information of AAD security group.
- configuration_override Mapping[str, str]
- The configurations that need to be overriden.
- clientGroup Property MapInfo 
- The information of AAD security group.
- configurationOverride Map<String>
- The configurations that need to be overriden.
KafkaRestPropertiesResponse, KafkaRestPropertiesResponseArgs        
- ClientGroup Pulumi.Info Azure Native. HDInsight. Inputs. Client Group Info Response 
- The information of AAD security group.
- ConfigurationOverride Dictionary<string, string>
- The configurations that need to be overriden.
- ClientGroup ClientInfo Group Info Response 
- The information of AAD security group.
- ConfigurationOverride map[string]string
- The configurations that need to be overriden.
- clientGroup ClientInfo Group Info Response 
- The information of AAD security group.
- configurationOverride Map<String,String>
- The configurations that need to be overriden.
- clientGroup ClientInfo Group Info Response 
- The information of AAD security group.
- configurationOverride {[key: string]: string}
- The configurations that need to be overriden.
- client_group_ Clientinfo Group Info Response 
- The information of AAD security group.
- configuration_override Mapping[str, str]
- The configurations that need to be overriden.
- clientGroup Property MapInfo 
- The information of AAD security group.
- configurationOverride Map<String>
- The configurations that need to be overriden.
LinuxOperatingSystemProfile, LinuxOperatingSystemProfileArgs        
- Password string
- The password.
- SshProfile Pulumi.Azure Native. HDInsight. Inputs. Ssh Profile 
- 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.Azure Native. HDInsight. Inputs. Ssh Profile Response 
- The SSH profile.
- Username string
- The username.
- Password string
- The password.
- SshProfile SshProfile Response 
- The SSH profile.
- Username string
- The username.
- password String
- The password.
- sshProfile SshProfile Response 
- The SSH profile.
- username String
- The username.
- password string
- The password.
- sshProfile SshProfile Response 
- The SSH profile.
- username string
- The username.
- password str
- The password.
- ssh_profile SshProfile Response 
- 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.Azure Native. HDInsight. Private Link 
- Indicates whether or not private link is enabled.
- ResourceProvider string | Pulumi.Connection Azure Native. HDInsight. Resource Provider Connection 
- The direction for the resource provider connection.
- PrivateLink string | PrivateLink 
- Indicates whether or not private link is enabled.
- ResourceProvider string | ResourceConnection Provider Connection 
- The direction for the resource provider connection.
- privateLink String | PrivateLink 
- Indicates whether or not private link is enabled.
- resourceProvider String | ResourceConnection Provider Connection 
- The direction for the resource provider connection.
- privateLink string | PrivateLink 
- Indicates whether or not private link is enabled.
- resourceProvider string | ResourceConnection Provider Connection 
- The direction for the resource provider connection.
- private_link str | PrivateLink 
- Indicates whether or not private link is enabled.
- resource_provider_ str | Resourceconnection Provider Connection 
- The direction for the resource provider connection.
- privateLink String | "Disabled" | "Enabled"
- Indicates whether or not private link is enabled.
- resourceProvider String | "Inbound" | "Outbound"Connection 
- The direction for the resource provider connection.
NetworkPropertiesResponse, NetworkPropertiesResponseArgs      
- PrivateLink string
- Indicates whether or not private link is enabled.
- ResourceProvider stringConnection 
- The direction for the resource provider connection.
- PrivateLink string
- Indicates whether or not private link is enabled.
- ResourceProvider stringConnection 
- The direction for the resource provider connection.
- privateLink String
- Indicates whether or not private link is enabled.
- resourceProvider StringConnection 
- The direction for the resource provider connection.
- privateLink string
- Indicates whether or not private link is enabled.
- resourceProvider stringConnection 
- The direction for the resource provider connection.
- private_link str
- Indicates whether or not private link is enabled.
- resource_provider_ strconnection 
- The direction for the resource provider connection.
- privateLink String
- Indicates whether or not private link is enabled.
- resourceProvider StringConnection 
- 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    
- LinuxOperating LinuxSystem Profile Operating System Profile 
- The Linux OS profile.
- linuxOperating LinuxSystem Profile Operating System Profile 
- The Linux OS profile.
- linuxOperating LinuxSystem Profile Operating System Profile 
- The Linux OS profile.
- linux_operating_ Linuxsystem_ profile Operating System Profile 
- The Linux OS profile.
- linuxOperating Property MapSystem Profile 
- The Linux OS profile.
OsProfileResponse, OsProfileResponseArgs      
- LinuxOperating LinuxSystem Profile Operating System Profile Response 
- The Linux OS profile.
- linuxOperating LinuxSystem Profile Operating System Profile Response 
- The Linux OS profile.
- linuxOperating LinuxSystem Profile Operating System Profile Response 
- The Linux OS profile.
- linux_operating_ Linuxsystem_ profile Operating System Profile Response 
- The Linux OS profile.
- linuxOperating Property MapSystem Profile 
- The Linux OS profile.
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.Azure Native. HDInsight. Inputs. Private Endpoint Response 
- The private endpoint of the private endpoint connection
- PrivateLink Pulumi.Service Connection State Azure Native. HDInsight. Inputs. Private Link Service Connection State Response 
- The private link service connection state.
- ProvisioningState string
- The provisioning state, which only appears in the response.
- SystemData Pulumi.Azure Native. HDInsight. Inputs. System Data Response 
- 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 PrivateEndpoint Response 
- The private endpoint of the private endpoint connection
- PrivateLink PrivateService Connection State Link Service Connection State Response 
- The private link service connection state.
- ProvisioningState string
- The provisioning state, which only appears in the response.
- SystemData SystemData Response 
- 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 PrivateEndpoint Response 
- The private endpoint of the private endpoint connection
- privateLink PrivateService Connection State Link Service Connection State Response 
- The private link service connection state.
- provisioningState String
- The provisioning state, which only appears in the response.
- systemData SystemData Response 
- 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 PrivateEndpoint Response 
- The private endpoint of the private endpoint connection
- privateLink PrivateService Connection State Link Service Connection State Response 
- The private link service connection state.
- provisioningState string
- The provisioning state, which only appears in the response.
- systemData SystemData Response 
- 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 PrivateEndpoint Response 
- The private endpoint of the private endpoint connection
- private_link_ Privateservice_ connection_ state Link Service Connection State Response 
- The private link service connection state.
- provisioning_state str
- The provisioning state, which only appears in the response.
- system_data SystemData Response 
- 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
- privateLink Property MapService Connection State 
- 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
- PrivateIPAllocation Method Dynamic 
- dynamic
- PrivateIPAllocation Method Static 
- static
- Dynamic
- dynamic
- Static_
- static
- Dynamic
- dynamic
- Static
- static
- DYNAMIC
- dynamic
- STATIC
- static
- "dynamic"
- dynamic
- "static"
- static
PrivateLink, PrivateLinkArgs    
- Disabled
- Disabled
- Enabled
- Enabled
- PrivateLink Disabled 
- Disabled
- PrivateLink Enabled 
- 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.Azure Native. 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.Azure Native. HDInsight. Inputs. IPConfiguration Response> 
- 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_User Assigned 
- SystemAssigned, UserAssigned
- None
- None
- ResourceIdentity Type System Assigned 
- SystemAssigned
- ResourceIdentity Type User Assigned 
- UserAssigned
- ResourceIdentity Type_System Assigned_User Assigned 
- SystemAssigned, UserAssigned
- ResourceIdentity Type None 
- None
- SystemAssigned 
- SystemAssigned
- UserAssigned 
- UserAssigned
- SystemAssigned_User Assigned 
- SystemAssigned, UserAssigned
- None
- None
- SystemAssigned 
- SystemAssigned
- UserAssigned 
- UserAssigned
- SystemAssigned_User Assigned 
- SystemAssigned, UserAssigned
- None
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned, UserAssigned
- NONE
- None
- "SystemAssigned" 
- SystemAssigned
- "UserAssigned" 
- UserAssigned
- "SystemAssigned, User Assigned" 
- SystemAssigned, UserAssigned
- "None"
- None
ResourceProviderConnection, ResourceProviderConnectionArgs      
- Inbound
- Inbound
- Outbound
- Outbound
- ResourceProvider Connection Inbound 
- Inbound
- ResourceProvider Connection Outbound 
- Outbound
- Inbound
- Inbound
- Outbound
- Outbound
- Inbound
- Inbound
- Outbound
- Outbound
- INBOUND
- Inbound
- OUTBOUND
- Outbound
- "Inbound"
- Inbound
- "Outbound"
- Outbound
Role, RoleArgs  
- AutoscaleConfiguration Pulumi.Azure Native. HDInsight. Inputs. Autoscale 
- The autoscale configurations.
- DataDisks List<Pulumi.Groups Azure Native. HDInsight. Inputs. Data Disks Groups> 
- The data disks groups for the role.
- EncryptData boolDisks 
- Indicates whether encrypt the data disks.
- HardwareProfile Pulumi.Azure Native. HDInsight. Inputs. Hardware Profile 
- The hardware profile.
- MinInstance intCount 
- The minimum instance count of the cluster.
- Name string
- The name of the role.
- OsProfile Pulumi.Azure Native. HDInsight. Inputs. Os Profile 
- The operating system profile.
- ScriptActions List<Pulumi.Azure Native. HDInsight. Inputs. Script Action> 
- The list of script actions on the role.
- TargetInstance intCount 
- The instance count of the cluster.
- VMGroupName string
- The name of the virtual machine group.
- VirtualNetwork Pulumi.Profile Azure Native. HDInsight. Inputs. Virtual Network Profile 
- The virtual network profile.
- AutoscaleConfiguration Autoscale
- The autoscale configurations.
- DataDisks []DataGroups Disks Groups 
- The data disks groups for the role.
- EncryptData boolDisks 
- Indicates whether encrypt the data disks.
- HardwareProfile HardwareProfile 
- The hardware profile.
- MinInstance intCount 
- 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.
- TargetInstance intCount 
- The instance count of the cluster.
- VMGroupName string
- The name of the virtual machine group.
- VirtualNetwork VirtualProfile Network Profile 
- The virtual network profile.
- autoscaleConfiguration Autoscale
- The autoscale configurations.
- dataDisks List<DataGroups Disks Groups> 
- The data disks groups for the role.
- encryptData BooleanDisks 
- Indicates whether encrypt the data disks.
- hardwareProfile HardwareProfile 
- The hardware profile.
- minInstance IntegerCount 
- 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.
- targetInstance IntegerCount 
- The instance count of the cluster.
- vMGroup StringName 
- The name of the virtual machine group.
- virtualNetwork VirtualProfile Network Profile 
- The virtual network profile.
- autoscaleConfiguration Autoscale
- The autoscale configurations.
- dataDisks DataGroups Disks Groups[] 
- The data disks groups for the role.
- encryptData booleanDisks 
- Indicates whether encrypt the data disks.
- hardwareProfile HardwareProfile 
- The hardware profile.
- minInstance numberCount 
- 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.
- targetInstance numberCount 
- The instance count of the cluster.
- vMGroup stringName 
- The name of the virtual machine group.
- virtualNetwork VirtualProfile Network Profile 
- The virtual network profile.
- autoscale_configuration Autoscale
- The autoscale configurations.
- data_disks_ Sequence[Datagroups Disks Groups] 
- The data disks groups for the role.
- encrypt_data_ booldisks 
- Indicates whether encrypt the data disks.
- hardware_profile HardwareProfile 
- The hardware profile.
- min_instance_ intcount 
- 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_ intcount 
- The instance count of the cluster.
- v_m_ strgroup_ name 
- The name of the virtual machine group.
- virtual_network_ Virtualprofile Network Profile 
- The virtual network profile.
- autoscaleConfiguration Property Map
- The autoscale configurations.
- dataDisks List<Property Map>Groups 
- The data disks groups for the role.
- encryptData BooleanDisks 
- Indicates whether encrypt the data disks.
- hardwareProfile Property Map
- The hardware profile.
- minInstance NumberCount 
- 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.
- targetInstance NumberCount 
- The instance count of the cluster.
- vMGroup StringName 
- The name of the virtual machine group.
- virtualNetwork Property MapProfile 
- The virtual network profile.
RoleResponse, RoleResponseArgs    
- AutoscaleConfiguration Pulumi.Azure Native. HDInsight. Inputs. Autoscale Response 
- The autoscale configurations.
- DataDisks List<Pulumi.Groups Azure Native. HDInsight. Inputs. Data Disks Groups Response> 
- The data disks groups for the role.
- EncryptData boolDisks 
- Indicates whether encrypt the data disks.
- HardwareProfile Pulumi.Azure Native. HDInsight. Inputs. Hardware Profile Response 
- The hardware profile.
- MinInstance intCount 
- The minimum instance count of the cluster.
- Name string
- The name of the role.
- OsProfile Pulumi.Azure Native. HDInsight. Inputs. Os Profile Response 
- The operating system profile.
- ScriptActions List<Pulumi.Azure Native. HDInsight. Inputs. Script Action Response> 
- The list of script actions on the role.
- TargetInstance intCount 
- The instance count of the cluster.
- VMGroupName string
- The name of the virtual machine group.
- VirtualNetwork Pulumi.Profile Azure Native. HDInsight. Inputs. Virtual Network Profile Response 
- The virtual network profile.
- AutoscaleConfiguration AutoscaleResponse 
- The autoscale configurations.
- DataDisks []DataGroups Disks Groups Response 
- The data disks groups for the role.
- EncryptData boolDisks 
- Indicates whether encrypt the data disks.
- HardwareProfile HardwareProfile Response 
- The hardware profile.
- MinInstance intCount 
- The minimum instance count of the cluster.
- Name string
- The name of the role.
- OsProfile OsProfile Response 
- The operating system profile.
- ScriptActions []ScriptAction Response 
- The list of script actions on the role.
- TargetInstance intCount 
- The instance count of the cluster.
- VMGroupName string
- The name of the virtual machine group.
- VirtualNetwork VirtualProfile Network Profile Response 
- The virtual network profile.
- autoscaleConfiguration AutoscaleResponse 
- The autoscale configurations.
- dataDisks List<DataGroups Disks Groups Response> 
- The data disks groups for the role.
- encryptData BooleanDisks 
- Indicates whether encrypt the data disks.
- hardwareProfile HardwareProfile Response 
- The hardware profile.
- minInstance IntegerCount 
- The minimum instance count of the cluster.
- name String
- The name of the role.
- osProfile OsProfile Response 
- The operating system profile.
- scriptActions List<ScriptAction Response> 
- The list of script actions on the role.
- targetInstance IntegerCount 
- The instance count of the cluster.
- vMGroup StringName 
- The name of the virtual machine group.
- virtualNetwork VirtualProfile Network Profile Response 
- The virtual network profile.
- autoscaleConfiguration AutoscaleResponse 
- The autoscale configurations.
- dataDisks DataGroups Disks Groups Response[] 
- The data disks groups for the role.
- encryptData booleanDisks 
- Indicates whether encrypt the data disks.
- hardwareProfile HardwareProfile Response 
- The hardware profile.
- minInstance numberCount 
- The minimum instance count of the cluster.
- name string
- The name of the role.
- osProfile OsProfile Response 
- The operating system profile.
- scriptActions ScriptAction Response[] 
- The list of script actions on the role.
- targetInstance numberCount 
- The instance count of the cluster.
- vMGroup stringName 
- The name of the virtual machine group.
- virtualNetwork VirtualProfile Network Profile Response 
- The virtual network profile.
- autoscale_configuration AutoscaleResponse 
- The autoscale configurations.
- data_disks_ Sequence[Datagroups Disks Groups Response] 
- The data disks groups for the role.
- encrypt_data_ booldisks 
- Indicates whether encrypt the data disks.
- hardware_profile HardwareProfile Response 
- The hardware profile.
- min_instance_ intcount 
- The minimum instance count of the cluster.
- name str
- The name of the role.
- os_profile OsProfile Response 
- The operating system profile.
- script_actions Sequence[ScriptAction Response] 
- The list of script actions on the role.
- target_instance_ intcount 
- The instance count of the cluster.
- v_m_ strgroup_ name 
- The name of the virtual machine group.
- virtual_network_ Virtualprofile Network Profile Response 
- The virtual network profile.
- autoscaleConfiguration Property Map
- The autoscale configurations.
- dataDisks List<Property Map>Groups 
- The data disks groups for the role.
- encryptData BooleanDisks 
- Indicates whether encrypt the data disks.
- hardwareProfile Property Map
- The hardware profile.
- minInstance NumberCount 
- 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.
- targetInstance NumberCount 
- The instance count of the cluster.
- vMGroup StringName 
- The name of the virtual machine group.
- virtualNetwork Property MapProfile 
- 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    
- AaddsResource stringId 
- The resource ID of the user's Azure Active Directory Domain Service.
- ClusterUsers List<string>Group DNs 
- Optional. The Distinguished Names for cluster user groups
- DirectoryType string | Pulumi.Azure Native. HDInsight. Directory Type 
- The directory type.
- Domain string
- The organization's active directory domain.
- DomainUser stringPassword 
- 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.
- MsiResource stringId 
- User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- OrganizationalUnit stringDN 
- The organizational unit within the Active Directory to place the cluster and service accounts.
- AaddsResource stringId 
- The resource ID of the user's Azure Active Directory Domain Service.
- ClusterUsers []stringGroup DNs 
- Optional. The Distinguished Names for cluster user groups
- DirectoryType string | DirectoryType 
- The directory type.
- Domain string
- The organization's active directory domain.
- DomainUser stringPassword 
- 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.
- MsiResource stringId 
- User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- OrganizationalUnit stringDN 
- The organizational unit within the Active Directory to place the cluster and service accounts.
- aaddsResource StringId 
- The resource ID of the user's Azure Active Directory Domain Service.
- clusterUsers List<String>Group DNs 
- Optional. The Distinguished Names for cluster user groups
- directoryType String | DirectoryType 
- The directory type.
- domain String
- The organization's active directory domain.
- domainUser StringPassword 
- 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.
- msiResource StringId 
- User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- organizationalUnit StringDN 
- The organizational unit within the Active Directory to place the cluster and service accounts.
- aaddsResource stringId 
- The resource ID of the user's Azure Active Directory Domain Service.
- clusterUsers string[]Group DNs 
- Optional. The Distinguished Names for cluster user groups
- directoryType string | DirectoryType 
- The directory type.
- domain string
- The organization's active directory domain.
- domainUser stringPassword 
- 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.
- msiResource stringId 
- User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- organizationalUnit stringDN 
- The organizational unit within the Active Directory to place the cluster and service accounts.
- aadds_resource_ strid 
- The resource ID of the user's Azure Active Directory Domain Service.
- cluster_users_ Sequence[str]group_ dns 
- 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_ strpassword 
- 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_ strid 
- User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- organizational_unit_ strdn 
- The organizational unit within the Active Directory to place the cluster and service accounts.
- aaddsResource StringId 
- The resource ID of the user's Azure Active Directory Domain Service.
- clusterUsers List<String>Group DNs 
- Optional. The Distinguished Names for cluster user groups
- directoryType String | "ActiveDirectory" 
- The directory type.
- domain String
- The organization's active directory domain.
- domainUser StringPassword 
- 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.
- msiResource StringId 
- User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- organizationalUnit StringDN 
- The organizational unit within the Active Directory to place the cluster and service accounts.
SecurityProfileResponse, SecurityProfileResponseArgs      
- AaddsResource stringId 
- The resource ID of the user's Azure Active Directory Domain Service.
- ClusterUsers List<string>Group DNs 
- Optional. The Distinguished Names for cluster user groups
- DirectoryType string
- The directory type.
- Domain string
- The organization's active directory domain.
- DomainUser stringPassword 
- 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.
- MsiResource stringId 
- User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- OrganizationalUnit stringDN 
- The organizational unit within the Active Directory to place the cluster and service accounts.
- AaddsResource stringId 
- The resource ID of the user's Azure Active Directory Domain Service.
- ClusterUsers []stringGroup DNs 
- Optional. The Distinguished Names for cluster user groups
- DirectoryType string
- The directory type.
- Domain string
- The organization's active directory domain.
- DomainUser stringPassword 
- 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.
- MsiResource stringId 
- User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- OrganizationalUnit stringDN 
- The organizational unit within the Active Directory to place the cluster and service accounts.
- aaddsResource StringId 
- The resource ID of the user's Azure Active Directory Domain Service.
- clusterUsers List<String>Group DNs 
- Optional. The Distinguished Names for cluster user groups
- directoryType String
- The directory type.
- domain String
- The organization's active directory domain.
- domainUser StringPassword 
- 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.
- msiResource StringId 
- User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- organizationalUnit StringDN 
- The organizational unit within the Active Directory to place the cluster and service accounts.
- aaddsResource stringId 
- The resource ID of the user's Azure Active Directory Domain Service.
- clusterUsers string[]Group DNs 
- Optional. The Distinguished Names for cluster user groups
- directoryType string
- The directory type.
- domain string
- The organization's active directory domain.
- domainUser stringPassword 
- 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.
- msiResource stringId 
- User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- organizationalUnit stringDN 
- The organizational unit within the Active Directory to place the cluster and service accounts.
- aadds_resource_ strid 
- The resource ID of the user's Azure Active Directory Domain Service.
- cluster_users_ Sequence[str]group_ dns 
- Optional. The Distinguished Names for cluster user groups
- directory_type str
- The directory type.
- domain str
- The organization's active directory domain.
- domain_user_ strpassword 
- 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_ strid 
- User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- organizational_unit_ strdn 
- The organizational unit within the Active Directory to place the cluster and service accounts.
- aaddsResource StringId 
- The resource ID of the user's Azure Active Directory Domain Service.
- clusterUsers List<String>Group DNs 
- Optional. The Distinguished Names for cluster user groups
- directoryType String
- The directory type.
- domain String
- The organization's active directory domain.
- domainUser StringPassword 
- 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.
- msiResource StringId 
- User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- organizationalUnit StringDN 
- The organizational unit within the Active Directory to place the cluster and service accounts.
SshProfile, SshProfileArgs    
- PublicKeys List<Pulumi.Azure Native. HDInsight. Inputs. Ssh Public Key> 
- The list of SSH public keys.
- PublicKeys []SshPublic Key 
- The list of SSH public keys.
- publicKeys List<SshPublic Key> 
- The list of SSH public keys.
- publicKeys SshPublic Key[] 
- The list of SSH public keys.
- public_keys Sequence[SshPublic Key] 
- The list of SSH public keys.
- publicKeys List<Property Map>
- The list of SSH public keys.
SshProfileResponse, SshProfileResponseArgs      
- PublicKeys List<Pulumi.Azure Native. HDInsight. Inputs. Ssh Public Key Response> 
- The list of SSH public keys.
- PublicKeys []SshPublic Key Response 
- The list of SSH public keys.
- publicKeys List<SshPublic Key Response> 
- The list of SSH public keys.
- publicKeys SshPublic Key Response[] 
- The list of SSH public keys.
- public_keys Sequence[SshPublic Key Response] 
- 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.
- 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.
- MsiResource stringId 
- 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.
- 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.
- MsiResource stringId 
- 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.
- 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.
- msiResource StringId 
- 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.
- 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.
- msiResource stringId 
- 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.
- 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_ strid 
- 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.
- 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.
- msiResource StringId 
- 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.
- 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.
- MsiResource stringId 
- 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.
- 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.
- MsiResource stringId 
- 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.
- 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.
- msiResource StringId 
- 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.
- 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.
- msiResource stringId 
- 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.
- 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_ strid 
- 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.
- 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.
- msiResource StringId 
- 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
List<Pulumi.Azure Native. HDInsight. Inputs. Storage Account> 
- The list of storage accounts in the cluster.
- 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
List<Pulumi.Azure Native. HDInsight. Inputs. Storage Account Response> 
- The list of storage accounts in the cluster.
- Storageaccounts
[]StorageAccount Response 
- The list of storage accounts in the cluster.
- storageaccounts
List<StorageAccount Response> 
- The list of storage accounts in the cluster.
- storageaccounts
StorageAccount Response[] 
- The list of storage accounts in the cluster.
- storageaccounts
Sequence[StorageAccount Response] 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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      
VirtualNetworkProfileResponse, VirtualNetworkProfileResponseArgs        
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