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 pulumi
import pulumi_azure_native as azure_native
cluster = azure_native.hdinsight.Cluster("cluster",
cluster_name="cluster1",
properties={
"cluster_definition": {
"component_version": {
"Hadoop": "2.7",
},
"configurations": {
"gateway": {
"restAuthCredential.isEnabled": True,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
"kind": "hadoop",
},
"cluster_version": "3.6",
"compute_profile": {
"roles": [{
"autoscale_configuration": {
"recurrence": {
"schedule": [
{
"days": [
azure_native.hdinsight.DaysOfWeek.MONDAY,
azure_native.hdinsight.DaysOfWeek.TUESDAY,
azure_native.hdinsight.DaysOfWeek.WEDNESDAY,
azure_native.hdinsight.DaysOfWeek.THURSDAY,
azure_native.hdinsight.DaysOfWeek.FRIDAY,
],
"time_and_capacity": {
"max_instance_count": 3,
"min_instance_count": 3,
"time": "09:00",
},
},
{
"days": [
azure_native.hdinsight.DaysOfWeek.MONDAY,
azure_native.hdinsight.DaysOfWeek.TUESDAY,
azure_native.hdinsight.DaysOfWeek.WEDNESDAY,
azure_native.hdinsight.DaysOfWeek.THURSDAY,
azure_native.hdinsight.DaysOfWeek.FRIDAY,
],
"time_and_capacity": {
"max_instance_count": 6,
"min_instance_count": 6,
"time": "18:00",
},
},
{
"days": [
azure_native.hdinsight.DaysOfWeek.SATURDAY,
azure_native.hdinsight.DaysOfWeek.SUNDAY,
],
"time_and_capacity": {
"max_instance_count": 2,
"min_instance_count": 2,
"time": "09:00",
},
},
{
"days": [
azure_native.hdinsight.DaysOfWeek.SATURDAY,
azure_native.hdinsight.DaysOfWeek.SUNDAY,
],
"time_and_capacity": {
"max_instance_count": 4,
"min_instance_count": 4,
"time": "18:00",
},
},
],
"time_zone": "China Standard Time",
},
},
"hardware_profile": {
"vm_size": "Standard_D4_V2",
},
"name": "workernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"script_actions": [],
"target_instance_count": 4,
}],
},
"os_type": azure_native.hdinsight.OSType.LINUX,
"storage_profile": {
"storageaccounts": [{
"container": "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z",
"is_default": True,
"key": "storagekey",
"name": "mystorage.blob.core.windows.net",
}],
},
"tier": azure_native.hdinsight.Tier.STANDARD,
},
resource_group_name="rg1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cluster = new azure_native.hdinsight.Cluster("cluster", {
clusterName: "cluster1",
properties: {
clusterDefinition: {
componentVersion: {
Hadoop: "2.7",
},
configurations: {
gateway: {
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
kind: "hadoop",
},
clusterVersion: "3.6",
computeProfile: {
roles: [{
autoscaleConfiguration: {
recurrence: {
schedule: [
{
days: [
azure_native.hdinsight.DaysOfWeek.Monday,
azure_native.hdinsight.DaysOfWeek.Tuesday,
azure_native.hdinsight.DaysOfWeek.Wednesday,
azure_native.hdinsight.DaysOfWeek.Thursday,
azure_native.hdinsight.DaysOfWeek.Friday,
],
timeAndCapacity: {
maxInstanceCount: 3,
minInstanceCount: 3,
time: "09:00",
},
},
{
days: [
azure_native.hdinsight.DaysOfWeek.Monday,
azure_native.hdinsight.DaysOfWeek.Tuesday,
azure_native.hdinsight.DaysOfWeek.Wednesday,
azure_native.hdinsight.DaysOfWeek.Thursday,
azure_native.hdinsight.DaysOfWeek.Friday,
],
timeAndCapacity: {
maxInstanceCount: 6,
minInstanceCount: 6,
time: "18:00",
},
},
{
days: [
azure_native.hdinsight.DaysOfWeek.Saturday,
azure_native.hdinsight.DaysOfWeek.Sunday,
],
timeAndCapacity: {
maxInstanceCount: 2,
minInstanceCount: 2,
time: "09:00",
},
},
{
days: [
azure_native.hdinsight.DaysOfWeek.Saturday,
azure_native.hdinsight.DaysOfWeek.Sunday,
],
timeAndCapacity: {
maxInstanceCount: 4,
minInstanceCount: 4,
time: "18:00",
},
},
],
timeZone: "China Standard Time",
},
},
hardwareProfile: {
vmSize: "Standard_D4_V2",
},
name: "workernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
scriptActions: [],
targetInstanceCount: 4,
}],
},
osType: azure_native.hdinsight.OSType.Linux,
storageProfile: {
storageaccounts: [{
container: "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z",
isDefault: true,
key: "storagekey",
name: "mystorage.blob.core.windows.net",
}],
},
tier: azure_native.hdinsight.Tier.Standard,
},
resourceGroupName: "rg1",
});
resources:
cluster:
type: azure-native:hdinsight:Cluster
properties:
clusterName: cluster1
properties:
clusterDefinition:
componentVersion:
Hadoop: '2.7'
configurations:
gateway:
restAuthCredential.isEnabled: true
restAuthCredential.password: '**********'
restAuthCredential.username: admin
kind: hadoop
clusterVersion: '3.6'
computeProfile:
roles:
- autoscaleConfiguration:
recurrence:
schedule:
- days:
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
timeAndCapacity:
maxInstanceCount: 3
minInstanceCount: 3
time: 09:00
- days:
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
timeAndCapacity:
maxInstanceCount: 6
minInstanceCount: 6
time: 18:00
- days:
- Saturday
- Sunday
timeAndCapacity:
maxInstanceCount: 2
minInstanceCount: 2
time: 09:00
- days:
- Saturday
- Sunday
timeAndCapacity:
maxInstanceCount: 4
minInstanceCount: 4
time: 18:00
timeZone: China Standard Time
hardwareProfile:
vmSize: Standard_D4_V2
name: workernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
scriptActions: []
targetInstanceCount: 4
osType: Linux
storageProfile:
storageaccounts:
- container: hdinsight-autoscale-tes-2019-06-18t05-49-16-591z
isDefault: true
key: storagekey
name: mystorage.blob.core.windows.net
tier: Standard
resourceGroupName: rg1
Create Hadoop cluster with Azure Data Lake Storage Gen 2
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
{
ClusterName = "cluster1",
Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
{
ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
{
Configurations = new Dictionary<string, object?>
{
["gateway"] = new Dictionary<string, object?>
{
["restAuthCredential.isEnabled"] = "true",
["restAuthCredential.password"] = "**********",
["restAuthCredential.username"] = "admin",
},
},
Kind = "Hadoop",
},
ClusterVersion = "3.6",
ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
{
Roles = new[]
{
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Standard_D3_V2",
},
MinInstanceCount = 1,
Name = "headnode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 2,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Standard_D3_V2",
},
MinInstanceCount = 1,
Name = "workernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 4,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Small",
},
MinInstanceCount = 1,
Name = "zookeepernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 3,
},
},
},
OsType = AzureNative.HDInsight.OSType.Linux,
StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
{
Storageaccounts = new[]
{
new AzureNative.HDInsight.Inputs.StorageAccountArgs
{
FileSystem = "default",
IsDefault = true,
Key = "storagekey",
Name = "mystorage.dfs.core.windows.net",
},
},
},
Tier = AzureNative.HDInsight.Tier.Standard,
},
ResourceGroupName = "rg1",
Tags =
{
{ "key1", "val1" },
},
});
});
package main
import (
hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
ClusterName: pulumi.String("cluster1"),
Properties: &hdinsight.ClusterCreatePropertiesArgs{
ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
Configurations: pulumi.Any(map[string]interface{}{
"gateway": map[string]interface{}{
"restAuthCredential.isEnabled": "true",
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
}),
Kind: pulumi.String("Hadoop"),
},
ClusterVersion: pulumi.String("3.6"),
ComputeProfile: &hdinsight.ComputeProfileArgs{
Roles: hdinsight.RoleArray{
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Standard_D3_V2"),
},
MinInstanceCount: pulumi.Int(1),
Name: pulumi.String("headnode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(2),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Standard_D3_V2"),
},
MinInstanceCount: pulumi.Int(1),
Name: pulumi.String("workernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(4),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Small"),
},
MinInstanceCount: pulumi.Int(1),
Name: pulumi.String("zookeepernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(3),
},
},
},
OsType: pulumi.String(hdinsight.OSTypeLinux),
StorageProfile: &hdinsight.StorageProfileArgs{
Storageaccounts: hdinsight.StorageAccountArray{
&hdinsight.StorageAccountArgs{
FileSystem: pulumi.String("default"),
IsDefault: pulumi.Bool(true),
Key: pulumi.String("storagekey"),
Name: pulumi.String("mystorage.dfs.core.windows.net"),
},
},
},
Tier: pulumi.String(hdinsight.TierStandard),
},
ResourceGroupName: pulumi.String("rg1"),
Tags: pulumi.StringMap{
"key1": pulumi.String("val1"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hdinsight.Cluster;
import com.pulumi.azurenative.hdinsight.ClusterArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cluster = new Cluster("cluster", ClusterArgs.builder()
.clusterName("cluster1")
.properties(ClusterCreatePropertiesArgs.builder()
.clusterDefinition(ClusterDefinitionArgs.builder()
.configurations(Map.of("gateway", Map.ofEntries(
Map.entry("restAuthCredential.isEnabled", "true"),
Map.entry("restAuthCredential.password", "**********"),
Map.entry("restAuthCredential.username", "admin")
)))
.kind("Hadoop")
.build())
.clusterVersion("3.6")
.computeProfile(ComputeProfileArgs.builder()
.roles(
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Standard_D3_V2")
.build())
.minInstanceCount(1)
.name("headnode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(2)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Standard_D3_V2")
.build())
.minInstanceCount(1)
.name("workernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(4)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Small")
.build())
.minInstanceCount(1)
.name("zookeepernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(3)
.build())
.build())
.osType("Linux")
.storageProfile(StorageProfileArgs.builder()
.storageaccounts(StorageAccountArgs.builder()
.fileSystem("default")
.isDefault(true)
.key("storagekey")
.name("mystorage.dfs.core.windows.net")
.build())
.build())
.tier("Standard")
.build())
.resourceGroupName("rg1")
.tags(Map.of("key1", "val1"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cluster = azure_native.hdinsight.Cluster("cluster",
cluster_name="cluster1",
properties={
"cluster_definition": {
"configurations": {
"gateway": {
"restAuthCredential.isEnabled": "true",
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
"kind": "Hadoop",
},
"cluster_version": "3.6",
"compute_profile": {
"roles": [
{
"hardware_profile": {
"vm_size": "Standard_D3_V2",
},
"min_instance_count": 1,
"name": "headnode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 2,
},
{
"hardware_profile": {
"vm_size": "Standard_D3_V2",
},
"min_instance_count": 1,
"name": "workernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 4,
},
{
"hardware_profile": {
"vm_size": "Small",
},
"min_instance_count": 1,
"name": "zookeepernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 3,
},
],
},
"os_type": azure_native.hdinsight.OSType.LINUX,
"storage_profile": {
"storageaccounts": [{
"file_system": "default",
"is_default": True,
"key": "storagekey",
"name": "mystorage.dfs.core.windows.net",
}],
},
"tier": azure_native.hdinsight.Tier.STANDARD,
},
resource_group_name="rg1",
tags={
"key1": "val1",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cluster = new azure_native.hdinsight.Cluster("cluster", {
clusterName: "cluster1",
properties: {
clusterDefinition: {
configurations: {
gateway: {
"restAuthCredential.isEnabled": "true",
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
kind: "Hadoop",
},
clusterVersion: "3.6",
computeProfile: {
roles: [
{
hardwareProfile: {
vmSize: "Standard_D3_V2",
},
minInstanceCount: 1,
name: "headnode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 2,
},
{
hardwareProfile: {
vmSize: "Standard_D3_V2",
},
minInstanceCount: 1,
name: "workernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 4,
},
{
hardwareProfile: {
vmSize: "Small",
},
minInstanceCount: 1,
name: "zookeepernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 3,
},
],
},
osType: azure_native.hdinsight.OSType.Linux,
storageProfile: {
storageaccounts: [{
fileSystem: "default",
isDefault: true,
key: "storagekey",
name: "mystorage.dfs.core.windows.net",
}],
},
tier: azure_native.hdinsight.Tier.Standard,
},
resourceGroupName: "rg1",
tags: {
key1: "val1",
},
});
resources:
cluster:
type: azure-native:hdinsight:Cluster
properties:
clusterName: cluster1
properties:
clusterDefinition:
configurations:
gateway:
restAuthCredential.isEnabled: 'true'
restAuthCredential.password: '**********'
restAuthCredential.username: admin
kind: Hadoop
clusterVersion: '3.6'
computeProfile:
roles:
- hardwareProfile:
vmSize: Standard_D3_V2
minInstanceCount: 1
name: headnode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 2
- hardwareProfile:
vmSize: Standard_D3_V2
minInstanceCount: 1
name: workernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 4
- hardwareProfile:
vmSize: Small
minInstanceCount: 1
name: zookeepernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 3
osType: Linux
storageProfile:
storageaccounts:
- fileSystem: default
isDefault: true
key: storagekey
name: mystorage.dfs.core.windows.net
tier: Standard
resourceGroupName: rg1
tags:
key1: val1
Create Hadoop on Linux cluster with SSH password
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
{
ClusterName = "cluster1",
Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
{
ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
{
Configurations = new Dictionary<string, object?>
{
["gateway"] = new Dictionary<string, object?>
{
["restAuthCredential.isEnabled"] = "true",
["restAuthCredential.password"] = "**********",
["restAuthCredential.username"] = "admin",
},
},
Kind = "Hadoop",
},
ClusterVersion = "3.5",
ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
{
Roles = new[]
{
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Standard_D3_V2",
},
MinInstanceCount = 1,
Name = "headnode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 2,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Standard_D3_V2",
},
MinInstanceCount = 1,
Name = "workernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 4,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Small",
},
MinInstanceCount = 1,
Name = "zookeepernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 3,
},
},
},
OsType = AzureNative.HDInsight.OSType.Linux,
StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
{
Storageaccounts = new[]
{
new AzureNative.HDInsight.Inputs.StorageAccountArgs
{
Container = "containername",
IsDefault = true,
Key = "storagekey",
Name = "mystorage.blob.core.windows.net",
},
},
},
Tier = AzureNative.HDInsight.Tier.Standard,
},
ResourceGroupName = "rg1",
Tags =
{
{ "key1", "val1" },
},
});
});
package main
import (
hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
ClusterName: pulumi.String("cluster1"),
Properties: &hdinsight.ClusterCreatePropertiesArgs{
ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
Configurations: pulumi.Any(map[string]interface{}{
"gateway": map[string]interface{}{
"restAuthCredential.isEnabled": "true",
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
}),
Kind: pulumi.String("Hadoop"),
},
ClusterVersion: pulumi.String("3.5"),
ComputeProfile: &hdinsight.ComputeProfileArgs{
Roles: hdinsight.RoleArray{
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Standard_D3_V2"),
},
MinInstanceCount: pulumi.Int(1),
Name: pulumi.String("headnode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(2),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Standard_D3_V2"),
},
MinInstanceCount: pulumi.Int(1),
Name: pulumi.String("workernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(4),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Small"),
},
MinInstanceCount: pulumi.Int(1),
Name: pulumi.String("zookeepernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(3),
},
},
},
OsType: pulumi.String(hdinsight.OSTypeLinux),
StorageProfile: &hdinsight.StorageProfileArgs{
Storageaccounts: hdinsight.StorageAccountArray{
&hdinsight.StorageAccountArgs{
Container: pulumi.String("containername"),
IsDefault: pulumi.Bool(true),
Key: pulumi.String("storagekey"),
Name: pulumi.String("mystorage.blob.core.windows.net"),
},
},
},
Tier: pulumi.String(hdinsight.TierStandard),
},
ResourceGroupName: pulumi.String("rg1"),
Tags: pulumi.StringMap{
"key1": pulumi.String("val1"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hdinsight.Cluster;
import com.pulumi.azurenative.hdinsight.ClusterArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cluster = new Cluster("cluster", ClusterArgs.builder()
.clusterName("cluster1")
.properties(ClusterCreatePropertiesArgs.builder()
.clusterDefinition(ClusterDefinitionArgs.builder()
.configurations(Map.of("gateway", Map.ofEntries(
Map.entry("restAuthCredential.isEnabled", "true"),
Map.entry("restAuthCredential.password", "**********"),
Map.entry("restAuthCredential.username", "admin")
)))
.kind("Hadoop")
.build())
.clusterVersion("3.5")
.computeProfile(ComputeProfileArgs.builder()
.roles(
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Standard_D3_V2")
.build())
.minInstanceCount(1)
.name("headnode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(2)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Standard_D3_V2")
.build())
.minInstanceCount(1)
.name("workernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(4)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Small")
.build())
.minInstanceCount(1)
.name("zookeepernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(3)
.build())
.build())
.osType("Linux")
.storageProfile(StorageProfileArgs.builder()
.storageaccounts(StorageAccountArgs.builder()
.container("containername")
.isDefault(true)
.key("storagekey")
.name("mystorage.blob.core.windows.net")
.build())
.build())
.tier("Standard")
.build())
.resourceGroupName("rg1")
.tags(Map.of("key1", "val1"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cluster = azure_native.hdinsight.Cluster("cluster",
cluster_name="cluster1",
properties={
"cluster_definition": {
"configurations": {
"gateway": {
"restAuthCredential.isEnabled": "true",
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
"kind": "Hadoop",
},
"cluster_version": "3.5",
"compute_profile": {
"roles": [
{
"hardware_profile": {
"vm_size": "Standard_D3_V2",
},
"min_instance_count": 1,
"name": "headnode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 2,
},
{
"hardware_profile": {
"vm_size": "Standard_D3_V2",
},
"min_instance_count": 1,
"name": "workernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 4,
},
{
"hardware_profile": {
"vm_size": "Small",
},
"min_instance_count": 1,
"name": "zookeepernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 3,
},
],
},
"os_type": azure_native.hdinsight.OSType.LINUX,
"storage_profile": {
"storageaccounts": [{
"container": "containername",
"is_default": True,
"key": "storagekey",
"name": "mystorage.blob.core.windows.net",
}],
},
"tier": azure_native.hdinsight.Tier.STANDARD,
},
resource_group_name="rg1",
tags={
"key1": "val1",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cluster = new azure_native.hdinsight.Cluster("cluster", {
clusterName: "cluster1",
properties: {
clusterDefinition: {
configurations: {
gateway: {
"restAuthCredential.isEnabled": "true",
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
kind: "Hadoop",
},
clusterVersion: "3.5",
computeProfile: {
roles: [
{
hardwareProfile: {
vmSize: "Standard_D3_V2",
},
minInstanceCount: 1,
name: "headnode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 2,
},
{
hardwareProfile: {
vmSize: "Standard_D3_V2",
},
minInstanceCount: 1,
name: "workernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 4,
},
{
hardwareProfile: {
vmSize: "Small",
},
minInstanceCount: 1,
name: "zookeepernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 3,
},
],
},
osType: azure_native.hdinsight.OSType.Linux,
storageProfile: {
storageaccounts: [{
container: "containername",
isDefault: true,
key: "storagekey",
name: "mystorage.blob.core.windows.net",
}],
},
tier: azure_native.hdinsight.Tier.Standard,
},
resourceGroupName: "rg1",
tags: {
key1: "val1",
},
});
resources:
cluster:
type: azure-native:hdinsight:Cluster
properties:
clusterName: cluster1
properties:
clusterDefinition:
configurations:
gateway:
restAuthCredential.isEnabled: 'true'
restAuthCredential.password: '**********'
restAuthCredential.username: admin
kind: Hadoop
clusterVersion: '3.5'
computeProfile:
roles:
- hardwareProfile:
vmSize: Standard_D3_V2
minInstanceCount: 1
name: headnode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 2
- hardwareProfile:
vmSize: Standard_D3_V2
minInstanceCount: 1
name: workernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 4
- hardwareProfile:
vmSize: Small
minInstanceCount: 1
name: zookeepernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 3
osType: Linux
storageProfile:
storageaccounts:
- container: containername
isDefault: true
key: storagekey
name: mystorage.blob.core.windows.net
tier: Standard
resourceGroupName: rg1
tags:
key1: val1
Create Hadoop on Linux cluster with SSH public key
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
{
ClusterName = "cluster1",
Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
{
ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
{
Configurations = new Dictionary<string, object?>
{
["gateway"] = new Dictionary<string, object?>
{
["restAuthCredential.isEnabled"] = true,
["restAuthCredential.password"] = "**********",
["restAuthCredential.username"] = "admin",
},
},
Kind = "Hadoop",
},
ClusterVersion = "3.5",
ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
{
Roles = new[]
{
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Standard_D3_V2",
},
MinInstanceCount = 1,
Name = "headnode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
{
PublicKeys = new[]
{
new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
{
CertificateData = "**********",
},
},
},
Username = "sshuser",
},
},
TargetInstanceCount = 2,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Standard_D3_V2",
},
MinInstanceCount = 1,
Name = "workernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 4,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Small",
},
MinInstanceCount = 1,
Name = "zookeepernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 3,
},
},
},
OsType = AzureNative.HDInsight.OSType.Linux,
StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
{
Storageaccounts = new[]
{
new AzureNative.HDInsight.Inputs.StorageAccountArgs
{
Container = "containername",
IsDefault = true,
Key = "storagekey",
Name = "mystorage.blob.core.windows.net",
},
},
},
Tier = AzureNative.HDInsight.Tier.Standard,
},
ResourceGroupName = "rg1",
Tags =
{
{ "key1", "val1" },
},
});
});
package main
import (
hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
ClusterName: pulumi.String("cluster1"),
Properties: &hdinsight.ClusterCreatePropertiesArgs{
ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
Configurations: pulumi.Any(map[string]interface{}{
"gateway": map[string]interface{}{
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
}),
Kind: pulumi.String("Hadoop"),
},
ClusterVersion: pulumi.String("3.5"),
ComputeProfile: &hdinsight.ComputeProfileArgs{
Roles: hdinsight.RoleArray{
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Standard_D3_V2"),
},
MinInstanceCount: pulumi.Int(1),
Name: pulumi.String("headnode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
SshProfile: &hdinsight.SshProfileArgs{
PublicKeys: hdinsight.SshPublicKeyArray{
&hdinsight.SshPublicKeyArgs{
CertificateData: pulumi.String("**********"),
},
},
},
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(2),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Standard_D3_V2"),
},
MinInstanceCount: pulumi.Int(1),
Name: pulumi.String("workernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(4),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Small"),
},
MinInstanceCount: pulumi.Int(1),
Name: pulumi.String("zookeepernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(3),
},
},
},
OsType: pulumi.String(hdinsight.OSTypeLinux),
StorageProfile: &hdinsight.StorageProfileArgs{
Storageaccounts: hdinsight.StorageAccountArray{
&hdinsight.StorageAccountArgs{
Container: pulumi.String("containername"),
IsDefault: pulumi.Bool(true),
Key: pulumi.String("storagekey"),
Name: pulumi.String("mystorage.blob.core.windows.net"),
},
},
},
Tier: pulumi.String(hdinsight.TierStandard),
},
ResourceGroupName: pulumi.String("rg1"),
Tags: pulumi.StringMap{
"key1": pulumi.String("val1"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hdinsight.Cluster;
import com.pulumi.azurenative.hdinsight.ClusterArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cluster = new Cluster("cluster", ClusterArgs.builder()
.clusterName("cluster1")
.properties(ClusterCreatePropertiesArgs.builder()
.clusterDefinition(ClusterDefinitionArgs.builder()
.configurations(Map.of("gateway", Map.ofEntries(
Map.entry("restAuthCredential.isEnabled", true),
Map.entry("restAuthCredential.password", "**********"),
Map.entry("restAuthCredential.username", "admin")
)))
.kind("Hadoop")
.build())
.clusterVersion("3.5")
.computeProfile(ComputeProfileArgs.builder()
.roles(
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Standard_D3_V2")
.build())
.minInstanceCount(1)
.name("headnode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.sshProfile(SshProfileArgs.builder()
.publicKeys(SshPublicKeyArgs.builder()
.certificateData("**********")
.build())
.build())
.username("sshuser")
.build())
.build())
.targetInstanceCount(2)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Standard_D3_V2")
.build())
.minInstanceCount(1)
.name("workernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(4)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Small")
.build())
.minInstanceCount(1)
.name("zookeepernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(3)
.build())
.build())
.osType("Linux")
.storageProfile(StorageProfileArgs.builder()
.storageaccounts(StorageAccountArgs.builder()
.container("containername")
.isDefault(true)
.key("storagekey")
.name("mystorage.blob.core.windows.net")
.build())
.build())
.tier("Standard")
.build())
.resourceGroupName("rg1")
.tags(Map.of("key1", "val1"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cluster = azure_native.hdinsight.Cluster("cluster",
cluster_name="cluster1",
properties={
"cluster_definition": {
"configurations": {
"gateway": {
"restAuthCredential.isEnabled": True,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
"kind": "Hadoop",
},
"cluster_version": "3.5",
"compute_profile": {
"roles": [
{
"hardware_profile": {
"vm_size": "Standard_D3_V2",
},
"min_instance_count": 1,
"name": "headnode",
"os_profile": {
"linux_operating_system_profile": {
"ssh_profile": {
"public_keys": [{
"certificate_data": "**********",
}],
},
"username": "sshuser",
},
},
"target_instance_count": 2,
},
{
"hardware_profile": {
"vm_size": "Standard_D3_V2",
},
"min_instance_count": 1,
"name": "workernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 4,
},
{
"hardware_profile": {
"vm_size": "Small",
},
"min_instance_count": 1,
"name": "zookeepernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 3,
},
],
},
"os_type": azure_native.hdinsight.OSType.LINUX,
"storage_profile": {
"storageaccounts": [{
"container": "containername",
"is_default": True,
"key": "storagekey",
"name": "mystorage.blob.core.windows.net",
}],
},
"tier": azure_native.hdinsight.Tier.STANDARD,
},
resource_group_name="rg1",
tags={
"key1": "val1",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cluster = new azure_native.hdinsight.Cluster("cluster", {
clusterName: "cluster1",
properties: {
clusterDefinition: {
configurations: {
gateway: {
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
kind: "Hadoop",
},
clusterVersion: "3.5",
computeProfile: {
roles: [
{
hardwareProfile: {
vmSize: "Standard_D3_V2",
},
minInstanceCount: 1,
name: "headnode",
osProfile: {
linuxOperatingSystemProfile: {
sshProfile: {
publicKeys: [{
certificateData: "**********",
}],
},
username: "sshuser",
},
},
targetInstanceCount: 2,
},
{
hardwareProfile: {
vmSize: "Standard_D3_V2",
},
minInstanceCount: 1,
name: "workernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 4,
},
{
hardwareProfile: {
vmSize: "Small",
},
minInstanceCount: 1,
name: "zookeepernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 3,
},
],
},
osType: azure_native.hdinsight.OSType.Linux,
storageProfile: {
storageaccounts: [{
container: "containername",
isDefault: true,
key: "storagekey",
name: "mystorage.blob.core.windows.net",
}],
},
tier: azure_native.hdinsight.Tier.Standard,
},
resourceGroupName: "rg1",
tags: {
key1: "val1",
},
});
resources:
cluster:
type: azure-native:hdinsight:Cluster
properties:
clusterName: cluster1
properties:
clusterDefinition:
configurations:
gateway:
restAuthCredential.isEnabled: true
restAuthCredential.password: '**********'
restAuthCredential.username: admin
kind: Hadoop
clusterVersion: '3.5'
computeProfile:
roles:
- hardwareProfile:
vmSize: Standard_D3_V2
minInstanceCount: 1
name: headnode
osProfile:
linuxOperatingSystemProfile:
sshProfile:
publicKeys:
- certificateData: '**********'
username: sshuser
targetInstanceCount: 2
- hardwareProfile:
vmSize: Standard_D3_V2
minInstanceCount: 1
name: workernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 4
- hardwareProfile:
vmSize: Small
minInstanceCount: 1
name: zookeepernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 3
osType: Linux
storageProfile:
storageaccounts:
- container: containername
isDefault: true
key: storagekey
name: mystorage.blob.core.windows.net
tier: Standard
resourceGroupName: rg1
tags:
key1: val1
Create Kafka cluster with Kafka Rest Proxy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
{
ClusterName = "cluster1",
Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
{
ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
{
ComponentVersion =
{
{ "Kafka", "2.1" },
},
Configurations = new Dictionary<string, object?>
{
["gateway"] = new Dictionary<string, object?>
{
["restAuthCredential.isEnabled"] = true,
["restAuthCredential.password"] = "**********",
["restAuthCredential.username"] = "admin",
},
},
Kind = "kafka",
},
ClusterVersion = "4.0",
ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
{
Roles = new[]
{
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Large",
},
Name = "headnode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 2,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
DataDisksGroups = new[]
{
new AzureNative.HDInsight.Inputs.DataDisksGroupsArgs
{
DisksPerNode = 8,
},
},
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Large",
},
Name = "workernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 3,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Small",
},
Name = "zookeepernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 3,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Standard_D4_v2",
},
Name = "kafkamanagementnode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "kafkauser",
},
},
TargetInstanceCount = 2,
},
},
},
KafkaRestProperties = new AzureNative.HDInsight.Inputs.KafkaRestPropertiesArgs
{
ClientGroupInfo = new AzureNative.HDInsight.Inputs.ClientGroupInfoArgs
{
GroupId = "00000000-0000-0000-0000-111111111111",
GroupName = "Kafka security group name",
},
},
OsType = AzureNative.HDInsight.OSType.Linux,
StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
{
Storageaccounts = new[]
{
new AzureNative.HDInsight.Inputs.StorageAccountArgs
{
Container = "containername",
IsDefault = true,
Key = "storagekey",
Name = "mystorage.blob.core.windows.net",
},
},
},
Tier = AzureNative.HDInsight.Tier.Standard,
},
ResourceGroupName = "rg1",
});
});
package main
import (
hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
ClusterName: pulumi.String("cluster1"),
Properties: &hdinsight.ClusterCreatePropertiesArgs{
ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
ComponentVersion: pulumi.StringMap{
"Kafka": pulumi.String("2.1"),
},
Configurations: pulumi.Any(map[string]interface{}{
"gateway": map[string]interface{}{
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
}),
Kind: pulumi.String("kafka"),
},
ClusterVersion: pulumi.String("4.0"),
ComputeProfile: &hdinsight.ComputeProfileArgs{
Roles: hdinsight.RoleArray{
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Large"),
},
Name: pulumi.String("headnode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(2),
},
&hdinsight.RoleArgs{
DataDisksGroups: hdinsight.DataDisksGroupsArray{
&hdinsight.DataDisksGroupsArgs{
DisksPerNode: pulumi.Int(8),
},
},
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Large"),
},
Name: pulumi.String("workernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(3),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Small"),
},
Name: pulumi.String("zookeepernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(3),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Standard_D4_v2"),
},
Name: pulumi.String("kafkamanagementnode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("kafkauser"),
},
},
TargetInstanceCount: pulumi.Int(2),
},
},
},
KafkaRestProperties: &hdinsight.KafkaRestPropertiesArgs{
ClientGroupInfo: &hdinsight.ClientGroupInfoArgs{
GroupId: pulumi.String("00000000-0000-0000-0000-111111111111"),
GroupName: pulumi.String("Kafka security group name"),
},
},
OsType: pulumi.String(hdinsight.OSTypeLinux),
StorageProfile: &hdinsight.StorageProfileArgs{
Storageaccounts: hdinsight.StorageAccountArray{
&hdinsight.StorageAccountArgs{
Container: pulumi.String("containername"),
IsDefault: pulumi.Bool(true),
Key: pulumi.String("storagekey"),
Name: pulumi.String("mystorage.blob.core.windows.net"),
},
},
},
Tier: pulumi.String(hdinsight.TierStandard),
},
ResourceGroupName: pulumi.String("rg1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hdinsight.Cluster;
import com.pulumi.azurenative.hdinsight.ClusterArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
import com.pulumi.azurenative.hdinsight.inputs.KafkaRestPropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClientGroupInfoArgs;
import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cluster = new Cluster("cluster", ClusterArgs.builder()
.clusterName("cluster1")
.properties(ClusterCreatePropertiesArgs.builder()
.clusterDefinition(ClusterDefinitionArgs.builder()
.componentVersion(Map.of("Kafka", "2.1"))
.configurations(Map.of("gateway", Map.ofEntries(
Map.entry("restAuthCredential.isEnabled", true),
Map.entry("restAuthCredential.password", "**********"),
Map.entry("restAuthCredential.username", "admin")
)))
.kind("kafka")
.build())
.clusterVersion("4.0")
.computeProfile(ComputeProfileArgs.builder()
.roles(
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Large")
.build())
.name("headnode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(2)
.build(),
RoleArgs.builder()
.dataDisksGroups(DataDisksGroupsArgs.builder()
.disksPerNode(8)
.build())
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Large")
.build())
.name("workernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(3)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Small")
.build())
.name("zookeepernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(3)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Standard_D4_v2")
.build())
.name("kafkamanagementnode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("kafkauser")
.build())
.build())
.targetInstanceCount(2)
.build())
.build())
.kafkaRestProperties(KafkaRestPropertiesArgs.builder()
.clientGroupInfo(ClientGroupInfoArgs.builder()
.groupId("00000000-0000-0000-0000-111111111111")
.groupName("Kafka security group name")
.build())
.build())
.osType("Linux")
.storageProfile(StorageProfileArgs.builder()
.storageaccounts(StorageAccountArgs.builder()
.container("containername")
.isDefault(true)
.key("storagekey")
.name("mystorage.blob.core.windows.net")
.build())
.build())
.tier("Standard")
.build())
.resourceGroupName("rg1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cluster = azure_native.hdinsight.Cluster("cluster",
cluster_name="cluster1",
properties={
"cluster_definition": {
"component_version": {
"Kafka": "2.1",
},
"configurations": {
"gateway": {
"restAuthCredential.isEnabled": True,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
"kind": "kafka",
},
"cluster_version": "4.0",
"compute_profile": {
"roles": [
{
"hardware_profile": {
"vm_size": "Large",
},
"name": "headnode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 2,
},
{
"data_disks_groups": [{
"disks_per_node": 8,
}],
"hardware_profile": {
"vm_size": "Large",
},
"name": "workernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 3,
},
{
"hardware_profile": {
"vm_size": "Small",
},
"name": "zookeepernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 3,
},
{
"hardware_profile": {
"vm_size": "Standard_D4_v2",
},
"name": "kafkamanagementnode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "kafkauser",
},
},
"target_instance_count": 2,
},
],
},
"kafka_rest_properties": {
"client_group_info": {
"group_id": "00000000-0000-0000-0000-111111111111",
"group_name": "Kafka security group name",
},
},
"os_type": azure_native.hdinsight.OSType.LINUX,
"storage_profile": {
"storageaccounts": [{
"container": "containername",
"is_default": True,
"key": "storagekey",
"name": "mystorage.blob.core.windows.net",
}],
},
"tier": azure_native.hdinsight.Tier.STANDARD,
},
resource_group_name="rg1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cluster = new azure_native.hdinsight.Cluster("cluster", {
clusterName: "cluster1",
properties: {
clusterDefinition: {
componentVersion: {
Kafka: "2.1",
},
configurations: {
gateway: {
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
kind: "kafka",
},
clusterVersion: "4.0",
computeProfile: {
roles: [
{
hardwareProfile: {
vmSize: "Large",
},
name: "headnode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 2,
},
{
dataDisksGroups: [{
disksPerNode: 8,
}],
hardwareProfile: {
vmSize: "Large",
},
name: "workernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 3,
},
{
hardwareProfile: {
vmSize: "Small",
},
name: "zookeepernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 3,
},
{
hardwareProfile: {
vmSize: "Standard_D4_v2",
},
name: "kafkamanagementnode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "kafkauser",
},
},
targetInstanceCount: 2,
},
],
},
kafkaRestProperties: {
clientGroupInfo: {
groupId: "00000000-0000-0000-0000-111111111111",
groupName: "Kafka security group name",
},
},
osType: azure_native.hdinsight.OSType.Linux,
storageProfile: {
storageaccounts: [{
container: "containername",
isDefault: true,
key: "storagekey",
name: "mystorage.blob.core.windows.net",
}],
},
tier: azure_native.hdinsight.Tier.Standard,
},
resourceGroupName: "rg1",
});
resources:
cluster:
type: azure-native:hdinsight:Cluster
properties:
clusterName: cluster1
properties:
clusterDefinition:
componentVersion:
Kafka: '2.1'
configurations:
gateway:
restAuthCredential.isEnabled: true
restAuthCredential.password: '**********'
restAuthCredential.username: admin
kind: kafka
clusterVersion: '4.0'
computeProfile:
roles:
- hardwareProfile:
vmSize: Large
name: headnode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 2
- dataDisksGroups:
- disksPerNode: 8
hardwareProfile:
vmSize: Large
name: workernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 3
- hardwareProfile:
vmSize: Small
name: zookeepernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 3
- hardwareProfile:
vmSize: Standard_D4_v2
name: kafkamanagementnode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: kafkauser
targetInstanceCount: 2
kafkaRestProperties:
clientGroupInfo:
groupId: 00000000-0000-0000-0000-111111111111
groupName: Kafka security group name
osType: Linux
storageProfile:
storageaccounts:
- container: containername
isDefault: true
key: storagekey
name: mystorage.blob.core.windows.net
tier: Standard
resourceGroupName: rg1
Create Secure Hadoop cluster
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
{
ClusterName = "cluster1",
Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
{
ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
{
Configurations = new Dictionary<string, object?>
{
["gateway"] = new Dictionary<string, object?>
{
["restAuthCredential.isEnabled"] = true,
["restAuthCredential.password"] = "**********",
["restAuthCredential.username"] = "admin",
},
},
Kind = "Hadoop",
},
ClusterVersion = "3.5",
ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
{
Roles = new[]
{
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Standard_D3_V2",
},
MinInstanceCount = 1,
Name = "headnode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
{
PublicKeys = new[]
{
new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
{
CertificateData = "**********",
},
},
},
Username = "sshuser",
},
},
ScriptActions = new() { },
TargetInstanceCount = 2,
VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
{
Id = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
Subnet = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Standard_D3_V2",
},
MinInstanceCount = 1,
Name = "workernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
{
PublicKeys = new[]
{
new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
{
CertificateData = "**********",
},
},
},
Username = "sshuser",
},
},
ScriptActions = new() { },
TargetInstanceCount = 4,
VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
{
Id = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
Subnet = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Small",
},
MinInstanceCount = 1,
Name = "zookeepernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
{
PublicKeys = new[]
{
new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
{
CertificateData = "**********",
},
},
},
Username = "sshuser",
},
},
ScriptActions = new() { },
TargetInstanceCount = 3,
VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
{
Id = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
Subnet = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
},
},
OsType = AzureNative.HDInsight.OSType.Linux,
SecurityProfile = new AzureNative.HDInsight.Inputs.SecurityProfileArgs
{
ClusterUsersGroupDNs = new[]
{
"hdiusers",
},
DirectoryType = AzureNative.HDInsight.DirectoryType.ActiveDirectory,
Domain = "DomainName",
DomainUserPassword = "**********",
DomainUsername = "DomainUsername",
LdapsUrls = new[]
{
"ldaps://10.10.0.4:636",
},
OrganizationalUnitDN = "OU=Hadoop,DC=hdinsight,DC=test",
},
StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
{
Storageaccounts = new[]
{
new AzureNative.HDInsight.Inputs.StorageAccountArgs
{
Container = "containername",
IsDefault = true,
Key = "storage account key",
Name = "mystorage.blob.core.windows.net",
},
},
},
Tier = AzureNative.HDInsight.Tier.Premium,
},
ResourceGroupName = "rg1",
Tags =
{
{ "key1", "val1" },
},
});
});
package main
import (
hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
ClusterName: pulumi.String("cluster1"),
Properties: &hdinsight.ClusterCreatePropertiesArgs{
ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
Configurations: pulumi.Any(map[string]interface{}{
"gateway": map[string]interface{}{
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
}),
Kind: pulumi.String("Hadoop"),
},
ClusterVersion: pulumi.String("3.5"),
ComputeProfile: &hdinsight.ComputeProfileArgs{
Roles: hdinsight.RoleArray{
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Standard_D3_V2"),
},
MinInstanceCount: pulumi.Int(1),
Name: pulumi.String("headnode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
SshProfile: &hdinsight.SshProfileArgs{
PublicKeys: hdinsight.SshPublicKeyArray{
&hdinsight.SshPublicKeyArgs{
CertificateData: pulumi.String("**********"),
},
},
},
Username: pulumi.String("sshuser"),
},
},
ScriptActions: hdinsight.ScriptActionArray{},
TargetInstanceCount: pulumi.Int(2),
VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
Id: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname"),
Subnet: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"),
},
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Standard_D3_V2"),
},
MinInstanceCount: pulumi.Int(1),
Name: pulumi.String("workernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
SshProfile: &hdinsight.SshProfileArgs{
PublicKeys: hdinsight.SshPublicKeyArray{
&hdinsight.SshPublicKeyArgs{
CertificateData: pulumi.String("**********"),
},
},
},
Username: pulumi.String("sshuser"),
},
},
ScriptActions: hdinsight.ScriptActionArray{},
TargetInstanceCount: pulumi.Int(4),
VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
Id: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname"),
Subnet: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"),
},
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Small"),
},
MinInstanceCount: pulumi.Int(1),
Name: pulumi.String("zookeepernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
SshProfile: &hdinsight.SshProfileArgs{
PublicKeys: hdinsight.SshPublicKeyArray{
&hdinsight.SshPublicKeyArgs{
CertificateData: pulumi.String("**********"),
},
},
},
Username: pulumi.String("sshuser"),
},
},
ScriptActions: hdinsight.ScriptActionArray{},
TargetInstanceCount: pulumi.Int(3),
VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
Id: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname"),
Subnet: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"),
},
},
},
},
OsType: pulumi.String(hdinsight.OSTypeLinux),
SecurityProfile: &hdinsight.SecurityProfileArgs{
ClusterUsersGroupDNs: pulumi.StringArray{
pulumi.String("hdiusers"),
},
DirectoryType: pulumi.String(hdinsight.DirectoryTypeActiveDirectory),
Domain: pulumi.String("DomainName"),
DomainUserPassword: pulumi.String("**********"),
DomainUsername: pulumi.String("DomainUsername"),
LdapsUrls: pulumi.StringArray{
pulumi.String("ldaps://10.10.0.4:636"),
},
OrganizationalUnitDN: pulumi.String("OU=Hadoop,DC=hdinsight,DC=test"),
},
StorageProfile: &hdinsight.StorageProfileArgs{
Storageaccounts: hdinsight.StorageAccountArray{
&hdinsight.StorageAccountArgs{
Container: pulumi.String("containername"),
IsDefault: pulumi.Bool(true),
Key: pulumi.String("storage account key"),
Name: pulumi.String("mystorage.blob.core.windows.net"),
},
},
},
Tier: pulumi.String(hdinsight.TierPremium),
},
ResourceGroupName: pulumi.String("rg1"),
Tags: pulumi.StringMap{
"key1": pulumi.String("val1"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hdinsight.Cluster;
import com.pulumi.azurenative.hdinsight.ClusterArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
import com.pulumi.azurenative.hdinsight.inputs.SecurityProfileArgs;
import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cluster = new Cluster("cluster", ClusterArgs.builder()
.clusterName("cluster1")
.properties(ClusterCreatePropertiesArgs.builder()
.clusterDefinition(ClusterDefinitionArgs.builder()
.configurations(Map.of("gateway", Map.ofEntries(
Map.entry("restAuthCredential.isEnabled", true),
Map.entry("restAuthCredential.password", "**********"),
Map.entry("restAuthCredential.username", "admin")
)))
.kind("Hadoop")
.build())
.clusterVersion("3.5")
.computeProfile(ComputeProfileArgs.builder()
.roles(
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Standard_D3_V2")
.build())
.minInstanceCount(1)
.name("headnode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.sshProfile(SshProfileArgs.builder()
.publicKeys(SshPublicKeyArgs.builder()
.certificateData("**********")
.build())
.build())
.username("sshuser")
.build())
.build())
.scriptActions()
.targetInstanceCount(2)
.virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
.id("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname")
.subnet("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet")
.build())
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Standard_D3_V2")
.build())
.minInstanceCount(1)
.name("workernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.sshProfile(SshProfileArgs.builder()
.publicKeys(SshPublicKeyArgs.builder()
.certificateData("**********")
.build())
.build())
.username("sshuser")
.build())
.build())
.scriptActions()
.targetInstanceCount(4)
.virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
.id("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname")
.subnet("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet")
.build())
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Small")
.build())
.minInstanceCount(1)
.name("zookeepernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.sshProfile(SshProfileArgs.builder()
.publicKeys(SshPublicKeyArgs.builder()
.certificateData("**********")
.build())
.build())
.username("sshuser")
.build())
.build())
.scriptActions()
.targetInstanceCount(3)
.virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
.id("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname")
.subnet("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet")
.build())
.build())
.build())
.osType("Linux")
.securityProfile(SecurityProfileArgs.builder()
.clusterUsersGroupDNs("hdiusers")
.directoryType("ActiveDirectory")
.domain("DomainName")
.domainUserPassword("**********")
.domainUsername("DomainUsername")
.ldapsUrls("ldaps://10.10.0.4:636")
.organizationalUnitDN("OU=Hadoop,DC=hdinsight,DC=test")
.build())
.storageProfile(StorageProfileArgs.builder()
.storageaccounts(StorageAccountArgs.builder()
.container("containername")
.isDefault(true)
.key("storage account key")
.name("mystorage.blob.core.windows.net")
.build())
.build())
.tier("Premium")
.build())
.resourceGroupName("rg1")
.tags(Map.of("key1", "val1"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cluster = azure_native.hdinsight.Cluster("cluster",
cluster_name="cluster1",
properties={
"cluster_definition": {
"configurations": {
"gateway": {
"restAuthCredential.isEnabled": True,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
"kind": "Hadoop",
},
"cluster_version": "3.5",
"compute_profile": {
"roles": [
{
"hardware_profile": {
"vm_size": "Standard_D3_V2",
},
"min_instance_count": 1,
"name": "headnode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"ssh_profile": {
"public_keys": [{
"certificate_data": "**********",
}],
},
"username": "sshuser",
},
},
"script_actions": [],
"target_instance_count": 2,
"virtual_network_profile": {
"id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
"subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
{
"hardware_profile": {
"vm_size": "Standard_D3_V2",
},
"min_instance_count": 1,
"name": "workernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"ssh_profile": {
"public_keys": [{
"certificate_data": "**********",
}],
},
"username": "sshuser",
},
},
"script_actions": [],
"target_instance_count": 4,
"virtual_network_profile": {
"id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
"subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
{
"hardware_profile": {
"vm_size": "Small",
},
"min_instance_count": 1,
"name": "zookeepernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"ssh_profile": {
"public_keys": [{
"certificate_data": "**********",
}],
},
"username": "sshuser",
},
},
"script_actions": [],
"target_instance_count": 3,
"virtual_network_profile": {
"id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
"subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
],
},
"os_type": azure_native.hdinsight.OSType.LINUX,
"security_profile": {
"cluster_users_group_dns": ["hdiusers"],
"directory_type": azure_native.hdinsight.DirectoryType.ACTIVE_DIRECTORY,
"domain": "DomainName",
"domain_user_password": "**********",
"domain_username": "DomainUsername",
"ldaps_urls": ["ldaps://10.10.0.4:636"],
"organizational_unit_dn": "OU=Hadoop,DC=hdinsight,DC=test",
},
"storage_profile": {
"storageaccounts": [{
"container": "containername",
"is_default": True,
"key": "storage account key",
"name": "mystorage.blob.core.windows.net",
}],
},
"tier": azure_native.hdinsight.Tier.PREMIUM,
},
resource_group_name="rg1",
tags={
"key1": "val1",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cluster = new azure_native.hdinsight.Cluster("cluster", {
clusterName: "cluster1",
properties: {
clusterDefinition: {
configurations: {
gateway: {
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
kind: "Hadoop",
},
clusterVersion: "3.5",
computeProfile: {
roles: [
{
hardwareProfile: {
vmSize: "Standard_D3_V2",
},
minInstanceCount: 1,
name: "headnode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
sshProfile: {
publicKeys: [{
certificateData: "**********",
}],
},
username: "sshuser",
},
},
scriptActions: [],
targetInstanceCount: 2,
virtualNetworkProfile: {
id: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
subnet: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
{
hardwareProfile: {
vmSize: "Standard_D3_V2",
},
minInstanceCount: 1,
name: "workernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
sshProfile: {
publicKeys: [{
certificateData: "**********",
}],
},
username: "sshuser",
},
},
scriptActions: [],
targetInstanceCount: 4,
virtualNetworkProfile: {
id: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
subnet: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
{
hardwareProfile: {
vmSize: "Small",
},
minInstanceCount: 1,
name: "zookeepernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
sshProfile: {
publicKeys: [{
certificateData: "**********",
}],
},
username: "sshuser",
},
},
scriptActions: [],
targetInstanceCount: 3,
virtualNetworkProfile: {
id: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
subnet: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
],
},
osType: azure_native.hdinsight.OSType.Linux,
securityProfile: {
clusterUsersGroupDNs: ["hdiusers"],
directoryType: azure_native.hdinsight.DirectoryType.ActiveDirectory,
domain: "DomainName",
domainUserPassword: "**********",
domainUsername: "DomainUsername",
ldapsUrls: ["ldaps://10.10.0.4:636"],
organizationalUnitDN: "OU=Hadoop,DC=hdinsight,DC=test",
},
storageProfile: {
storageaccounts: [{
container: "containername",
isDefault: true,
key: "storage account key",
name: "mystorage.blob.core.windows.net",
}],
},
tier: azure_native.hdinsight.Tier.Premium,
},
resourceGroupName: "rg1",
tags: {
key1: "val1",
},
});
resources:
cluster:
type: azure-native:hdinsight:Cluster
properties:
clusterName: cluster1
properties:
clusterDefinition:
configurations:
gateway:
restAuthCredential.isEnabled: true
restAuthCredential.password: '**********'
restAuthCredential.username: admin
kind: Hadoop
clusterVersion: '3.5'
computeProfile:
roles:
- hardwareProfile:
vmSize: Standard_D3_V2
minInstanceCount: 1
name: headnode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
sshProfile:
publicKeys:
- certificateData: '**********'
username: sshuser
scriptActions: []
targetInstanceCount: 2
virtualNetworkProfile:
id: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname
subnet: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet
- hardwareProfile:
vmSize: Standard_D3_V2
minInstanceCount: 1
name: workernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
sshProfile:
publicKeys:
- certificateData: '**********'
username: sshuser
scriptActions: []
targetInstanceCount: 4
virtualNetworkProfile:
id: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname
subnet: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet
- hardwareProfile:
vmSize: Small
minInstanceCount: 1
name: zookeepernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
sshProfile:
publicKeys:
- certificateData: '**********'
username: sshuser
scriptActions: []
targetInstanceCount: 3
virtualNetworkProfile:
id: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname
subnet: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet
osType: Linux
securityProfile:
clusterUsersGroupDNs:
- hdiusers
directoryType: ActiveDirectory
domain: DomainName
domainUserPassword: '**********'
domainUsername: DomainUsername
ldapsUrls:
- ldaps://10.10.0.4:636
organizationalUnitDN: OU=Hadoop,DC=hdinsight,DC=test
storageProfile:
storageaccounts:
- container: containername
isDefault: true
key: storage account key
name: mystorage.blob.core.windows.net
tier: Premium
resourceGroupName: rg1
tags:
key1: val1
Create Spark on Linux Cluster with SSH password
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
{
ClusterName = "cluster1",
Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
{
ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
{
ComponentVersion =
{
{ "Spark", "2.0" },
},
Configurations = new Dictionary<string, object?>
{
["gateway"] = new Dictionary<string, object?>
{
["restAuthCredential.isEnabled"] = true,
["restAuthCredential.password"] = "**********",
["restAuthCredential.username"] = "admin",
},
},
Kind = "Spark",
},
ClusterVersion = "3.5",
ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
{
Roles = new[]
{
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Standard_D12_V2",
},
MinInstanceCount = 1,
Name = "headnode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 2,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Standard_D4_V2",
},
MinInstanceCount = 1,
Name = "workernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 4,
},
},
},
OsType = AzureNative.HDInsight.OSType.Linux,
StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
{
Storageaccounts = new[]
{
new AzureNative.HDInsight.Inputs.StorageAccountArgs
{
Container = "containername",
IsDefault = true,
Key = "storageapikey*",
Name = "mystorage.blob.core.windows.net",
},
},
},
Tier = AzureNative.HDInsight.Tier.Standard,
},
ResourceGroupName = "rg1",
Tags =
{
{ "key1", "val1" },
},
});
});
package main
import (
hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
ClusterName: pulumi.String("cluster1"),
Properties: &hdinsight.ClusterCreatePropertiesArgs{
ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
ComponentVersion: pulumi.StringMap{
"Spark": pulumi.String("2.0"),
},
Configurations: pulumi.Any(map[string]interface{}{
"gateway": map[string]interface{}{
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
}),
Kind: pulumi.String("Spark"),
},
ClusterVersion: pulumi.String("3.5"),
ComputeProfile: &hdinsight.ComputeProfileArgs{
Roles: hdinsight.RoleArray{
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Standard_D12_V2"),
},
MinInstanceCount: pulumi.Int(1),
Name: pulumi.String("headnode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(2),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Standard_D4_V2"),
},
MinInstanceCount: pulumi.Int(1),
Name: pulumi.String("workernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(4),
},
},
},
OsType: pulumi.String(hdinsight.OSTypeLinux),
StorageProfile: &hdinsight.StorageProfileArgs{
Storageaccounts: hdinsight.StorageAccountArray{
&hdinsight.StorageAccountArgs{
Container: pulumi.String("containername"),
IsDefault: pulumi.Bool(true),
Key: pulumi.String("storageapikey*"),
Name: pulumi.String("mystorage.blob.core.windows.net"),
},
},
},
Tier: pulumi.String(hdinsight.TierStandard),
},
ResourceGroupName: pulumi.String("rg1"),
Tags: pulumi.StringMap{
"key1": pulumi.String("val1"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hdinsight.Cluster;
import com.pulumi.azurenative.hdinsight.ClusterArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cluster = new Cluster("cluster", ClusterArgs.builder()
.clusterName("cluster1")
.properties(ClusterCreatePropertiesArgs.builder()
.clusterDefinition(ClusterDefinitionArgs.builder()
.componentVersion(Map.of("Spark", "2.0"))
.configurations(Map.of("gateway", Map.ofEntries(
Map.entry("restAuthCredential.isEnabled", true),
Map.entry("restAuthCredential.password", "**********"),
Map.entry("restAuthCredential.username", "admin")
)))
.kind("Spark")
.build())
.clusterVersion("3.5")
.computeProfile(ComputeProfileArgs.builder()
.roles(
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Standard_D12_V2")
.build())
.minInstanceCount(1)
.name("headnode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(2)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Standard_D4_V2")
.build())
.minInstanceCount(1)
.name("workernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(4)
.build())
.build())
.osType("Linux")
.storageProfile(StorageProfileArgs.builder()
.storageaccounts(StorageAccountArgs.builder()
.container("containername")
.isDefault(true)
.key("storageapikey*")
.name("mystorage.blob.core.windows.net")
.build())
.build())
.tier("Standard")
.build())
.resourceGroupName("rg1")
.tags(Map.of("key1", "val1"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cluster = azure_native.hdinsight.Cluster("cluster",
cluster_name="cluster1",
properties={
"cluster_definition": {
"component_version": {
"Spark": "2.0",
},
"configurations": {
"gateway": {
"restAuthCredential.isEnabled": True,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
"kind": "Spark",
},
"cluster_version": "3.5",
"compute_profile": {
"roles": [
{
"hardware_profile": {
"vm_size": "Standard_D12_V2",
},
"min_instance_count": 1,
"name": "headnode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 2,
},
{
"hardware_profile": {
"vm_size": "Standard_D4_V2",
},
"min_instance_count": 1,
"name": "workernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 4,
},
],
},
"os_type": azure_native.hdinsight.OSType.LINUX,
"storage_profile": {
"storageaccounts": [{
"container": "containername",
"is_default": True,
"key": "storageapikey*",
"name": "mystorage.blob.core.windows.net",
}],
},
"tier": azure_native.hdinsight.Tier.STANDARD,
},
resource_group_name="rg1",
tags={
"key1": "val1",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cluster = new azure_native.hdinsight.Cluster("cluster", {
clusterName: "cluster1",
properties: {
clusterDefinition: {
componentVersion: {
Spark: "2.0",
},
configurations: {
gateway: {
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
kind: "Spark",
},
clusterVersion: "3.5",
computeProfile: {
roles: [
{
hardwareProfile: {
vmSize: "Standard_D12_V2",
},
minInstanceCount: 1,
name: "headnode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 2,
},
{
hardwareProfile: {
vmSize: "Standard_D4_V2",
},
minInstanceCount: 1,
name: "workernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 4,
},
],
},
osType: azure_native.hdinsight.OSType.Linux,
storageProfile: {
storageaccounts: [{
container: "containername",
isDefault: true,
key: "storageapikey*",
name: "mystorage.blob.core.windows.net",
}],
},
tier: azure_native.hdinsight.Tier.Standard,
},
resourceGroupName: "rg1",
tags: {
key1: "val1",
},
});
resources:
cluster:
type: azure-native:hdinsight:Cluster
properties:
clusterName: cluster1
properties:
clusterDefinition:
componentVersion:
Spark: '2.0'
configurations:
gateway:
restAuthCredential.isEnabled: true
restAuthCredential.password: '**********'
restAuthCredential.username: admin
kind: Spark
clusterVersion: '3.5'
computeProfile:
roles:
- hardwareProfile:
vmSize: Standard_D12_V2
minInstanceCount: 1
name: headnode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 2
- hardwareProfile:
vmSize: Standard_D4_V2
minInstanceCount: 1
name: workernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 4
osType: Linux
storageProfile:
storageaccounts:
- container: containername
isDefault: true
key: storageapikey*
name: mystorage.blob.core.windows.net
tier: Standard
resourceGroupName: rg1
tags:
key1: val1
Create cluster with TLS 1.2
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
{
ClusterName = "cluster1",
Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
{
ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
{
Configurations = new Dictionary<string, object?>
{
["gateway"] = new Dictionary<string, object?>
{
["restAuthCredential.isEnabled"] = true,
["restAuthCredential.password"] = "**********",
["restAuthCredential.username"] = "admin",
},
},
Kind = "Hadoop",
},
ClusterVersion = "3.6",
ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
{
Roles = new[]
{
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Large",
},
Name = "headnode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 2,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Large",
},
Name = "workernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 3,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Small",
},
Name = "zookeepernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 3,
},
},
},
MinSupportedTlsVersion = "1.2",
OsType = AzureNative.HDInsight.OSType.Linux,
StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
{
Storageaccounts = new[]
{
new AzureNative.HDInsight.Inputs.StorageAccountArgs
{
Container = "default8525",
IsDefault = true,
Key = "storagekey",
Name = "mystorage.blob.core.windows.net",
},
},
},
Tier = AzureNative.HDInsight.Tier.Standard,
},
ResourceGroupName = "rg1",
});
});
package main
import (
hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
ClusterName: pulumi.String("cluster1"),
Properties: &hdinsight.ClusterCreatePropertiesArgs{
ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
Configurations: pulumi.Any(map[string]interface{}{
"gateway": map[string]interface{}{
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
}),
Kind: pulumi.String("Hadoop"),
},
ClusterVersion: pulumi.String("3.6"),
ComputeProfile: &hdinsight.ComputeProfileArgs{
Roles: hdinsight.RoleArray{
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Large"),
},
Name: pulumi.String("headnode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(2),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Large"),
},
Name: pulumi.String("workernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(3),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Small"),
},
Name: pulumi.String("zookeepernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(3),
},
},
},
MinSupportedTlsVersion: pulumi.String("1.2"),
OsType: pulumi.String(hdinsight.OSTypeLinux),
StorageProfile: &hdinsight.StorageProfileArgs{
Storageaccounts: hdinsight.StorageAccountArray{
&hdinsight.StorageAccountArgs{
Container: pulumi.String("default8525"),
IsDefault: pulumi.Bool(true),
Key: pulumi.String("storagekey"),
Name: pulumi.String("mystorage.blob.core.windows.net"),
},
},
},
Tier: pulumi.String(hdinsight.TierStandard),
},
ResourceGroupName: pulumi.String("rg1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hdinsight.Cluster;
import com.pulumi.azurenative.hdinsight.ClusterArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cluster = new Cluster("cluster", ClusterArgs.builder()
.clusterName("cluster1")
.properties(ClusterCreatePropertiesArgs.builder()
.clusterDefinition(ClusterDefinitionArgs.builder()
.configurations(Map.of("gateway", Map.ofEntries(
Map.entry("restAuthCredential.isEnabled", true),
Map.entry("restAuthCredential.password", "**********"),
Map.entry("restAuthCredential.username", "admin")
)))
.kind("Hadoop")
.build())
.clusterVersion("3.6")
.computeProfile(ComputeProfileArgs.builder()
.roles(
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Large")
.build())
.name("headnode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(2)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Large")
.build())
.name("workernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(3)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Small")
.build())
.name("zookeepernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(3)
.build())
.build())
.minSupportedTlsVersion("1.2")
.osType("Linux")
.storageProfile(StorageProfileArgs.builder()
.storageaccounts(StorageAccountArgs.builder()
.container("default8525")
.isDefault(true)
.key("storagekey")
.name("mystorage.blob.core.windows.net")
.build())
.build())
.tier("Standard")
.build())
.resourceGroupName("rg1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cluster = azure_native.hdinsight.Cluster("cluster",
cluster_name="cluster1",
properties={
"cluster_definition": {
"configurations": {
"gateway": {
"restAuthCredential.isEnabled": True,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
"kind": "Hadoop",
},
"cluster_version": "3.6",
"compute_profile": {
"roles": [
{
"hardware_profile": {
"vm_size": "Large",
},
"name": "headnode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 2,
},
{
"hardware_profile": {
"vm_size": "Large",
},
"name": "workernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 3,
},
{
"hardware_profile": {
"vm_size": "Small",
},
"name": "zookeepernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 3,
},
],
},
"min_supported_tls_version": "1.2",
"os_type": azure_native.hdinsight.OSType.LINUX,
"storage_profile": {
"storageaccounts": [{
"container": "default8525",
"is_default": True,
"key": "storagekey",
"name": "mystorage.blob.core.windows.net",
}],
},
"tier": azure_native.hdinsight.Tier.STANDARD,
},
resource_group_name="rg1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cluster = new azure_native.hdinsight.Cluster("cluster", {
clusterName: "cluster1",
properties: {
clusterDefinition: {
configurations: {
gateway: {
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
kind: "Hadoop",
},
clusterVersion: "3.6",
computeProfile: {
roles: [
{
hardwareProfile: {
vmSize: "Large",
},
name: "headnode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 2,
},
{
hardwareProfile: {
vmSize: "Large",
},
name: "workernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 3,
},
{
hardwareProfile: {
vmSize: "Small",
},
name: "zookeepernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 3,
},
],
},
minSupportedTlsVersion: "1.2",
osType: azure_native.hdinsight.OSType.Linux,
storageProfile: {
storageaccounts: [{
container: "default8525",
isDefault: true,
key: "storagekey",
name: "mystorage.blob.core.windows.net",
}],
},
tier: azure_native.hdinsight.Tier.Standard,
},
resourceGroupName: "rg1",
});
resources:
cluster:
type: azure-native:hdinsight:Cluster
properties:
clusterName: cluster1
properties:
clusterDefinition:
configurations:
gateway:
restAuthCredential.isEnabled: true
restAuthCredential.password: '**********'
restAuthCredential.username: admin
kind: Hadoop
clusterVersion: '3.6'
computeProfile:
roles:
- hardwareProfile:
vmSize: Large
name: headnode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 2
- hardwareProfile:
vmSize: Large
name: workernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 3
- hardwareProfile:
vmSize: Small
name: zookeepernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 3
minSupportedTlsVersion: '1.2'
osType: Linux
storageProfile:
storageaccounts:
- container: default8525
isDefault: true
key: storagekey
name: mystorage.blob.core.windows.net
tier: Standard
resourceGroupName: rg1
Create cluster with availability zones
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
{
ClusterName = "cluster1",
Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
{
ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
{
Configurations = new Dictionary<string, object?>
{
["ambari-conf"] = new Dictionary<string, object?>
{
["database-name"] = "{ambari database name}",
["database-server"] = "{sql server name}.database.windows.net",
["database-user-name"] = "**********",
["database-user-password"] = "**********",
},
["gateway"] = new Dictionary<string, object?>
{
["restAuthCredential.isEnabled"] = true,
["restAuthCredential.password"] = "**********",
["restAuthCredential.username"] = "admin",
},
["hive-env"] = new Dictionary<string, object?>
{
["hive_database"] = "Existing MSSQL Server database with SQL authentication",
["hive_database_name"] = "{hive metastore name}",
["hive_database_type"] = "mssql",
["hive_existing_mssql_server_database"] = "{hive metastore name}",
["hive_existing_mssql_server_host"] = "{sql server name}.database.windows.net",
["hive_hostname"] = "{sql server name}.database.windows.net",
},
["hive-site"] = new Dictionary<string, object?>
{
["javax.jdo.option.ConnectionDriverName"] = "com.microsoft.sqlserver.jdbc.SQLServerDriver",
["javax.jdo.option.ConnectionPassword"] = "**********!",
["javax.jdo.option.ConnectionURL"] = "jdbc:sqlserver://{sql server name}.database.windows.net;database={hive metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
["javax.jdo.option.ConnectionUserName"] = "**********",
},
["oozie-env"] = new Dictionary<string, object?>
{
["oozie_database"] = "Existing MSSQL Server database with SQL authentication",
["oozie_database_name"] = "{oozie metastore name}",
["oozie_database_type"] = "mssql",
["oozie_existing_mssql_server_database"] = "{oozie metastore name}",
["oozie_existing_mssql_server_host"] = "{sql server name}.database.windows.net",
["oozie_hostname"] = "{sql server name}.database.windows.net",
},
["oozie-site"] = new Dictionary<string, object?>
{
["oozie.db.schema.name"] = "oozie",
["oozie.service.JPAService.jdbc.driver"] = "com.microsoft.sqlserver.jdbc.SQLServerDriver",
["oozie.service.JPAService.jdbc.password"] = "**********",
["oozie.service.JPAService.jdbc.url"] = "jdbc:sqlserver://{sql server name}.database.windows.net;database={oozie metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
["oozie.service.JPAService.jdbc.username"] = "**********",
},
},
Kind = "hadoop",
},
ClusterVersion = "3.6",
ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
{
Roles = new[]
{
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "standard_d3",
},
Name = "headnode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
{
PublicKeys = new[]
{
new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
{
CertificateData = "**********",
},
},
},
Username = "sshuser",
},
},
TargetInstanceCount = 2,
VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
{
Id = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
Subnet = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "standard_d3",
},
Name = "workernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
{
PublicKeys = new[]
{
new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
{
CertificateData = "**********",
},
},
},
Username = "sshuser",
},
},
TargetInstanceCount = 2,
VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
{
Id = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
Subnet = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
},
},
OsType = AzureNative.HDInsight.OSType.Linux,
StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
{
Storageaccounts = new[]
{
new AzureNative.HDInsight.Inputs.StorageAccountArgs
{
Container = "containername",
IsDefault = true,
Key = "storage account key",
Name = "mystorage",
},
},
},
},
ResourceGroupName = "rg1",
Zones = new[]
{
"1",
},
});
});
package main
import (
hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
ClusterName: pulumi.String("cluster1"),
Properties: &hdinsight.ClusterCreatePropertiesArgs{
ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
Configurations: pulumi.Any(map[string]interface{}{
"ambari-conf": map[string]interface{}{
"database-name": "{ambari database name}",
"database-server": "{sql server name}.database.windows.net",
"database-user-name": "**********",
"database-user-password": "**********",
},
"gateway": map[string]interface{}{
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
"hive-env": map[string]interface{}{
"hive_database": "Existing MSSQL Server database with SQL authentication",
"hive_database_name": "{hive metastore name}",
"hive_database_type": "mssql",
"hive_existing_mssql_server_database": "{hive metastore name}",
"hive_existing_mssql_server_host": "{sql server name}.database.windows.net",
"hive_hostname": "{sql server name}.database.windows.net",
},
"hive-site": map[string]interface{}{
"javax.jdo.option.ConnectionDriverName": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
"javax.jdo.option.ConnectionPassword": "**********!",
"javax.jdo.option.ConnectionURL": "jdbc:sqlserver://{sql server name}.database.windows.net;database={hive metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
"javax.jdo.option.ConnectionUserName": "**********",
},
"oozie-env": map[string]interface{}{
"oozie_database": "Existing MSSQL Server database with SQL authentication",
"oozie_database_name": "{oozie metastore name}",
"oozie_database_type": "mssql",
"oozie_existing_mssql_server_database": "{oozie metastore name}",
"oozie_existing_mssql_server_host": "{sql server name}.database.windows.net",
"oozie_hostname": "{sql server name}.database.windows.net",
},
"oozie-site": map[string]interface{}{
"oozie.db.schema.name": "oozie",
"oozie.service.JPAService.jdbc.driver": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
"oozie.service.JPAService.jdbc.password": "**********",
"oozie.service.JPAService.jdbc.url": "jdbc:sqlserver://{sql server name}.database.windows.net;database={oozie metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
"oozie.service.JPAService.jdbc.username": "**********",
},
}),
Kind: pulumi.String("hadoop"),
},
ClusterVersion: pulumi.String("3.6"),
ComputeProfile: &hdinsight.ComputeProfileArgs{
Roles: hdinsight.RoleArray{
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("standard_d3"),
},
Name: pulumi.String("headnode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
SshProfile: &hdinsight.SshProfileArgs{
PublicKeys: hdinsight.SshPublicKeyArray{
&hdinsight.SshPublicKeyArgs{
CertificateData: pulumi.String("**********"),
},
},
},
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(2),
VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
Id: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname"),
Subnet: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"),
},
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("standard_d3"),
},
Name: pulumi.String("workernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
SshProfile: &hdinsight.SshProfileArgs{
PublicKeys: hdinsight.SshPublicKeyArray{
&hdinsight.SshPublicKeyArgs{
CertificateData: pulumi.String("**********"),
},
},
},
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(2),
VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
Id: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname"),
Subnet: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"),
},
},
},
},
OsType: pulumi.String(hdinsight.OSTypeLinux),
StorageProfile: &hdinsight.StorageProfileArgs{
Storageaccounts: hdinsight.StorageAccountArray{
&hdinsight.StorageAccountArgs{
Container: pulumi.String("containername"),
IsDefault: pulumi.Bool(true),
Key: pulumi.String("storage account key"),
Name: pulumi.String("mystorage"),
},
},
},
},
ResourceGroupName: pulumi.String("rg1"),
Zones: pulumi.StringArray{
pulumi.String("1"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hdinsight.Cluster;
import com.pulumi.azurenative.hdinsight.ClusterArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cluster = new Cluster("cluster", ClusterArgs.builder()
.clusterName("cluster1")
.properties(ClusterCreatePropertiesArgs.builder()
.clusterDefinition(ClusterDefinitionArgs.builder()
.configurations(Map.ofEntries(
Map.entry("ambari-conf", Map.ofEntries(
Map.entry("database-name", "{ambari database name}"),
Map.entry("database-server", "{sql server name}.database.windows.net"),
Map.entry("database-user-name", "**********"),
Map.entry("database-user-password", "**********")
)),
Map.entry("gateway", Map.ofEntries(
Map.entry("restAuthCredential.isEnabled", true),
Map.entry("restAuthCredential.password", "**********"),
Map.entry("restAuthCredential.username", "admin")
)),
Map.entry("hive-env", Map.ofEntries(
Map.entry("hive_database", "Existing MSSQL Server database with SQL authentication"),
Map.entry("hive_database_name", "{hive metastore name}"),
Map.entry("hive_database_type", "mssql"),
Map.entry("hive_existing_mssql_server_database", "{hive metastore name}"),
Map.entry("hive_existing_mssql_server_host", "{sql server name}.database.windows.net"),
Map.entry("hive_hostname", "{sql server name}.database.windows.net")
)),
Map.entry("hive-site", Map.ofEntries(
Map.entry("javax.jdo.option.ConnectionDriverName", "com.microsoft.sqlserver.jdbc.SQLServerDriver"),
Map.entry("javax.jdo.option.ConnectionPassword", "**********!"),
Map.entry("javax.jdo.option.ConnectionURL", "jdbc:sqlserver://{sql server name}.database.windows.net;database={hive metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0"),
Map.entry("javax.jdo.option.ConnectionUserName", "**********")
)),
Map.entry("oozie-env", Map.ofEntries(
Map.entry("oozie_database", "Existing MSSQL Server database with SQL authentication"),
Map.entry("oozie_database_name", "{oozie metastore name}"),
Map.entry("oozie_database_type", "mssql"),
Map.entry("oozie_existing_mssql_server_database", "{oozie metastore name}"),
Map.entry("oozie_existing_mssql_server_host", "{sql server name}.database.windows.net"),
Map.entry("oozie_hostname", "{sql server name}.database.windows.net")
)),
Map.entry("oozie-site", Map.ofEntries(
Map.entry("oozie.db.schema.name", "oozie"),
Map.entry("oozie.service.JPAService.jdbc.driver", "com.microsoft.sqlserver.jdbc.SQLServerDriver"),
Map.entry("oozie.service.JPAService.jdbc.password", "**********"),
Map.entry("oozie.service.JPAService.jdbc.url", "jdbc:sqlserver://{sql server name}.database.windows.net;database={oozie metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0"),
Map.entry("oozie.service.JPAService.jdbc.username", "**********")
))
))
.kind("hadoop")
.build())
.clusterVersion("3.6")
.computeProfile(ComputeProfileArgs.builder()
.roles(
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("standard_d3")
.build())
.name("headnode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.sshProfile(SshProfileArgs.builder()
.publicKeys(SshPublicKeyArgs.builder()
.certificateData("**********")
.build())
.build())
.username("sshuser")
.build())
.build())
.targetInstanceCount(2)
.virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
.id("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname")
.subnet("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet")
.build())
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("standard_d3")
.build())
.name("workernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.sshProfile(SshProfileArgs.builder()
.publicKeys(SshPublicKeyArgs.builder()
.certificateData("**********")
.build())
.build())
.username("sshuser")
.build())
.build())
.targetInstanceCount(2)
.virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
.id("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname")
.subnet("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet")
.build())
.build())
.build())
.osType("Linux")
.storageProfile(StorageProfileArgs.builder()
.storageaccounts(StorageAccountArgs.builder()
.container("containername")
.isDefault(true)
.key("storage account key")
.name("mystorage")
.build())
.build())
.build())
.resourceGroupName("rg1")
.zones("1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cluster = azure_native.hdinsight.Cluster("cluster",
cluster_name="cluster1",
properties={
"cluster_definition": {
"configurations": {
"ambari-conf": {
"database-name": "{ambari database name}",
"database-server": "{sql server name}.database.windows.net",
"database-user-name": "**********",
"database-user-password": "**********",
},
"gateway": {
"restAuthCredential.isEnabled": True,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
"hive-env": {
"hive_database": "Existing MSSQL Server database with SQL authentication",
"hive_database_name": "{hive metastore name}",
"hive_database_type": "mssql",
"hive_existing_mssql_server_database": "{hive metastore name}",
"hive_existing_mssql_server_host": "{sql server name}.database.windows.net",
"hive_hostname": "{sql server name}.database.windows.net",
},
"hive-site": {
"javax.jdo.option.ConnectionDriverName": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
"javax.jdo.option.ConnectionPassword": "**********!",
"javax.jdo.option.ConnectionURL": "jdbc:sqlserver://{sql server name}.database.windows.net;database={hive metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
"javax.jdo.option.ConnectionUserName": "**********",
},
"oozie-env": {
"oozie_database": "Existing MSSQL Server database with SQL authentication",
"oozie_database_name": "{oozie metastore name}",
"oozie_database_type": "mssql",
"oozie_existing_mssql_server_database": "{oozie metastore name}",
"oozie_existing_mssql_server_host": "{sql server name}.database.windows.net",
"oozie_hostname": "{sql server name}.database.windows.net",
},
"oozie-site": {
"oozie.db.schema.name": "oozie",
"oozie.service.JPAService.jdbc.driver": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
"oozie.service.JPAService.jdbc.password": "**********",
"oozie.service.JPAService.jdbc.url": "jdbc:sqlserver://{sql server name}.database.windows.net;database={oozie metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
"oozie.service.JPAService.jdbc.username": "**********",
},
},
"kind": "hadoop",
},
"cluster_version": "3.6",
"compute_profile": {
"roles": [
{
"hardware_profile": {
"vm_size": "standard_d3",
},
"name": "headnode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"ssh_profile": {
"public_keys": [{
"certificate_data": "**********",
}],
},
"username": "sshuser",
},
},
"target_instance_count": 2,
"virtual_network_profile": {
"id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
"subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
{
"hardware_profile": {
"vm_size": "standard_d3",
},
"name": "workernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"ssh_profile": {
"public_keys": [{
"certificate_data": "**********",
}],
},
"username": "sshuser",
},
},
"target_instance_count": 2,
"virtual_network_profile": {
"id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
"subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
],
},
"os_type": azure_native.hdinsight.OSType.LINUX,
"storage_profile": {
"storageaccounts": [{
"container": "containername",
"is_default": True,
"key": "storage account key",
"name": "mystorage",
}],
},
},
resource_group_name="rg1",
zones=["1"])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cluster = new azure_native.hdinsight.Cluster("cluster", {
clusterName: "cluster1",
properties: {
clusterDefinition: {
configurations: {
"ambari-conf": {
"database-name": "{ambari database name}",
"database-server": "{sql server name}.database.windows.net",
"database-user-name": "**********",
"database-user-password": "**********",
},
gateway: {
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
"hive-env": {
hive_database: "Existing MSSQL Server database with SQL authentication",
hive_database_name: "{hive metastore name}",
hive_database_type: "mssql",
hive_existing_mssql_server_database: "{hive metastore name}",
hive_existing_mssql_server_host: "{sql server name}.database.windows.net",
hive_hostname: "{sql server name}.database.windows.net",
},
"hive-site": {
"javax.jdo.option.ConnectionDriverName": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
"javax.jdo.option.ConnectionPassword": "**********!",
"javax.jdo.option.ConnectionURL": "jdbc:sqlserver://{sql server name}.database.windows.net;database={hive metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
"javax.jdo.option.ConnectionUserName": "**********",
},
"oozie-env": {
oozie_database: "Existing MSSQL Server database with SQL authentication",
oozie_database_name: "{oozie metastore name}",
oozie_database_type: "mssql",
oozie_existing_mssql_server_database: "{oozie metastore name}",
oozie_existing_mssql_server_host: "{sql server name}.database.windows.net",
oozie_hostname: "{sql server name}.database.windows.net",
},
"oozie-site": {
"oozie.db.schema.name": "oozie",
"oozie.service.JPAService.jdbc.driver": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
"oozie.service.JPAService.jdbc.password": "**********",
"oozie.service.JPAService.jdbc.url": "jdbc:sqlserver://{sql server name}.database.windows.net;database={oozie metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
"oozie.service.JPAService.jdbc.username": "**********",
},
},
kind: "hadoop",
},
clusterVersion: "3.6",
computeProfile: {
roles: [
{
hardwareProfile: {
vmSize: "standard_d3",
},
name: "headnode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
sshProfile: {
publicKeys: [{
certificateData: "**********",
}],
},
username: "sshuser",
},
},
targetInstanceCount: 2,
virtualNetworkProfile: {
id: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
subnet: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
{
hardwareProfile: {
vmSize: "standard_d3",
},
name: "workernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
sshProfile: {
publicKeys: [{
certificateData: "**********",
}],
},
username: "sshuser",
},
},
targetInstanceCount: 2,
virtualNetworkProfile: {
id: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
subnet: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
],
},
osType: azure_native.hdinsight.OSType.Linux,
storageProfile: {
storageaccounts: [{
container: "containername",
isDefault: true,
key: "storage account key",
name: "mystorage",
}],
},
},
resourceGroupName: "rg1",
zones: ["1"],
});
resources:
cluster:
type: azure-native:hdinsight:Cluster
properties:
clusterName: cluster1
properties:
clusterDefinition:
configurations:
ambari-conf:
database-name: '{ambari database name}'
database-server: '{sql server name}.database.windows.net'
database-user-name: '**********'
database-user-password: '**********'
gateway:
restAuthCredential.isEnabled: true
restAuthCredential.password: '**********'
restAuthCredential.username: admin
hive-env:
hive_database: Existing MSSQL Server database with SQL authentication
hive_database_name: '{hive metastore name}'
hive_database_type: mssql
hive_existing_mssql_server_database: '{hive metastore name}'
hive_existing_mssql_server_host: '{sql server name}.database.windows.net'
hive_hostname: '{sql server name}.database.windows.net'
hive-site:
javax.jdo.option.ConnectionDriverName: com.microsoft.sqlserver.jdbc.SQLServerDriver
javax.jdo.option.ConnectionPassword: '**********!'
javax.jdo.option.ConnectionURL: jdbc:sqlserver://{sql server name}.database.windows.net;database={hive metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0
javax.jdo.option.ConnectionUserName: '**********'
oozie-env:
oozie_database: Existing MSSQL Server database with SQL authentication
oozie_database_name: '{oozie metastore name}'
oozie_database_type: mssql
oozie_existing_mssql_server_database: '{oozie metastore name}'
oozie_existing_mssql_server_host: '{sql server name}.database.windows.net'
oozie_hostname: '{sql server name}.database.windows.net'
oozie-site:
oozie.db.schema.name: oozie
oozie.service.JPAService.jdbc.driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
oozie.service.JPAService.jdbc.password: '**********'
oozie.service.JPAService.jdbc.url: jdbc:sqlserver://{sql server name}.database.windows.net;database={oozie metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0
oozie.service.JPAService.jdbc.username: '**********'
kind: hadoop
clusterVersion: '3.6'
computeProfile:
roles:
- hardwareProfile:
vmSize: standard_d3
name: headnode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
sshProfile:
publicKeys:
- certificateData: '**********'
username: sshuser
targetInstanceCount: 2
virtualNetworkProfile:
id: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname
subnet: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet
- hardwareProfile:
vmSize: standard_d3
name: workernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
sshProfile:
publicKeys:
- certificateData: '**********'
username: sshuser
targetInstanceCount: 2
virtualNetworkProfile:
id: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname
subnet: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet
osType: Linux
storageProfile:
storageaccounts:
- container: containername
isDefault: true
key: storage account key
name: mystorage
resourceGroupName: rg1
zones:
- '1'
Create cluster with compute isolation properties
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
{
ClusterName = "cluster1",
Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
{
ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
{
Configurations = new Dictionary<string, object?>
{
["gateway"] = new Dictionary<string, object?>
{
["restAuthCredential.isEnabled"] = true,
["restAuthCredential.password"] = "**********",
["restAuthCredential.username"] = "admin",
},
},
Kind = "hadoop",
},
ClusterVersion = "3.6",
ComputeIsolationProperties = new AzureNative.HDInsight.Inputs.ComputeIsolationPropertiesArgs
{
EnableComputeIsolation = true,
},
ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
{
Roles = new[]
{
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "standard_d3",
},
Name = "headnode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
{
PublicKeys = new[]
{
new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
{
CertificateData = "**********",
},
},
},
Username = "sshuser",
},
},
TargetInstanceCount = 2,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "standard_d3",
},
Name = "workernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
{
PublicKeys = new[]
{
new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
{
CertificateData = "**********",
},
},
},
Username = "sshuser",
},
},
TargetInstanceCount = 2,
},
},
},
OsType = AzureNative.HDInsight.OSType.Linux,
StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
{
Storageaccounts = new[]
{
new AzureNative.HDInsight.Inputs.StorageAccountArgs
{
Container = "containername",
IsDefault = true,
Key = "storage account key",
Name = "mystorage",
},
},
},
},
ResourceGroupName = "rg1",
});
});
package main
import (
hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
ClusterName: pulumi.String("cluster1"),
Properties: &hdinsight.ClusterCreatePropertiesArgs{
ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
Configurations: pulumi.Any(map[string]interface{}{
"gateway": map[string]interface{}{
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
}),
Kind: pulumi.String("hadoop"),
},
ClusterVersion: pulumi.String("3.6"),
ComputeIsolationProperties: &hdinsight.ComputeIsolationPropertiesArgs{
EnableComputeIsolation: pulumi.Bool(true),
},
ComputeProfile: &hdinsight.ComputeProfileArgs{
Roles: hdinsight.RoleArray{
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("standard_d3"),
},
Name: pulumi.String("headnode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
SshProfile: &hdinsight.SshProfileArgs{
PublicKeys: hdinsight.SshPublicKeyArray{
&hdinsight.SshPublicKeyArgs{
CertificateData: pulumi.String("**********"),
},
},
},
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(2),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("standard_d3"),
},
Name: pulumi.String("workernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
SshProfile: &hdinsight.SshProfileArgs{
PublicKeys: hdinsight.SshPublicKeyArray{
&hdinsight.SshPublicKeyArgs{
CertificateData: pulumi.String("**********"),
},
},
},
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(2),
},
},
},
OsType: pulumi.String(hdinsight.OSTypeLinux),
StorageProfile: &hdinsight.StorageProfileArgs{
Storageaccounts: hdinsight.StorageAccountArray{
&hdinsight.StorageAccountArgs{
Container: pulumi.String("containername"),
IsDefault: pulumi.Bool(true),
Key: pulumi.String("storage account key"),
Name: pulumi.String("mystorage"),
},
},
},
},
ResourceGroupName: pulumi.String("rg1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hdinsight.Cluster;
import com.pulumi.azurenative.hdinsight.ClusterArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
import com.pulumi.azurenative.hdinsight.inputs.ComputeIsolationPropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cluster = new Cluster("cluster", ClusterArgs.builder()
.clusterName("cluster1")
.properties(ClusterCreatePropertiesArgs.builder()
.clusterDefinition(ClusterDefinitionArgs.builder()
.configurations(Map.of("gateway", Map.ofEntries(
Map.entry("restAuthCredential.isEnabled", true),
Map.entry("restAuthCredential.password", "**********"),
Map.entry("restAuthCredential.username", "admin")
)))
.kind("hadoop")
.build())
.clusterVersion("3.6")
.computeIsolationProperties(ComputeIsolationPropertiesArgs.builder()
.enableComputeIsolation(true)
.build())
.computeProfile(ComputeProfileArgs.builder()
.roles(
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("standard_d3")
.build())
.name("headnode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.sshProfile(SshProfileArgs.builder()
.publicKeys(SshPublicKeyArgs.builder()
.certificateData("**********")
.build())
.build())
.username("sshuser")
.build())
.build())
.targetInstanceCount(2)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("standard_d3")
.build())
.name("workernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.sshProfile(SshProfileArgs.builder()
.publicKeys(SshPublicKeyArgs.builder()
.certificateData("**********")
.build())
.build())
.username("sshuser")
.build())
.build())
.targetInstanceCount(2)
.build())
.build())
.osType("Linux")
.storageProfile(StorageProfileArgs.builder()
.storageaccounts(StorageAccountArgs.builder()
.container("containername")
.isDefault(true)
.key("storage account key")
.name("mystorage")
.build())
.build())
.build())
.resourceGroupName("rg1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cluster = azure_native.hdinsight.Cluster("cluster",
cluster_name="cluster1",
properties={
"cluster_definition": {
"configurations": {
"gateway": {
"restAuthCredential.isEnabled": True,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
"kind": "hadoop",
},
"cluster_version": "3.6",
"compute_isolation_properties": {
"enable_compute_isolation": True,
},
"compute_profile": {
"roles": [
{
"hardware_profile": {
"vm_size": "standard_d3",
},
"name": "headnode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"ssh_profile": {
"public_keys": [{
"certificate_data": "**********",
}],
},
"username": "sshuser",
},
},
"target_instance_count": 2,
},
{
"hardware_profile": {
"vm_size": "standard_d3",
},
"name": "workernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"ssh_profile": {
"public_keys": [{
"certificate_data": "**********",
}],
},
"username": "sshuser",
},
},
"target_instance_count": 2,
},
],
},
"os_type": azure_native.hdinsight.OSType.LINUX,
"storage_profile": {
"storageaccounts": [{
"container": "containername",
"is_default": True,
"key": "storage account key",
"name": "mystorage",
}],
},
},
resource_group_name="rg1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cluster = new azure_native.hdinsight.Cluster("cluster", {
clusterName: "cluster1",
properties: {
clusterDefinition: {
configurations: {
gateway: {
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
kind: "hadoop",
},
clusterVersion: "3.6",
computeIsolationProperties: {
enableComputeIsolation: true,
},
computeProfile: {
roles: [
{
hardwareProfile: {
vmSize: "standard_d3",
},
name: "headnode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
sshProfile: {
publicKeys: [{
certificateData: "**********",
}],
},
username: "sshuser",
},
},
targetInstanceCount: 2,
},
{
hardwareProfile: {
vmSize: "standard_d3",
},
name: "workernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
sshProfile: {
publicKeys: [{
certificateData: "**********",
}],
},
username: "sshuser",
},
},
targetInstanceCount: 2,
},
],
},
osType: azure_native.hdinsight.OSType.Linux,
storageProfile: {
storageaccounts: [{
container: "containername",
isDefault: true,
key: "storage account key",
name: "mystorage",
}],
},
},
resourceGroupName: "rg1",
});
resources:
cluster:
type: azure-native:hdinsight:Cluster
properties:
clusterName: cluster1
properties:
clusterDefinition:
configurations:
gateway:
restAuthCredential.isEnabled: true
restAuthCredential.password: '**********'
restAuthCredential.username: admin
kind: hadoop
clusterVersion: '3.6'
computeIsolationProperties:
enableComputeIsolation: true
computeProfile:
roles:
- hardwareProfile:
vmSize: standard_d3
name: headnode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
sshProfile:
publicKeys:
- certificateData: '**********'
username: sshuser
targetInstanceCount: 2
- hardwareProfile:
vmSize: standard_d3
name: workernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
sshProfile:
publicKeys:
- certificateData: '**********'
username: sshuser
targetInstanceCount: 2
osType: Linux
storageProfile:
storageaccounts:
- container: containername
isDefault: true
key: storage account key
name: mystorage
resourceGroupName: rg1
Create cluster with encryption at host
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
{
ClusterName = "cluster1",
Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
{
ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
{
Configurations = new Dictionary<string, object?>
{
["gateway"] = new Dictionary<string, object?>
{
["restAuthCredential.isEnabled"] = true,
["restAuthCredential.password"] = "**********",
["restAuthCredential.username"] = "admin",
},
},
Kind = "Hadoop",
},
ClusterVersion = "3.6",
ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
{
Roles = new[]
{
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Standard_DS14_v2",
},
Name = "headnode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 2,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Standard_DS14_v2",
},
Name = "workernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 3,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Standard_DS14_v2",
},
Name = "zookeepernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 3,
},
},
},
DiskEncryptionProperties = new AzureNative.HDInsight.Inputs.DiskEncryptionPropertiesArgs
{
EncryptionAtHost = true,
},
OsType = AzureNative.HDInsight.OSType.Linux,
StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
{
Storageaccounts = new[]
{
new AzureNative.HDInsight.Inputs.StorageAccountArgs
{
Container = "default8525",
IsDefault = true,
Key = "storagekey",
Name = "mystorage.blob.core.windows.net",
},
},
},
Tier = AzureNative.HDInsight.Tier.Standard,
},
ResourceGroupName = "rg1",
});
});
package main
import (
hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
ClusterName: pulumi.String("cluster1"),
Properties: &hdinsight.ClusterCreatePropertiesArgs{
ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
Configurations: pulumi.Any(map[string]interface{}{
"gateway": map[string]interface{}{
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
}),
Kind: pulumi.String("Hadoop"),
},
ClusterVersion: pulumi.String("3.6"),
ComputeProfile: &hdinsight.ComputeProfileArgs{
Roles: hdinsight.RoleArray{
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Standard_DS14_v2"),
},
Name: pulumi.String("headnode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(2),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Standard_DS14_v2"),
},
Name: pulumi.String("workernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(3),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Standard_DS14_v2"),
},
Name: pulumi.String("zookeepernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(3),
},
},
},
DiskEncryptionProperties: &hdinsight.DiskEncryptionPropertiesArgs{
EncryptionAtHost: pulumi.Bool(true),
},
OsType: pulumi.String(hdinsight.OSTypeLinux),
StorageProfile: &hdinsight.StorageProfileArgs{
Storageaccounts: hdinsight.StorageAccountArray{
&hdinsight.StorageAccountArgs{
Container: pulumi.String("default8525"),
IsDefault: pulumi.Bool(true),
Key: pulumi.String("storagekey"),
Name: pulumi.String("mystorage.blob.core.windows.net"),
},
},
},
Tier: pulumi.String(hdinsight.TierStandard),
},
ResourceGroupName: pulumi.String("rg1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hdinsight.Cluster;
import com.pulumi.azurenative.hdinsight.ClusterArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
import com.pulumi.azurenative.hdinsight.inputs.DiskEncryptionPropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cluster = new Cluster("cluster", ClusterArgs.builder()
.clusterName("cluster1")
.properties(ClusterCreatePropertiesArgs.builder()
.clusterDefinition(ClusterDefinitionArgs.builder()
.configurations(Map.of("gateway", Map.ofEntries(
Map.entry("restAuthCredential.isEnabled", true),
Map.entry("restAuthCredential.password", "**********"),
Map.entry("restAuthCredential.username", "admin")
)))
.kind("Hadoop")
.build())
.clusterVersion("3.6")
.computeProfile(ComputeProfileArgs.builder()
.roles(
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Standard_DS14_v2")
.build())
.name("headnode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(2)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Standard_DS14_v2")
.build())
.name("workernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(3)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Standard_DS14_v2")
.build())
.name("zookeepernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(3)
.build())
.build())
.diskEncryptionProperties(DiskEncryptionPropertiesArgs.builder()
.encryptionAtHost(true)
.build())
.osType("Linux")
.storageProfile(StorageProfileArgs.builder()
.storageaccounts(StorageAccountArgs.builder()
.container("default8525")
.isDefault(true)
.key("storagekey")
.name("mystorage.blob.core.windows.net")
.build())
.build())
.tier("Standard")
.build())
.resourceGroupName("rg1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cluster = azure_native.hdinsight.Cluster("cluster",
cluster_name="cluster1",
properties={
"cluster_definition": {
"configurations": {
"gateway": {
"restAuthCredential.isEnabled": True,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
"kind": "Hadoop",
},
"cluster_version": "3.6",
"compute_profile": {
"roles": [
{
"hardware_profile": {
"vm_size": "Standard_DS14_v2",
},
"name": "headnode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 2,
},
{
"hardware_profile": {
"vm_size": "Standard_DS14_v2",
},
"name": "workernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 3,
},
{
"hardware_profile": {
"vm_size": "Standard_DS14_v2",
},
"name": "zookeepernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 3,
},
],
},
"disk_encryption_properties": {
"encryption_at_host": True,
},
"os_type": azure_native.hdinsight.OSType.LINUX,
"storage_profile": {
"storageaccounts": [{
"container": "default8525",
"is_default": True,
"key": "storagekey",
"name": "mystorage.blob.core.windows.net",
}],
},
"tier": azure_native.hdinsight.Tier.STANDARD,
},
resource_group_name="rg1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cluster = new azure_native.hdinsight.Cluster("cluster", {
clusterName: "cluster1",
properties: {
clusterDefinition: {
configurations: {
gateway: {
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
kind: "Hadoop",
},
clusterVersion: "3.6",
computeProfile: {
roles: [
{
hardwareProfile: {
vmSize: "Standard_DS14_v2",
},
name: "headnode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 2,
},
{
hardwareProfile: {
vmSize: "Standard_DS14_v2",
},
name: "workernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 3,
},
{
hardwareProfile: {
vmSize: "Standard_DS14_v2",
},
name: "zookeepernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 3,
},
],
},
diskEncryptionProperties: {
encryptionAtHost: true,
},
osType: azure_native.hdinsight.OSType.Linux,
storageProfile: {
storageaccounts: [{
container: "default8525",
isDefault: true,
key: "storagekey",
name: "mystorage.blob.core.windows.net",
}],
},
tier: azure_native.hdinsight.Tier.Standard,
},
resourceGroupName: "rg1",
});
resources:
cluster:
type: azure-native:hdinsight:Cluster
properties:
clusterName: cluster1
properties:
clusterDefinition:
configurations:
gateway:
restAuthCredential.isEnabled: true
restAuthCredential.password: '**********'
restAuthCredential.username: admin
kind: Hadoop
clusterVersion: '3.6'
computeProfile:
roles:
- hardwareProfile:
vmSize: Standard_DS14_v2
name: headnode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 2
- hardwareProfile:
vmSize: Standard_DS14_v2
name: workernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 3
- hardwareProfile:
vmSize: Standard_DS14_v2
name: zookeepernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 3
diskEncryptionProperties:
encryptionAtHost: true
osType: Linux
storageProfile:
storageaccounts:
- container: default8525
isDefault: true
key: storagekey
name: mystorage.blob.core.windows.net
tier: Standard
resourceGroupName: rg1
Create cluster with encryption in transit
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
{
ClusterName = "cluster1",
Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
{
ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
{
Configurations = new Dictionary<string, object?>
{
["gateway"] = new Dictionary<string, object?>
{
["restAuthCredential.isEnabled"] = true,
["restAuthCredential.password"] = "**********",
["restAuthCredential.username"] = "admin",
},
},
Kind = "Hadoop",
},
ClusterVersion = "3.6",
ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
{
Roles = new[]
{
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Large",
},
Name = "headnode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 2,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Large",
},
Name = "workernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 3,
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "Small",
},
Name = "zookeepernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
Username = "sshuser",
},
},
TargetInstanceCount = 3,
},
},
},
EncryptionInTransitProperties = new AzureNative.HDInsight.Inputs.EncryptionInTransitPropertiesArgs
{
IsEncryptionInTransitEnabled = true,
},
OsType = AzureNative.HDInsight.OSType.Linux,
StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
{
Storageaccounts = new[]
{
new AzureNative.HDInsight.Inputs.StorageAccountArgs
{
Container = "default8525",
IsDefault = true,
Key = "storagekey",
Name = "mystorage.blob.core.windows.net",
},
},
},
Tier = AzureNative.HDInsight.Tier.Standard,
},
ResourceGroupName = "rg1",
});
});
package main
import (
hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
ClusterName: pulumi.String("cluster1"),
Properties: &hdinsight.ClusterCreatePropertiesArgs{
ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
Configurations: pulumi.Any(map[string]interface{}{
"gateway": map[string]interface{}{
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
}),
Kind: pulumi.String("Hadoop"),
},
ClusterVersion: pulumi.String("3.6"),
ComputeProfile: &hdinsight.ComputeProfileArgs{
Roles: hdinsight.RoleArray{
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Large"),
},
Name: pulumi.String("headnode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(2),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Large"),
},
Name: pulumi.String("workernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(3),
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("Small"),
},
Name: pulumi.String("zookeepernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(3),
},
},
},
EncryptionInTransitProperties: &hdinsight.EncryptionInTransitPropertiesArgs{
IsEncryptionInTransitEnabled: pulumi.Bool(true),
},
OsType: pulumi.String(hdinsight.OSTypeLinux),
StorageProfile: &hdinsight.StorageProfileArgs{
Storageaccounts: hdinsight.StorageAccountArray{
&hdinsight.StorageAccountArgs{
Container: pulumi.String("default8525"),
IsDefault: pulumi.Bool(true),
Key: pulumi.String("storagekey"),
Name: pulumi.String("mystorage.blob.core.windows.net"),
},
},
},
Tier: pulumi.String(hdinsight.TierStandard),
},
ResourceGroupName: pulumi.String("rg1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hdinsight.Cluster;
import com.pulumi.azurenative.hdinsight.ClusterArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
import com.pulumi.azurenative.hdinsight.inputs.EncryptionInTransitPropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cluster = new Cluster("cluster", ClusterArgs.builder()
.clusterName("cluster1")
.properties(ClusterCreatePropertiesArgs.builder()
.clusterDefinition(ClusterDefinitionArgs.builder()
.configurations(Map.of("gateway", Map.ofEntries(
Map.entry("restAuthCredential.isEnabled", true),
Map.entry("restAuthCredential.password", "**********"),
Map.entry("restAuthCredential.username", "admin")
)))
.kind("Hadoop")
.build())
.clusterVersion("3.6")
.computeProfile(ComputeProfileArgs.builder()
.roles(
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Large")
.build())
.name("headnode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(2)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Large")
.build())
.name("workernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(3)
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("Small")
.build())
.name("zookeepernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.username("sshuser")
.build())
.build())
.targetInstanceCount(3)
.build())
.build())
.encryptionInTransitProperties(EncryptionInTransitPropertiesArgs.builder()
.isEncryptionInTransitEnabled(true)
.build())
.osType("Linux")
.storageProfile(StorageProfileArgs.builder()
.storageaccounts(StorageAccountArgs.builder()
.container("default8525")
.isDefault(true)
.key("storagekey")
.name("mystorage.blob.core.windows.net")
.build())
.build())
.tier("Standard")
.build())
.resourceGroupName("rg1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cluster = azure_native.hdinsight.Cluster("cluster",
cluster_name="cluster1",
properties={
"cluster_definition": {
"configurations": {
"gateway": {
"restAuthCredential.isEnabled": True,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
"kind": "Hadoop",
},
"cluster_version": "3.6",
"compute_profile": {
"roles": [
{
"hardware_profile": {
"vm_size": "Large",
},
"name": "headnode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 2,
},
{
"hardware_profile": {
"vm_size": "Large",
},
"name": "workernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 3,
},
{
"hardware_profile": {
"vm_size": "Small",
},
"name": "zookeepernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"username": "sshuser",
},
},
"target_instance_count": 3,
},
],
},
"encryption_in_transit_properties": {
"is_encryption_in_transit_enabled": True,
},
"os_type": azure_native.hdinsight.OSType.LINUX,
"storage_profile": {
"storageaccounts": [{
"container": "default8525",
"is_default": True,
"key": "storagekey",
"name": "mystorage.blob.core.windows.net",
}],
},
"tier": azure_native.hdinsight.Tier.STANDARD,
},
resource_group_name="rg1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cluster = new azure_native.hdinsight.Cluster("cluster", {
clusterName: "cluster1",
properties: {
clusterDefinition: {
configurations: {
gateway: {
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
kind: "Hadoop",
},
clusterVersion: "3.6",
computeProfile: {
roles: [
{
hardwareProfile: {
vmSize: "Large",
},
name: "headnode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 2,
},
{
hardwareProfile: {
vmSize: "Large",
},
name: "workernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 3,
},
{
hardwareProfile: {
vmSize: "Small",
},
name: "zookeepernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
username: "sshuser",
},
},
targetInstanceCount: 3,
},
],
},
encryptionInTransitProperties: {
isEncryptionInTransitEnabled: true,
},
osType: azure_native.hdinsight.OSType.Linux,
storageProfile: {
storageaccounts: [{
container: "default8525",
isDefault: true,
key: "storagekey",
name: "mystorage.blob.core.windows.net",
}],
},
tier: azure_native.hdinsight.Tier.Standard,
},
resourceGroupName: "rg1",
});
resources:
cluster:
type: azure-native:hdinsight:Cluster
properties:
clusterName: cluster1
properties:
clusterDefinition:
configurations:
gateway:
restAuthCredential.isEnabled: true
restAuthCredential.password: '**********'
restAuthCredential.username: admin
kind: Hadoop
clusterVersion: '3.6'
computeProfile:
roles:
- hardwareProfile:
vmSize: Large
name: headnode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 2
- hardwareProfile:
vmSize: Large
name: workernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 3
- hardwareProfile:
vmSize: Small
name: zookeepernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
username: sshuser
targetInstanceCount: 3
encryptionInTransitProperties:
isEncryptionInTransitEnabled: true
osType: Linux
storageProfile:
storageaccounts:
- container: default8525
isDefault: true
key: storagekey
name: mystorage.blob.core.windows.net
tier: Standard
resourceGroupName: rg1
Create cluster with network properties
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.HDInsight.Cluster("cluster", new()
{
ClusterName = "cluster1",
Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
{
ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
{
Configurations = new Dictionary<string, object?>
{
["gateway"] = new Dictionary<string, object?>
{
["restAuthCredential.isEnabled"] = true,
["restAuthCredential.password"] = "**********",
["restAuthCredential.username"] = "admin",
},
},
Kind = "hadoop",
},
ClusterVersion = "3.6",
ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
{
Roles = new[]
{
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "standard_d3",
},
Name = "headnode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
{
PublicKeys = new[]
{
new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
{
CertificateData = "**********",
},
},
},
Username = "sshuser",
},
},
TargetInstanceCount = 2,
VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
{
Id = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
Subnet = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
new AzureNative.HDInsight.Inputs.RoleArgs
{
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "standard_d3",
},
Name = "workernode",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "**********",
SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
{
PublicKeys = new[]
{
new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
{
CertificateData = "**********",
},
},
},
Username = "sshuser",
},
},
TargetInstanceCount = 2,
VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
{
Id = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
Subnet = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
},
},
NetworkProperties = new AzureNative.HDInsight.Inputs.NetworkPropertiesArgs
{
PrivateLink = AzureNative.HDInsight.PrivateLink.Enabled,
ResourceProviderConnection = AzureNative.HDInsight.ResourceProviderConnection.Outbound,
},
OsType = AzureNative.HDInsight.OSType.Linux,
StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
{
Storageaccounts = new[]
{
new AzureNative.HDInsight.Inputs.StorageAccountArgs
{
Container = "containername",
IsDefault = true,
Key = "storage account key",
Name = "mystorage",
},
},
},
},
ResourceGroupName = "rg1",
});
});
package main
import (
hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hdinsight.NewCluster(ctx, "cluster", &hdinsight.ClusterArgs{
ClusterName: pulumi.String("cluster1"),
Properties: &hdinsight.ClusterCreatePropertiesArgs{
ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
Configurations: pulumi.Any(map[string]interface{}{
"gateway": map[string]interface{}{
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
}),
Kind: pulumi.String("hadoop"),
},
ClusterVersion: pulumi.String("3.6"),
ComputeProfile: &hdinsight.ComputeProfileArgs{
Roles: hdinsight.RoleArray{
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("standard_d3"),
},
Name: pulumi.String("headnode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
SshProfile: &hdinsight.SshProfileArgs{
PublicKeys: hdinsight.SshPublicKeyArray{
&hdinsight.SshPublicKeyArgs{
CertificateData: pulumi.String("**********"),
},
},
},
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(2),
VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
Id: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname"),
Subnet: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"),
},
},
&hdinsight.RoleArgs{
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("standard_d3"),
},
Name: pulumi.String("workernode"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("**********"),
SshProfile: &hdinsight.SshProfileArgs{
PublicKeys: hdinsight.SshPublicKeyArray{
&hdinsight.SshPublicKeyArgs{
CertificateData: pulumi.String("**********"),
},
},
},
Username: pulumi.String("sshuser"),
},
},
TargetInstanceCount: pulumi.Int(2),
VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
Id: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname"),
Subnet: pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"),
},
},
},
},
NetworkProperties: &hdinsight.NetworkPropertiesArgs{
PrivateLink: pulumi.String(hdinsight.PrivateLinkEnabled),
ResourceProviderConnection: pulumi.String(hdinsight.ResourceProviderConnectionOutbound),
},
OsType: pulumi.String(hdinsight.OSTypeLinux),
StorageProfile: &hdinsight.StorageProfileArgs{
Storageaccounts: hdinsight.StorageAccountArray{
&hdinsight.StorageAccountArgs{
Container: pulumi.String("containername"),
IsDefault: pulumi.Bool(true),
Key: pulumi.String("storage account key"),
Name: pulumi.String("mystorage"),
},
},
},
},
ResourceGroupName: pulumi.String("rg1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hdinsight.Cluster;
import com.pulumi.azurenative.hdinsight.ClusterArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterCreatePropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs;
import com.pulumi.azurenative.hdinsight.inputs.ComputeProfileArgs;
import com.pulumi.azurenative.hdinsight.inputs.NetworkPropertiesArgs;
import com.pulumi.azurenative.hdinsight.inputs.StorageProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cluster = new Cluster("cluster", ClusterArgs.builder()
.clusterName("cluster1")
.properties(ClusterCreatePropertiesArgs.builder()
.clusterDefinition(ClusterDefinitionArgs.builder()
.configurations(Map.of("gateway", Map.ofEntries(
Map.entry("restAuthCredential.isEnabled", true),
Map.entry("restAuthCredential.password", "**********"),
Map.entry("restAuthCredential.username", "admin")
)))
.kind("hadoop")
.build())
.clusterVersion("3.6")
.computeProfile(ComputeProfileArgs.builder()
.roles(
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("standard_d3")
.build())
.name("headnode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.sshProfile(SshProfileArgs.builder()
.publicKeys(SshPublicKeyArgs.builder()
.certificateData("**********")
.build())
.build())
.username("sshuser")
.build())
.build())
.targetInstanceCount(2)
.virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
.id("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname")
.subnet("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet")
.build())
.build(),
RoleArgs.builder()
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("standard_d3")
.build())
.name("workernode")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("**********")
.sshProfile(SshProfileArgs.builder()
.publicKeys(SshPublicKeyArgs.builder()
.certificateData("**********")
.build())
.build())
.username("sshuser")
.build())
.build())
.targetInstanceCount(2)
.virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
.id("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname")
.subnet("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet")
.build())
.build())
.build())
.networkProperties(NetworkPropertiesArgs.builder()
.privateLink("Enabled")
.resourceProviderConnection("Outbound")
.build())
.osType("Linux")
.storageProfile(StorageProfileArgs.builder()
.storageaccounts(StorageAccountArgs.builder()
.container("containername")
.isDefault(true)
.key("storage account key")
.name("mystorage")
.build())
.build())
.build())
.resourceGroupName("rg1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cluster = azure_native.hdinsight.Cluster("cluster",
cluster_name="cluster1",
properties={
"cluster_definition": {
"configurations": {
"gateway": {
"restAuthCredential.isEnabled": True,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
"kind": "hadoop",
},
"cluster_version": "3.6",
"compute_profile": {
"roles": [
{
"hardware_profile": {
"vm_size": "standard_d3",
},
"name": "headnode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"ssh_profile": {
"public_keys": [{
"certificate_data": "**********",
}],
},
"username": "sshuser",
},
},
"target_instance_count": 2,
"virtual_network_profile": {
"id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
"subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
{
"hardware_profile": {
"vm_size": "standard_d3",
},
"name": "workernode",
"os_profile": {
"linux_operating_system_profile": {
"password": "**********",
"ssh_profile": {
"public_keys": [{
"certificate_data": "**********",
}],
},
"username": "sshuser",
},
},
"target_instance_count": 2,
"virtual_network_profile": {
"id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
"subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
],
},
"network_properties": {
"private_link": azure_native.hdinsight.PrivateLink.ENABLED,
"resource_provider_connection": azure_native.hdinsight.ResourceProviderConnection.OUTBOUND,
},
"os_type": azure_native.hdinsight.OSType.LINUX,
"storage_profile": {
"storageaccounts": [{
"container": "containername",
"is_default": True,
"key": "storage account key",
"name": "mystorage",
}],
},
},
resource_group_name="rg1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cluster = new azure_native.hdinsight.Cluster("cluster", {
clusterName: "cluster1",
properties: {
clusterDefinition: {
configurations: {
gateway: {
"restAuthCredential.isEnabled": true,
"restAuthCredential.password": "**********",
"restAuthCredential.username": "admin",
},
},
kind: "hadoop",
},
clusterVersion: "3.6",
computeProfile: {
roles: [
{
hardwareProfile: {
vmSize: "standard_d3",
},
name: "headnode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
sshProfile: {
publicKeys: [{
certificateData: "**********",
}],
},
username: "sshuser",
},
},
targetInstanceCount: 2,
virtualNetworkProfile: {
id: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
subnet: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
{
hardwareProfile: {
vmSize: "standard_d3",
},
name: "workernode",
osProfile: {
linuxOperatingSystemProfile: {
password: "**********",
sshProfile: {
publicKeys: [{
certificateData: "**********",
}],
},
username: "sshuser",
},
},
targetInstanceCount: 2,
virtualNetworkProfile: {
id: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
subnet: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet",
},
},
],
},
networkProperties: {
privateLink: azure_native.hdinsight.PrivateLink.Enabled,
resourceProviderConnection: azure_native.hdinsight.ResourceProviderConnection.Outbound,
},
osType: azure_native.hdinsight.OSType.Linux,
storageProfile: {
storageaccounts: [{
container: "containername",
isDefault: true,
key: "storage account key",
name: "mystorage",
}],
},
},
resourceGroupName: "rg1",
});
resources:
cluster:
type: azure-native:hdinsight:Cluster
properties:
clusterName: cluster1
properties:
clusterDefinition:
configurations:
gateway:
restAuthCredential.isEnabled: true
restAuthCredential.password: '**********'
restAuthCredential.username: admin
kind: hadoop
clusterVersion: '3.6'
computeProfile:
roles:
- hardwareProfile:
vmSize: standard_d3
name: headnode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
sshProfile:
publicKeys:
- certificateData: '**********'
username: sshuser
targetInstanceCount: 2
virtualNetworkProfile:
id: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname
subnet: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet
- hardwareProfile:
vmSize: standard_d3
name: workernode
osProfile:
linuxOperatingSystemProfile:
password: '**********'
sshProfile:
publicKeys:
- certificateData: '**********'
username: sshuser
targetInstanceCount: 2
virtualNetworkProfile:
id: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname
subnet: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet
networkProperties:
privateLink: Enabled
resourceProviderConnection: Outbound
osType: Linux
storageProfile:
storageaccounts:
- container: containername
isDefault: true
key: storage account key
name: mystorage
resourceGroupName: rg1
Create Cluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);
@overload
def Cluster(resource_name: str,
args: ClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Cluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
cluster_name: Optional[str] = None,
identity: Optional[ClusterIdentityArgs] = None,
location: Optional[str] = None,
properties: Optional[ClusterCreatePropertiesArgs] = None,
tags: Optional[Mapping[str, str]] = None,
zones: Optional[Sequence[str]] = None)
func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)
public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: azure-native:hdinsight:Cluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleclusterResourceResourceFromHdinsight = new AzureNative.HDInsight.Cluster("exampleclusterResourceResourceFromHdinsight", new()
{
ResourceGroupName = "string",
ClusterName = "string",
Identity = new AzureNative.HDInsight.Inputs.ClusterIdentityArgs
{
Type = "string",
UserAssignedIdentities =
{
{ "string", new AzureNative.HDInsight.Inputs.UserAssignedIdentityArgs
{
TenantId = "string",
} },
},
},
Location = "string",
Properties = new AzureNative.HDInsight.Inputs.ClusterCreatePropertiesArgs
{
ClusterDefinition = new AzureNative.HDInsight.Inputs.ClusterDefinitionArgs
{
Blueprint = "string",
ComponentVersion =
{
{ "string", "string" },
},
Configurations = "any",
Kind = "string",
},
ClusterVersion = "string",
ComputeIsolationProperties = new AzureNative.HDInsight.Inputs.ComputeIsolationPropertiesArgs
{
EnableComputeIsolation = false,
HostSku = "string",
},
ComputeProfile = new AzureNative.HDInsight.Inputs.ComputeProfileArgs
{
Roles = new[]
{
new AzureNative.HDInsight.Inputs.RoleArgs
{
AutoscaleConfiguration = new AzureNative.HDInsight.Inputs.AutoscaleArgs
{
Capacity = new AzureNative.HDInsight.Inputs.AutoscaleCapacityArgs
{
MaxInstanceCount = 0,
MinInstanceCount = 0,
},
Recurrence = new AzureNative.HDInsight.Inputs.AutoscaleRecurrenceArgs
{
Schedule = new[]
{
new AzureNative.HDInsight.Inputs.AutoscaleScheduleArgs
{
Days = new[]
{
"string",
},
TimeAndCapacity = new AzureNative.HDInsight.Inputs.AutoscaleTimeAndCapacityArgs
{
MaxInstanceCount = 0,
MinInstanceCount = 0,
Time = "string",
},
},
},
TimeZone = "string",
},
},
DataDisksGroups = new[]
{
new AzureNative.HDInsight.Inputs.DataDisksGroupsArgs
{
DisksPerNode = 0,
},
},
EncryptDataDisks = false,
HardwareProfile = new AzureNative.HDInsight.Inputs.HardwareProfileArgs
{
VmSize = "string",
},
MinInstanceCount = 0,
Name = "string",
OsProfile = new AzureNative.HDInsight.Inputs.OsProfileArgs
{
LinuxOperatingSystemProfile = new AzureNative.HDInsight.Inputs.LinuxOperatingSystemProfileArgs
{
Password = "string",
SshProfile = new AzureNative.HDInsight.Inputs.SshProfileArgs
{
PublicKeys = new[]
{
new AzureNative.HDInsight.Inputs.SshPublicKeyArgs
{
CertificateData = "string",
},
},
},
Username = "string",
},
},
ScriptActions = new[]
{
new AzureNative.HDInsight.Inputs.ScriptActionArgs
{
Name = "string",
Parameters = "string",
Uri = "string",
},
},
TargetInstanceCount = 0,
VMGroupName = "string",
VirtualNetworkProfile = new AzureNative.HDInsight.Inputs.VirtualNetworkProfileArgs
{
Id = "string",
Subnet = "string",
},
},
},
},
DiskEncryptionProperties = new AzureNative.HDInsight.Inputs.DiskEncryptionPropertiesArgs
{
EncryptionAlgorithm = "string",
EncryptionAtHost = false,
KeyName = "string",
KeyVersion = "string",
MsiResourceId = "string",
VaultUri = "string",
},
EncryptionInTransitProperties = new AzureNative.HDInsight.Inputs.EncryptionInTransitPropertiesArgs
{
IsEncryptionInTransitEnabled = false,
},
KafkaRestProperties = new AzureNative.HDInsight.Inputs.KafkaRestPropertiesArgs
{
ClientGroupInfo = new AzureNative.HDInsight.Inputs.ClientGroupInfoArgs
{
GroupId = "string",
GroupName = "string",
},
ConfigurationOverride =
{
{ "string", "string" },
},
},
MinSupportedTlsVersion = "string",
NetworkProperties = new AzureNative.HDInsight.Inputs.NetworkPropertiesArgs
{
PrivateLink = "string",
ResourceProviderConnection = "string",
},
OsType = "string",
PrivateLinkConfigurations = new[]
{
new AzureNative.HDInsight.Inputs.PrivateLinkConfigurationArgs
{
GroupId = "string",
IpConfigurations = new[]
{
new AzureNative.HDInsight.Inputs.IPConfigurationArgs
{
Name = "string",
Primary = false,
PrivateIPAddress = "string",
PrivateIPAllocationMethod = "string",
Subnet = new AzureNative.HDInsight.Inputs.ResourceIdArgs
{
Id = "string",
},
},
},
Name = "string",
},
},
SecurityProfile = new AzureNative.HDInsight.Inputs.SecurityProfileArgs
{
AaddsResourceId = "string",
ClusterUsersGroupDNs = new[]
{
"string",
},
DirectoryType = "string",
Domain = "string",
DomainUserPassword = "string",
DomainUsername = "string",
LdapsUrls = new[]
{
"string",
},
MsiResourceId = "string",
OrganizationalUnitDN = "string",
},
StorageProfile = new AzureNative.HDInsight.Inputs.StorageProfileArgs
{
Storageaccounts = new[]
{
new AzureNative.HDInsight.Inputs.StorageAccountArgs
{
Container = "string",
FileSystem = "string",
Fileshare = "string",
IsDefault = false,
Key = "string",
MsiResourceId = "string",
Name = "string",
ResourceId = "string",
Saskey = "string",
},
},
},
Tier = "string",
},
Tags =
{
{ "string", "string" },
},
Zones = new[]
{
"string",
},
});
example, err := hdinsight.NewCluster(ctx, "exampleclusterResourceResourceFromHdinsight", &hdinsight.ClusterArgs{
ResourceGroupName: pulumi.String("string"),
ClusterName: pulumi.String("string"),
Identity: &hdinsight.ClusterIdentityArgs{
Type: pulumi.String("string"),
UserAssignedIdentities: hdinsight.UserAssignedIdentityMap{
"string": &hdinsight.UserAssignedIdentityArgs{
TenantId: pulumi.String("string"),
},
},
},
Location: pulumi.String("string"),
Properties: &hdinsight.ClusterCreatePropertiesArgs{
ClusterDefinition: &hdinsight.ClusterDefinitionArgs{
Blueprint: pulumi.String("string"),
ComponentVersion: pulumi.StringMap{
"string": pulumi.String("string"),
},
Configurations: pulumi.Any("any"),
Kind: pulumi.String("string"),
},
ClusterVersion: pulumi.String("string"),
ComputeIsolationProperties: &hdinsight.ComputeIsolationPropertiesArgs{
EnableComputeIsolation: pulumi.Bool(false),
HostSku: pulumi.String("string"),
},
ComputeProfile: &hdinsight.ComputeProfileArgs{
Roles: hdinsight.RoleArray{
&hdinsight.RoleArgs{
AutoscaleConfiguration: &hdinsight.AutoscaleArgs{
Capacity: &hdinsight.AutoscaleCapacityArgs{
MaxInstanceCount: pulumi.Int(0),
MinInstanceCount: pulumi.Int(0),
},
Recurrence: &hdinsight.AutoscaleRecurrenceArgs{
Schedule: hdinsight.AutoscaleScheduleArray{
&hdinsight.AutoscaleScheduleArgs{
Days: pulumi.StringArray{
pulumi.String("string"),
},
TimeAndCapacity: &hdinsight.AutoscaleTimeAndCapacityArgs{
MaxInstanceCount: pulumi.Int(0),
MinInstanceCount: pulumi.Int(0),
Time: pulumi.String("string"),
},
},
},
TimeZone: pulumi.String("string"),
},
},
DataDisksGroups: hdinsight.DataDisksGroupsArray{
&hdinsight.DataDisksGroupsArgs{
DisksPerNode: pulumi.Int(0),
},
},
EncryptDataDisks: pulumi.Bool(false),
HardwareProfile: &hdinsight.HardwareProfileArgs{
VmSize: pulumi.String("string"),
},
MinInstanceCount: pulumi.Int(0),
Name: pulumi.String("string"),
OsProfile: &hdinsight.OsProfileArgs{
LinuxOperatingSystemProfile: &hdinsight.LinuxOperatingSystemProfileArgs{
Password: pulumi.String("string"),
SshProfile: &hdinsight.SshProfileArgs{
PublicKeys: hdinsight.SshPublicKeyArray{
&hdinsight.SshPublicKeyArgs{
CertificateData: pulumi.String("string"),
},
},
},
Username: pulumi.String("string"),
},
},
ScriptActions: hdinsight.ScriptActionArray{
&hdinsight.ScriptActionArgs{
Name: pulumi.String("string"),
Parameters: pulumi.String("string"),
Uri: pulumi.String("string"),
},
},
TargetInstanceCount: pulumi.Int(0),
VMGroupName: pulumi.String("string"),
VirtualNetworkProfile: &hdinsight.VirtualNetworkProfileArgs{
Id: pulumi.String("string"),
Subnet: pulumi.String("string"),
},
},
},
},
DiskEncryptionProperties: &hdinsight.DiskEncryptionPropertiesArgs{
EncryptionAlgorithm: pulumi.String("string"),
EncryptionAtHost: pulumi.Bool(false),
KeyName: pulumi.String("string"),
KeyVersion: pulumi.String("string"),
MsiResourceId: pulumi.String("string"),
VaultUri: pulumi.String("string"),
},
EncryptionInTransitProperties: &hdinsight.EncryptionInTransitPropertiesArgs{
IsEncryptionInTransitEnabled: pulumi.Bool(false),
},
KafkaRestProperties: &hdinsight.KafkaRestPropertiesArgs{
ClientGroupInfo: &hdinsight.ClientGroupInfoArgs{
GroupId: pulumi.String("string"),
GroupName: pulumi.String("string"),
},
ConfigurationOverride: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
MinSupportedTlsVersion: pulumi.String("string"),
NetworkProperties: &hdinsight.NetworkPropertiesArgs{
PrivateLink: pulumi.String("string"),
ResourceProviderConnection: pulumi.String("string"),
},
OsType: pulumi.String("string"),
PrivateLinkConfigurations: hdinsight.PrivateLinkConfigurationArray{
&hdinsight.PrivateLinkConfigurationArgs{
GroupId: pulumi.String("string"),
IpConfigurations: hdinsight.IPConfigurationArray{
&hdinsight.IPConfigurationArgs{
Name: pulumi.String("string"),
Primary: pulumi.Bool(false),
PrivateIPAddress: pulumi.String("string"),
PrivateIPAllocationMethod: pulumi.String("string"),
Subnet: &hdinsight.ResourceIdArgs{
Id: pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
},
},
SecurityProfile: &hdinsight.SecurityProfileArgs{
AaddsResourceId: pulumi.String("string"),
ClusterUsersGroupDNs: pulumi.StringArray{
pulumi.String("string"),
},
DirectoryType: pulumi.String("string"),
Domain: pulumi.String("string"),
DomainUserPassword: pulumi.String("string"),
DomainUsername: pulumi.String("string"),
LdapsUrls: pulumi.StringArray{
pulumi.String("string"),
},
MsiResourceId: pulumi.String("string"),
OrganizationalUnitDN: pulumi.String("string"),
},
StorageProfile: &hdinsight.StorageProfileArgs{
Storageaccounts: hdinsight.StorageAccountArray{
&hdinsight.StorageAccountArgs{
Container: pulumi.String("string"),
FileSystem: pulumi.String("string"),
Fileshare: pulumi.String("string"),
IsDefault: pulumi.Bool(false),
Key: pulumi.String("string"),
MsiResourceId: pulumi.String("string"),
Name: pulumi.String("string"),
ResourceId: pulumi.String("string"),
Saskey: pulumi.String("string"),
},
},
},
Tier: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Zones: pulumi.StringArray{
pulumi.String("string"),
},
})
var exampleclusterResourceResourceFromHdinsight = new Cluster("exampleclusterResourceResourceFromHdinsight", ClusterArgs.builder()
.resourceGroupName("string")
.clusterName("string")
.identity(ClusterIdentityArgs.builder()
.type("string")
.userAssignedIdentities(Map.of("string", Map.of("tenantId", "string")))
.build())
.location("string")
.properties(ClusterCreatePropertiesArgs.builder()
.clusterDefinition(ClusterDefinitionArgs.builder()
.blueprint("string")
.componentVersion(Map.of("string", "string"))
.configurations("any")
.kind("string")
.build())
.clusterVersion("string")
.computeIsolationProperties(ComputeIsolationPropertiesArgs.builder()
.enableComputeIsolation(false)
.hostSku("string")
.build())
.computeProfile(ComputeProfileArgs.builder()
.roles(RoleArgs.builder()
.autoscaleConfiguration(AutoscaleArgs.builder()
.capacity(AutoscaleCapacityArgs.builder()
.maxInstanceCount(0)
.minInstanceCount(0)
.build())
.recurrence(AutoscaleRecurrenceArgs.builder()
.schedule(AutoscaleScheduleArgs.builder()
.days("string")
.timeAndCapacity(AutoscaleTimeAndCapacityArgs.builder()
.maxInstanceCount(0)
.minInstanceCount(0)
.time("string")
.build())
.build())
.timeZone("string")
.build())
.build())
.dataDisksGroups(DataDisksGroupsArgs.builder()
.disksPerNode(0)
.build())
.encryptDataDisks(false)
.hardwareProfile(HardwareProfileArgs.builder()
.vmSize("string")
.build())
.minInstanceCount(0)
.name("string")
.osProfile(OsProfileArgs.builder()
.linuxOperatingSystemProfile(LinuxOperatingSystemProfileArgs.builder()
.password("string")
.sshProfile(SshProfileArgs.builder()
.publicKeys(SshPublicKeyArgs.builder()
.certificateData("string")
.build())
.build())
.username("string")
.build())
.build())
.scriptActions(ScriptActionArgs.builder()
.name("string")
.parameters("string")
.uri("string")
.build())
.targetInstanceCount(0)
.vMGroupName("string")
.virtualNetworkProfile(VirtualNetworkProfileArgs.builder()
.id("string")
.subnet("string")
.build())
.build())
.build())
.diskEncryptionProperties(DiskEncryptionPropertiesArgs.builder()
.encryptionAlgorithm("string")
.encryptionAtHost(false)
.keyName("string")
.keyVersion("string")
.msiResourceId("string")
.vaultUri("string")
.build())
.encryptionInTransitProperties(EncryptionInTransitPropertiesArgs.builder()
.isEncryptionInTransitEnabled(false)
.build())
.kafkaRestProperties(KafkaRestPropertiesArgs.builder()
.clientGroupInfo(ClientGroupInfoArgs.builder()
.groupId("string")
.groupName("string")
.build())
.configurationOverride(Map.of("string", "string"))
.build())
.minSupportedTlsVersion("string")
.networkProperties(NetworkPropertiesArgs.builder()
.privateLink("string")
.resourceProviderConnection("string")
.build())
.osType("string")
.privateLinkConfigurations(PrivateLinkConfigurationArgs.builder()
.groupId("string")
.ipConfigurations(IPConfigurationArgs.builder()
.name("string")
.primary(false)
.privateIPAddress("string")
.privateIPAllocationMethod("string")
.subnet(ResourceIdArgs.builder()
.id("string")
.build())
.build())
.name("string")
.build())
.securityProfile(SecurityProfileArgs.builder()
.aaddsResourceId("string")
.clusterUsersGroupDNs("string")
.directoryType("string")
.domain("string")
.domainUserPassword("string")
.domainUsername("string")
.ldapsUrls("string")
.msiResourceId("string")
.organizationalUnitDN("string")
.build())
.storageProfile(StorageProfileArgs.builder()
.storageaccounts(StorageAccountArgs.builder()
.container("string")
.fileSystem("string")
.fileshare("string")
.isDefault(false)
.key("string")
.msiResourceId("string")
.name("string")
.resourceId("string")
.saskey("string")
.build())
.build())
.tier("string")
.build())
.tags(Map.of("string", "string"))
.zones("string")
.build());
examplecluster_resource_resource_from_hdinsight = azure_native.hdinsight.Cluster("exampleclusterResourceResourceFromHdinsight",
resource_group_name="string",
cluster_name="string",
identity={
"type": "string",
"user_assigned_identities": {
"string": {
"tenant_id": "string",
},
},
},
location="string",
properties={
"cluster_definition": {
"blueprint": "string",
"component_version": {
"string": "string",
},
"configurations": "any",
"kind": "string",
},
"cluster_version": "string",
"compute_isolation_properties": {
"enable_compute_isolation": False,
"host_sku": "string",
},
"compute_profile": {
"roles": [{
"autoscale_configuration": {
"capacity": {
"max_instance_count": 0,
"min_instance_count": 0,
},
"recurrence": {
"schedule": [{
"days": ["string"],
"time_and_capacity": {
"max_instance_count": 0,
"min_instance_count": 0,
"time": "string",
},
}],
"time_zone": "string",
},
},
"data_disks_groups": [{
"disks_per_node": 0,
}],
"encrypt_data_disks": False,
"hardware_profile": {
"vm_size": "string",
},
"min_instance_count": 0,
"name": "string",
"os_profile": {
"linux_operating_system_profile": {
"password": "string",
"ssh_profile": {
"public_keys": [{
"certificate_data": "string",
}],
},
"username": "string",
},
},
"script_actions": [{
"name": "string",
"parameters": "string",
"uri": "string",
}],
"target_instance_count": 0,
"v_m_group_name": "string",
"virtual_network_profile": {
"id": "string",
"subnet": "string",
},
}],
},
"disk_encryption_properties": {
"encryption_algorithm": "string",
"encryption_at_host": False,
"key_name": "string",
"key_version": "string",
"msi_resource_id": "string",
"vault_uri": "string",
},
"encryption_in_transit_properties": {
"is_encryption_in_transit_enabled": False,
},
"kafka_rest_properties": {
"client_group_info": {
"group_id": "string",
"group_name": "string",
},
"configuration_override": {
"string": "string",
},
},
"min_supported_tls_version": "string",
"network_properties": {
"private_link": "string",
"resource_provider_connection": "string",
},
"os_type": "string",
"private_link_configurations": [{
"group_id": "string",
"ip_configurations": [{
"name": "string",
"primary": False,
"private_ip_address": "string",
"private_ip_allocation_method": "string",
"subnet": {
"id": "string",
},
}],
"name": "string",
}],
"security_profile": {
"aadds_resource_id": "string",
"cluster_users_group_dns": ["string"],
"directory_type": "string",
"domain": "string",
"domain_user_password": "string",
"domain_username": "string",
"ldaps_urls": ["string"],
"msi_resource_id": "string",
"organizational_unit_dn": "string",
},
"storage_profile": {
"storageaccounts": [{
"container": "string",
"file_system": "string",
"fileshare": "string",
"is_default": False,
"key": "string",
"msi_resource_id": "string",
"name": "string",
"resource_id": "string",
"saskey": "string",
}],
},
"tier": "string",
},
tags={
"string": "string",
},
zones=["string"])
const exampleclusterResourceResourceFromHdinsight = new azure_native.hdinsight.Cluster("exampleclusterResourceResourceFromHdinsight", {
resourceGroupName: "string",
clusterName: "string",
identity: {
type: "string",
userAssignedIdentities: {
string: {
tenantId: "string",
},
},
},
location: "string",
properties: {
clusterDefinition: {
blueprint: "string",
componentVersion: {
string: "string",
},
configurations: "any",
kind: "string",
},
clusterVersion: "string",
computeIsolationProperties: {
enableComputeIsolation: false,
hostSku: "string",
},
computeProfile: {
roles: [{
autoscaleConfiguration: {
capacity: {
maxInstanceCount: 0,
minInstanceCount: 0,
},
recurrence: {
schedule: [{
days: ["string"],
timeAndCapacity: {
maxInstanceCount: 0,
minInstanceCount: 0,
time: "string",
},
}],
timeZone: "string",
},
},
dataDisksGroups: [{
disksPerNode: 0,
}],
encryptDataDisks: false,
hardwareProfile: {
vmSize: "string",
},
minInstanceCount: 0,
name: "string",
osProfile: {
linuxOperatingSystemProfile: {
password: "string",
sshProfile: {
publicKeys: [{
certificateData: "string",
}],
},
username: "string",
},
},
scriptActions: [{
name: "string",
parameters: "string",
uri: "string",
}],
targetInstanceCount: 0,
vMGroupName: "string",
virtualNetworkProfile: {
id: "string",
subnet: "string",
},
}],
},
diskEncryptionProperties: {
encryptionAlgorithm: "string",
encryptionAtHost: false,
keyName: "string",
keyVersion: "string",
msiResourceId: "string",
vaultUri: "string",
},
encryptionInTransitProperties: {
isEncryptionInTransitEnabled: false,
},
kafkaRestProperties: {
clientGroupInfo: {
groupId: "string",
groupName: "string",
},
configurationOverride: {
string: "string",
},
},
minSupportedTlsVersion: "string",
networkProperties: {
privateLink: "string",
resourceProviderConnection: "string",
},
osType: "string",
privateLinkConfigurations: [{
groupId: "string",
ipConfigurations: [{
name: "string",
primary: false,
privateIPAddress: "string",
privateIPAllocationMethod: "string",
subnet: {
id: "string",
},
}],
name: "string",
}],
securityProfile: {
aaddsResourceId: "string",
clusterUsersGroupDNs: ["string"],
directoryType: "string",
domain: "string",
domainUserPassword: "string",
domainUsername: "string",
ldapsUrls: ["string"],
msiResourceId: "string",
organizationalUnitDN: "string",
},
storageProfile: {
storageaccounts: [{
container: "string",
fileSystem: "string",
fileshare: "string",
isDefault: false,
key: "string",
msiResourceId: "string",
name: "string",
resourceId: "string",
saskey: "string",
}],
},
tier: "string",
},
tags: {
string: "string",
},
zones: ["string"],
});
type: azure-native:hdinsight:Cluster
properties:
clusterName: string
identity:
type: string
userAssignedIdentities:
string:
tenantId: string
location: string
properties:
clusterDefinition:
blueprint: string
componentVersion:
string: string
configurations: any
kind: string
clusterVersion: string
computeIsolationProperties:
enableComputeIsolation: false
hostSku: string
computeProfile:
roles:
- autoscaleConfiguration:
capacity:
maxInstanceCount: 0
minInstanceCount: 0
recurrence:
schedule:
- days:
- string
timeAndCapacity:
maxInstanceCount: 0
minInstanceCount: 0
time: string
timeZone: string
dataDisksGroups:
- disksPerNode: 0
encryptDataDisks: false
hardwareProfile:
vmSize: string
minInstanceCount: 0
name: string
osProfile:
linuxOperatingSystemProfile:
password: string
sshProfile:
publicKeys:
- certificateData: string
username: string
scriptActions:
- name: string
parameters: string
uri: string
targetInstanceCount: 0
vMGroupName: string
virtualNetworkProfile:
id: string
subnet: string
diskEncryptionProperties:
encryptionAlgorithm: string
encryptionAtHost: false
keyName: string
keyVersion: string
msiResourceId: string
vaultUri: string
encryptionInTransitProperties:
isEncryptionInTransitEnabled: false
kafkaRestProperties:
clientGroupInfo:
groupId: string
groupName: string
configurationOverride:
string: string
minSupportedTlsVersion: string
networkProperties:
privateLink: string
resourceProviderConnection: string
osType: string
privateLinkConfigurations:
- groupId: string
ipConfigurations:
- name: string
primary: false
privateIPAddress: string
privateIPAllocationMethod: string
subnet:
id: string
name: string
securityProfile:
aaddsResourceId: string
clusterUsersGroupDNs:
- string
directoryType: string
domain: string
domainUserPassword: string
domainUsername: string
ldapsUrls:
- string
msiResourceId: string
organizationalUnitDN: string
storageProfile:
storageaccounts:
- container: string
fileSystem: string
fileshare: string
isDefault: false
key: string
msiResourceId: string
name: string
resourceId: string
saskey: string
tier: string
resourceGroupName: string
tags:
string: string
zones:
- string
Cluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Cluster resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group.
- Cluster
Name 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.
- Resource
Group stringName - The name of the resource group.
- Cluster
Name string - The name of the cluster.
- Identity
Cluster
Identity Args - The identity of the cluster, if configured.
- Location string
- The location of the cluster.
- Properties
Cluster
Create Properties Args - The cluster create parameters.
- map[string]string
- The resource tags.
- Zones []string
- The availability zones.
- resource
Group StringName - The name of the resource group.
- cluster
Name String - The name of the cluster.
- identity
Cluster
Identity - The identity of the cluster, if configured.
- location String
- The location of the cluster.
- properties
Cluster
Create Properties - The cluster create parameters.
- Map<String,String>
- The resource tags.
- zones List<String>
- The availability zones.
- resource
Group stringName - The name of the resource group.
- cluster
Name string - The name of the cluster.
- identity
Cluster
Identity - The identity of the cluster, if configured.
- location string
- The location of the cluster.
- properties
Cluster
Create 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
Cluster
Identity Args - The identity of the cluster, if configured.
- location str
- The location of the cluster.
- properties
Cluster
Create Properties Args - The cluster create parameters.
- Mapping[str, str]
- The resource tags.
- zones Sequence[str]
- The availability zones.
- resource
Group StringName - The name of the resource group.
- cluster
Name 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
- System
Data 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
- System
Data 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
- system
Data 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
- system
Data 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
- system
Data 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
Autoscale
Capacity - Parameters for load-based autoscale
- Recurrence
Autoscale
Recurrence - Parameters for schedule-based autoscale
- capacity
Autoscale
Capacity - Parameters for load-based autoscale
- recurrence
Autoscale
Recurrence - Parameters for schedule-based autoscale
- capacity
Autoscale
Capacity - Parameters for load-based autoscale
- recurrence
Autoscale
Recurrence - Parameters for schedule-based autoscale
- capacity
Autoscale
Capacity - Parameters for load-based autoscale
- recurrence
Autoscale
Recurrence - Parameters for schedule-based autoscale
- capacity Property Map
- Parameters for load-based autoscale
- recurrence Property Map
- Parameters for schedule-based autoscale
AutoscaleCapacity, AutoscaleCapacityArgs
- Max
Instance intCount - The maximum instance count of the cluster
- Min
Instance intCount - 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
- max
Instance IntegerCount - The maximum instance count of the cluster
- min
Instance IntegerCount - The minimum instance count of the cluster
- max
Instance numberCount - The maximum instance count of the cluster
- min
Instance 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
- max
Instance NumberCount - The maximum instance count of the cluster
- min
Instance NumberCount - The minimum instance count of the cluster
AutoscaleCapacityResponse, AutoscaleCapacityResponseArgs
- Max
Instance intCount - The maximum instance count of the cluster
- Min
Instance intCount - 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
- max
Instance IntegerCount - The maximum instance count of the cluster
- min
Instance IntegerCount - The minimum instance count of the cluster
- max
Instance numberCount - The maximum instance count of the cluster
- min
Instance 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
- max
Instance NumberCount - The maximum instance count of the cluster
- min
Instance 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
- Time
Zone string - The time zone for the autoscale schedule times
- Schedule
[]Autoscale
Schedule - Array of schedule-based autoscale rules
- Time
Zone string - The time zone for the autoscale schedule times
- schedule
List<Autoscale
Schedule> - Array of schedule-based autoscale rules
- time
Zone String - The time zone for the autoscale schedule times
- schedule
Autoscale
Schedule[] - Array of schedule-based autoscale rules
- time
Zone string - The time zone for the autoscale schedule times
- schedule
Sequence[Autoscale
Schedule] - 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
- time
Zone 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
- Time
Zone string - The time zone for the autoscale schedule times
- Schedule
[]Autoscale
Schedule Response - Array of schedule-based autoscale rules
- Time
Zone string - The time zone for the autoscale schedule times
- schedule
List<Autoscale
Schedule Response> - Array of schedule-based autoscale rules
- time
Zone String - The time zone for the autoscale schedule times
- schedule
Autoscale
Schedule Response[] - Array of schedule-based autoscale rules
- time
Zone string - The time zone for the autoscale schedule times
- schedule
Sequence[Autoscale
Schedule 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
- time
Zone 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
Autoscale
Capacity Response - Parameters for load-based autoscale
- Recurrence
Autoscale
Recurrence Response - Parameters for schedule-based autoscale
- capacity
Autoscale
Capacity Response - Parameters for load-based autoscale
- recurrence
Autoscale
Recurrence Response - Parameters for schedule-based autoscale
- capacity
Autoscale
Capacity Response - Parameters for load-based autoscale
- recurrence
Autoscale
Recurrence Response - Parameters for schedule-based autoscale
- capacity
Autoscale
Capacity Response - Parameters for load-based autoscale
- recurrence
Autoscale
Recurrence 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
- Time
And 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
- Time
And AutoscaleCapacity Time And Capacity - Time and capacity for a schedule-based autoscale rule
- days
List<Either<String,Days
Of 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
(string | Days
Of 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
Sequence[Union[str, Days
Of 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
- time
And 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
- Time
And 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
- 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
- time
And 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
- time
And 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
- time
And Property MapCapacity - Time and capacity for a schedule-based autoscale rule
AutoscaleTimeAndCapacity, AutoscaleTimeAndCapacityArgs
- Max
Instance intCount - The maximum instance count of the cluster
- Min
Instance intCount - 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 string
- 24-hour time in the form xx:xx
- max
Instance IntegerCount - The maximum instance count of the cluster
- min
Instance IntegerCount - The minimum instance count of the cluster
- time String
- 24-hour time in the form xx:xx
- max
Instance numberCount - The maximum instance count of the cluster
- min
Instance 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
- max
Instance NumberCount - The maximum instance count of the cluster
- min
Instance NumberCount - The minimum instance count of the cluster
- time String
- 24-hour time in the form xx:xx
AutoscaleTimeAndCapacityResponse, AutoscaleTimeAndCapacityResponseArgs
- Max
Instance intCount - The maximum instance count of the cluster
- Min
Instance intCount - 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 string
- 24-hour time in the form xx:xx
- max
Instance IntegerCount - The maximum instance count of the cluster
- min
Instance IntegerCount - The minimum instance count of the cluster
- time String
- 24-hour time in the form xx:xx
- max
Instance numberCount - The maximum instance count of the cluster
- min
Instance 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
- max
Instance NumberCount - The maximum instance count of the cluster
- min
Instance 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
- Cluster
Definition Pulumi.Azure Native. HDInsight. Inputs. Cluster Definition - The cluster definition.
- Cluster
Version string - The version of the cluster.
- Compute
Isolation Pulumi.Properties Azure Native. HDInsight. Inputs. Compute Isolation Properties - The compute isolation properties.
- Compute
Profile Pulumi.Azure Native. HDInsight. Inputs. Compute Profile - The compute profile.
- Disk
Encryption Pulumi.Properties Azure Native. HDInsight. Inputs. Disk Encryption Properties - The disk encryption properties.
- Encryption
In Pulumi.Transit Properties Azure Native. HDInsight. Inputs. Encryption In Transit Properties - The encryption-in-transit properties.
- Kafka
Rest Pulumi.Properties Azure Native. HDInsight. Inputs. Kafka Rest Properties - The cluster kafka rest proxy configuration.
- Min
Supported stringTls Version - The minimal supported tls version.
- Network
Properties Pulumi.Azure Native. HDInsight. Inputs. Network Properties - The network properties.
- Os
Type string | Pulumi.Azure Native. HDInsight. OSType - The type of operating system.
- Private
Link List<Pulumi.Configurations Azure Native. HDInsight. Inputs. Private Link Configuration> - The private link configurations.
- Security
Profile Pulumi.Azure Native. HDInsight. Inputs. Security Profile - The security profile.
- Storage
Profile Pulumi.Azure Native. HDInsight. Inputs. Storage Profile - The storage profile.
- Tier
string | Pulumi.
Azure Native. HDInsight. Tier - The cluster tier.
- Cluster
Definition ClusterDefinition - The cluster definition.
- Cluster
Version string - 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 stringTls Version - The minimal supported tls version.
- Network
Properties NetworkProperties - The network properties.
- Os
Type string | OSType - The type of operating system.
- Private
Link []PrivateConfigurations Link Configuration - The private link configurations.
- Security
Profile SecurityProfile - The security profile.
- Storage
Profile StorageProfile - The storage profile.
- Tier string | Tier
- The cluster tier.
- cluster
Definition ClusterDefinition - The cluster definition.
- cluster
Version String - 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 StringTls Version - The minimal supported tls version.
- network
Properties NetworkProperties - The network properties.
- os
Type String | OSType - The type of operating system.
- private
Link List<PrivateConfigurations Link Configuration> - The private link configurations.
- security
Profile SecurityProfile - The security profile.
- storage
Profile StorageProfile - The storage profile.
- tier String | Tier
- The cluster tier.
- cluster
Definition ClusterDefinition - The cluster definition.
- cluster
Version string - 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 stringTls Version - The minimal supported tls version.
- network
Properties NetworkProperties - The network properties.
- os
Type string | OSType - The type of operating system.
- private
Link PrivateConfigurations Link Configuration[] - The private link configurations.
- security
Profile SecurityProfile - The security profile.
- storage
Profile 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.
- cluster
Definition Property Map - The cluster definition.
- cluster
Version String - The version of the cluster.
- compute
Isolation Property MapProperties - The compute isolation properties.
- compute
Profile Property Map - The compute profile.
- disk
Encryption Property MapProperties - The disk encryption properties.
- encryption
In Property MapTransit Properties - The encryption-in-transit properties.
- kafka
Rest Property MapProperties - The cluster kafka rest proxy configuration.
- min
Supported StringTls Version - The minimal supported tls version.
- network
Properties Property Map - The network properties.
- os
Type String | "Windows" | "Linux" - The type of operating system.
- private
Link List<Property Map>Configurations - The private link configurations.
- security
Profile Property Map - The security profile.
- storage
Profile Property Map - The storage profile.
- tier String | "Standard" | "Premium"
- The cluster tier.
ClusterDefinition, ClusterDefinitionArgs
- Blueprint string
- The link to the blueprint.
- Component
Version 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.
- Component
Version 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.
- component
Version 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.
- component
Version {[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.
- component
Version 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.
- Component
Version 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.
- Component
Version 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.
- component
Version 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.
- component
Version {[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.
- component
Version Map<String> - The versions of different services in the cluster.
- configurations Any
- The cluster configurations.
- kind String
- The type of cluster.
ClusterGetPropertiesResponse, ClusterGetPropertiesResponseArgs
- Cluster
Definition Pulumi.Azure Native. HDInsight. Inputs. Cluster Definition Response - The cluster definition.
- Private
Endpoint List<Pulumi.Connections Azure Native. HDInsight. Inputs. Private Endpoint Connection Response> - The list of private endpoint connections.
- Cluster
Hdp stringVersion - The hdp version of the cluster.
- Cluster
Id string - The cluster id.
- Cluster
State string - The state of the cluster.
- Cluster
Version string - The version of the cluster.
- Compute
Isolation Pulumi.Properties Azure Native. HDInsight. Inputs. Compute Isolation Properties Response - The compute isolation properties.
- Compute
Profile Pulumi.Azure Native. HDInsight. Inputs. Compute Profile Response - The compute profile.
- Connectivity
Endpoints List<Pulumi.Azure Native. HDInsight. Inputs. Connectivity Endpoint Response> - The list of connectivity endpoints.
- Created
Date string - The date on which the cluster was created.
- Disk
Encryption Pulumi.Properties Azure Native. HDInsight. Inputs. Disk Encryption Properties Response - The disk encryption properties.
- Encryption
In 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.
- Excluded
Services Pulumi.Config Azure Native. HDInsight. Inputs. Excluded Services Config Response - The excluded services config.
- Kafka
Rest Pulumi.Properties Azure Native. HDInsight. Inputs. Kafka Rest Properties Response - The cluster kafka rest proxy configuration.
- Min
Supported stringTls Version - The minimal supported tls version.
- Network
Properties Pulumi.Azure Native. HDInsight. Inputs. Network Properties Response - The network properties.
- Os
Type string - The type of operating system.
- Private
Link List<Pulumi.Configurations Azure Native. HDInsight. Inputs. Private Link Configuration Response> - The private link configurations.
- Provisioning
State string - The provisioning state, which only appears in the response.
- Quota
Info Pulumi.Azure Native. HDInsight. Inputs. Quota Info Response - The quota information.
- Security
Profile Pulumi.Azure Native. HDInsight. Inputs. Security Profile Response - The security profile.
- Storage
Profile Pulumi.Azure Native. HDInsight. Inputs. Storage Profile Response - The storage profile.
- Tier string
- The cluster tier.
- Cluster
Definition ClusterDefinition Response - The cluster definition.
- Private
Endpoint []PrivateConnections Endpoint Connection Response - The list of private endpoint connections.
- Cluster
Hdp stringVersion - The hdp version of the cluster.
- Cluster
Id string - The cluster id.
- Cluster
State string - The state of the cluster.
- Cluster
Version string - The version of the cluster.
- Compute
Isolation ComputeProperties Isolation Properties Response - The compute isolation properties.
- Compute
Profile ComputeProfile Response - The compute profile.
- Connectivity
Endpoints []ConnectivityEndpoint Response - The list of connectivity endpoints.
- Created
Date string - 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
[]Errors
Response - 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 stringTls Version - The minimal supported tls version.
- Network
Properties NetworkProperties Response - The network properties.
- Os
Type string - The type of operating system.
- Private
Link []PrivateConfigurations Link Configuration Response - The private link configurations.
- Provisioning
State string - 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 string
- The cluster tier.
- cluster
Definition ClusterDefinition Response - The cluster definition.
- private
Endpoint List<PrivateConnections Endpoint Connection Response> - The list of private endpoint connections.
- cluster
Hdp StringVersion - The hdp version of the cluster.
- cluster
Id String - The cluster id.
- cluster
State String - The state of the cluster.
- cluster
Version String - The version of the cluster.
- compute
Isolation ComputeProperties Isolation Properties Response - The compute isolation properties.
- compute
Profile ComputeProfile Response - The compute profile.
- connectivity
Endpoints List<ConnectivityEndpoint Response> - The list of connectivity endpoints.
- created
Date String - 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
List<Errors
Response> - 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 StringTls Version - The minimal supported tls version.
- network
Properties NetworkProperties Response - The network properties.
- os
Type String - The type of operating system.
- private
Link List<PrivateConfigurations Link Configuration Response> - The private link configurations.
- provisioning
State String - 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 String
- The cluster tier.
- cluster
Definition ClusterDefinition Response - The cluster definition.
- private
Endpoint PrivateConnections Endpoint Connection Response[] - The list of private endpoint connections.
- cluster
Hdp stringVersion - The hdp version of the cluster.
- cluster
Id string - The cluster id.
- cluster
State string - The state of the cluster.
- cluster
Version string - The version of the cluster.
- compute
Isolation ComputeProperties Isolation Properties Response - The compute isolation properties.
- compute
Profile ComputeProfile Response - The compute profile.
- connectivity
Endpoints ConnectivityEndpoint Response[] - The list of connectivity endpoints.
- created
Date string - 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
Errors
Response[] - 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 stringTls Version - The minimal supported tls version.
- network
Properties NetworkProperties Response - The network properties.
- os
Type string - The type of operating system.
- private
Link PrivateConfigurations Link Configuration Response[] - The private link configurations.
- provisioning
State string - 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 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[Errors
Response] - 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.
- cluster
Definition Property Map - The cluster definition.
- private
Endpoint List<Property Map>Connections - The list of private endpoint connections.
- cluster
Hdp StringVersion - The hdp version of the cluster.
- cluster
Id String - The cluster id.
- cluster
State String - The state of the cluster.
- cluster
Version String - The version of the cluster.
- compute
Isolation Property MapProperties - The compute isolation properties.
- compute
Profile Property Map - The compute profile.
- connectivity
Endpoints List<Property Map> - The list of connectivity endpoints.
- created
Date String - The date on which the cluster was created.
- disk
Encryption Property MapProperties - The disk encryption properties.
- encryption
In Property MapTransit Properties - The encryption-in-transit properties.
- errors List<Property Map>
- The list of errors.
- excluded
Services Property MapConfig - The excluded services config.
- kafka
Rest Property MapProperties - The cluster kafka rest proxy configuration.
- min
Supported StringTls Version - The minimal supported tls version.
- network
Properties Property Map - The network properties.
- os
Type String - The type of operating system.
- private
Link List<Property Map>Configurations - The private link configurations.
- provisioning
State String - The provisioning state, which only appears in the response.
- quota
Info Property Map - The quota information.
- security
Profile Property Map - The security profile.
- storage
Profile 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.
- User
Assigned 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 | 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.
- User
Assigned 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 | 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.
- user
Assigned 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 | 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.
- user
Assigned {[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 | 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.
- 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 | "System
Assigned" | "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.
- user
Assigned 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
- Principal
Id string - The principal id of cluster identity. This property will only be provided for a system assigned identity.
- Tenant
Id 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.
- User
Assigned 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}'.
- Principal
Id string - The principal id of cluster identity. This property will only be provided for a system assigned identity.
- Tenant
Id 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.
- User
Assigned 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}'.
- principal
Id String - The principal id of cluster identity. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned 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}'.
- principal
Id string - The principal id of cluster identity. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned {[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}'.
- principal
Id String - The principal id of cluster identity. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned 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
- Enable
Compute boolIsolation - The flag indicates whether enable compute isolation or not.
- Host
Sku string - The host sku.
- Enable
Compute boolIsolation - The flag indicates whether enable compute isolation or not.
- Host
Sku string - The host sku.
- enable
Compute BooleanIsolation - The flag indicates whether enable compute isolation or not.
- host
Sku String - The host sku.
- enable
Compute booleanIsolation - The flag indicates whether enable compute isolation or not.
- host
Sku string - The host sku.
- enable_
compute_ boolisolation - The flag indicates whether enable compute isolation or not.
- host_
sku str - The host sku.
- enable
Compute BooleanIsolation - The flag indicates whether enable compute isolation or not.
- host
Sku String - The host sku.
ComputeIsolationPropertiesResponse, ComputeIsolationPropertiesResponseArgs
- Enable
Compute boolIsolation - The flag indicates whether enable compute isolation or not.
- Host
Sku string - The host sku.
- Enable
Compute boolIsolation - The flag indicates whether enable compute isolation or not.
- Host
Sku string - The host sku.
- enable
Compute BooleanIsolation - The flag indicates whether enable compute isolation or not.
- host
Sku String - The host sku.
- enable
Compute booleanIsolation - The flag indicates whether enable compute isolation or not.
- host
Sku string - The host sku.
- enable_
compute_ boolisolation - The flag indicates whether enable compute isolation or not.
- host_
sku str - The host sku.
- enable
Compute BooleanIsolation - The flag indicates whether enable compute isolation or not.
- host
Sku 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
[]Role
Response - The list of roles in the cluster.
- roles
List<Role
Response> - The list of roles in the cluster.
- roles
Role
Response[] - The list of roles in the cluster.
- roles
Sequence[Role
Response] - 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.
- Private
IPAddress 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.
- Private
IPAddress 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.
- private
IPAddress 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.
- private
IPAddress 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.
- private
IPAddress String - The private ip address of the endpoint.
- protocol String
- The protocol of the endpoint.
DataDisksGroups, DataDisksGroupsArgs
- Disks
Per intNode - The number of disks per node.
- Disks
Per intNode - The number of disks per node.
- disks
Per IntegerNode - The number of disks per node.
- disks
Per numberNode - The number of disks per node.
- disks_
per_ intnode - The number of disks per node.
- disks
Per NumberNode - The number of disks per node.
DataDisksGroupsResponse, DataDisksGroupsResponseArgs
- Disk
Size intGB - ReadOnly. The DiskSize in GB. Do not set this value.
- Storage
Account stringType - ReadOnly. The storage account type. Do not set this value.
- Disks
Per intNode - The number of disks per node.
- Disk
Size intGB - ReadOnly. The DiskSize in GB. Do not set this value.
- Storage
Account stringType - ReadOnly. The storage account type. Do not set this value.
- Disks
Per intNode - The number of disks per node.
- disk
Size IntegerGB - ReadOnly. The DiskSize in GB. Do not set this value.
- storage
Account StringType - ReadOnly. The storage account type. Do not set this value.
- disks
Per IntegerNode - The number of disks per node.
- disk
Size numberGB - ReadOnly. The DiskSize in GB. Do not set this value.
- storage
Account stringType - ReadOnly. The storage account type. Do not set this value.
- disks
Per 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.
- disk
Size NumberGB - ReadOnly. The DiskSize in GB. Do not set this value.
- storage
Account StringType - ReadOnly. The storage account type. Do not set this value.
- disks
Per NumberNode - The number of disks per node.
DaysOfWeek, DaysOfWeekArgs
- Monday
- Monday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Thursday
- Thursday
- Friday
- Friday
- Saturday
- Saturday
- Sunday
- Sunday
- Days
Of Week Monday - Monday
- Days
Of Week Tuesday - Tuesday
- Days
Of Week Wednesday - Wednesday
- Days
Of Week Thursday - Thursday
- Days
Of Week Friday - Friday
- Days
Of Week Saturday - Saturday
- Days
Of 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
- Active
Directory - ActiveDirectory
- Directory
Type Active Directory - ActiveDirectory
- Active
Directory - ActiveDirectory
- Active
Directory - ActiveDirectory
- ACTIVE_DIRECTORY
- ActiveDirectory
- "Active
Directory" - ActiveDirectory
DiskEncryptionProperties, DiskEncryptionPropertiesArgs
- Encryption
Algorithm string | Pulumi.Azure Native. HDInsight. Json Web Key Encryption Algorithm - Algorithm identifier for encryption, default RSA-OAEP.
- Encryption
At boolHost - Indicates whether or not resource disk encryption is enabled.
- Key
Name string - Key name that is used for enabling disk encryption.
- Key
Version string - Specific key version that is used for enabling disk encryption.
- Msi
Resource stringId - Resource ID of Managed Identity that is used to access the key vault.
- Vault
Uri string - Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
- Encryption
Algorithm string | 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 string - Key name that is used for enabling disk encryption.
- Key
Version string - Specific key version that is used for enabling disk encryption.
- Msi
Resource stringId - Resource ID of Managed Identity that is used to access the key vault.
- Vault
Uri string - Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
- encryption
Algorithm String | JsonWeb Key Encryption Algorithm - Algorithm identifier for encryption, default RSA-OAEP.
- encryption
At BooleanHost - Indicates whether or not resource disk encryption is enabled.
- key
Name String - Key name that is used for enabling disk encryption.
- key
Version String - Specific key version that is used for enabling disk encryption.
- msi
Resource StringId - Resource ID of Managed Identity that is used to access the key vault.
- vault
Uri String - Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
- encryption
Algorithm string | JsonWeb Key Encryption Algorithm - Algorithm identifier for encryption, default RSA-OAEP.
- encryption
At booleanHost - Indicates whether or not resource disk encryption is enabled.
- key
Name string - Key name that is used for enabling disk encryption.
- key
Version string - Specific key version that is used for enabling disk encryption.
- msi
Resource stringId - Resource ID of Managed Identity that is used to access the key vault.
- vault
Uri 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
- encryption
Algorithm String | "RSA-OAEP" | "RSA-OAEP-256" | "RSA1_5" - Algorithm identifier for encryption, default RSA-OAEP.
- encryption
At BooleanHost - Indicates whether or not resource disk encryption is enabled.
- key
Name String - Key name that is used for enabling disk encryption.
- key
Version String - Specific key version that is used for enabling disk encryption.
- msi
Resource StringId - Resource ID of Managed Identity that is used to access the key vault.
- vault
Uri String - Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
DiskEncryptionPropertiesResponse, DiskEncryptionPropertiesResponseArgs
- Encryption
Algorithm string - Algorithm identifier for encryption, default RSA-OAEP.
- Encryption
At boolHost - Indicates whether or not resource disk encryption is enabled.
- Key
Name string - Key name that is used for enabling disk encryption.
- Key
Version string - Specific key version that is used for enabling disk encryption.
- Msi
Resource stringId - Resource ID of Managed Identity that is used to access the key vault.
- Vault
Uri string - Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
- Encryption
Algorithm string - Algorithm identifier for encryption, default RSA-OAEP.
- Encryption
At boolHost - Indicates whether or not resource disk encryption is enabled.
- Key
Name string - Key name that is used for enabling disk encryption.
- Key
Version string - Specific key version that is used for enabling disk encryption.
- Msi
Resource stringId - Resource ID of Managed Identity that is used to access the key vault.
- Vault
Uri string - Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
- encryption
Algorithm String - Algorithm identifier for encryption, default RSA-OAEP.
- encryption
At BooleanHost - Indicates whether or not resource disk encryption is enabled.
- key
Name String - Key name that is used for enabling disk encryption.
- key
Version String - Specific key version that is used for enabling disk encryption.
- msi
Resource StringId - Resource ID of Managed Identity that is used to access the key vault.
- vault
Uri String - Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
- encryption
Algorithm string - Algorithm identifier for encryption, default RSA-OAEP.
- encryption
At booleanHost - Indicates whether or not resource disk encryption is enabled.
- key
Name string - Key name that is used for enabling disk encryption.
- key
Version string - Specific key version that is used for enabling disk encryption.
- msi
Resource stringId - Resource ID of Managed Identity that is used to access the key vault.
- vault
Uri 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
- encryption
Algorithm String - Algorithm identifier for encryption, default RSA-OAEP.
- encryption
At BooleanHost - Indicates whether or not resource disk encryption is enabled.
- key
Name String - Key name that is used for enabling disk encryption.
- key
Version String - Specific key version that is used for enabling disk encryption.
- msi
Resource StringId - Resource ID of Managed Identity that is used to access the key vault.
- vault
Uri String - Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
EncryptionInTransitProperties, EncryptionInTransitPropertiesArgs
- Is
Encryption boolIn 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.
- is
Encryption BooleanIn Transit Enabled - Indicates whether or not inter cluster node communication is encrypted in transit.
- is
Encryption 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.
- is
Encryption BooleanIn Transit Enabled - Indicates whether or not inter cluster node communication is encrypted in transit.
EncryptionInTransitPropertiesResponse, EncryptionInTransitPropertiesResponseArgs
- Is
Encryption boolIn 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.
- is
Encryption BooleanIn Transit Enabled - Indicates whether or not inter cluster node communication is encrypted in transit.
- is
Encryption 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.
- is
Encryption BooleanIn Transit Enabled - Indicates whether or not inter cluster node communication is encrypted in transit.
ErrorsResponse, ErrorsResponseArgs
ExcludedServicesConfigResponse, ExcludedServicesConfigResponseArgs
- Excluded
Services stringConfig Id - The config id of excluded services.
- Excluded
Services stringList - The list of excluded services.
- Excluded
Services stringConfig Id - The config id of excluded services.
- Excluded
Services stringList - The list of excluded services.
- excluded
Services StringConfig Id - The config id of excluded services.
- excluded
Services StringList - The list of excluded services.
- excluded
Services stringConfig Id - The config id of excluded services.
- excluded
Services stringList - The list of excluded services.
- excluded_
services_ strconfig_ id - The config id of excluded services.
- excluded_
services_ strlist - The list of excluded services.
- excluded
Services StringConfig Id - The config id of excluded services.
- excluded
Services StringList - The list of excluded services.
HardwareProfile, HardwareProfileArgs
- Vm
Size string - The size of the VM
- Vm
Size string - The size of the VM
- vm
Size String - The size of the VM
- vm
Size string - The size of the VM
- vm_
size str - The size of the VM
- vm
Size String - The size of the VM
HardwareProfileResponse, HardwareProfileResponseArgs
- Vm
Size string - The size of the VM
- Vm
Size string - The size of the VM
- vm
Size String - The size of the VM
- vm
Size string - The size of the VM
- vm_
size str - The size of the VM
- vm
Size 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.
- Private
IPAddress string - The IP address.
- Private
IPAllocation 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.
- Private
IPAddress string - The IP address.
- Private
IPAllocation string | PrivateMethod IPAllocation Method - The method that private IP address is allocated.
- Subnet
Resource
Id - 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.
- private
IPAddress String - The IP address.
- private
IPAllocation String | PrivateMethod IPAllocation Method - The method that private IP address is allocated.
- subnet
Resource
Id - 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.
- private
IPAddress string - The IP address.
- private
IPAllocation string | PrivateMethod IPAllocation Method - The method that private IP address is allocated.
- subnet
Resource
Id - 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
Resource
Id - 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.
- private
IPAddress String - The IP address.
- private
IPAllocation 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.
- Provisioning
State 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.
- Private
IPAddress string - The IP address.
- Private
IPAllocation 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.
- Provisioning
State 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.
- Private
IPAddress string - The IP address.
- Private
IPAllocation stringMethod - The method that private IP address is allocated.
- Subnet
Resource
Id Response - The subnet resource id.
- id String
- The private link IP configuration id.
- name String
- The name of private link IP configuration.
- provisioning
State 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.
- private
IPAddress String - The IP address.
- private
IPAllocation StringMethod - The method that private IP address is allocated.
- subnet
Resource
Id Response - The subnet resource id.
- id string
- The private link IP configuration id.
- name string
- The name of private link IP configuration.
- provisioning
State 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.
- private
IPAddress string - The IP address.
- private
IPAllocation stringMethod - The method that private IP address is allocated.
- subnet
Resource
Id 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
Resource
Id Response - The subnet resource id.
- id String
- The private link IP configuration id.
- name String
- The name of private link IP configuration.
- provisioning
State 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.
- private
IPAddress String - The IP address.
- private
IPAllocation 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
- Json
Web Key Encryption Algorithm_RSA_OAEP - RSA-OAEP
- Json
Web Key Encryption Algorithm_RSA_OAEP_256 - RSA-OAEP-256
- Json
Web 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
- Client
Group Pulumi.Info Azure Native. HDInsight. Inputs. Client Group Info - The information of AAD security group.
- Configuration
Override Dictionary<string, string> - The configurations that need to be overriden.
- Client
Group ClientInfo Group Info - The information of AAD security group.
- Configuration
Override map[string]string - The configurations that need to be overriden.
- client
Group ClientInfo Group Info - The information of AAD security group.
- configuration
Override Map<String,String> - The configurations that need to be overriden.
- client
Group ClientInfo Group Info - The information of AAD security group.
- configuration
Override {[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.
- client
Group Property MapInfo - The information of AAD security group.
- configuration
Override Map<String> - The configurations that need to be overriden.
KafkaRestPropertiesResponse, KafkaRestPropertiesResponseArgs
- Client
Group Pulumi.Info Azure Native. HDInsight. Inputs. Client Group Info Response - The information of AAD security group.
- Configuration
Override Dictionary<string, string> - The configurations that need to be overriden.
- Client
Group ClientInfo Group Info Response - The information of AAD security group.
- Configuration
Override map[string]string - The configurations that need to be overriden.
- client
Group ClientInfo Group Info Response - The information of AAD security group.
- configuration
Override Map<String,String> - The configurations that need to be overriden.
- client
Group ClientInfo Group Info Response - The information of AAD security group.
- configuration
Override {[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.
- client
Group Property MapInfo - The information of AAD security group.
- configuration
Override Map<String> - The configurations that need to be overriden.
LinuxOperatingSystemProfile, LinuxOperatingSystemProfileArgs
- Password string
- The password.
- Ssh
Profile Pulumi.Azure Native. HDInsight. Inputs. Ssh Profile - The SSH profile.
- Username string
- The username.
- Password string
- The password.
- Ssh
Profile SshProfile - The SSH profile.
- Username string
- The username.
- password String
- The password.
- ssh
Profile SshProfile - The SSH profile.
- username String
- The username.
- password string
- The password.
- ssh
Profile 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.
- ssh
Profile Property Map - The SSH profile.
- username String
- The username.
LinuxOperatingSystemProfileResponse, LinuxOperatingSystemProfileResponseArgs
- Password string
- The password.
- Ssh
Profile Pulumi.Azure Native. HDInsight. Inputs. Ssh Profile Response - The SSH profile.
- Username string
- The username.
- Password string
- The password.
- Ssh
Profile SshProfile Response - The SSH profile.
- Username string
- The username.
- password String
- The password.
- ssh
Profile SshProfile Response - The SSH profile.
- username String
- The username.
- password string
- The password.
- ssh
Profile 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.
- ssh
Profile Property Map - The SSH profile.
- username String
- The username.
NetworkProperties, NetworkPropertiesArgs
- Private
Link string | Pulumi.Azure Native. HDInsight. Private Link - Indicates whether or not private link is enabled.
- Resource
Provider string | Pulumi.Connection Azure Native. HDInsight. Resource Provider Connection - The direction for the resource provider connection.
- Private
Link string | PrivateLink - Indicates whether or not private link is enabled.
- Resource
Provider string | ResourceConnection Provider Connection - The direction for the resource provider connection.
- private
Link String | PrivateLink - Indicates whether or not private link is enabled.
- resource
Provider String | ResourceConnection Provider Connection - The direction for the resource provider connection.
- private
Link string | PrivateLink - Indicates whether or not private link is enabled.
- resource
Provider 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.
- private
Link String | "Disabled" | "Enabled" - Indicates whether or not private link is enabled.
- resource
Provider String | "Inbound" | "Outbound"Connection - The direction for the resource provider connection.
NetworkPropertiesResponse, NetworkPropertiesResponseArgs
- Private
Link string - Indicates whether or not private link is enabled.
- Resource
Provider stringConnection - The direction for the resource provider connection.
- Private
Link string - Indicates whether or not private link is enabled.
- Resource
Provider stringConnection - The direction for the resource provider connection.
- private
Link String - Indicates whether or not private link is enabled.
- resource
Provider StringConnection - The direction for the resource provider connection.
- private
Link string - Indicates whether or not private link is enabled.
- resource
Provider 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.
- private
Link String - Indicates whether or not private link is enabled.
- resource
Provider StringConnection - The direction for the resource provider connection.
OSType, OSTypeArgs
- Windows
- Windows
- Linux
- Linux
- OSType
Windows - Windows
- OSType
Linux - Linux
- Windows
- Windows
- Linux
- Linux
- Windows
- Windows
- Linux
- Linux
- WINDOWS
- Windows
- LINUX
- Linux
- "Windows"
- Windows
- "Linux"
- Linux
OsProfile, OsProfileArgs
- Linux
Operating LinuxSystem Profile Operating System Profile - The Linux OS profile.
- linux
Operating LinuxSystem Profile Operating System Profile - The Linux OS profile.
- linux
Operating LinuxSystem Profile Operating System Profile - The Linux OS profile.
- linux_
operating_ Linuxsystem_ profile Operating System Profile - The Linux OS profile.
- linux
Operating Property MapSystem Profile - The Linux OS profile.
OsProfileResponse, OsProfileResponseArgs
- Linux
Operating LinuxSystem Profile Operating System Profile Response - The Linux OS profile.
- linux
Operating LinuxSystem Profile Operating System Profile Response - The Linux OS profile.
- linux
Operating LinuxSystem Profile Operating System Profile Response - The Linux OS profile.
- linux_
operating_ Linuxsystem_ profile Operating System Profile Response - The Linux OS profile.
- linux
Operating 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}
- Link
Identifier string - The link identifier.
- Name string
- The name of the resource
- Private
Endpoint Pulumi.Azure Native. HDInsight. Inputs. Private Endpoint Response - The private endpoint of the private endpoint connection
- Private
Link Pulumi.Service Connection State Azure Native. HDInsight. Inputs. Private Link Service Connection State Response - The private link service connection state.
- Provisioning
State string - The provisioning state, which only appears in the response.
- System
Data 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}
- Link
Identifier string - The link identifier.
- Name string
- 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 string - The provisioning state, which only appears in the response.
- System
Data 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}
- link
Identifier String - The link identifier.
- name String
- 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 String - The provisioning state, which only appears in the response.
- system
Data 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}
- link
Identifier string - The link identifier.
- name string
- 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 string - The provisioning state, which only appears in the response.
- system
Data 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}
- link
Identifier String - The link identifier.
- name String
- The name of the resource
- private
Endpoint Property Map - The private endpoint of the private endpoint connection
- private
Link Property MapService Connection State - The private link service connection state.
- provisioning
State String - The provisioning state, which only appears in the response.
- system
Data 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
- Private
IPAllocation Method Dynamic - dynamic
- Private
IPAllocation 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
- Private
Link Disabled - Disabled
- Private
Link Enabled - Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- DISABLED
- Disabled
- ENABLED
- Enabled
- "Disabled"
- Disabled
- "Enabled"
- Enabled
PrivateLinkConfiguration, PrivateLinkConfigurationArgs
- Group
Id string - The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
- Ip
Configurations List<Pulumi.Azure Native. HDInsight. Inputs. IPConfiguration> - The IP configurations for the private link service.
- Name string
- The name of private link configuration.
- Group
Id string - The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
- Ip
Configurations []IPConfiguration - The IP configurations for the private link service.
- Name string
- The name of private link configuration.
- group
Id String - The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
- ip
Configurations List<IPConfiguration> - The IP configurations for the private link service.
- name String
- The name of private link configuration.
- group
Id string - The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
- ip
Configurations 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.
- group
Id String - The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
- ip
Configurations List<Property Map> - The IP configurations for the private link service.
- name String
- The name of private link configuration.
PrivateLinkConfigurationResponse, PrivateLinkConfigurationResponseArgs
- Group
Id 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.
- Ip
Configurations List<Pulumi.Azure Native. HDInsight. Inputs. IPConfiguration Response> - The IP configurations for the private link service.
- Name string
- The name of private link configuration.
- Provisioning
State string - The private link configuration provisioning state, which only appears in the response.
- Type string
- The type of the private link configuration.
- Group
Id 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.
- Ip
Configurations []IPConfigurationResponse - The IP configurations for the private link service.
- Name string
- The name of private link configuration.
- Provisioning
State string - The private link configuration provisioning state, which only appears in the response.
- Type string
- The type of the private link configuration.
- group
Id 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.
- ip
Configurations List<IPConfigurationResponse> - The IP configurations for the private link service.
- name String
- The name of private link configuration.
- provisioning
State String - The private link configuration provisioning state, which only appears in the response.
- type String
- The type of the private link configuration.
- group
Id 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.
- ip
Configurations IPConfigurationResponse[] - The IP configurations for the private link service.
- name string
- The name of private link configuration.
- provisioning
State 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.
- group
Id 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.
- ip
Configurations List<Property Map> - The IP configurations for the private link service.
- name String
- The name of private link configuration.
- provisioning
State 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.
- Actions
Required string - Whether there is further actions.
- Description string
- The optional description of the status.
- Status string
- The concrete private link service connection.
- Actions
Required string - Whether there is further actions.
- Description string
- The optional description of the status.
- status String
- The concrete private link service connection.
- actions
Required String - Whether there is further actions.
- description String
- The optional description of the status.
- status string
- The concrete private link service connection.
- actions
Required 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.
- actions
Required String - Whether there is further actions.
- description String
- The optional description of the status.
QuotaInfoResponse, QuotaInfoResponseArgs
- Cores
Used int - The cores used by the cluster.
- Cores
Used int - The cores used by the cluster.
- cores
Used Integer - The cores used by the cluster.
- cores
Used number - The cores used by the cluster.
- cores_
used int - The cores used by the cluster.
- cores
Used 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
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- Resource
Identity Type System Assigned - SystemAssigned
- Resource
Identity Type User Assigned - UserAssigned
- Resource
Identity Type_System Assigned_User Assigned - SystemAssigned, UserAssigned
- Resource
Identity Type None - None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned, UserAssigned
- NONE
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned, User Assigned" - SystemAssigned, UserAssigned
- "None"
- None
ResourceProviderConnection, ResourceProviderConnectionArgs
- Inbound
- Inbound
- Outbound
- Outbound
- Resource
Provider Connection Inbound - Inbound
- Resource
Provider Connection Outbound - Outbound
- Inbound
- Inbound
- Outbound
- Outbound
- Inbound
- Inbound
- Outbound
- Outbound
- INBOUND
- Inbound
- OUTBOUND
- Outbound
- "Inbound"
- Inbound
- "Outbound"
- Outbound
Role, RoleArgs
- Autoscale
Configuration Pulumi.Azure Native. HDInsight. Inputs. Autoscale - The autoscale configurations.
- Data
Disks List<Pulumi.Groups Azure Native. HDInsight. Inputs. Data Disks Groups> - The data disks groups for the role.
- Encrypt
Data boolDisks - Indicates whether encrypt the data disks.
- Hardware
Profile Pulumi.Azure Native. HDInsight. Inputs. Hardware Profile - The hardware profile.
- Min
Instance intCount - The minimum instance count of the cluster.
- Name string
- The name of the role.
- Os
Profile Pulumi.Azure Native. HDInsight. Inputs. Os Profile - The operating system profile.
- Script
Actions List<Pulumi.Azure Native. HDInsight. Inputs. Script Action> - The list of script actions on the role.
- Target
Instance intCount - The instance count of the cluster.
- VMGroup
Name string - The name of the virtual machine group.
- Virtual
Network Pulumi.Profile Azure Native. HDInsight. Inputs. Virtual Network Profile - The virtual network profile.
- Autoscale
Configuration Autoscale - The autoscale configurations.
- Data
Disks []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 string
- The name of the role.
- Os
Profile OsProfile - The operating system profile.
- Script
Actions []ScriptAction - The list of script actions on the role.
- Target
Instance intCount - The instance count of the cluster.
- VMGroup
Name string - The name of the virtual machine group.
- Virtual
Network VirtualProfile Network Profile - The virtual network profile.
- autoscale
Configuration Autoscale - The autoscale configurations.
- data
Disks List<DataGroups Disks Groups> - The data disks groups for the role.
- encrypt
Data BooleanDisks - Indicates whether encrypt the data disks.
- hardware
Profile HardwareProfile - The hardware profile.
- min
Instance IntegerCount - The minimum instance count of the cluster.
- name String
- The name of the role.
- os
Profile OsProfile - The operating system profile.
- script
Actions List<ScriptAction> - The list of script actions on the role.
- target
Instance IntegerCount - The instance count of the cluster.
- v
MGroup StringName - The name of the virtual machine group.
- virtual
Network VirtualProfile Network Profile - The virtual network profile.
- autoscale
Configuration Autoscale - The autoscale configurations.
- data
Disks DataGroups Disks Groups[] - The data disks groups for the role.
- encrypt
Data booleanDisks - Indicates whether encrypt the data disks.
- hardware
Profile HardwareProfile - The hardware profile.
- min
Instance numberCount - The minimum instance count of the cluster.
- name string
- The name of the role.
- os
Profile OsProfile - The operating system profile.
- script
Actions ScriptAction[] - The list of script actions on the role.
- target
Instance numberCount - The instance count of the cluster.
- v
MGroup stringName - The name of the virtual machine group.
- virtual
Network 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.
- autoscale
Configuration Property Map - The autoscale configurations.
- data
Disks List<Property Map>Groups - The data disks groups for the role.
- encrypt
Data BooleanDisks - Indicates whether encrypt the data disks.
- hardware
Profile Property Map - The hardware profile.
- min
Instance NumberCount - The minimum instance count of the cluster.
- name String
- The name of the role.
- os
Profile Property Map - The operating system profile.
- script
Actions List<Property Map> - The list of script actions on the role.
- target
Instance NumberCount - The instance count of the cluster.
- v
MGroup StringName - The name of the virtual machine group.
- virtual
Network Property MapProfile - The virtual network profile.
RoleResponse, RoleResponseArgs
- Autoscale
Configuration Pulumi.Azure Native. HDInsight. Inputs. Autoscale Response - The autoscale configurations.
- Data
Disks List<Pulumi.Groups Azure Native. HDInsight. Inputs. Data Disks Groups Response> - The data disks groups for the role.
- Encrypt
Data boolDisks - Indicates whether encrypt the data disks.
- Hardware
Profile Pulumi.Azure Native. HDInsight. Inputs. Hardware Profile Response - The hardware profile.
- Min
Instance intCount - The minimum instance count of the cluster.
- Name string
- The name of the role.
- Os
Profile Pulumi.Azure Native. HDInsight. Inputs. Os Profile Response - The operating system profile.
- Script
Actions List<Pulumi.Azure Native. HDInsight. Inputs. Script Action Response> - The list of script actions on the role.
- Target
Instance intCount - The instance count of the cluster.
- VMGroup
Name string - The name of the virtual machine group.
- Virtual
Network Pulumi.Profile Azure Native. HDInsight. Inputs. Virtual Network Profile Response - The virtual network profile.
- Autoscale
Configuration AutoscaleResponse - The autoscale configurations.
- Data
Disks []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 string
- The name of the role.
- Os
Profile OsProfile Response - The operating system profile.
- Script
Actions []ScriptAction Response - The list of script actions on the role.
- Target
Instance intCount - The instance count of the cluster.
- VMGroup
Name string - The name of the virtual machine group.
- Virtual
Network VirtualProfile Network Profile Response - The virtual network profile.
- autoscale
Configuration AutoscaleResponse - The autoscale configurations.
- data
Disks List<DataGroups Disks Groups Response> - The data disks groups for the role.
- encrypt
Data BooleanDisks - Indicates whether encrypt the data disks.
- hardware
Profile HardwareProfile Response - The hardware profile.
- min
Instance IntegerCount - The minimum instance count of the cluster.
- name String
- The name of the role.
- os
Profile OsProfile Response - The operating system profile.
- script
Actions List<ScriptAction Response> - The list of script actions on the role.
- target
Instance IntegerCount - The instance count of the cluster.
- v
MGroup StringName - The name of the virtual machine group.
- virtual
Network VirtualProfile Network Profile Response - The virtual network profile.
- autoscale
Configuration AutoscaleResponse - The autoscale configurations.
- data
Disks DataGroups Disks Groups Response[] - The data disks groups for the role.
- encrypt
Data booleanDisks - Indicates whether encrypt the data disks.
- hardware
Profile HardwareProfile Response - The hardware profile.
- min
Instance numberCount - The minimum instance count of the cluster.
- name string
- The name of the role.
- os
Profile OsProfile Response - The operating system profile.
- script
Actions ScriptAction Response[] - The list of script actions on the role.
- target
Instance numberCount - The instance count of the cluster.
- v
MGroup stringName - The name of the virtual machine group.
- virtual
Network 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.
- autoscale
Configuration Property Map - The autoscale configurations.
- data
Disks List<Property Map>Groups - The data disks groups for the role.
- encrypt
Data BooleanDisks - Indicates whether encrypt the data disks.
- hardware
Profile Property Map - The hardware profile.
- min
Instance NumberCount - The minimum instance count of the cluster.
- name String
- The name of the role.
- os
Profile Property Map - The operating system profile.
- script
Actions List<Property Map> - The list of script actions on the role.
- target
Instance NumberCount - The instance count of the cluster.
- v
MGroup StringName - The name of the virtual machine group.
- virtual
Network 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
- Aadds
Resource stringId - The resource ID of the user's Azure Active Directory Domain Service.
- Cluster
Users List<string>Group DNs - Optional. The Distinguished Names for cluster user groups
- Directory
Type string | Pulumi.Azure Native. HDInsight. Directory Type - The directory type.
- Domain string
- The organization's active directory domain.
- Domain
User stringPassword - The domain admin password.
- Domain
Username string - The domain user account that will have admin privileges on the cluster.
- Ldaps
Urls List<string> - The LDAPS protocol URLs to communicate with the Active Directory.
- Msi
Resource stringId - User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- Organizational
Unit stringDN - The organizational unit within the Active Directory to place the cluster and service accounts.
- Aadds
Resource stringId - The resource ID of the user's Azure Active Directory Domain Service.
- Cluster
Users []stringGroup DNs - Optional. The Distinguished Names for cluster user groups
- Directory
Type string | DirectoryType - The directory type.
- Domain string
- The organization's active directory domain.
- Domain
User stringPassword - The domain admin password.
- Domain
Username string - The domain user account that will have admin privileges on the cluster.
- Ldaps
Urls []string - The LDAPS protocol URLs to communicate with the Active Directory.
- Msi
Resource stringId - User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- Organizational
Unit stringDN - The organizational unit within the Active Directory to place the cluster and service accounts.
- aadds
Resource StringId - The resource ID of the user's Azure Active Directory Domain Service.
- cluster
Users List<String>Group DNs - Optional. The Distinguished Names for cluster user groups
- directory
Type String | DirectoryType - The directory type.
- domain String
- The organization's active directory domain.
- domain
User StringPassword - The domain admin password.
- domain
Username String - The domain user account that will have admin privileges on the cluster.
- ldaps
Urls List<String> - The LDAPS protocol URLs to communicate with the Active Directory.
- msi
Resource StringId - User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- organizational
Unit StringDN - The organizational unit within the Active Directory to place the cluster and service accounts.
- aadds
Resource stringId - The resource ID of the user's Azure Active Directory Domain Service.
- cluster
Users string[]Group DNs - Optional. The Distinguished Names for cluster user groups
- directory
Type string | DirectoryType - The directory type.
- domain string
- The organization's active directory domain.
- domain
User stringPassword - The domain admin password.
- domain
Username string - The domain user account that will have admin privileges on the cluster.
- ldaps
Urls string[] - The LDAPS protocol URLs to communicate with the Active Directory.
- msi
Resource stringId - User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- organizational
Unit 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.
- aadds
Resource StringId - The resource ID of the user's Azure Active Directory Domain Service.
- cluster
Users List<String>Group DNs - Optional. The Distinguished Names for cluster user groups
- directory
Type String | "ActiveDirectory" - The directory type.
- domain String
- The organization's active directory domain.
- domain
User StringPassword - The domain admin password.
- domain
Username String - The domain user account that will have admin privileges on the cluster.
- ldaps
Urls List<String> - The LDAPS protocol URLs to communicate with the Active Directory.
- msi
Resource StringId - User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- organizational
Unit StringDN - The organizational unit within the Active Directory to place the cluster and service accounts.
SecurityProfileResponse, SecurityProfileResponseArgs
- Aadds
Resource stringId - The resource ID of the user's Azure Active Directory Domain Service.
- Cluster
Users List<string>Group DNs - Optional. The Distinguished Names for cluster user groups
- Directory
Type string - The directory type.
- Domain string
- The organization's active directory domain.
- Domain
User stringPassword - The domain admin password.
- Domain
Username string - The domain user account that will have admin privileges on the cluster.
- Ldaps
Urls List<string> - The LDAPS protocol URLs to communicate with the Active Directory.
- Msi
Resource stringId - User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- Organizational
Unit stringDN - The organizational unit within the Active Directory to place the cluster and service accounts.
- Aadds
Resource stringId - The resource ID of the user's Azure Active Directory Domain Service.
- Cluster
Users []stringGroup DNs - Optional. The Distinguished Names for cluster user groups
- Directory
Type string - The directory type.
- Domain string
- The organization's active directory domain.
- Domain
User stringPassword - The domain admin password.
- Domain
Username string - The domain user account that will have admin privileges on the cluster.
- Ldaps
Urls []string - The LDAPS protocol URLs to communicate with the Active Directory.
- Msi
Resource stringId - User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- Organizational
Unit stringDN - The organizational unit within the Active Directory to place the cluster and service accounts.
- aadds
Resource StringId - The resource ID of the user's Azure Active Directory Domain Service.
- cluster
Users List<String>Group DNs - Optional. The Distinguished Names for cluster user groups
- directory
Type String - The directory type.
- domain String
- The organization's active directory domain.
- domain
User StringPassword - The domain admin password.
- domain
Username String - The domain user account that will have admin privileges on the cluster.
- ldaps
Urls List<String> - The LDAPS protocol URLs to communicate with the Active Directory.
- msi
Resource StringId - User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- organizational
Unit StringDN - The organizational unit within the Active Directory to place the cluster and service accounts.
- aadds
Resource stringId - The resource ID of the user's Azure Active Directory Domain Service.
- cluster
Users string[]Group DNs - Optional. The Distinguished Names for cluster user groups
- directory
Type string - The directory type.
- domain string
- The organization's active directory domain.
- domain
User stringPassword - The domain admin password.
- domain
Username string - The domain user account that will have admin privileges on the cluster.
- ldaps
Urls string[] - The LDAPS protocol URLs to communicate with the Active Directory.
- msi
Resource stringId - User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- organizational
Unit 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.
- aadds
Resource StringId - The resource ID of the user's Azure Active Directory Domain Service.
- cluster
Users List<String>Group DNs - Optional. The Distinguished Names for cluster user groups
- directory
Type String - The directory type.
- domain String
- The organization's active directory domain.
- domain
User StringPassword - The domain admin password.
- domain
Username String - The domain user account that will have admin privileges on the cluster.
- ldaps
Urls List<String> - The LDAPS protocol URLs to communicate with the Active Directory.
- msi
Resource StringId - User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS.
- organizational
Unit StringDN - The organizational unit within the Active Directory to place the cluster and service accounts.
SshProfile, SshProfileArgs
- Public
Keys List<Pulumi.Azure Native. HDInsight. Inputs. Ssh Public Key> - The list of SSH public keys.
- Public
Keys []SshPublic Key - The list of SSH public keys.
- public
Keys List<SshPublic Key> - The list of SSH public keys.
- public
Keys SshPublic Key[] - The list of SSH public keys.
- public_
keys Sequence[SshPublic Key] - The list of SSH public keys.
- public
Keys List<Property Map> - The list of SSH public keys.
SshProfileResponse, SshProfileResponseArgs
- Public
Keys List<Pulumi.Azure Native. HDInsight. Inputs. Ssh Public Key Response> - The list of SSH public keys.
- Public
Keys []SshPublic Key Response - The list of SSH public keys.
- public
Keys List<SshPublic Key Response> - The list of SSH public keys.
- public
Keys SshPublic Key Response[] - The list of SSH public keys.
- public_
keys Sequence[SshPublic Key Response] - The list of SSH public keys.
- public
Keys List<Property Map> - The list of SSH public keys.
SshPublicKey, SshPublicKeyArgs
- Certificate
Data string - The certificate for SSH.
- Certificate
Data string - The certificate for SSH.
- certificate
Data String - The certificate for SSH.
- certificate
Data string - The certificate for SSH.
- certificate_
data str - The certificate for SSH.
- certificate
Data String - The certificate for SSH.
SshPublicKeyResponse, SshPublicKeyResponseArgs
- Certificate
Data string - The certificate for SSH.
- Certificate
Data string - The certificate for SSH.
- certificate
Data String - The certificate for SSH.
- certificate
Data string - The certificate for SSH.
- certificate_
data str - The certificate for SSH.
- certificate
Data String - The certificate for SSH.
StorageAccount, StorageAccountArgs
- Container string
- The container in the storage account, only to be specified for WASB storage accounts.
- File
System string - The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
- string
- The file share name.
- Is
Default bool - Whether or not the storage account is the default storage account.
- Key string
- The storage account access key.
- Msi
Resource 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.
- Resource
Id 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.
- File
System string - The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
- string
- The file share name.
- Is
Default bool - Whether or not the storage account is the default storage account.
- Key string
- The storage account access key.
- Msi
Resource 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.
- Resource
Id 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.
- file
System String - The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
- String
- The file share name.
- is
Default Boolean - Whether or not the storage account is the default storage account.
- key String
- The storage account access key.
- msi
Resource 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.
- resource
Id 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.
- file
System string - The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
- string
- The file share name.
- is
Default boolean - Whether or not the storage account is the default storage account.
- key string
- The storage account access key.
- msi
Resource 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.
- resource
Id 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.
- file
System String - The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
- String
- The file share name.
- is
Default Boolean - Whether or not the storage account is the default storage account.
- key String
- The storage account access key.
- msi
Resource 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.
- resource
Id 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.
- File
System string - The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
- string
- The file share name.
- Is
Default bool - Whether or not the storage account is the default storage account.
- Key string
- The storage account access key.
- Msi
Resource 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.
- Resource
Id 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.
- File
System string - The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
- string
- The file share name.
- Is
Default bool - Whether or not the storage account is the default storage account.
- Key string
- The storage account access key.
- Msi
Resource 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.
- Resource
Id 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.
- file
System String - The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
- String
- The file share name.
- is
Default Boolean - Whether or not the storage account is the default storage account.
- key String
- The storage account access key.
- msi
Resource 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.
- resource
Id 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.
- file
System string - The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
- string
- The file share name.
- is
Default boolean - Whether or not the storage account is the default storage account.
- key string
- The storage account access key.
- msi
Resource 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.
- resource
Id 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.
- file
System String - The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
- String
- The file share name.
- is
Default Boolean - Whether or not the storage account is the default storage account.
- key String
- The storage account access key.
- msi
Resource 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.
- resource
Id 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
[]Storage
Account - The list of storage accounts in the cluster.
- storageaccounts
List<Storage
Account> - The list of storage accounts in the cluster.
- storageaccounts
Storage
Account[] - The list of storage accounts in the cluster.
- storageaccounts
Sequence[Storage
Account] - 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
[]Storage
Account Response - The list of storage accounts in the cluster.
- storageaccounts
List<Storage
Account Response> - The list of storage accounts in the cluster.
- storageaccounts
Storage
Account Response[] - The list of storage accounts in the cluster.
- storageaccounts
Sequence[Storage
Account Response] - The list of storage accounts in the cluster.
- storageaccounts List<Property Map>
- The list of storage accounts in the cluster.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Tier, TierArgs
- Standard
- Standard
- Premium
- Premium
- Tier
Standard - Standard
- Tier
Premium - Premium
- Standard
- Standard
- Premium
- Premium
- Standard
- Standard
- Premium
- Premium
- STANDARD
- Standard
- PREMIUM
- Premium
- "Standard"
- Standard
- "Premium"
- Premium
UserAssignedIdentity, UserAssignedIdentityArgs
- Tenant
Id string - The tenant id of user assigned identity.
- Tenant
Id string - The tenant id of user assigned identity.
- tenant
Id String - The tenant id of user assigned identity.
- tenant
Id string - The tenant id of user assigned identity.
- tenant_
id str - The tenant id of user assigned identity.
- tenant
Id String - The tenant id of user assigned identity.
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- Tenant
Id string - The tenant id of user assigned identity.
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- Tenant
Id string - The tenant id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
- tenant
Id String - The tenant id of user assigned identity.
- client
Id string - The client id of user assigned identity.
- principal
Id string - The principal id of user assigned identity.
- tenant
Id 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.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
- tenant
Id 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