tencentcloud.EmrCluster
Explore with Pulumi AI
Provide a resource to create an emr cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const config = new pulumi.Config();
const availabilityZone = config.get("availabilityZone") || "ap-guangzhou-3";
const cvm4c8m = tencentcloud.getInstanceTypes({
excludeSoldOut: true,
cpuCoreCount: 4,
memorySize: 8,
filters: [
{
name: "instance-charge-type",
values: ["POSTPAID_BY_HOUR"],
},
{
name: "zone",
values: [availabilityZone],
},
],
});
const emrVpc = new tencentcloud.Vpc("emrVpc", {cidrBlock: "10.0.0.0/16"});
const emrSubnet = new tencentcloud.Subnet("emrSubnet", {
availabilityZone: availabilityZone,
vpcId: emrVpc.vpcId,
cidrBlock: "10.0.20.0/28",
isMulticast: false,
});
const emrSg = new tencentcloud.SecurityGroup("emrSg", {
description: "emr sg",
projectId: 0,
});
const emrCluster = new tencentcloud.EmrCluster("emrCluster", {
productId: 38,
vpcSettings: {
vpc_id: emrVpc.vpcId,
subnet_id: emrSubnet.subnetId,
},
softwares: [
"hdfs-2.8.5",
"knox-1.6.1",
"openldap-2.4.44",
"yarn-2.8.5",
"zookeeper-3.6.3",
],
supportHa: 0,
instanceName: "emr-cluster-test",
resourceSpec: {
masterResourceSpec: {
memSize: 8192,
cpu: 4,
diskSize: 100,
diskType: "CLOUD_PREMIUM",
spec: cvm4c8m.then(cvm4c8m => `CVM.${cvm4c8m.instanceTypes?.[0]?.family}`),
storageType: 5,
rootSize: 50,
},
coreResourceSpec: {
memSize: 8192,
cpu: 4,
diskSize: 100,
diskType: "CLOUD_PREMIUM",
spec: cvm4c8m.then(cvm4c8m => `CVM.${cvm4c8m.instanceTypes?.[0]?.family}`),
storageType: 5,
rootSize: 50,
},
masterCount: 1,
coreCount: 2,
},
loginSettings: {
password: "Tencent@cloud123",
},
timeSpan: 3600,
timeUnit: "s",
payMode: 0,
placementInfo: {
zone: availabilityZone,
projectId: 0,
},
sgId: emrSg.securityGroupId,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
config = pulumi.Config()
availability_zone = config.get("availabilityZone")
if availability_zone is None:
availability_zone = "ap-guangzhou-3"
cvm4c8m = tencentcloud.get_instance_types(exclude_sold_out=True,
cpu_core_count=4,
memory_size=8,
filters=[
{
"name": "instance-charge-type",
"values": ["POSTPAID_BY_HOUR"],
},
{
"name": "zone",
"values": [availability_zone],
},
])
emr_vpc = tencentcloud.Vpc("emrVpc", cidr_block="10.0.0.0/16")
emr_subnet = tencentcloud.Subnet("emrSubnet",
availability_zone=availability_zone,
vpc_id=emr_vpc.vpc_id,
cidr_block="10.0.20.0/28",
is_multicast=False)
emr_sg = tencentcloud.SecurityGroup("emrSg",
description="emr sg",
project_id=0)
emr_cluster = tencentcloud.EmrCluster("emrCluster",
product_id=38,
vpc_settings={
"vpc_id": emr_vpc.vpc_id,
"subnet_id": emr_subnet.subnet_id,
},
softwares=[
"hdfs-2.8.5",
"knox-1.6.1",
"openldap-2.4.44",
"yarn-2.8.5",
"zookeeper-3.6.3",
],
support_ha=0,
instance_name="emr-cluster-test",
resource_spec={
"master_resource_spec": {
"mem_size": 8192,
"cpu": 4,
"disk_size": 100,
"disk_type": "CLOUD_PREMIUM",
"spec": f"CVM.{cvm4c8m.instance_types[0].family}",
"storage_type": 5,
"root_size": 50,
},
"core_resource_spec": {
"mem_size": 8192,
"cpu": 4,
"disk_size": 100,
"disk_type": "CLOUD_PREMIUM",
"spec": f"CVM.{cvm4c8m.instance_types[0].family}",
"storage_type": 5,
"root_size": 50,
},
"master_count": 1,
"core_count": 2,
},
login_settings={
"password": "Tencent@cloud123",
},
time_span=3600,
time_unit="s",
pay_mode=0,
placement_info={
"zone": availability_zone,
"project_id": 0,
},
sg_id=emr_sg.security_group_id)
package main
import (
"fmt"
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"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, "")
availabilityZone := "ap-guangzhou-3"
if param := cfg.Get("availabilityZone"); param != "" {
availabilityZone = param
}
cvm4c8m, err := tencentcloud.GetInstanceTypes(ctx, &tencentcloud.GetInstanceTypesArgs{
ExcludeSoldOut: pulumi.BoolRef(true),
CpuCoreCount: pulumi.Float64Ref(4),
MemorySize: pulumi.Float64Ref(8),
Filters: []tencentcloud.GetInstanceTypesFilter{
{
Name: "instance-charge-type",
Values: []string{
"POSTPAID_BY_HOUR",
},
},
{
Name: "zone",
Values: []string{
availabilityZone,
},
},
},
}, nil)
if err != nil {
return err
}
emrVpc, err := tencentcloud.NewVpc(ctx, "emrVpc", &tencentcloud.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
emrSubnet, err := tencentcloud.NewSubnet(ctx, "emrSubnet", &tencentcloud.SubnetArgs{
AvailabilityZone: pulumi.String(availabilityZone),
VpcId: emrVpc.VpcId,
CidrBlock: pulumi.String("10.0.20.0/28"),
IsMulticast: pulumi.Bool(false),
})
if err != nil {
return err
}
emrSg, err := tencentcloud.NewSecurityGroup(ctx, "emrSg", &tencentcloud.SecurityGroupArgs{
Description: pulumi.String("emr sg"),
ProjectId: pulumi.Float64(0),
})
if err != nil {
return err
}
_, err = tencentcloud.NewEmrCluster(ctx, "emrCluster", &tencentcloud.EmrClusterArgs{
ProductId: pulumi.Float64(38),
VpcSettings: pulumi.StringMap{
"vpc_id": emrVpc.VpcId,
"subnet_id": emrSubnet.SubnetId,
},
Softwares: pulumi.StringArray{
pulumi.String("hdfs-2.8.5"),
pulumi.String("knox-1.6.1"),
pulumi.String("openldap-2.4.44"),
pulumi.String("yarn-2.8.5"),
pulumi.String("zookeeper-3.6.3"),
},
SupportHa: pulumi.Float64(0),
InstanceName: pulumi.String("emr-cluster-test"),
ResourceSpec: &tencentcloud.EmrClusterResourceSpecArgs{
MasterResourceSpec: &tencentcloud.EmrClusterResourceSpecMasterResourceSpecArgs{
MemSize: pulumi.Float64(8192),
Cpu: pulumi.Float64(4),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_PREMIUM"),
Spec: pulumi.Sprintf("CVM.%v", cvm4c8m.InstanceTypes[0].Family),
StorageType: pulumi.Float64(5),
RootSize: pulumi.Float64(50),
},
CoreResourceSpec: &tencentcloud.EmrClusterResourceSpecCoreResourceSpecArgs{
MemSize: pulumi.Float64(8192),
Cpu: pulumi.Float64(4),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_PREMIUM"),
Spec: pulumi.Sprintf("CVM.%v", cvm4c8m.InstanceTypes[0].Family),
StorageType: pulumi.Float64(5),
RootSize: pulumi.Float64(50),
},
MasterCount: pulumi.Float64(1),
CoreCount: pulumi.Float64(2),
},
LoginSettings: pulumi.StringMap{
"password": pulumi.String("Tencent@cloud123"),
},
TimeSpan: pulumi.Float64(3600),
TimeUnit: pulumi.String("s"),
PayMode: pulumi.Float64(0),
PlacementInfo: &tencentcloud.EmrClusterPlacementInfoArgs{
Zone: pulumi.String(availabilityZone),
ProjectId: pulumi.Float64(0),
},
SgId: emrSg.SecurityGroupId,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var availabilityZone = config.Get("availabilityZone") ?? "ap-guangzhou-3";
var cvm4c8m = Tencentcloud.GetInstanceTypes.Invoke(new()
{
ExcludeSoldOut = true,
CpuCoreCount = 4,
MemorySize = 8,
Filters = new[]
{
new Tencentcloud.Inputs.GetInstanceTypesFilterInputArgs
{
Name = "instance-charge-type",
Values = new[]
{
"POSTPAID_BY_HOUR",
},
},
new Tencentcloud.Inputs.GetInstanceTypesFilterInputArgs
{
Name = "zone",
Values = new[]
{
availabilityZone,
},
},
},
});
var emrVpc = new Tencentcloud.Vpc("emrVpc", new()
{
CidrBlock = "10.0.0.0/16",
});
var emrSubnet = new Tencentcloud.Subnet("emrSubnet", new()
{
AvailabilityZone = availabilityZone,
VpcId = emrVpc.VpcId,
CidrBlock = "10.0.20.0/28",
IsMulticast = false,
});
var emrSg = new Tencentcloud.SecurityGroup("emrSg", new()
{
Description = "emr sg",
ProjectId = 0,
});
var emrCluster = new Tencentcloud.EmrCluster("emrCluster", new()
{
ProductId = 38,
VpcSettings =
{
{ "vpc_id", emrVpc.VpcId },
{ "subnet_id", emrSubnet.SubnetId },
},
Softwares = new[]
{
"hdfs-2.8.5",
"knox-1.6.1",
"openldap-2.4.44",
"yarn-2.8.5",
"zookeeper-3.6.3",
},
SupportHa = 0,
InstanceName = "emr-cluster-test",
ResourceSpec = new Tencentcloud.Inputs.EmrClusterResourceSpecArgs
{
MasterResourceSpec = new Tencentcloud.Inputs.EmrClusterResourceSpecMasterResourceSpecArgs
{
MemSize = 8192,
Cpu = 4,
DiskSize = 100,
DiskType = "CLOUD_PREMIUM",
Spec = $"CVM.{cvm4c8m.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Family)}",
StorageType = 5,
RootSize = 50,
},
CoreResourceSpec = new Tencentcloud.Inputs.EmrClusterResourceSpecCoreResourceSpecArgs
{
MemSize = 8192,
Cpu = 4,
DiskSize = 100,
DiskType = "CLOUD_PREMIUM",
Spec = $"CVM.{cvm4c8m.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Family)}",
StorageType = 5,
RootSize = 50,
},
MasterCount = 1,
CoreCount = 2,
},
LoginSettings =
{
{ "password", "Tencent@cloud123" },
},
TimeSpan = 3600,
TimeUnit = "s",
PayMode = 0,
PlacementInfo = new Tencentcloud.Inputs.EmrClusterPlacementInfoArgs
{
Zone = availabilityZone,
ProjectId = 0,
},
SgId = emrSg.SecurityGroupId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetInstanceTypesArgs;
import com.pulumi.tencentcloud.Vpc;
import com.pulumi.tencentcloud.VpcArgs;
import com.pulumi.tencentcloud.Subnet;
import com.pulumi.tencentcloud.SubnetArgs;
import com.pulumi.tencentcloud.SecurityGroup;
import com.pulumi.tencentcloud.SecurityGroupArgs;
import com.pulumi.tencentcloud.EmrCluster;
import com.pulumi.tencentcloud.EmrClusterArgs;
import com.pulumi.tencentcloud.inputs.EmrClusterResourceSpecArgs;
import com.pulumi.tencentcloud.inputs.EmrClusterResourceSpecMasterResourceSpecArgs;
import com.pulumi.tencentcloud.inputs.EmrClusterResourceSpecCoreResourceSpecArgs;
import com.pulumi.tencentcloud.inputs.EmrClusterPlacementInfoArgs;
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 availabilityZone = config.get("availabilityZone").orElse("ap-guangzhou-3");
final var cvm4c8m = TencentcloudFunctions.getInstanceTypes(GetInstanceTypesArgs.builder()
.excludeSoldOut(true)
.cpuCoreCount(4)
.memorySize(8)
.filters(
GetInstanceTypesFilterArgs.builder()
.name("instance-charge-type")
.values("POSTPAID_BY_HOUR")
.build(),
GetInstanceTypesFilterArgs.builder()
.name("zone")
.values(availabilityZone)
.build())
.build());
var emrVpc = new Vpc("emrVpc", VpcArgs.builder()
.cidrBlock("10.0.0.0/16")
.build());
var emrSubnet = new Subnet("emrSubnet", SubnetArgs.builder()
.availabilityZone(availabilityZone)
.vpcId(emrVpc.vpcId())
.cidrBlock("10.0.20.0/28")
.isMulticast(false)
.build());
var emrSg = new SecurityGroup("emrSg", SecurityGroupArgs.builder()
.description("emr sg")
.projectId(0)
.build());
var emrCluster = new EmrCluster("emrCluster", EmrClusterArgs.builder()
.productId(38)
.vpcSettings(Map.ofEntries(
Map.entry("vpc_id", emrVpc.vpcId()),
Map.entry("subnet_id", emrSubnet.subnetId())
))
.softwares(
"hdfs-2.8.5",
"knox-1.6.1",
"openldap-2.4.44",
"yarn-2.8.5",
"zookeeper-3.6.3")
.supportHa(0)
.instanceName("emr-cluster-test")
.resourceSpec(EmrClusterResourceSpecArgs.builder()
.masterResourceSpec(EmrClusterResourceSpecMasterResourceSpecArgs.builder()
.memSize(8192)
.cpu(4)
.diskSize(100)
.diskType("CLOUD_PREMIUM")
.spec(String.format("CVM.%s", cvm4c8m.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].family())))
.storageType(5)
.rootSize(50)
.build())
.coreResourceSpec(EmrClusterResourceSpecCoreResourceSpecArgs.builder()
.memSize(8192)
.cpu(4)
.diskSize(100)
.diskType("CLOUD_PREMIUM")
.spec(String.format("CVM.%s", cvm4c8m.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].family())))
.storageType(5)
.rootSize(50)
.build())
.masterCount(1)
.coreCount(2)
.build())
.loginSettings(Map.of("password", "Tencent@cloud123"))
.timeSpan(3600)
.timeUnit("s")
.payMode(0)
.placementInfo(EmrClusterPlacementInfoArgs.builder()
.zone(availabilityZone)
.projectId(0)
.build())
.sgId(emrSg.securityGroupId())
.build());
}
}
configuration:
availabilityZone:
type: string
default: ap-guangzhou-3
resources:
emrVpc:
type: tencentcloud:Vpc
properties:
cidrBlock: 10.0.0.0/16
emrSubnet:
type: tencentcloud:Subnet
properties:
availabilityZone: ${availabilityZone}
vpcId: ${emrVpc.vpcId}
cidrBlock: 10.0.20.0/28
isMulticast: false
emrSg:
type: tencentcloud:SecurityGroup
properties:
description: emr sg
projectId: 0
emrCluster:
type: tencentcloud:EmrCluster
properties:
productId: 38
vpcSettings:
vpc_id: ${emrVpc.vpcId}
subnet_id: ${emrSubnet.subnetId}
softwares:
- hdfs-2.8.5
- knox-1.6.1
- openldap-2.4.44
- yarn-2.8.5
- zookeeper-3.6.3
supportHa: 0
instanceName: emr-cluster-test
resourceSpec:
masterResourceSpec:
memSize: 8192
cpu: 4
diskSize: 100
diskType: CLOUD_PREMIUM
spec: CVM.${cvm4c8m.instanceTypes[0].family}
storageType: 5
rootSize: 50
coreResourceSpec:
memSize: 8192
cpu: 4
diskSize: 100
diskType: CLOUD_PREMIUM
spec: CVM.${cvm4c8m.instanceTypes[0].family}
storageType: 5
rootSize: 50
masterCount: 1
coreCount: 2
loginSettings:
password: Tencent@cloud123
timeSpan: 3600
timeUnit: s
payMode: 0
placementInfo:
zone: ${availabilityZone}
projectId: 0
sgId: ${emrSg.securityGroupId}
variables:
cvm4c8m:
fn::invoke:
function: tencentcloud:getInstanceTypes
arguments:
excludeSoldOut: true
cpuCoreCount: 4
memorySize: 8
filters:
- name: instance-charge-type
values:
- POSTPAID_BY_HOUR
- name: zone
values:
- ${availabilityZone}
Create EmrCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EmrCluster(name: string, args: EmrClusterArgs, opts?: CustomResourceOptions);
@overload
def EmrCluster(resource_name: str,
args: EmrClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EmrCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
pay_mode: Optional[float] = None,
vpc_settings: Optional[Mapping[str, str]] = None,
support_ha: Optional[float] = None,
softwares: Optional[Sequence[str]] = None,
instance_name: Optional[str] = None,
product_id: Optional[float] = None,
login_settings: Optional[Mapping[str, str]] = None,
scene_name: Optional[str] = None,
placement: Optional[Mapping[str, str]] = None,
placement_info: Optional[EmrClusterPlacementInfoArgs] = None,
pre_executed_file_settings: Optional[Sequence[EmrClusterPreExecutedFileSettingArgs]] = None,
auto_renew: Optional[float] = None,
resource_spec: Optional[EmrClusterResourceSpecArgs] = None,
need_master_wan: Optional[str] = None,
sg_id: Optional[str] = None,
extend_fs_field: Optional[str] = None,
emr_cluster_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
terminate_node_infos: Optional[Sequence[EmrClusterTerminateNodeInfoArgs]] = None,
time_span: Optional[float] = None,
time_unit: Optional[str] = None,
display_strategy: Optional[str] = None)
func NewEmrCluster(ctx *Context, name string, args EmrClusterArgs, opts ...ResourceOption) (*EmrCluster, error)
public EmrCluster(string name, EmrClusterArgs args, CustomResourceOptions? opts = null)
public EmrCluster(String name, EmrClusterArgs args)
public EmrCluster(String name, EmrClusterArgs args, CustomResourceOptions options)
type: tencentcloud:EmrCluster
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 EmrClusterArgs
- 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 EmrClusterArgs
- 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 EmrClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EmrClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EmrClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EmrCluster 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 EmrCluster resource accepts the following input properties:
- Instance
Name string - Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- Pay
Mode double - The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
- Product
Id double - Product ID. Different products ID represents different EMR product versions. Value range:
- 16: represents EMR-V2.3.0
- 20: represents EMR-V2.5.0
- 25: represents EMR-V3.1.0
- 27: represents KAFKA-V1.0.0
- 30: represents EMR-V2.6.0
- 33: represents EMR-V3.2.1
- 34: represents EMR-V3.3.0
- 37: represents EMR-V3.4.0
- 38: represents EMR-V2.7.0
- 44: represents EMR-V3.5.0
- 50: represents KAFKA-V2.0.0
- 51: represents STARROCKS-V1.4.0
- 53: represents EMR-V3.6.0
- 54: represents STARROCKS-V2.0.0.
- Softwares List<string>
- The softwares of a EMR instance.
- Support
Ha double - The flag whether the instance support high availability.(0=>not support, 1=>support).
- Vpc
Settings Dictionary<string, string> - The private net config of EMR instance.
- Auto
Renew double - 0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
- Display
Strategy string - It will be deprecated in later versions. Display strategy of EMR instance.
- Emr
Cluster stringId - ID of the resource.
- Extend
Fs stringField - Access the external file system.
- Login
Settings Dictionary<string, string> - Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
- Need
Master stringWan - Whether to enable the cluster Master node public network. Value range:
- NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
- NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
- Placement Dictionary<string, string>
- It will be deprecated in later versions. Use
placement_info
instead. The location of the instance. - Placement
Info EmrCluster Placement Info - The location of the instance.
- Pre
Executed List<EmrFile Settings Cluster Pre Executed File Setting> - Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
- Resource
Spec EmrCluster Resource Spec - Resource specification of EMR instance.
- Scene
Name string - Scene-based value:
- Hadoop-Kudu
- Hadoop-Zookeeper
- Hadoop-Presto
- Hadoop-Hbase.
- Sg
Id string - The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
- Dictionary<string, string>
- Tag description list.
- Terminate
Node List<EmrInfos Cluster Terminate Node Info> - Terminate nodes. Note: it only works when the number of nodes decreases.
- Time
Span double - The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
- Time
Unit string - The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
- Instance
Name string - Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- Pay
Mode float64 - The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
- Product
Id float64 - Product ID. Different products ID represents different EMR product versions. Value range:
- 16: represents EMR-V2.3.0
- 20: represents EMR-V2.5.0
- 25: represents EMR-V3.1.0
- 27: represents KAFKA-V1.0.0
- 30: represents EMR-V2.6.0
- 33: represents EMR-V3.2.1
- 34: represents EMR-V3.3.0
- 37: represents EMR-V3.4.0
- 38: represents EMR-V2.7.0
- 44: represents EMR-V3.5.0
- 50: represents KAFKA-V2.0.0
- 51: represents STARROCKS-V1.4.0
- 53: represents EMR-V3.6.0
- 54: represents STARROCKS-V2.0.0.
- Softwares []string
- The softwares of a EMR instance.
- Support
Ha float64 - The flag whether the instance support high availability.(0=>not support, 1=>support).
- Vpc
Settings map[string]string - The private net config of EMR instance.
- Auto
Renew float64 - 0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
- Display
Strategy string - It will be deprecated in later versions. Display strategy of EMR instance.
- Emr
Cluster stringId - ID of the resource.
- Extend
Fs stringField - Access the external file system.
- Login
Settings map[string]string - Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
- Need
Master stringWan - Whether to enable the cluster Master node public network. Value range:
- NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
- NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
- Placement map[string]string
- It will be deprecated in later versions. Use
placement_info
instead. The location of the instance. - Placement
Info EmrCluster Placement Info Args - The location of the instance.
- Pre
Executed []EmrFile Settings Cluster Pre Executed File Setting Args - Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
- Resource
Spec EmrCluster Resource Spec Args - Resource specification of EMR instance.
- Scene
Name string - Scene-based value:
- Hadoop-Kudu
- Hadoop-Zookeeper
- Hadoop-Presto
- Hadoop-Hbase.
- Sg
Id string - The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
- map[string]string
- Tag description list.
- Terminate
Node []EmrInfos Cluster Terminate Node Info Args - Terminate nodes. Note: it only works when the number of nodes decreases.
- Time
Span float64 - The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
- Time
Unit string - The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
- instance
Name String - Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- pay
Mode Double - The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
- product
Id Double - Product ID. Different products ID represents different EMR product versions. Value range:
- 16: represents EMR-V2.3.0
- 20: represents EMR-V2.5.0
- 25: represents EMR-V3.1.0
- 27: represents KAFKA-V1.0.0
- 30: represents EMR-V2.6.0
- 33: represents EMR-V3.2.1
- 34: represents EMR-V3.3.0
- 37: represents EMR-V3.4.0
- 38: represents EMR-V2.7.0
- 44: represents EMR-V3.5.0
- 50: represents KAFKA-V2.0.0
- 51: represents STARROCKS-V1.4.0
- 53: represents EMR-V3.6.0
- 54: represents STARROCKS-V2.0.0.
- softwares List<String>
- The softwares of a EMR instance.
- support
Ha Double - The flag whether the instance support high availability.(0=>not support, 1=>support).
- vpc
Settings Map<String,String> - The private net config of EMR instance.
- auto
Renew Double - 0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
- display
Strategy String - It will be deprecated in later versions. Display strategy of EMR instance.
- emr
Cluster StringId - ID of the resource.
- extend
Fs StringField - Access the external file system.
- login
Settings Map<String,String> - Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
- need
Master StringWan - Whether to enable the cluster Master node public network. Value range:
- NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
- NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
- placement Map<String,String>
- It will be deprecated in later versions. Use
placement_info
instead. The location of the instance. - placement
Info EmrCluster Placement Info - The location of the instance.
- pre
Executed List<EmrFile Settings Cluster Pre Executed File Setting> - Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
- resource
Spec EmrCluster Resource Spec - Resource specification of EMR instance.
- scene
Name String - Scene-based value:
- Hadoop-Kudu
- Hadoop-Zookeeper
- Hadoop-Presto
- Hadoop-Hbase.
- sg
Id String - The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
- Map<String,String>
- Tag description list.
- terminate
Node List<EmrInfos Cluster Terminate Node Info> - Terminate nodes. Note: it only works when the number of nodes decreases.
- time
Span Double - The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
- time
Unit String - The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
- instance
Name string - Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- pay
Mode number - The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
- product
Id number - Product ID. Different products ID represents different EMR product versions. Value range:
- 16: represents EMR-V2.3.0
- 20: represents EMR-V2.5.0
- 25: represents EMR-V3.1.0
- 27: represents KAFKA-V1.0.0
- 30: represents EMR-V2.6.0
- 33: represents EMR-V3.2.1
- 34: represents EMR-V3.3.0
- 37: represents EMR-V3.4.0
- 38: represents EMR-V2.7.0
- 44: represents EMR-V3.5.0
- 50: represents KAFKA-V2.0.0
- 51: represents STARROCKS-V1.4.0
- 53: represents EMR-V3.6.0
- 54: represents STARROCKS-V2.0.0.
- softwares string[]
- The softwares of a EMR instance.
- support
Ha number - The flag whether the instance support high availability.(0=>not support, 1=>support).
- vpc
Settings {[key: string]: string} - The private net config of EMR instance.
- auto
Renew number - 0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
- display
Strategy string - It will be deprecated in later versions. Display strategy of EMR instance.
- emr
Cluster stringId - ID of the resource.
- extend
Fs stringField - Access the external file system.
- login
Settings {[key: string]: string} - Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
- need
Master stringWan - Whether to enable the cluster Master node public network. Value range:
- NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
- NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
- placement {[key: string]: string}
- It will be deprecated in later versions. Use
placement_info
instead. The location of the instance. - placement
Info EmrCluster Placement Info - The location of the instance.
- pre
Executed EmrFile Settings Cluster Pre Executed File Setting[] - Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
- resource
Spec EmrCluster Resource Spec - Resource specification of EMR instance.
- scene
Name string - Scene-based value:
- Hadoop-Kudu
- Hadoop-Zookeeper
- Hadoop-Presto
- Hadoop-Hbase.
- sg
Id string - The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
- {[key: string]: string}
- Tag description list.
- terminate
Node EmrInfos Cluster Terminate Node Info[] - Terminate nodes. Note: it only works when the number of nodes decreases.
- time
Span number - The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
- time
Unit string - The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
- instance_
name str - Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- pay_
mode float - The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
- product_
id float - Product ID. Different products ID represents different EMR product versions. Value range:
- 16: represents EMR-V2.3.0
- 20: represents EMR-V2.5.0
- 25: represents EMR-V3.1.0
- 27: represents KAFKA-V1.0.0
- 30: represents EMR-V2.6.0
- 33: represents EMR-V3.2.1
- 34: represents EMR-V3.3.0
- 37: represents EMR-V3.4.0
- 38: represents EMR-V2.7.0
- 44: represents EMR-V3.5.0
- 50: represents KAFKA-V2.0.0
- 51: represents STARROCKS-V1.4.0
- 53: represents EMR-V3.6.0
- 54: represents STARROCKS-V2.0.0.
- softwares Sequence[str]
- The softwares of a EMR instance.
- support_
ha float - The flag whether the instance support high availability.(0=>not support, 1=>support).
- vpc_
settings Mapping[str, str] - The private net config of EMR instance.
- auto_
renew float - 0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
- display_
strategy str - It will be deprecated in later versions. Display strategy of EMR instance.
- emr_
cluster_ strid - ID of the resource.
- extend_
fs_ strfield - Access the external file system.
- login_
settings Mapping[str, str] - Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
- need_
master_ strwan - Whether to enable the cluster Master node public network. Value range:
- NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
- NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
- placement Mapping[str, str]
- It will be deprecated in later versions. Use
placement_info
instead. The location of the instance. - placement_
info EmrCluster Placement Info Args - The location of the instance.
- pre_
executed_ Sequence[Emrfile_ settings Cluster Pre Executed File Setting Args] - Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
- resource_
spec EmrCluster Resource Spec Args - Resource specification of EMR instance.
- scene_
name str - Scene-based value:
- Hadoop-Kudu
- Hadoop-Zookeeper
- Hadoop-Presto
- Hadoop-Hbase.
- sg_
id str - The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
- Mapping[str, str]
- Tag description list.
- terminate_
node_ Sequence[Emrinfos Cluster Terminate Node Info Args] - Terminate nodes. Note: it only works when the number of nodes decreases.
- time_
span float - The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
- time_
unit str - The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
- instance
Name String - Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- pay
Mode Number - The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
- product
Id Number - Product ID. Different products ID represents different EMR product versions. Value range:
- 16: represents EMR-V2.3.0
- 20: represents EMR-V2.5.0
- 25: represents EMR-V3.1.0
- 27: represents KAFKA-V1.0.0
- 30: represents EMR-V2.6.0
- 33: represents EMR-V3.2.1
- 34: represents EMR-V3.3.0
- 37: represents EMR-V3.4.0
- 38: represents EMR-V2.7.0
- 44: represents EMR-V3.5.0
- 50: represents KAFKA-V2.0.0
- 51: represents STARROCKS-V1.4.0
- 53: represents EMR-V3.6.0
- 54: represents STARROCKS-V2.0.0.
- softwares List<String>
- The softwares of a EMR instance.
- support
Ha Number - The flag whether the instance support high availability.(0=>not support, 1=>support).
- vpc
Settings Map<String> - The private net config of EMR instance.
- auto
Renew Number - 0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
- display
Strategy String - It will be deprecated in later versions. Display strategy of EMR instance.
- emr
Cluster StringId - ID of the resource.
- extend
Fs StringField - Access the external file system.
- login
Settings Map<String> - Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
- need
Master StringWan - Whether to enable the cluster Master node public network. Value range:
- NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
- NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
- placement Map<String>
- It will be deprecated in later versions. Use
placement_info
instead. The location of the instance. - placement
Info Property Map - The location of the instance.
- pre
Executed List<Property Map>File Settings - Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
- resource
Spec Property Map - Resource specification of EMR instance.
- scene
Name String - Scene-based value:
- Hadoop-Kudu
- Hadoop-Zookeeper
- Hadoop-Presto
- Hadoop-Hbase.
- sg
Id String - The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
- Map<String>
- Tag description list.
- terminate
Node List<Property Map>Infos - Terminate nodes. Note: it only works when the number of nodes decreases.
- time
Span Number - The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
- time
Unit String - The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
Outputs
All input properties are implicitly available as output properties. Additionally, the EmrCluster resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Created EMR instance id.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Created EMR instance id.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - Created EMR instance id.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - Created EMR instance id.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - Created EMR instance id.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - Created EMR instance id.
Look up Existing EmrCluster Resource
Get an existing EmrCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EmrClusterState, opts?: CustomResourceOptions): EmrCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_renew: Optional[float] = None,
display_strategy: Optional[str] = None,
emr_cluster_id: Optional[str] = None,
extend_fs_field: Optional[str] = None,
instance_id: Optional[str] = None,
instance_name: Optional[str] = None,
login_settings: Optional[Mapping[str, str]] = None,
need_master_wan: Optional[str] = None,
pay_mode: Optional[float] = None,
placement: Optional[Mapping[str, str]] = None,
placement_info: Optional[EmrClusterPlacementInfoArgs] = None,
pre_executed_file_settings: Optional[Sequence[EmrClusterPreExecutedFileSettingArgs]] = None,
product_id: Optional[float] = None,
resource_spec: Optional[EmrClusterResourceSpecArgs] = None,
scene_name: Optional[str] = None,
sg_id: Optional[str] = None,
softwares: Optional[Sequence[str]] = None,
support_ha: Optional[float] = None,
tags: Optional[Mapping[str, str]] = None,
terminate_node_infos: Optional[Sequence[EmrClusterTerminateNodeInfoArgs]] = None,
time_span: Optional[float] = None,
time_unit: Optional[str] = None,
vpc_settings: Optional[Mapping[str, str]] = None) -> EmrCluster
func GetEmrCluster(ctx *Context, name string, id IDInput, state *EmrClusterState, opts ...ResourceOption) (*EmrCluster, error)
public static EmrCluster Get(string name, Input<string> id, EmrClusterState? state, CustomResourceOptions? opts = null)
public static EmrCluster get(String name, Output<String> id, EmrClusterState state, CustomResourceOptions options)
resources: _: type: tencentcloud:EmrCluster get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auto
Renew double - 0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
- Display
Strategy string - It will be deprecated in later versions. Display strategy of EMR instance.
- Emr
Cluster stringId - ID of the resource.
- Extend
Fs stringField - Access the external file system.
- Instance
Id string - Created EMR instance id.
- Instance
Name string - Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- Login
Settings Dictionary<string, string> - Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
- Need
Master stringWan - Whether to enable the cluster Master node public network. Value range:
- NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
- NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
- Pay
Mode double - The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
- Placement Dictionary<string, string>
- It will be deprecated in later versions. Use
placement_info
instead. The location of the instance. - Placement
Info EmrCluster Placement Info - The location of the instance.
- Pre
Executed List<EmrFile Settings Cluster Pre Executed File Setting> - Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
- Product
Id double - Product ID. Different products ID represents different EMR product versions. Value range:
- 16: represents EMR-V2.3.0
- 20: represents EMR-V2.5.0
- 25: represents EMR-V3.1.0
- 27: represents KAFKA-V1.0.0
- 30: represents EMR-V2.6.0
- 33: represents EMR-V3.2.1
- 34: represents EMR-V3.3.0
- 37: represents EMR-V3.4.0
- 38: represents EMR-V2.7.0
- 44: represents EMR-V3.5.0
- 50: represents KAFKA-V2.0.0
- 51: represents STARROCKS-V1.4.0
- 53: represents EMR-V3.6.0
- 54: represents STARROCKS-V2.0.0.
- Resource
Spec EmrCluster Resource Spec - Resource specification of EMR instance.
- Scene
Name string - Scene-based value:
- Hadoop-Kudu
- Hadoop-Zookeeper
- Hadoop-Presto
- Hadoop-Hbase.
- Sg
Id string - The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
- Softwares List<string>
- The softwares of a EMR instance.
- Support
Ha double - The flag whether the instance support high availability.(0=>not support, 1=>support).
- Dictionary<string, string>
- Tag description list.
- Terminate
Node List<EmrInfos Cluster Terminate Node Info> - Terminate nodes. Note: it only works when the number of nodes decreases.
- Time
Span double - The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
- Time
Unit string - The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
- Vpc
Settings Dictionary<string, string> - The private net config of EMR instance.
- Auto
Renew float64 - 0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
- Display
Strategy string - It will be deprecated in later versions. Display strategy of EMR instance.
- Emr
Cluster stringId - ID of the resource.
- Extend
Fs stringField - Access the external file system.
- Instance
Id string - Created EMR instance id.
- Instance
Name string - Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- Login
Settings map[string]string - Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
- Need
Master stringWan - Whether to enable the cluster Master node public network. Value range:
- NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
- NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
- Pay
Mode float64 - The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
- Placement map[string]string
- It will be deprecated in later versions. Use
placement_info
instead. The location of the instance. - Placement
Info EmrCluster Placement Info Args - The location of the instance.
- Pre
Executed []EmrFile Settings Cluster Pre Executed File Setting Args - Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
- Product
Id float64 - Product ID. Different products ID represents different EMR product versions. Value range:
- 16: represents EMR-V2.3.0
- 20: represents EMR-V2.5.0
- 25: represents EMR-V3.1.0
- 27: represents KAFKA-V1.0.0
- 30: represents EMR-V2.6.0
- 33: represents EMR-V3.2.1
- 34: represents EMR-V3.3.0
- 37: represents EMR-V3.4.0
- 38: represents EMR-V2.7.0
- 44: represents EMR-V3.5.0
- 50: represents KAFKA-V2.0.0
- 51: represents STARROCKS-V1.4.0
- 53: represents EMR-V3.6.0
- 54: represents STARROCKS-V2.0.0.
- Resource
Spec EmrCluster Resource Spec Args - Resource specification of EMR instance.
- Scene
Name string - Scene-based value:
- Hadoop-Kudu
- Hadoop-Zookeeper
- Hadoop-Presto
- Hadoop-Hbase.
- Sg
Id string - The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
- Softwares []string
- The softwares of a EMR instance.
- Support
Ha float64 - The flag whether the instance support high availability.(0=>not support, 1=>support).
- map[string]string
- Tag description list.
- Terminate
Node []EmrInfos Cluster Terminate Node Info Args - Terminate nodes. Note: it only works when the number of nodes decreases.
- Time
Span float64 - The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
- Time
Unit string - The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
- Vpc
Settings map[string]string - The private net config of EMR instance.
- auto
Renew Double - 0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
- display
Strategy String - It will be deprecated in later versions. Display strategy of EMR instance.
- emr
Cluster StringId - ID of the resource.
- extend
Fs StringField - Access the external file system.
- instance
Id String - Created EMR instance id.
- instance
Name String - Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- login
Settings Map<String,String> - Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
- need
Master StringWan - Whether to enable the cluster Master node public network. Value range:
- NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
- NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
- pay
Mode Double - The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
- placement Map<String,String>
- It will be deprecated in later versions. Use
placement_info
instead. The location of the instance. - placement
Info EmrCluster Placement Info - The location of the instance.
- pre
Executed List<EmrFile Settings Cluster Pre Executed File Setting> - Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
- product
Id Double - Product ID. Different products ID represents different EMR product versions. Value range:
- 16: represents EMR-V2.3.0
- 20: represents EMR-V2.5.0
- 25: represents EMR-V3.1.0
- 27: represents KAFKA-V1.0.0
- 30: represents EMR-V2.6.0
- 33: represents EMR-V3.2.1
- 34: represents EMR-V3.3.0
- 37: represents EMR-V3.4.0
- 38: represents EMR-V2.7.0
- 44: represents EMR-V3.5.0
- 50: represents KAFKA-V2.0.0
- 51: represents STARROCKS-V1.4.0
- 53: represents EMR-V3.6.0
- 54: represents STARROCKS-V2.0.0.
- resource
Spec EmrCluster Resource Spec - Resource specification of EMR instance.
- scene
Name String - Scene-based value:
- Hadoop-Kudu
- Hadoop-Zookeeper
- Hadoop-Presto
- Hadoop-Hbase.
- sg
Id String - The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
- softwares List<String>
- The softwares of a EMR instance.
- support
Ha Double - The flag whether the instance support high availability.(0=>not support, 1=>support).
- Map<String,String>
- Tag description list.
- terminate
Node List<EmrInfos Cluster Terminate Node Info> - Terminate nodes. Note: it only works when the number of nodes decreases.
- time
Span Double - The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
- time
Unit String - The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
- vpc
Settings Map<String,String> - The private net config of EMR instance.
- auto
Renew number - 0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
- display
Strategy string - It will be deprecated in later versions. Display strategy of EMR instance.
- emr
Cluster stringId - ID of the resource.
- extend
Fs stringField - Access the external file system.
- instance
Id string - Created EMR instance id.
- instance
Name string - Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- login
Settings {[key: string]: string} - Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
- need
Master stringWan - Whether to enable the cluster Master node public network. Value range:
- NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
- NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
- pay
Mode number - The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
- placement {[key: string]: string}
- It will be deprecated in later versions. Use
placement_info
instead. The location of the instance. - placement
Info EmrCluster Placement Info - The location of the instance.
- pre
Executed EmrFile Settings Cluster Pre Executed File Setting[] - Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
- product
Id number - Product ID. Different products ID represents different EMR product versions. Value range:
- 16: represents EMR-V2.3.0
- 20: represents EMR-V2.5.0
- 25: represents EMR-V3.1.0
- 27: represents KAFKA-V1.0.0
- 30: represents EMR-V2.6.0
- 33: represents EMR-V3.2.1
- 34: represents EMR-V3.3.0
- 37: represents EMR-V3.4.0
- 38: represents EMR-V2.7.0
- 44: represents EMR-V3.5.0
- 50: represents KAFKA-V2.0.0
- 51: represents STARROCKS-V1.4.0
- 53: represents EMR-V3.6.0
- 54: represents STARROCKS-V2.0.0.
- resource
Spec EmrCluster Resource Spec - Resource specification of EMR instance.
- scene
Name string - Scene-based value:
- Hadoop-Kudu
- Hadoop-Zookeeper
- Hadoop-Presto
- Hadoop-Hbase.
- sg
Id string - The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
- softwares string[]
- The softwares of a EMR instance.
- support
Ha number - The flag whether the instance support high availability.(0=>not support, 1=>support).
- {[key: string]: string}
- Tag description list.
- terminate
Node EmrInfos Cluster Terminate Node Info[] - Terminate nodes. Note: it only works when the number of nodes decreases.
- time
Span number - The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
- time
Unit string - The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
- vpc
Settings {[key: string]: string} - The private net config of EMR instance.
- auto_
renew float - 0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
- display_
strategy str - It will be deprecated in later versions. Display strategy of EMR instance.
- emr_
cluster_ strid - ID of the resource.
- extend_
fs_ strfield - Access the external file system.
- instance_
id str - Created EMR instance id.
- instance_
name str - Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- login_
settings Mapping[str, str] - Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
- need_
master_ strwan - Whether to enable the cluster Master node public network. Value range:
- NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
- NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
- pay_
mode float - The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
- placement Mapping[str, str]
- It will be deprecated in later versions. Use
placement_info
instead. The location of the instance. - placement_
info EmrCluster Placement Info Args - The location of the instance.
- pre_
executed_ Sequence[Emrfile_ settings Cluster Pre Executed File Setting Args] - Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
- product_
id float - Product ID. Different products ID represents different EMR product versions. Value range:
- 16: represents EMR-V2.3.0
- 20: represents EMR-V2.5.0
- 25: represents EMR-V3.1.0
- 27: represents KAFKA-V1.0.0
- 30: represents EMR-V2.6.0
- 33: represents EMR-V3.2.1
- 34: represents EMR-V3.3.0
- 37: represents EMR-V3.4.0
- 38: represents EMR-V2.7.0
- 44: represents EMR-V3.5.0
- 50: represents KAFKA-V2.0.0
- 51: represents STARROCKS-V1.4.0
- 53: represents EMR-V3.6.0
- 54: represents STARROCKS-V2.0.0.
- resource_
spec EmrCluster Resource Spec Args - Resource specification of EMR instance.
- scene_
name str - Scene-based value:
- Hadoop-Kudu
- Hadoop-Zookeeper
- Hadoop-Presto
- Hadoop-Hbase.
- sg_
id str - The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
- softwares Sequence[str]
- The softwares of a EMR instance.
- support_
ha float - The flag whether the instance support high availability.(0=>not support, 1=>support).
- Mapping[str, str]
- Tag description list.
- terminate_
node_ Sequence[Emrinfos Cluster Terminate Node Info Args] - Terminate nodes. Note: it only works when the number of nodes decreases.
- time_
span float - The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
- time_
unit str - The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
- vpc_
settings Mapping[str, str] - The private net config of EMR instance.
- auto
Renew Number - 0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
- display
Strategy String - It will be deprecated in later versions. Display strategy of EMR instance.
- emr
Cluster StringId - ID of the resource.
- extend
Fs StringField - Access the external file system.
- instance
Id String - Created EMR instance id.
- instance
Name String - Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- login
Settings Map<String> - Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
- need
Master StringWan - Whether to enable the cluster Master node public network. Value range:
- NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
- NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
- pay
Mode Number - The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
- placement Map<String>
- It will be deprecated in later versions. Use
placement_info
instead. The location of the instance. - placement
Info Property Map - The location of the instance.
- pre
Executed List<Property Map>File Settings - Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
- product
Id Number - Product ID. Different products ID represents different EMR product versions. Value range:
- 16: represents EMR-V2.3.0
- 20: represents EMR-V2.5.0
- 25: represents EMR-V3.1.0
- 27: represents KAFKA-V1.0.0
- 30: represents EMR-V2.6.0
- 33: represents EMR-V3.2.1
- 34: represents EMR-V3.3.0
- 37: represents EMR-V3.4.0
- 38: represents EMR-V2.7.0
- 44: represents EMR-V3.5.0
- 50: represents KAFKA-V2.0.0
- 51: represents STARROCKS-V1.4.0
- 53: represents EMR-V3.6.0
- 54: represents STARROCKS-V2.0.0.
- resource
Spec Property Map - Resource specification of EMR instance.
- scene
Name String - Scene-based value:
- Hadoop-Kudu
- Hadoop-Zookeeper
- Hadoop-Presto
- Hadoop-Hbase.
- sg
Id String - The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
- softwares List<String>
- The softwares of a EMR instance.
- support
Ha Number - The flag whether the instance support high availability.(0=>not support, 1=>support).
- Map<String>
- Tag description list.
- terminate
Node List<Property Map>Infos - Terminate nodes. Note: it only works when the number of nodes decreases.
- time
Span Number - The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
- time
Unit String - The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
- vpc
Settings Map<String> - The private net config of EMR instance.
Supporting Types
EmrClusterPlacementInfo, EmrClusterPlacementInfoArgs
- zone str
- Zone.
- project_
id float - Project id.
EmrClusterPreExecutedFileSetting, EmrClusterPreExecutedFileSettingArgs
- Args List<string>
- Execution script parameters.
- Cos
File stringName - Script file name.
- Cos
File stringUri - The cos address of the script.
- Cos
Secret stringId - Cos secretId.
- Cos
Secret stringKey - Cos secretKey.
- Remark string
- Remark.
- Run
Order double - Run order.
- When
Run string resourceAfter
orclusterAfter
.
- Args []string
- Execution script parameters.
- Cos
File stringName - Script file name.
- Cos
File stringUri - The cos address of the script.
- Cos
Secret stringId - Cos secretId.
- Cos
Secret stringKey - Cos secretKey.
- Remark string
- Remark.
- Run
Order float64 - Run order.
- When
Run string resourceAfter
orclusterAfter
.
- args List<String>
- Execution script parameters.
- cos
File StringName - Script file name.
- cos
File StringUri - The cos address of the script.
- cos
Secret StringId - Cos secretId.
- cos
Secret StringKey - Cos secretKey.
- remark String
- Remark.
- run
Order Double - Run order.
- when
Run String resourceAfter
orclusterAfter
.
- args string[]
- Execution script parameters.
- cos
File stringName - Script file name.
- cos
File stringUri - The cos address of the script.
- cos
Secret stringId - Cos secretId.
- cos
Secret stringKey - Cos secretKey.
- remark string
- Remark.
- run
Order number - Run order.
- when
Run string resourceAfter
orclusterAfter
.
- args Sequence[str]
- Execution script parameters.
- cos_
file_ strname - Script file name.
- cos_
file_ struri - The cos address of the script.
- cos_
secret_ strid - Cos secretId.
- cos_
secret_ strkey - Cos secretKey.
- remark str
- Remark.
- run_
order float - Run order.
- when_
run str resourceAfter
orclusterAfter
.
- args List<String>
- Execution script parameters.
- cos
File StringName - Script file name.
- cos
File StringUri - The cos address of the script.
- cos
Secret StringId - Cos secretId.
- cos
Secret StringKey - Cos secretKey.
- remark String
- Remark.
- run
Order Number - Run order.
- when
Run String resourceAfter
orclusterAfter
.
EmrClusterResourceSpec, EmrClusterResourceSpecArgs
- Common
Count double - The number of common node.
- Common
Resource EmrSpec Cluster Resource Spec Common Resource Spec - Resource details.
- Core
Count double - The number of core node.
- Core
Resource EmrSpec Cluster Resource Spec Core Resource Spec - Resource details.
- Master
Count double - The number of master node.
- Master
Resource EmrSpec Cluster Resource Spec Master Resource Spec - Resource details.
- Task
Count double - The number of core node.
- Task
Resource EmrSpec Cluster Resource Spec Task Resource Spec - Resource details.
- Common
Count float64 - The number of common node.
- Common
Resource EmrSpec Cluster Resource Spec Common Resource Spec - Resource details.
- Core
Count float64 - The number of core node.
- Core
Resource EmrSpec Cluster Resource Spec Core Resource Spec - Resource details.
- Master
Count float64 - The number of master node.
- Master
Resource EmrSpec Cluster Resource Spec Master Resource Spec - Resource details.
- Task
Count float64 - The number of core node.
- Task
Resource EmrSpec Cluster Resource Spec Task Resource Spec - Resource details.
- common
Count Double - The number of common node.
- common
Resource EmrSpec Cluster Resource Spec Common Resource Spec - Resource details.
- core
Count Double - The number of core node.
- core
Resource EmrSpec Cluster Resource Spec Core Resource Spec - Resource details.
- master
Count Double - The number of master node.
- master
Resource EmrSpec Cluster Resource Spec Master Resource Spec - Resource details.
- task
Count Double - The number of core node.
- task
Resource EmrSpec Cluster Resource Spec Task Resource Spec - Resource details.
- common
Count number - The number of common node.
- common
Resource EmrSpec Cluster Resource Spec Common Resource Spec - Resource details.
- core
Count number - The number of core node.
- core
Resource EmrSpec Cluster Resource Spec Core Resource Spec - Resource details.
- master
Count number - The number of master node.
- master
Resource EmrSpec Cluster Resource Spec Master Resource Spec - Resource details.
- task
Count number - The number of core node.
- task
Resource EmrSpec Cluster Resource Spec Task Resource Spec - Resource details.
- common_
count float - The number of common node.
- common_
resource_ Emrspec Cluster Resource Spec Common Resource Spec - Resource details.
- core_
count float - The number of core node.
- core_
resource_ Emrspec Cluster Resource Spec Core Resource Spec - Resource details.
- master_
count float - The number of master node.
- master_
resource_ Emrspec Cluster Resource Spec Master Resource Spec - Resource details.
- task_
count float - The number of core node.
- task_
resource_ Emrspec Cluster Resource Spec Task Resource Spec - Resource details.
- common
Count Number - The number of common node.
- common
Resource Property MapSpec - Resource details.
- core
Count Number - The number of core node.
- core
Resource Property MapSpec - Resource details.
- master
Count Number - The number of master node.
- master
Resource Property MapSpec - Resource details.
- task
Count Number - The number of core node.
- task
Resource Property MapSpec - Resource details.
EmrClusterResourceSpecCommonResourceSpec, EmrClusterResourceSpecCommonResourceSpecArgs
- Cpu double
- Number of CPU cores.
- Disk
Size double - Data disk capacity.
- Disk
Type string - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- Mem
Size double - Memory size in M.
- Multi
Disks List<EmrCluster Resource Spec Common Resource Spec Multi Disk> - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- Root
Size double - Root disk capacity.
- Spec string
- Node specification description, such as CVM.SA2.
- Storage
Type double - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- Cpu float64
- Number of CPU cores.
- Disk
Size float64 - Data disk capacity.
- Disk
Type string - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- Mem
Size float64 - Memory size in M.
- Multi
Disks []EmrCluster Resource Spec Common Resource Spec Multi Disk - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- Root
Size float64 - Root disk capacity.
- Spec string
- Node specification description, such as CVM.SA2.
- Storage
Type float64 - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu Double
- Number of CPU cores.
- disk
Size Double - Data disk capacity.
- disk
Type String - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- mem
Size Double - Memory size in M.
- multi
Disks List<EmrCluster Resource Spec Common Resource Spec Multi Disk> - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root
Size Double - Root disk capacity.
- spec String
- Node specification description, such as CVM.SA2.
- storage
Type Double - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu number
- Number of CPU cores.
- disk
Size number - Data disk capacity.
- disk
Type string - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- mem
Size number - Memory size in M.
- multi
Disks EmrCluster Resource Spec Common Resource Spec Multi Disk[] - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root
Size number - Root disk capacity.
- spec string
- Node specification description, such as CVM.SA2.
- storage
Type number - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu float
- Number of CPU cores.
- disk_
size float - Data disk capacity.
- disk_
type str - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- mem_
size float - Memory size in M.
- multi_
disks Sequence[EmrCluster Resource Spec Common Resource Spec Multi Disk] - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root_
size float - Root disk capacity.
- spec str
- Node specification description, such as CVM.SA2.
- storage_
type float - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu Number
- Number of CPU cores.
- disk
Size Number - Data disk capacity.
- disk
Type String - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- mem
Size Number - Memory size in M.
- multi
Disks List<Property Map> - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root
Size Number - Root disk capacity.
- spec String
- Node specification description, such as CVM.SA2.
- storage
Type Number - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
EmrClusterResourceSpecCommonResourceSpecMultiDisk, EmrClusterResourceSpecCommonResourceSpecMultiDiskArgs
EmrClusterResourceSpecCoreResourceSpec, EmrClusterResourceSpecCoreResourceSpecArgs
- Cpu double
- Number of CPU cores.
- Disk
Size double - Data disk capacity.
- Disk
Type string - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- Mem
Size double - Memory size in M.
- Multi
Disks List<EmrCluster Resource Spec Core Resource Spec Multi Disk> - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- Root
Size double - Root disk capacity.
- Spec string
- Node specification description, such as CVM.SA2.
- Storage
Type double - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- Cpu float64
- Number of CPU cores.
- Disk
Size float64 - Data disk capacity.
- Disk
Type string - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- Mem
Size float64 - Memory size in M.
- Multi
Disks []EmrCluster Resource Spec Core Resource Spec Multi Disk - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- Root
Size float64 - Root disk capacity.
- Spec string
- Node specification description, such as CVM.SA2.
- Storage
Type float64 - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu Double
- Number of CPU cores.
- disk
Size Double - Data disk capacity.
- disk
Type String - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- mem
Size Double - Memory size in M.
- multi
Disks List<EmrCluster Resource Spec Core Resource Spec Multi Disk> - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root
Size Double - Root disk capacity.
- spec String
- Node specification description, such as CVM.SA2.
- storage
Type Double - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu number
- Number of CPU cores.
- disk
Size number - Data disk capacity.
- disk
Type string - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- mem
Size number - Memory size in M.
- multi
Disks EmrCluster Resource Spec Core Resource Spec Multi Disk[] - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root
Size number - Root disk capacity.
- spec string
- Node specification description, such as CVM.SA2.
- storage
Type number - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu float
- Number of CPU cores.
- disk_
size float - Data disk capacity.
- disk_
type str - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- mem_
size float - Memory size in M.
- multi_
disks Sequence[EmrCluster Resource Spec Core Resource Spec Multi Disk] - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root_
size float - Root disk capacity.
- spec str
- Node specification description, such as CVM.SA2.
- storage_
type float - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu Number
- Number of CPU cores.
- disk
Size Number - Data disk capacity.
- disk
Type String - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- mem
Size Number - Memory size in M.
- multi
Disks List<Property Map> - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root
Size Number - Root disk capacity.
- spec String
- Node specification description, such as CVM.SA2.
- storage
Type Number - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
EmrClusterResourceSpecCoreResourceSpecMultiDisk, EmrClusterResourceSpecCoreResourceSpecMultiDiskArgs
EmrClusterResourceSpecMasterResourceSpec, EmrClusterResourceSpecMasterResourceSpecArgs
- Cpu double
- Number of CPU cores.
- Disk
Size double - Data disk capacity.
- Disk
Type string - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- Mem
Size double - Memory size in M.
- Multi
Disks List<EmrCluster Resource Spec Master Resource Spec Multi Disk> - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- Root
Size double - Root disk capacity.
- Spec string
- Node specification description, such as CVM.SA2.
- Storage
Type double - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- Cpu float64
- Number of CPU cores.
- Disk
Size float64 - Data disk capacity.
- Disk
Type string - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- Mem
Size float64 - Memory size in M.
- Multi
Disks []EmrCluster Resource Spec Master Resource Spec Multi Disk - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- Root
Size float64 - Root disk capacity.
- Spec string
- Node specification description, such as CVM.SA2.
- Storage
Type float64 - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu Double
- Number of CPU cores.
- disk
Size Double - Data disk capacity.
- disk
Type String - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- mem
Size Double - Memory size in M.
- multi
Disks List<EmrCluster Resource Spec Master Resource Spec Multi Disk> - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root
Size Double - Root disk capacity.
- spec String
- Node specification description, such as CVM.SA2.
- storage
Type Double - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu number
- Number of CPU cores.
- disk
Size number - Data disk capacity.
- disk
Type string - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- mem
Size number - Memory size in M.
- multi
Disks EmrCluster Resource Spec Master Resource Spec Multi Disk[] - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root
Size number - Root disk capacity.
- spec string
- Node specification description, such as CVM.SA2.
- storage
Type number - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu float
- Number of CPU cores.
- disk_
size float - Data disk capacity.
- disk_
type str - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- mem_
size float - Memory size in M.
- multi_
disks Sequence[EmrCluster Resource Spec Master Resource Spec Multi Disk] - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root_
size float - Root disk capacity.
- spec str
- Node specification description, such as CVM.SA2.
- storage_
type float - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu Number
- Number of CPU cores.
- disk
Size Number - Data disk capacity.
- disk
Type String - Cloud disk type
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
- mem
Size Number - Memory size in M.
- multi
Disks List<Property Map> - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root
Size Number - Root disk capacity.
- spec String
- Node specification description, such as CVM.SA2.
- storage
Type Number - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
EmrClusterResourceSpecMasterResourceSpecMultiDisk, EmrClusterResourceSpecMasterResourceSpecMultiDiskArgs
EmrClusterResourceSpecTaskResourceSpec, EmrClusterResourceSpecTaskResourceSpecArgs
- Cpu double
- Number of CPU cores.
- Disk
Size double - Data disk capacity.
- Disk
Type string - disk types. Value range:
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_BASIC: Represents Cloud Block Storage.
- Mem
Size double - Memory size in M.
- Multi
Disks List<EmrCluster Resource Spec Task Resource Spec Multi Disk> - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- Root
Size double - Root disk capacity.
- Spec string
- Node specification description, such as CVM.SA2.
- Storage
Type double - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- Cpu float64
- Number of CPU cores.
- Disk
Size float64 - Data disk capacity.
- Disk
Type string - disk types. Value range:
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_BASIC: Represents Cloud Block Storage.
- Mem
Size float64 - Memory size in M.
- Multi
Disks []EmrCluster Resource Spec Task Resource Spec Multi Disk - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- Root
Size float64 - Root disk capacity.
- Spec string
- Node specification description, such as CVM.SA2.
- Storage
Type float64 - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu Double
- Number of CPU cores.
- disk
Size Double - Data disk capacity.
- disk
Type String - disk types. Value range:
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_BASIC: Represents Cloud Block Storage.
- mem
Size Double - Memory size in M.
- multi
Disks List<EmrCluster Resource Spec Task Resource Spec Multi Disk> - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root
Size Double - Root disk capacity.
- spec String
- Node specification description, such as CVM.SA2.
- storage
Type Double - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu number
- Number of CPU cores.
- disk
Size number - Data disk capacity.
- disk
Type string - disk types. Value range:
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_BASIC: Represents Cloud Block Storage.
- mem
Size number - Memory size in M.
- multi
Disks EmrCluster Resource Spec Task Resource Spec Multi Disk[] - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root
Size number - Root disk capacity.
- spec string
- Node specification description, such as CVM.SA2.
- storage
Type number - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu float
- Number of CPU cores.
- disk_
size float - Data disk capacity.
- disk_
type str - disk types. Value range:
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_BASIC: Represents Cloud Block Storage.
- mem_
size float - Memory size in M.
- multi_
disks Sequence[EmrCluster Resource Spec Task Resource Spec Multi Disk] - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root_
size float - Root disk capacity.
- spec str
- Node specification description, such as CVM.SA2.
- storage_
type float - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
- cpu Number
- Number of CPU cores.
- disk
Size Number - Data disk capacity.
- disk
Type String - disk types. Value range:
- CLOUD_SSD: Represents cloud SSD;
- CLOUD_PREMIUM: Represents efficient cloud disk;
- CLOUD_BASIC: Represents Cloud Block Storage.
- mem
Size Number - Memory size in M.
- multi
Disks List<Property Map> - Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
- root
Size Number - Root disk capacity.
- spec String
- Node specification description, such as CVM.SA2.
- storage
Type Number - Storage type. Value range:
- 4: Represents cloud SSD;
- 5: Represents efficient cloud disk;
- 6: Represents enhanced SSD Cloud Block Storage;
- 11: Represents throughput Cloud Block Storage;
- 12: Represents extremely fast SSD Cloud Block Storage.
EmrClusterResourceSpecTaskResourceSpecMultiDisk, EmrClusterResourceSpecTaskResourceSpecMultiDiskArgs
EmrClusterTerminateNodeInfo, EmrClusterTerminateNodeInfoArgs
- Cvm
Instance List<string>Ids - Destroy resource list.
- Node
Flag string - Value range of destruction node type:
MASTER
,TASK
,CORE
,ROUTER
.
- Cvm
Instance []stringIds - Destroy resource list.
- Node
Flag string - Value range of destruction node type:
MASTER
,TASK
,CORE
,ROUTER
.
- cvm
Instance List<String>Ids - Destroy resource list.
- node
Flag String - Value range of destruction node type:
MASTER
,TASK
,CORE
,ROUTER
.
- cvm
Instance string[]Ids - Destroy resource list.
- node
Flag string - Value range of destruction node type:
MASTER
,TASK
,CORE
,ROUTER
.
- cvm_
instance_ Sequence[str]ids - Destroy resource list.
- node_
flag str - Value range of destruction node type:
MASTER
,TASK
,CORE
,ROUTER
.
- cvm
Instance List<String>Ids - Destroy resource list.
- node
Flag String - Value range of destruction node type:
MASTER
,TASK
,CORE
,ROUTER
.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.