Alibaba Cloud v3.88.1 published on Saturday, Nov 8, 2025 by Pulumi
Alibaba Cloud v3.88.1 published on Saturday, Nov 8, 2025 by Pulumi
This data source provides the Emr Clusters of the current Alibaba Cloud user.
DEPRECATED: This datasource has been deprecated from version
1.204.0. Please use new datasource emrv2_clusters.
NOTE: Available in v1.146.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "tf-testAccClusters";
const _default = alicloud.resourcemanager.getResourceGroups({
status: "OK",
});
const defaultGetMainVersions = alicloud.emr.getMainVersions({});
const defaultGetInstanceTypes = defaultGetMainVersions.then(defaultGetMainVersions => alicloud.emr.getInstanceTypes({
destinationResource: "InstanceType",
clusterType: defaultGetMainVersions.mainVersions?.[0]?.clusterTypes?.[0],
supportLocalStorage: false,
instanceChargeType: "PostPaid",
supportNodeTypes: [
"MASTER",
"CORE",
"TASK",
],
}));
const dataDisk = Promise.all([defaultGetMainVersions, defaultGetInstanceTypes, defaultGetInstanceTypes]).then(([defaultGetMainVersions, defaultGetInstanceTypes, defaultGetInstanceTypes1]) => alicloud.emr.getDiskTypes({
destinationResource: "DataDisk",
clusterType: defaultGetMainVersions.mainVersions?.[0]?.clusterTypes?.[0],
instanceChargeType: "PostPaid",
instanceType: defaultGetInstanceTypes.types?.[0]?.id,
zoneId: defaultGetInstanceTypes1.types?.[0]?.zoneId,
}));
const systemDisk = Promise.all([defaultGetMainVersions, defaultGetInstanceTypes, defaultGetInstanceTypes]).then(([defaultGetMainVersions, defaultGetInstanceTypes, defaultGetInstanceTypes1]) => alicloud.emr.getDiskTypes({
destinationResource: "SystemDisk",
clusterType: defaultGetMainVersions.mainVersions?.[0]?.clusterTypes?.[0],
instanceChargeType: "PostPaid",
instanceType: defaultGetInstanceTypes.types?.[0]?.id,
zoneId: defaultGetInstanceTypes1.types?.[0]?.zoneId,
}));
const defaultGetNetworks = alicloud.vpc.getNetworks({
nameRegex: "default-NODELETING",
});
const defaultSecurityGroup = new alicloud.ecs.SecurityGroup("default", {
name: name,
vpcId: defaultGetNetworks.then(defaultGetNetworks => defaultGetNetworks.ids?.[0]),
});
const defaultGetSwitches = Promise.all([defaultGetNetworks, defaultGetInstanceTypes]).then(([defaultGetNetworks, defaultGetInstanceTypes]) => alicloud.vpc.getSwitches({
vpcId: defaultGetNetworks.ids?.[0],
zoneId: defaultGetInstanceTypes.types?.[0]?.zoneId,
}));
const defaultRole = new alicloud.ram.Role("default", {
name: name,
document: ` {
\\"Statement\\": [
{
\\"Action\\": \\"sts:AssumeRole\\",
\\"Effect\\": \\"Allow\\",
\\"Principal\\": {
\\"Service\\": [
\\"emr.aliyuncs.com\\",
\\"ecs.aliyuncs.com\\"
]
}
}
],
\\"Version\\": \\"1\\"
}
`,
description: "this is a role test.",
force: true,
});
const defaultCluster = new alicloud.emr.Cluster("default", {
name: name,
emrVer: defaultGetMainVersions.then(defaultGetMainVersions => defaultGetMainVersions.mainVersions?.[0]?.emrVersion),
clusterType: defaultGetMainVersions.then(defaultGetMainVersions => defaultGetMainVersions.mainVersions?.[0]?.clusterTypes?.[0]),
hostGroups: [
{
hostGroupName: "master_group",
hostGroupType: "MASTER",
nodeCount: "2",
instanceType: defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.types?.[0]?.id),
diskType: dataDisk.then(dataDisk => dataDisk.types?.[0]?.value),
diskCapacity: Promise.all([dataDisk, dataDisk]).then(([dataDisk, dataDisk1]) => dataDisk.types?.[0]?.min > 160 ? dataDisk1.types?.[0]?.min : 160),
diskCount: "1",
sysDiskType: systemDisk.then(systemDisk => systemDisk.types?.[0]?.value),
sysDiskCapacity: Promise.all([systemDisk, systemDisk]).then(([systemDisk, systemDisk1]) => systemDisk.types?.[0]?.min > 160 ? systemDisk1.types?.[0]?.min : 160),
},
{
hostGroupName: "core_group",
hostGroupType: "CORE",
nodeCount: "3",
instanceType: defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.types?.[0]?.id),
diskType: dataDisk.then(dataDisk => dataDisk.types?.[0]?.value),
diskCapacity: Promise.all([dataDisk, dataDisk]).then(([dataDisk, dataDisk1]) => dataDisk.types?.[0]?.min > 160 ? dataDisk1.types?.[0]?.min : 160),
diskCount: "4",
sysDiskType: systemDisk.then(systemDisk => systemDisk.types?.[0]?.value),
sysDiskCapacity: Promise.all([systemDisk, systemDisk]).then(([systemDisk, systemDisk1]) => systemDisk.types?.[0]?.min > 160 ? systemDisk1.types?.[0]?.min : 160),
},
{
hostGroupName: "task_group",
hostGroupType: "TASK",
nodeCount: "2",
instanceType: defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.types?.[0]?.id),
diskType: dataDisk.then(dataDisk => dataDisk.types?.[0]?.value),
diskCapacity: Promise.all([dataDisk, dataDisk]).then(([dataDisk, dataDisk1]) => dataDisk.types?.[0]?.min > 160 ? dataDisk1.types?.[0]?.min : 160),
diskCount: "4",
sysDiskType: systemDisk.then(systemDisk => systemDisk.types?.[0]?.value),
sysDiskCapacity: Promise.all([systemDisk, systemDisk]).then(([systemDisk, systemDisk1]) => systemDisk.types?.[0]?.min > 160 ? systemDisk1.types?.[0]?.min : 160),
},
],
highAvailabilityEnable: true,
zoneId: defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.types?.[0]?.zoneId),
securityGroupId: defaultSecurityGroup.id,
isOpenPublicIp: true,
chargeType: "PostPaid",
vswitchId: defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids?.[0]),
userDefinedEmrEcsRole: defaultRole.name,
sshEnable: true,
masterPwd: "ABCtest1234!",
tags: {
Created: "TF",
For: "acceptance test",
},
});
const ids = alicloud.emr.getClusters({});
export const emrClusterId1 = ids.then(ids => ids.clusters?.[0]?.id);
const nameRegex = alicloud.emr.getClustersOutput({
nameRegex: defaultCluster.name,
});
export const emrClusterId2 = nameRegex.apply(nameRegex => nameRegex.clusters?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf-testAccClusters"
default = alicloud.resourcemanager.get_resource_groups(status="OK")
default_get_main_versions = alicloud.emr.get_main_versions()
default_get_instance_types = alicloud.emr.get_instance_types(destination_resource="InstanceType",
cluster_type=default_get_main_versions.main_versions[0].cluster_types[0],
support_local_storage=False,
instance_charge_type="PostPaid",
support_node_types=[
"MASTER",
"CORE",
"TASK",
])
data_disk = alicloud.emr.get_disk_types(destination_resource="DataDisk",
cluster_type=default_get_main_versions.main_versions[0].cluster_types[0],
instance_charge_type="PostPaid",
instance_type=default_get_instance_types.types[0].id,
zone_id=default_get_instance_types.types[0].zone_id)
system_disk = alicloud.emr.get_disk_types(destination_resource="SystemDisk",
cluster_type=default_get_main_versions.main_versions[0].cluster_types[0],
instance_charge_type="PostPaid",
instance_type=default_get_instance_types.types[0].id,
zone_id=default_get_instance_types.types[0].zone_id)
default_get_networks = alicloud.vpc.get_networks(name_regex="default-NODELETING")
default_security_group = alicloud.ecs.SecurityGroup("default",
name=name,
vpc_id=default_get_networks.ids[0])
default_get_switches = alicloud.vpc.get_switches(vpc_id=default_get_networks.ids[0],
zone_id=default_get_instance_types.types[0].zone_id)
default_role = alicloud.ram.Role("default",
name=name,
document=""" {
\"Statement\": [
{
\"Action\": \"sts:AssumeRole\",
\"Effect\": \"Allow\",
\"Principal\": {
\"Service\": [
\"emr.aliyuncs.com\",
\"ecs.aliyuncs.com\"
]
}
}
],
\"Version\": \"1\"
}
""",
description="this is a role test.",
force=True)
default_cluster = alicloud.emr.Cluster("default",
name=name,
emr_ver=default_get_main_versions.main_versions[0].emr_version,
cluster_type=default_get_main_versions.main_versions[0].cluster_types[0],
host_groups=[
{
"host_group_name": "master_group",
"host_group_type": "MASTER",
"node_count": "2",
"instance_type": default_get_instance_types.types[0].id,
"disk_type": data_disk.types[0].value,
"disk_capacity": data_disk.types[0].min if data_disk.types[0].min > 160 else "160",
"disk_count": "1",
"sys_disk_type": system_disk.types[0].value,
"sys_disk_capacity": system_disk.types[0].min if system_disk.types[0].min > 160 else "160",
},
{
"host_group_name": "core_group",
"host_group_type": "CORE",
"node_count": "3",
"instance_type": default_get_instance_types.types[0].id,
"disk_type": data_disk.types[0].value,
"disk_capacity": data_disk.types[0].min if data_disk.types[0].min > 160 else "160",
"disk_count": "4",
"sys_disk_type": system_disk.types[0].value,
"sys_disk_capacity": system_disk.types[0].min if system_disk.types[0].min > 160 else "160",
},
{
"host_group_name": "task_group",
"host_group_type": "TASK",
"node_count": "2",
"instance_type": default_get_instance_types.types[0].id,
"disk_type": data_disk.types[0].value,
"disk_capacity": data_disk.types[0].min if data_disk.types[0].min > 160 else "160",
"disk_count": "4",
"sys_disk_type": system_disk.types[0].value,
"sys_disk_capacity": system_disk.types[0].min if system_disk.types[0].min > 160 else "160",
},
],
high_availability_enable=True,
zone_id=default_get_instance_types.types[0].zone_id,
security_group_id=default_security_group.id,
is_open_public_ip=True,
charge_type="PostPaid",
vswitch_id=default_get_switches.ids[0],
user_defined_emr_ecs_role=default_role.name,
ssh_enable=True,
master_pwd="ABCtest1234!",
tags={
"Created": "TF",
"For": "acceptance test",
})
ids = alicloud.emr.get_clusters()
pulumi.export("emrClusterId1", ids.clusters[0].id)
name_regex = alicloud.emr.get_clusters_output(name_regex=default_cluster.name)
pulumi.export("emrClusterId2", name_regex.clusters[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/emr"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ram"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "tf-testAccClusters"
if param := cfg.Get("name"); param != "" {
name = param
}
_, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{
Status: pulumi.StringRef("OK"),
}, nil)
if err != nil {
return err
}
defaultGetMainVersions, err := emr.GetMainVersions(ctx, &emr.GetMainVersionsArgs{}, nil)
if err != nil {
return err
}
defaultGetInstanceTypes, err := emr.GetInstanceTypes(ctx, &emr.GetInstanceTypesArgs{
DestinationResource: "InstanceType",
ClusterType: defaultGetMainVersions.MainVersions[0].ClusterTypes[0],
SupportLocalStorage: pulumi.BoolRef(false),
InstanceChargeType: "PostPaid",
SupportNodeTypes: []string{
"MASTER",
"CORE",
"TASK",
},
}, nil)
if err != nil {
return err
}
dataDisk, err := emr.GetDiskTypes(ctx, &emr.GetDiskTypesArgs{
DestinationResource: "DataDisk",
ClusterType: defaultGetMainVersions.MainVersions[0].ClusterTypes[0],
InstanceChargeType: "PostPaid",
InstanceType: defaultGetInstanceTypes.Types[0].Id,
ZoneId: pulumi.StringRef(defaultGetInstanceTypes.Types[0].ZoneId),
}, nil)
if err != nil {
return err
}
systemDisk, err := emr.GetDiskTypes(ctx, &emr.GetDiskTypesArgs{
DestinationResource: "SystemDisk",
ClusterType: defaultGetMainVersions.MainVersions[0].ClusterTypes[0],
InstanceChargeType: "PostPaid",
InstanceType: defaultGetInstanceTypes.Types[0].Id,
ZoneId: pulumi.StringRef(defaultGetInstanceTypes.Types[0].ZoneId),
}, nil)
if err != nil {
return err
}
defaultGetNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
NameRegex: pulumi.StringRef("default-NODELETING"),
}, nil)
if err != nil {
return err
}
defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "default", &ecs.SecurityGroupArgs{
Name: pulumi.String(name),
VpcId: pulumi.String(defaultGetNetworks.Ids[0]),
})
if err != nil {
return err
}
defaultGetSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
VpcId: pulumi.StringRef(defaultGetNetworks.Ids[0]),
ZoneId: pulumi.StringRef(defaultGetInstanceTypes.Types[0].ZoneId),
}, nil)
if err != nil {
return err
}
defaultRole, err := ram.NewRole(ctx, "default", &ram.RoleArgs{
Name: pulumi.String(name),
Document: pulumi.String(` {
\"Statement\": [
{
\"Action\": \"sts:AssumeRole\",
\"Effect\": \"Allow\",
\"Principal\": {
\"Service\": [
\"emr.aliyuncs.com\",
\"ecs.aliyuncs.com\"
]
}
}
],
\"Version\": \"1\"
}
`),
Description: pulumi.String("this is a role test."),
Force: pulumi.Bool(true),
})
if err != nil {
return err
}
var tmp0 pulumi.String
if dataDisk.Types[0].Min > 160 {
tmp0 = pulumi.Int(dataDisk.Types[0].Min)
} else {
tmp0 = pulumi.String("160")
}
var tmp1 pulumi.String
if systemDisk.Types[0].Min > 160 {
tmp1 = pulumi.Int(systemDisk.Types[0].Min)
} else {
tmp1 = pulumi.String("160")
}
var tmp2 pulumi.String
if dataDisk.Types[0].Min > 160 {
tmp2 = pulumi.Int(dataDisk.Types[0].Min)
} else {
tmp2 = pulumi.String("160")
}
var tmp3 pulumi.String
if systemDisk.Types[0].Min > 160 {
tmp3 = pulumi.Int(systemDisk.Types[0].Min)
} else {
tmp3 = pulumi.String("160")
}
var tmp4 pulumi.String
if dataDisk.Types[0].Min > 160 {
tmp4 = pulumi.Int(dataDisk.Types[0].Min)
} else {
tmp4 = pulumi.String("160")
}
var tmp5 pulumi.String
if systemDisk.Types[0].Min > 160 {
tmp5 = pulumi.Int(systemDisk.Types[0].Min)
} else {
tmp5 = pulumi.String("160")
}
defaultCluster, err := emr.NewCluster(ctx, "default", &emr.ClusterArgs{
Name: pulumi.String(name),
EmrVer: pulumi.String(defaultGetMainVersions.MainVersions[0].EmrVersion),
ClusterType: pulumi.String(defaultGetMainVersions.MainVersions[0].ClusterTypes[0]),
HostGroups: emr.ClusterHostGroupArray{
&emr.ClusterHostGroupArgs{
HostGroupName: pulumi.String("master_group"),
HostGroupType: pulumi.String("MASTER"),
NodeCount: pulumi.String("2"),
InstanceType: pulumi.String(defaultGetInstanceTypes.Types[0].Id),
DiskType: pulumi.String(dataDisk.Types[0].Value),
DiskCapacity: pulumi.String(tmp0),
DiskCount: pulumi.String("1"),
SysDiskType: pulumi.String(systemDisk.Types[0].Value),
SysDiskCapacity: pulumi.String(tmp1),
},
&emr.ClusterHostGroupArgs{
HostGroupName: pulumi.String("core_group"),
HostGroupType: pulumi.String("CORE"),
NodeCount: pulumi.String("3"),
InstanceType: pulumi.String(defaultGetInstanceTypes.Types[0].Id),
DiskType: pulumi.String(dataDisk.Types[0].Value),
DiskCapacity: pulumi.String(tmp2),
DiskCount: pulumi.String("4"),
SysDiskType: pulumi.String(systemDisk.Types[0].Value),
SysDiskCapacity: pulumi.String(tmp3),
},
&emr.ClusterHostGroupArgs{
HostGroupName: pulumi.String("task_group"),
HostGroupType: pulumi.String("TASK"),
NodeCount: pulumi.String("2"),
InstanceType: pulumi.String(defaultGetInstanceTypes.Types[0].Id),
DiskType: pulumi.String(dataDisk.Types[0].Value),
DiskCapacity: pulumi.String(tmp4),
DiskCount: pulumi.String("4"),
SysDiskType: pulumi.String(systemDisk.Types[0].Value),
SysDiskCapacity: pulumi.String(tmp5),
},
},
HighAvailabilityEnable: pulumi.Bool(true),
ZoneId: pulumi.String(defaultGetInstanceTypes.Types[0].ZoneId),
SecurityGroupId: defaultSecurityGroup.ID(),
IsOpenPublicIp: pulumi.Bool(true),
ChargeType: pulumi.String("PostPaid"),
VswitchId: pulumi.String(defaultGetSwitches.Ids[0]),
UserDefinedEmrEcsRole: defaultRole.Name,
SshEnable: pulumi.Bool(true),
MasterPwd: pulumi.String("ABCtest1234!"),
Tags: pulumi.StringMap{
"Created": pulumi.String("TF"),
"For": pulumi.String("acceptance test"),
},
})
if err != nil {
return err
}
ids, err := emr.GetClusters(ctx, &emr.GetClustersArgs{}, nil)
if err != nil {
return err
}
ctx.Export("emrClusterId1", ids.Clusters[0].Id)
nameRegex := emr.GetClustersOutput(ctx, emr.GetClustersOutputArgs{
NameRegex: defaultCluster.Name,
}, nil)
ctx.Export("emrClusterId2", nameRegex.ApplyT(func(nameRegex emr.GetClustersResult) (*string, error) {
return &nameRegex.Clusters[0].Id, nil
}).(pulumi.StringPtrOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf-testAccClusters";
var @default = AliCloud.ResourceManager.GetResourceGroups.Invoke(new()
{
Status = "OK",
});
var defaultGetMainVersions = AliCloud.Emr.GetMainVersions.Invoke();
var defaultGetInstanceTypes = AliCloud.Emr.GetInstanceTypes.Invoke(new()
{
DestinationResource = "InstanceType",
ClusterType = defaultGetMainVersions.Apply(getMainVersionsResult => getMainVersionsResult.MainVersions[0]?.ClusterTypes[0]),
SupportLocalStorage = false,
InstanceChargeType = "PostPaid",
SupportNodeTypes = new[]
{
"MASTER",
"CORE",
"TASK",
},
});
var dataDisk = AliCloud.Emr.GetDiskTypes.Invoke(new()
{
DestinationResource = "DataDisk",
ClusterType = defaultGetMainVersions.Apply(getMainVersionsResult => getMainVersionsResult.MainVersions[0]?.ClusterTypes[0]),
InstanceChargeType = "PostPaid",
InstanceType = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.Types[0]?.Id),
ZoneId = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.Types[0]?.ZoneId),
});
var systemDisk = AliCloud.Emr.GetDiskTypes.Invoke(new()
{
DestinationResource = "SystemDisk",
ClusterType = defaultGetMainVersions.Apply(getMainVersionsResult => getMainVersionsResult.MainVersions[0]?.ClusterTypes[0]),
InstanceChargeType = "PostPaid",
InstanceType = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.Types[0]?.Id),
ZoneId = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.Types[0]?.ZoneId),
});
var defaultGetNetworks = AliCloud.Vpc.GetNetworks.Invoke(new()
{
NameRegex = "default-NODELETING",
});
var defaultSecurityGroup = new AliCloud.Ecs.SecurityGroup("default", new()
{
Name = name,
VpcId = defaultGetNetworks.Apply(getNetworksResult => getNetworksResult.Ids[0]),
});
var defaultGetSwitches = AliCloud.Vpc.GetSwitches.Invoke(new()
{
VpcId = defaultGetNetworks.Apply(getNetworksResult => getNetworksResult.Ids[0]),
ZoneId = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.Types[0]?.ZoneId),
});
var defaultRole = new AliCloud.Ram.Role("default", new()
{
Name = name,
Document = @" {
\""Statement\"": [
{
\""Action\"": \""sts:AssumeRole\"",
\""Effect\"": \""Allow\"",
\""Principal\"": {
\""Service\"": [
\""emr.aliyuncs.com\"",
\""ecs.aliyuncs.com\""
]
}
}
],
\""Version\"": \""1\""
}
",
Description = "this is a role test.",
Force = true,
});
var defaultCluster = new AliCloud.Emr.Cluster("default", new()
{
Name = name,
EmrVer = defaultGetMainVersions.Apply(getMainVersionsResult => getMainVersionsResult.MainVersions[0]?.EmrVersion),
ClusterType = defaultGetMainVersions.Apply(getMainVersionsResult => getMainVersionsResult.MainVersions[0]?.ClusterTypes[0]),
HostGroups = new[]
{
new AliCloud.Emr.Inputs.ClusterHostGroupArgs
{
HostGroupName = "master_group",
HostGroupType = "MASTER",
NodeCount = "2",
InstanceType = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.Types[0]?.Id),
DiskType = dataDisk.Apply(getDiskTypesResult => getDiskTypesResult.Types[0]?.Value),
DiskCapacity = Output.Tuple(dataDisk, dataDisk).Apply(values =>
{
var dataDisk = values.Item1;
var dataDisk1 = values.Item2;
return dataDisk.Apply(getDiskTypesResult => getDiskTypesResult.Types[0]?.Min) > 160 ? dataDisk1.Types[0]?.Min : 160;
}),
DiskCount = "1",
SysDiskType = systemDisk.Apply(getDiskTypesResult => getDiskTypesResult.Types[0]?.Value),
SysDiskCapacity = Output.Tuple(systemDisk, systemDisk).Apply(values =>
{
var systemDisk = values.Item1;
var systemDisk1 = values.Item2;
return systemDisk.Apply(getDiskTypesResult => getDiskTypesResult.Types[0]?.Min) > 160 ? systemDisk1.Types[0]?.Min : 160;
}),
},
new AliCloud.Emr.Inputs.ClusterHostGroupArgs
{
HostGroupName = "core_group",
HostGroupType = "CORE",
NodeCount = "3",
InstanceType = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.Types[0]?.Id),
DiskType = dataDisk.Apply(getDiskTypesResult => getDiskTypesResult.Types[0]?.Value),
DiskCapacity = Output.Tuple(dataDisk, dataDisk).Apply(values =>
{
var dataDisk = values.Item1;
var dataDisk1 = values.Item2;
return dataDisk.Apply(getDiskTypesResult => getDiskTypesResult.Types[0]?.Min) > 160 ? dataDisk1.Types[0]?.Min : 160;
}),
DiskCount = "4",
SysDiskType = systemDisk.Apply(getDiskTypesResult => getDiskTypesResult.Types[0]?.Value),
SysDiskCapacity = Output.Tuple(systemDisk, systemDisk).Apply(values =>
{
var systemDisk = values.Item1;
var systemDisk1 = values.Item2;
return systemDisk.Apply(getDiskTypesResult => getDiskTypesResult.Types[0]?.Min) > 160 ? systemDisk1.Types[0]?.Min : 160;
}),
},
new AliCloud.Emr.Inputs.ClusterHostGroupArgs
{
HostGroupName = "task_group",
HostGroupType = "TASK",
NodeCount = "2",
InstanceType = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.Types[0]?.Id),
DiskType = dataDisk.Apply(getDiskTypesResult => getDiskTypesResult.Types[0]?.Value),
DiskCapacity = Output.Tuple(dataDisk, dataDisk).Apply(values =>
{
var dataDisk = values.Item1;
var dataDisk1 = values.Item2;
return dataDisk.Apply(getDiskTypesResult => getDiskTypesResult.Types[0]?.Min) > 160 ? dataDisk1.Types[0]?.Min : 160;
}),
DiskCount = "4",
SysDiskType = systemDisk.Apply(getDiskTypesResult => getDiskTypesResult.Types[0]?.Value),
SysDiskCapacity = Output.Tuple(systemDisk, systemDisk).Apply(values =>
{
var systemDisk = values.Item1;
var systemDisk1 = values.Item2;
return systemDisk.Apply(getDiskTypesResult => getDiskTypesResult.Types[0]?.Min) > 160 ? systemDisk1.Types[0]?.Min : 160;
}),
},
},
HighAvailabilityEnable = true,
ZoneId = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.Types[0]?.ZoneId),
SecurityGroupId = defaultSecurityGroup.Id,
IsOpenPublicIp = true,
ChargeType = "PostPaid",
VswitchId = defaultGetSwitches.Apply(getSwitchesResult => getSwitchesResult.Ids[0]),
UserDefinedEmrEcsRole = defaultRole.Name,
SshEnable = true,
MasterPwd = "ABCtest1234!",
Tags =
{
{ "Created", "TF" },
{ "For", "acceptance test" },
},
});
var ids = AliCloud.Emr.GetClusters.Invoke();
var nameRegex = AliCloud.Emr.GetClusters.Invoke(new()
{
NameRegex = defaultCluster.Name,
});
return new Dictionary<string, object?>
{
["emrClusterId1"] = ids.Apply(getClustersResult => getClustersResult.Clusters[0]?.Id),
["emrClusterId2"] = nameRegex.Apply(getClustersResult => getClustersResult.Clusters[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.emr.EmrFunctions;
import com.pulumi.alicloud.emr.inputs.GetMainVersionsArgs;
import com.pulumi.alicloud.emr.inputs.GetInstanceTypesArgs;
import com.pulumi.alicloud.emr.inputs.GetDiskTypesArgs;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetNetworksArgs;
import com.pulumi.alicloud.ecs.SecurityGroup;
import com.pulumi.alicloud.ecs.SecurityGroupArgs;
import com.pulumi.alicloud.vpc.inputs.GetSwitchesArgs;
import com.pulumi.alicloud.ram.Role;
import com.pulumi.alicloud.ram.RoleArgs;
import com.pulumi.alicloud.emr.Cluster;
import com.pulumi.alicloud.emr.ClusterArgs;
import com.pulumi.alicloud.emr.inputs.ClusterHostGroupArgs;
import com.pulumi.alicloud.emr.inputs.GetClustersArgs;
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) {
final var config = ctx.config();
final var name = config.get("name").orElse("tf-testAccClusters");
final var default = ResourcemanagerFunctions.getResourceGroups(GetResourceGroupsArgs.builder()
.status("OK")
.build());
final var defaultGetMainVersions = EmrFunctions.getMainVersions(GetMainVersionsArgs.builder()
.build());
final var defaultGetInstanceTypes = EmrFunctions.getInstanceTypes(GetInstanceTypesArgs.builder()
.destinationResource("InstanceType")
.clusterType(defaultGetMainVersions.mainVersions()[0].clusterTypes()[0])
.supportLocalStorage(false)
.instanceChargeType("PostPaid")
.supportNodeTypes(
"MASTER",
"CORE",
"TASK")
.build());
final var dataDisk = EmrFunctions.getDiskTypes(GetDiskTypesArgs.builder()
.destinationResource("DataDisk")
.clusterType(defaultGetMainVersions.mainVersions()[0].clusterTypes()[0])
.instanceChargeType("PostPaid")
.instanceType(defaultGetInstanceTypes.types()[0].id())
.zoneId(defaultGetInstanceTypes.types()[0].zoneId())
.build());
final var systemDisk = EmrFunctions.getDiskTypes(GetDiskTypesArgs.builder()
.destinationResource("SystemDisk")
.clusterType(defaultGetMainVersions.mainVersions()[0].clusterTypes()[0])
.instanceChargeType("PostPaid")
.instanceType(defaultGetInstanceTypes.types()[0].id())
.zoneId(defaultGetInstanceTypes.types()[0].zoneId())
.build());
final var defaultGetNetworks = VpcFunctions.getNetworks(GetNetworksArgs.builder()
.nameRegex("default-NODELETING")
.build());
var defaultSecurityGroup = new SecurityGroup("defaultSecurityGroup", SecurityGroupArgs.builder()
.name(name)
.vpcId(defaultGetNetworks.ids()[0])
.build());
final var defaultGetSwitches = VpcFunctions.getSwitches(GetSwitchesArgs.builder()
.vpcId(defaultGetNetworks.ids()[0])
.zoneId(defaultGetInstanceTypes.types()[0].zoneId())
.build());
var defaultRole = new Role("defaultRole", RoleArgs.builder()
.name(name)
.document("""
{
\"Statement\": [
{
\"Action\": \"sts:AssumeRole\",
\"Effect\": \"Allow\",
\"Principal\": {
\"Service\": [
\"emr.aliyuncs.com\",
\"ecs.aliyuncs.com\"
]
}
}
],
\"Version\": \"1\"
}
""")
.description("this is a role test.")
.force(true)
.build());
var defaultCluster = new Cluster("defaultCluster", ClusterArgs.builder()
.name(name)
.emrVer(defaultGetMainVersions.mainVersions()[0].emrVersion())
.clusterType(defaultGetMainVersions.mainVersions()[0].clusterTypes()[0])
.hostGroups(
ClusterHostGroupArgs.builder()
.hostGroupName("master_group")
.hostGroupType("MASTER")
.nodeCount("2")
.instanceType(defaultGetInstanceTypes.types()[0].id())
.diskType(dataDisk.types()[0].value())
.diskCapacity(dataDisk.types()[0].min() > 160 ? dataDisk.types()[0].min() : "160")
.diskCount("1")
.sysDiskType(systemDisk.types()[0].value())
.sysDiskCapacity(systemDisk.types()[0].min() > 160 ? systemDisk.types()[0].min() : "160")
.build(),
ClusterHostGroupArgs.builder()
.hostGroupName("core_group")
.hostGroupType("CORE")
.nodeCount("3")
.instanceType(defaultGetInstanceTypes.types()[0].id())
.diskType(dataDisk.types()[0].value())
.diskCapacity(dataDisk.types()[0].min() > 160 ? dataDisk.types()[0].min() : "160")
.diskCount("4")
.sysDiskType(systemDisk.types()[0].value())
.sysDiskCapacity(systemDisk.types()[0].min() > 160 ? systemDisk.types()[0].min() : "160")
.build(),
ClusterHostGroupArgs.builder()
.hostGroupName("task_group")
.hostGroupType("TASK")
.nodeCount("2")
.instanceType(defaultGetInstanceTypes.types()[0].id())
.diskType(dataDisk.types()[0].value())
.diskCapacity(dataDisk.types()[0].min() > 160 ? dataDisk.types()[0].min() : "160")
.diskCount("4")
.sysDiskType(systemDisk.types()[0].value())
.sysDiskCapacity(systemDisk.types()[0].min() > 160 ? systemDisk.types()[0].min() : "160")
.build())
.highAvailabilityEnable(true)
.zoneId(defaultGetInstanceTypes.types()[0].zoneId())
.securityGroupId(defaultSecurityGroup.id())
.isOpenPublicIp(true)
.chargeType("PostPaid")
.vswitchId(defaultGetSwitches.ids()[0])
.userDefinedEmrEcsRole(defaultRole.name())
.sshEnable(true)
.masterPwd("ABCtest1234!")
.tags(Map.ofEntries(
Map.entry("Created", "TF"),
Map.entry("For", "acceptance test")
))
.build());
final var ids = EmrFunctions.getClusters(GetClustersArgs.builder()
.build());
ctx.export("emrClusterId1", ids.clusters()[0].id());
final var nameRegex = EmrFunctions.getClusters(GetClustersArgs.builder()
.nameRegex(defaultCluster.name())
.build());
ctx.export("emrClusterId2", nameRegex.applyValue(_nameRegex -> _nameRegex.clusters()[0].id()));
}
}
Example coming soon!
Using getClusters
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getClusters(args: GetClustersArgs, opts?: InvokeOptions): Promise<GetClustersResult>
function getClustersOutput(args: GetClustersOutputArgs, opts?: InvokeOptions): Output<GetClustersResult>def get_clusters(cluster_name: Optional[str] = None,
cluster_type_lists: Optional[Sequence[str]] = None,
create_type: Optional[str] = None,
default_status: Optional[bool] = None,
deposit_type: Optional[str] = None,
enable_details: Optional[bool] = None,
ids: Optional[Sequence[str]] = None,
is_desc: Optional[bool] = None,
machine_type: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
page_number: Optional[int] = None,
page_size: Optional[int] = None,
resource_group_id: Optional[str] = None,
status_lists: Optional[Sequence[str]] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClustersResult
def get_clusters_output(cluster_name: Optional[pulumi.Input[str]] = None,
cluster_type_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
create_type: Optional[pulumi.Input[str]] = None,
default_status: Optional[pulumi.Input[bool]] = None,
deposit_type: Optional[pulumi.Input[str]] = None,
enable_details: Optional[pulumi.Input[bool]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
is_desc: Optional[pulumi.Input[bool]] = None,
machine_type: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
page_number: Optional[pulumi.Input[int]] = None,
page_size: Optional[pulumi.Input[int]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
status_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClustersResult]func GetClusters(ctx *Context, args *GetClustersArgs, opts ...InvokeOption) (*GetClustersResult, error)
func GetClustersOutput(ctx *Context, args *GetClustersOutputArgs, opts ...InvokeOption) GetClustersResultOutput> Note: This function is named GetClusters in the Go SDK.
public static class GetClusters
{
public static Task<GetClustersResult> InvokeAsync(GetClustersArgs args, InvokeOptions? opts = null)
public static Output<GetClustersResult> Invoke(GetClustersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetClustersResult> getClusters(GetClustersArgs args, InvokeOptions options)
public static Output<GetClustersResult> getClusters(GetClustersArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:emr/getClusters:getClusters
arguments:
# arguments dictionaryThe following arguments are supported:
- Cluster
Name string - The cluster name.
- Cluster
Type List<string>Lists - The cluster type list.
- Create
Type string - How to create a cluster. Valid values:
ON-DEMAND,MANUAL. - Default
Status bool - The default status.
- Deposit
Type string - The hosting type of the cluster. Valid values:
HALF_MANAGED,MANAGED. - Enable
Details bool - Default to
false. Set it totruecan output more details about resource attributes. - Ids List<string>
- A list of Cluster IDs.
- Is
Desc bool - The is desc.
- Machine
Type string - The host type of the cluster. The default is ECS. Valid values:
DOCKER,ECS,PYHSICAL_MACHINE,ECS_FROM_ECM_HOSTPOOL. - Name
Regex string - A regex string to filter results by Cluster name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Page
Number int - Page
Size int - Resource
Group stringId - The Resource Group ID.
- Status
Lists List<string> - The status list. Valid values:
ABNORMAL,CREATE_FAILED,CREATING,IDLE,RELEASED,RELEASE_FAILED,RELEASING,RUNNING,WAIT_FOR_PAY. - Vpc
Id string - The VPC ID.
- Cluster
Name string - The cluster name.
- Cluster
Type []stringLists - The cluster type list.
- Create
Type string - How to create a cluster. Valid values:
ON-DEMAND,MANUAL. - Default
Status bool - The default status.
- Deposit
Type string - The hosting type of the cluster. Valid values:
HALF_MANAGED,MANAGED. - Enable
Details bool - Default to
false. Set it totruecan output more details about resource attributes. - Ids []string
- A list of Cluster IDs.
- Is
Desc bool - The is desc.
- Machine
Type string - The host type of the cluster. The default is ECS. Valid values:
DOCKER,ECS,PYHSICAL_MACHINE,ECS_FROM_ECM_HOSTPOOL. - Name
Regex string - A regex string to filter results by Cluster name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Page
Number int - Page
Size int - Resource
Group stringId - The Resource Group ID.
- Status
Lists []string - The status list. Valid values:
ABNORMAL,CREATE_FAILED,CREATING,IDLE,RELEASED,RELEASE_FAILED,RELEASING,RUNNING,WAIT_FOR_PAY. - Vpc
Id string - The VPC ID.
- cluster
Name String - The cluster name.
- cluster
Type List<String>Lists - The cluster type list.
- create
Type String - How to create a cluster. Valid values:
ON-DEMAND,MANUAL. - default
Status Boolean - The default status.
- deposit
Type String - The hosting type of the cluster. Valid values:
HALF_MANAGED,MANAGED. - enable
Details Boolean - Default to
false. Set it totruecan output more details about resource attributes. - ids List<String>
- A list of Cluster IDs.
- is
Desc Boolean - The is desc.
- machine
Type String - The host type of the cluster. The default is ECS. Valid values:
DOCKER,ECS,PYHSICAL_MACHINE,ECS_FROM_ECM_HOSTPOOL. - name
Regex String - A regex string to filter results by Cluster name.
- output
File String - File name where to save data source results (after running
pulumi preview). - page
Number Integer - page
Size Integer - resource
Group StringId - The Resource Group ID.
- status
Lists List<String> - The status list. Valid values:
ABNORMAL,CREATE_FAILED,CREATING,IDLE,RELEASED,RELEASE_FAILED,RELEASING,RUNNING,WAIT_FOR_PAY. - vpc
Id String - The VPC ID.
- cluster
Name string - The cluster name.
- cluster
Type string[]Lists - The cluster type list.
- create
Type string - How to create a cluster. Valid values:
ON-DEMAND,MANUAL. - default
Status boolean - The default status.
- deposit
Type string - The hosting type of the cluster. Valid values:
HALF_MANAGED,MANAGED. - enable
Details boolean - Default to
false. Set it totruecan output more details about resource attributes. - ids string[]
- A list of Cluster IDs.
- is
Desc boolean - The is desc.
- machine
Type string - The host type of the cluster. The default is ECS. Valid values:
DOCKER,ECS,PYHSICAL_MACHINE,ECS_FROM_ECM_HOSTPOOL. - name
Regex string - A regex string to filter results by Cluster name.
- output
File string - File name where to save data source results (after running
pulumi preview). - page
Number number - page
Size number - resource
Group stringId - The Resource Group ID.
- status
Lists string[] - The status list. Valid values:
ABNORMAL,CREATE_FAILED,CREATING,IDLE,RELEASED,RELEASE_FAILED,RELEASING,RUNNING,WAIT_FOR_PAY. - vpc
Id string - The VPC ID.
- cluster_
name str - The cluster name.
- cluster_
type_ Sequence[str]lists - The cluster type list.
- create_
type str - How to create a cluster. Valid values:
ON-DEMAND,MANUAL. - default_
status bool - The default status.
- deposit_
type str - The hosting type of the cluster. Valid values:
HALF_MANAGED,MANAGED. - enable_
details bool - Default to
false. Set it totruecan output more details about resource attributes. - ids Sequence[str]
- A list of Cluster IDs.
- is_
desc bool - The is desc.
- machine_
type str - The host type of the cluster. The default is ECS. Valid values:
DOCKER,ECS,PYHSICAL_MACHINE,ECS_FROM_ECM_HOSTPOOL. - name_
regex str - A regex string to filter results by Cluster name.
- output_
file str - File name where to save data source results (after running
pulumi preview). - page_
number int - page_
size int - resource_
group_ strid - The Resource Group ID.
- status_
lists Sequence[str] - The status list. Valid values:
ABNORMAL,CREATE_FAILED,CREATING,IDLE,RELEASED,RELEASE_FAILED,RELEASING,RUNNING,WAIT_FOR_PAY. - vpc_
id str - The VPC ID.
- cluster
Name String - The cluster name.
- cluster
Type List<String>Lists - The cluster type list.
- create
Type String - How to create a cluster. Valid values:
ON-DEMAND,MANUAL. - default
Status Boolean - The default status.
- deposit
Type String - The hosting type of the cluster. Valid values:
HALF_MANAGED,MANAGED. - enable
Details Boolean - Default to
false. Set it totruecan output more details about resource attributes. - ids List<String>
- A list of Cluster IDs.
- is
Desc Boolean - The is desc.
- machine
Type String - The host type of the cluster. The default is ECS. Valid values:
DOCKER,ECS,PYHSICAL_MACHINE,ECS_FROM_ECM_HOSTPOOL. - name
Regex String - A regex string to filter results by Cluster name.
- output
File String - File name where to save data source results (after running
pulumi preview). - page
Number Number - page
Size Number - resource
Group StringId - The Resource Group ID.
- status
Lists List<String> - The status list. Valid values:
ABNORMAL,CREATE_FAILED,CREATING,IDLE,RELEASED,RELEASE_FAILED,RELEASING,RUNNING,WAIT_FOR_PAY. - vpc
Id String - The VPC ID.
getClusters Result
The following output properties are available:
- Clusters
List<Pulumi.
Ali Cloud. Emr. Outputs. Get Clusters Cluster> - Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- Total
Count int - Cluster
Name string - Cluster
Type List<string>Lists - Create
Type string - Default
Status bool - Deposit
Type string - Enable
Details bool - Is
Desc bool - Machine
Type string - Name
Regex string - Output
File string - Page
Number int - Page
Size int - Resource
Group stringId - Status
Lists List<string> - Vpc
Id string
- Clusters
[]Get
Clusters Cluster - Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- Total
Count int - Cluster
Name string - Cluster
Type []stringLists - Create
Type string - Default
Status bool - Deposit
Type string - Enable
Details bool - Is
Desc bool - Machine
Type string - Name
Regex string - Output
File string - Page
Number int - Page
Size int - Resource
Group stringId - Status
Lists []string - Vpc
Id string
- clusters
List<Get
Clusters Cluster> - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- total
Count Integer - cluster
Name String - cluster
Type List<String>Lists - create
Type String - default
Status Boolean - deposit
Type String - enable
Details Boolean - is
Desc Boolean - machine
Type String - name
Regex String - output
File String - page
Number Integer - page
Size Integer - resource
Group StringId - status
Lists List<String> - vpc
Id String
- clusters
Get
Clusters Cluster[] - id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- total
Count number - cluster
Name string - cluster
Type string[]Lists - create
Type string - default
Status boolean - deposit
Type string - enable
Details boolean - is
Desc boolean - machine
Type string - name
Regex string - output
File string - page
Number number - page
Size number - resource
Group stringId - status
Lists string[] - vpc
Id string
- clusters
Sequence[Get
Clusters Cluster] - id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- total_
count int - cluster_
name str - cluster_
type_ Sequence[str]lists - create_
type str - default_
status bool - deposit_
type str - enable_
details bool - is_
desc bool - machine_
type str - name_
regex str - output_
file str - page_
number int - page_
size int - resource_
group_ strid - status_
lists Sequence[str] - vpc_
id str
- clusters List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- total
Count Number - cluster
Name String - cluster
Type List<String>Lists - create
Type String - default
Status Boolean - deposit
Type String - enable
Details Boolean - is
Desc Boolean - machine
Type String - name
Regex String - output
File String - page
Number Number - page
Size Number - resource
Group StringId - status
Lists List<String> - vpc
Id String
Supporting Types
GetClustersCluster
- Access
Infos List<Pulumi.Ali Cloud. Emr. Inputs. Get Clusters Cluster Access Info> - Cluster connection information.
- Auto
Scaling boolAllowed - Whether flexible expansion is allowed.
- Auto
Scaling boolBy Load Allowed - Whether to allow expansion by load.
- Auto
Scaling boolEnable - Whether to enable elastic expansion.
- Auto
Scaling boolSpot With Limit Allowed - Whether to allow the use of elastic scaling bidding instances.
- Bootstrap
Action List<Pulumi.Lists Ali Cloud. Emr. Inputs. Get Clusters Cluster Bootstrap Action List> - List of boot actions.
- Bootstrap
Failed bool - The result of the boot operation.
- Cluster
Id string - The first ID of the resource.
- Cluster
Name string - The ClusterName.
- Create
Resource string - Cluster tag, no need to pay attention.
- Create
Time string - The creation time of the resource.
- Create
Type string - How to create a cluster.
- Deposit
Type string - The hosting type of the cluster.
- Eas
Enable bool - High security cluster.
- Expired
Time string - The expiration time of the cluster.
- Extra
Info string - Additional information for Stack.
- Has
Uncompleted boolOrder - High
Availability boolEnable - High availability cluster.
- Host
Group List<Pulumi.Lists Ali Cloud. Emr. Inputs. Get Clusters Cluster Host Group List> - List of cluster machine groups.
- Host
Pool List<Pulumi.Infos Ali Cloud. Emr. Inputs. Get Clusters Cluster Host Pool Info> - Machine pool information.
- Id string
- Image
Id string - The ID of the image used to create the cluster.
- Local
Meta boolDb - Whether to use Hive local Metabase.
- Machine
Type string - The host type of the cluster. The default is ECS.
- Meta
Store stringType - Metadata type:
- Net
Type string - Cluster network type.
- Payment
Type string - The payment type of the resource.
- Period int
- The package year and month time of the machine group. The Valid Values :
1,2,3,4,5,6,7,8,9,12,24,36. - Relate
Cluster List<Pulumi.Infos Ali Cloud. Emr. Inputs. Get Clusters Cluster Relate Cluster Info> - The information of the primary cluster associated with the Gateway.
- Resize
Disk boolEnable - Whether to allow disk expansion:
- Running
Time int - The time (in seconds) that has been running.
- Security
Group stringId - The ID of the security group.
- Security
Group stringName - The name of the security group.
- Software
Infos List<Pulumi.Ali Cloud. Emr. Inputs. Get Clusters Cluster Software Info> - Service list.
- Start
Time string - Cluster startup time.
- Status string
- The cluster status.
- Stop
Time string - Cluster stop time.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Type string
- Disk type.
- User
Defined stringEmr Ecs Role - The EMR permission name used.
- User
Id string - The user ID.
- Vpc
Id string - The VPC ID.
- Vswitch
Id string - The vswitch id.
- Zone
Id string - The zone ID.
- Access
Infos []GetClusters Cluster Access Info - Cluster connection information.
- Auto
Scaling boolAllowed - Whether flexible expansion is allowed.
- Auto
Scaling boolBy Load Allowed - Whether to allow expansion by load.
- Auto
Scaling boolEnable - Whether to enable elastic expansion.
- Auto
Scaling boolSpot With Limit Allowed - Whether to allow the use of elastic scaling bidding instances.
- Bootstrap
Action []GetLists Clusters Cluster Bootstrap Action List - List of boot actions.
- Bootstrap
Failed bool - The result of the boot operation.
- Cluster
Id string - The first ID of the resource.
- Cluster
Name string - The ClusterName.
- Create
Resource string - Cluster tag, no need to pay attention.
- Create
Time string - The creation time of the resource.
- Create
Type string - How to create a cluster.
- Deposit
Type string - The hosting type of the cluster.
- Eas
Enable bool - High security cluster.
- Expired
Time string - The expiration time of the cluster.
- Extra
Info string - Additional information for Stack.
- Has
Uncompleted boolOrder - High
Availability boolEnable - High availability cluster.
- Host
Group []GetLists Clusters Cluster Host Group List - List of cluster machine groups.
- Host
Pool []GetInfos Clusters Cluster Host Pool Info - Machine pool information.
- Id string
- Image
Id string - The ID of the image used to create the cluster.
- Local
Meta boolDb - Whether to use Hive local Metabase.
- Machine
Type string - The host type of the cluster. The default is ECS.
- Meta
Store stringType - Metadata type:
- Net
Type string - Cluster network type.
- Payment
Type string - The payment type of the resource.
- Period int
- The package year and month time of the machine group. The Valid Values :
1,2,3,4,5,6,7,8,9,12,24,36. - Relate
Cluster []GetInfos Clusters Cluster Relate Cluster Info - The information of the primary cluster associated with the Gateway.
- Resize
Disk boolEnable - Whether to allow disk expansion:
- Running
Time int - The time (in seconds) that has been running.
- Security
Group stringId - The ID of the security group.
- Security
Group stringName - The name of the security group.
- Software
Infos []GetClusters Cluster Software Info - Service list.
- Start
Time string - Cluster startup time.
- Status string
- The cluster status.
- Stop
Time string - Cluster stop time.
- map[string]string
- A mapping of tags to assign to the resource.
- Type string
- Disk type.
- User
Defined stringEmr Ecs Role - The EMR permission name used.
- User
Id string - The user ID.
- Vpc
Id string - The VPC ID.
- Vswitch
Id string - The vswitch id.
- Zone
Id string - The zone ID.
- access
Infos List<GetClusters Cluster Access Info> - Cluster connection information.
- auto
Scaling BooleanAllowed - Whether flexible expansion is allowed.
- auto
Scaling BooleanBy Load Allowed - Whether to allow expansion by load.
- auto
Scaling BooleanEnable - Whether to enable elastic expansion.
- auto
Scaling BooleanSpot With Limit Allowed - Whether to allow the use of elastic scaling bidding instances.
- bootstrap
Action List<GetLists Clusters Cluster Bootstrap Action List> - List of boot actions.
- bootstrap
Failed Boolean - The result of the boot operation.
- cluster
Id String - The first ID of the resource.
- cluster
Name String - The ClusterName.
- create
Resource String - Cluster tag, no need to pay attention.
- create
Time String - The creation time of the resource.
- create
Type String - How to create a cluster.
- deposit
Type String - The hosting type of the cluster.
- eas
Enable Boolean - High security cluster.
- expired
Time String - The expiration time of the cluster.
- extra
Info String - Additional information for Stack.
- has
Uncompleted BooleanOrder - high
Availability BooleanEnable - High availability cluster.
- host
Group List<GetLists Clusters Cluster Host Group List> - List of cluster machine groups.
- host
Pool List<GetInfos Clusters Cluster Host Pool Info> - Machine pool information.
- id String
- image
Id String - The ID of the image used to create the cluster.
- local
Meta BooleanDb - Whether to use Hive local Metabase.
- machine
Type String - The host type of the cluster. The default is ECS.
- meta
Store StringType - Metadata type:
- net
Type String - Cluster network type.
- payment
Type String - The payment type of the resource.
- period Integer
- The package year and month time of the machine group. The Valid Values :
1,2,3,4,5,6,7,8,9,12,24,36. - relate
Cluster List<GetInfos Clusters Cluster Relate Cluster Info> - The information of the primary cluster associated with the Gateway.
- resize
Disk BooleanEnable - Whether to allow disk expansion:
- running
Time Integer - The time (in seconds) that has been running.
- security
Group StringId - The ID of the security group.
- security
Group StringName - The name of the security group.
- software
Infos List<GetClusters Cluster Software Info> - Service list.
- start
Time String - Cluster startup time.
- status String
- The cluster status.
- stop
Time String - Cluster stop time.
- Map<String,String>
- A mapping of tags to assign to the resource.
- type String
- Disk type.
- user
Defined StringEmr Ecs Role - The EMR permission name used.
- user
Id String - The user ID.
- vpc
Id String - The VPC ID.
- vswitch
Id String - The vswitch id.
- zone
Id String - The zone ID.
- access
Infos GetClusters Cluster Access Info[] - Cluster connection information.
- auto
Scaling booleanAllowed - Whether flexible expansion is allowed.
- auto
Scaling booleanBy Load Allowed - Whether to allow expansion by load.
- auto
Scaling booleanEnable - Whether to enable elastic expansion.
- auto
Scaling booleanSpot With Limit Allowed - Whether to allow the use of elastic scaling bidding instances.
- bootstrap
Action GetLists Clusters Cluster Bootstrap Action List[] - List of boot actions.
- bootstrap
Failed boolean - The result of the boot operation.
- cluster
Id string - The first ID of the resource.
- cluster
Name string - The ClusterName.
- create
Resource string - Cluster tag, no need to pay attention.
- create
Time string - The creation time of the resource.
- create
Type string - How to create a cluster.
- deposit
Type string - The hosting type of the cluster.
- eas
Enable boolean - High security cluster.
- expired
Time string - The expiration time of the cluster.
- extra
Info string - Additional information for Stack.
- has
Uncompleted booleanOrder - high
Availability booleanEnable - High availability cluster.
- host
Group GetLists Clusters Cluster Host Group List[] - List of cluster machine groups.
- host
Pool GetInfos Clusters Cluster Host Pool Info[] - Machine pool information.
- id string
- image
Id string - The ID of the image used to create the cluster.
- local
Meta booleanDb - Whether to use Hive local Metabase.
- machine
Type string - The host type of the cluster. The default is ECS.
- meta
Store stringType - Metadata type:
- net
Type string - Cluster network type.
- payment
Type string - The payment type of the resource.
- period number
- The package year and month time of the machine group. The Valid Values :
1,2,3,4,5,6,7,8,9,12,24,36. - relate
Cluster GetInfos Clusters Cluster Relate Cluster Info[] - The information of the primary cluster associated with the Gateway.
- resize
Disk booleanEnable - Whether to allow disk expansion:
- running
Time number - The time (in seconds) that has been running.
- security
Group stringId - The ID of the security group.
- security
Group stringName - The name of the security group.
- software
Infos GetClusters Cluster Software Info[] - Service list.
- start
Time string - Cluster startup time.
- status string
- The cluster status.
- stop
Time string - Cluster stop time.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- type string
- Disk type.
- user
Defined stringEmr Ecs Role - The EMR permission name used.
- user
Id string - The user ID.
- vpc
Id string - The VPC ID.
- vswitch
Id string - The vswitch id.
- zone
Id string - The zone ID.
- access_
infos Sequence[GetClusters Cluster Access Info] - Cluster connection information.
- auto_
scaling_ boolallowed - Whether flexible expansion is allowed.
- auto_
scaling_ boolby_ load_ allowed - Whether to allow expansion by load.
- auto_
scaling_ boolenable - Whether to enable elastic expansion.
- auto_
scaling_ boolspot_ with_ limit_ allowed - Whether to allow the use of elastic scaling bidding instances.
- bootstrap_
action_ Sequence[Getlists Clusters Cluster Bootstrap Action List] - List of boot actions.
- bootstrap_
failed bool - The result of the boot operation.
- cluster_
id str - The first ID of the resource.
- cluster_
name str - The ClusterName.
- create_
resource str - Cluster tag, no need to pay attention.
- create_
time str - The creation time of the resource.
- create_
type str - How to create a cluster.
- deposit_
type str - The hosting type of the cluster.
- eas_
enable bool - High security cluster.
- expired_
time str - The expiration time of the cluster.
- extra_
info str - Additional information for Stack.
- has_
uncompleted_ boolorder - high_
availability_ boolenable - High availability cluster.
- host_
group_ Sequence[Getlists Clusters Cluster Host Group List] - List of cluster machine groups.
- host_
pool_ Sequence[Getinfos Clusters Cluster Host Pool Info] - Machine pool information.
- id str
- image_
id str - The ID of the image used to create the cluster.
- local_
meta_ booldb - Whether to use Hive local Metabase.
- machine_
type str - The host type of the cluster. The default is ECS.
- meta_
store_ strtype - Metadata type:
- net_
type str - Cluster network type.
- payment_
type str - The payment type of the resource.
- period int
- The package year and month time of the machine group. The Valid Values :
1,2,3,4,5,6,7,8,9,12,24,36. - relate_
cluster_ Sequence[Getinfos Clusters Cluster Relate Cluster Info] - The information of the primary cluster associated with the Gateway.
- resize_
disk_ boolenable - Whether to allow disk expansion:
- running_
time int - The time (in seconds) that has been running.
- security_
group_ strid - The ID of the security group.
- security_
group_ strname - The name of the security group.
- software_
infos Sequence[GetClusters Cluster Software Info] - Service list.
- start_
time str - Cluster startup time.
- status str
- The cluster status.
- stop_
time str - Cluster stop time.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- type str
- Disk type.
- user_
defined_ stremr_ ecs_ role - The EMR permission name used.
- user_
id str - The user ID.
- vpc_
id str - The VPC ID.
- vswitch_
id str - The vswitch id.
- zone_
id str - The zone ID.
- access
Infos List<Property Map> - Cluster connection information.
- auto
Scaling BooleanAllowed - Whether flexible expansion is allowed.
- auto
Scaling BooleanBy Load Allowed - Whether to allow expansion by load.
- auto
Scaling BooleanEnable - Whether to enable elastic expansion.
- auto
Scaling BooleanSpot With Limit Allowed - Whether to allow the use of elastic scaling bidding instances.
- bootstrap
Action List<Property Map>Lists - List of boot actions.
- bootstrap
Failed Boolean - The result of the boot operation.
- cluster
Id String - The first ID of the resource.
- cluster
Name String - The ClusterName.
- create
Resource String - Cluster tag, no need to pay attention.
- create
Time String - The creation time of the resource.
- create
Type String - How to create a cluster.
- deposit
Type String - The hosting type of the cluster.
- eas
Enable Boolean - High security cluster.
- expired
Time String - The expiration time of the cluster.
- extra
Info String - Additional information for Stack.
- has
Uncompleted BooleanOrder - high
Availability BooleanEnable - High availability cluster.
- host
Group List<Property Map>Lists - List of cluster machine groups.
- host
Pool List<Property Map>Infos - Machine pool information.
- id String
- image
Id String - The ID of the image used to create the cluster.
- local
Meta BooleanDb - Whether to use Hive local Metabase.
- machine
Type String - The host type of the cluster. The default is ECS.
- meta
Store StringType - Metadata type:
- net
Type String - Cluster network type.
- payment
Type String - The payment type of the resource.
- period Number
- The package year and month time of the machine group. The Valid Values :
1,2,3,4,5,6,7,8,9,12,24,36. - relate
Cluster List<Property Map>Infos - The information of the primary cluster associated with the Gateway.
- resize
Disk BooleanEnable - Whether to allow disk expansion:
- running
Time Number - The time (in seconds) that has been running.
- security
Group StringId - The ID of the security group.
- security
Group StringName - The name of the security group.
- software
Infos List<Property Map> - Service list.
- start
Time String - Cluster startup time.
- status String
- The cluster status.
- stop
Time String - Cluster stop time.
- Map<String>
- A mapping of tags to assign to the resource.
- type String
- Disk type.
- user
Defined StringEmr Ecs Role - The EMR permission name used.
- user
Id String - The user ID.
- vpc
Id String - The VPC ID.
- vswitch
Id String - The vswitch id.
- zone
Id String - The zone ID.
GetClustersClusterAccessInfo
- Zk
Links List<Pulumi.Ali Cloud. Emr. Inputs. Get Clusters Cluster Access Info Zk Link> - Link address information list of ZooKeeper.
- Zk
Links []GetClusters Cluster Access Info Zk Link - Link address information list of ZooKeeper.
- zk
Links List<GetClusters Cluster Access Info Zk Link> - Link address information list of ZooKeeper.
- zk
Links GetClusters Cluster Access Info Zk Link[] - Link address information list of ZooKeeper.
- zk_
links Sequence[GetClusters Cluster Access Info Zk Link] - Link address information list of ZooKeeper.
- zk
Links List<Property Map> - Link address information list of ZooKeeper.
GetClustersClusterAccessInfoZkLink
GetClustersClusterBootstrapActionList
GetClustersClusterHostGroupList
- Band
Width string - Bandwidth.
- Charge
Type string - Payment Type.
- Cpu
Core int - The number of CPU cores.
- Disk
Capacity int - Data disk capacity.
- Disk
Count int - The number of data disks.
- Disk
Type string - System disk type:
- Host
Group stringChange Type - The current operation type of the machine Group:
- Host
Group stringId - The ID of the machine group.
- Host
Group stringName - The name of the machine group.
- Host
Group stringType - Role of host in cluster:
- Instance
Type string - Machine Group instance.
- Memory
Capacity int - Memory size.
- Node
Count int - The number of machine group nodes.
- Nodes
List<Pulumi.
Ali Cloud. Emr. Inputs. Get Clusters Cluster Host Group List Node> - Machine node.
- Period string
- Package year and month time (days).
- Band
Width string - Bandwidth.
- Charge
Type string - Payment Type.
- Cpu
Core int - The number of CPU cores.
- Disk
Capacity int - Data disk capacity.
- Disk
Count int - The number of data disks.
- Disk
Type string - System disk type:
- Host
Group stringChange Type - The current operation type of the machine Group:
- Host
Group stringId - The ID of the machine group.
- Host
Group stringName - The name of the machine group.
- Host
Group stringType - Role of host in cluster:
- Instance
Type string - Machine Group instance.
- Memory
Capacity int - Memory size.
- Node
Count int - The number of machine group nodes.
- Nodes
[]Get
Clusters Cluster Host Group List Node - Machine node.
- Period string
- Package year and month time (days).
- band
Width String - Bandwidth.
- charge
Type String - Payment Type.
- cpu
Core Integer - The number of CPU cores.
- disk
Capacity Integer - Data disk capacity.
- disk
Count Integer - The number of data disks.
- disk
Type String - System disk type:
- host
Group StringChange Type - The current operation type of the machine Group:
- host
Group StringId - The ID of the machine group.
- host
Group StringName - The name of the machine group.
- host
Group StringType - Role of host in cluster:
- instance
Type String - Machine Group instance.
- memory
Capacity Integer - Memory size.
- node
Count Integer - The number of machine group nodes.
- nodes
List<Get
Clusters Cluster Host Group List Node> - Machine node.
- period String
- Package year and month time (days).
- band
Width string - Bandwidth.
- charge
Type string - Payment Type.
- cpu
Core number - The number of CPU cores.
- disk
Capacity number - Data disk capacity.
- disk
Count number - The number of data disks.
- disk
Type string - System disk type:
- host
Group stringChange Type - The current operation type of the machine Group:
- host
Group stringId - The ID of the machine group.
- host
Group stringName - The name of the machine group.
- host
Group stringType - Role of host in cluster:
- instance
Type string - Machine Group instance.
- memory
Capacity number - Memory size.
- node
Count number - The number of machine group nodes.
- nodes
Get
Clusters Cluster Host Group List Node[] - Machine node.
- period string
- Package year and month time (days).
- band_
width str - Bandwidth.
- charge_
type str - Payment Type.
- cpu_
core int - The number of CPU cores.
- disk_
capacity int - Data disk capacity.
- disk_
count int - The number of data disks.
- disk_
type str - System disk type:
- host_
group_ strchange_ type - The current operation type of the machine Group:
- host_
group_ strid - The ID of the machine group.
- host_
group_ strname - The name of the machine group.
- host_
group_ strtype - Role of host in cluster:
- instance_
type str - Machine Group instance.
- memory_
capacity int - Memory size.
- node_
count int - The number of machine group nodes.
- nodes
Sequence[Get
Clusters Cluster Host Group List Node] - Machine node.
- period str
- Package year and month time (days).
- band
Width String - Bandwidth.
- charge
Type String - Payment Type.
- cpu
Core Number - The number of CPU cores.
- disk
Capacity Number - Data disk capacity.
- disk
Count Number - The number of data disks.
- disk
Type String - System disk type:
- host
Group StringChange Type - The current operation type of the machine Group:
- host
Group StringId - The ID of the machine group.
- host
Group StringName - The name of the machine group.
- host
Group StringType - Role of host in cluster:
- instance
Type String - Machine Group instance.
- memory
Capacity Number - Memory size.
- node
Count Number - The number of machine group nodes.
- nodes List<Property Map>
- Machine node.
- period String
- Package year and month time (days).
GetClustersClusterHostGroupListNode
- Create
Time string - Creation time.
- Disk
Infos List<Pulumi.Ali Cloud. Emr. Inputs. Get Clusters Cluster Host Group List Node Disk Info> - Disk information.
- Emr
Expired stringTime - The timeout of the EMR.
- Expired
Time string - Timeout time.
- Inner
Ip string - The Intranet IP of the EMR.
- Instance
Id string - The ID of the ECS instance.
- Pub
Ip string - Public IP address.
- Status string
- Status.
- Support
Ipv6 bool - Whether IPV6 is supported.
- Zone
Id string - The zone ID.
- Create
Time string - Creation time.
- Disk
Infos []GetClusters Cluster Host Group List Node Disk Info - Disk information.
- Emr
Expired stringTime - The timeout of the EMR.
- Expired
Time string - Timeout time.
- Inner
Ip string - The Intranet IP of the EMR.
- Instance
Id string - The ID of the ECS instance.
- Pub
Ip string - Public IP address.
- Status string
- Status.
- Support
Ipv6 bool - Whether IPV6 is supported.
- Zone
Id string - The zone ID.
- create
Time String - Creation time.
- disk
Infos List<GetClusters Cluster Host Group List Node Disk Info> - Disk information.
- emr
Expired StringTime - The timeout of the EMR.
- expired
Time String - Timeout time.
- inner
Ip String - The Intranet IP of the EMR.
- instance
Id String - The ID of the ECS instance.
- pub
Ip String - Public IP address.
- status String
- Status.
- support
Ipv6 Boolean - Whether IPV6 is supported.
- zone
Id String - The zone ID.
- create
Time string - Creation time.
- disk
Infos GetClusters Cluster Host Group List Node Disk Info[] - Disk information.
- emr
Expired stringTime - The timeout of the EMR.
- expired
Time string - Timeout time.
- inner
Ip string - The Intranet IP of the EMR.
- instance
Id string - The ID of the ECS instance.
- pub
Ip string - Public IP address.
- status string
- Status.
- support
Ipv6 boolean - Whether IPV6 is supported.
- zone
Id string - The zone ID.
- create_
time str - Creation time.
- disk_
infos Sequence[GetClusters Cluster Host Group List Node Disk Info] - Disk information.
- emr_
expired_ strtime - The timeout of the EMR.
- expired_
time str - Timeout time.
- inner_
ip str - The Intranet IP of the EMR.
- instance_
id str - The ID of the ECS instance.
- pub_
ip str - Public IP address.
- status str
- Status.
- support_
ipv6 bool - Whether IPV6 is supported.
- zone_
id str - The zone ID.
- create
Time String - Creation time.
- disk
Infos List<Property Map> - Disk information.
- emr
Expired StringTime - The timeout of the EMR.
- expired
Time String - Timeout time.
- inner
Ip String - The Intranet IP of the EMR.
- instance
Id String - The ID of the ECS instance.
- pub
Ip String - Public IP address.
- status String
- Status.
- support
Ipv6 Boolean - Whether IPV6 is supported.
- zone
Id String - The zone ID.
GetClustersClusterHostGroupListNodeDiskInfo
GetClustersClusterHostPoolInfo
GetClustersClusterRelateClusterInfo
- Cluster
Id string - The ID of the associated cluster.
- Cluster
Name string - The name of the associated cluster.
- Cluster
Type string - The cluster type of the associated cluster.
- Status string
- The status of the associated cluster.
- Cluster
Id string - The ID of the associated cluster.
- Cluster
Name string - The name of the associated cluster.
- Cluster
Type string - The cluster type of the associated cluster.
- Status string
- The status of the associated cluster.
- cluster
Id String - The ID of the associated cluster.
- cluster
Name String - The name of the associated cluster.
- cluster
Type String - The cluster type of the associated cluster.
- status String
- The status of the associated cluster.
- cluster
Id string - The ID of the associated cluster.
- cluster
Name string - The name of the associated cluster.
- cluster
Type string - The cluster type of the associated cluster.
- status string
- The status of the associated cluster.
- cluster_
id str - The ID of the associated cluster.
- cluster_
name str - The name of the associated cluster.
- cluster_
type str - The cluster type of the associated cluster.
- status str
- The status of the associated cluster.
- cluster
Id String - The ID of the associated cluster.
- cluster
Name String - The name of the associated cluster.
- cluster
Type String - The cluster type of the associated cluster.
- status String
- The status of the associated cluster.
GetClustersClusterSoftwareInfo
- Cluster
Type string - Cluster type:
- Emr
Ver string - E-MapReduce version number.
- Softwares
List<Pulumi.
Ali Cloud. Emr. Inputs. Get Clusters Cluster Software Info Software> - Service list.
- Cluster
Type string - Cluster type:
- Emr
Ver string - E-MapReduce version number.
- Softwares
[]Get
Clusters Cluster Software Info Software - Service list.
- cluster
Type String - Cluster type:
- emr
Ver String - E-MapReduce version number.
- softwares
List<Get
Clusters Cluster Software Info Software> - Service list.
- cluster
Type string - Cluster type:
- emr
Ver string - E-MapReduce version number.
- softwares
Get
Clusters Cluster Software Info Software[] - Service list.
- cluster_
type str - Cluster type:
- emr_
ver str - E-MapReduce version number.
- softwares
Sequence[Get
Clusters Cluster Software Info Software] - Service list.
- cluster
Type String - Cluster type:
- emr
Ver String - E-MapReduce version number.
- softwares List<Property Map>
- Service list.
GetClustersClusterSoftwareInfoSoftware
- Display
Name string - The name of the service.
- Name string
- The internal name of the service.
- Only
Display bool - Whether it shows.
- Start
Tpe int - Startup type.
- Version string
- Service version.
- Display
Name string - The name of the service.
- Name string
- The internal name of the service.
- Only
Display bool - Whether it shows.
- Start
Tpe int - Startup type.
- Version string
- Service version.
- display
Name String - The name of the service.
- name String
- The internal name of the service.
- only
Display Boolean - Whether it shows.
- start
Tpe Integer - Startup type.
- version String
- Service version.
- display
Name string - The name of the service.
- name string
- The internal name of the service.
- only
Display boolean - Whether it shows.
- start
Tpe number - Startup type.
- version string
- Service version.
- display_
name str - The name of the service.
- name str
- The internal name of the service.
- only_
display bool - Whether it shows.
- start_
tpe int - Startup type.
- version str
- Service version.
- display
Name String - The name of the service.
- name String
- The internal name of the service.
- only
Display Boolean - Whether it shows.
- start
Tpe Number - Startup type.
- version String
- Service version.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
Alibaba Cloud v3.88.1 published on Saturday, Nov 8, 2025 by Pulumi
