published on Thursday, Mar 26, 2026 by Volcengine
published on Thursday, Mar 26, 2026 by Volcengine
E-MapReduce(EMR)是开源 Hadoop 生态的企业级大数据分析系统,完全兼容开源,为您提供 Hadoop、Spark、Hive、Hudi、Iceberg 等生态组件集成和管理。
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
eMRClusterDemo:
type: volcenginecc:emr:Cluster
name: EMRClusterDemo
properties:
projectName: default
clusterName: ccapi-tftest-1
clusterType: Hadoop
releaseVersion: 3.19.0
applicationNames:
- HDFS
- YARN
- SPARK3
deployMode: SIMPLE
securityMode: SIMPLE
chargeType: POST
vpcId: vpc-rrco37ovjq4gv0xxxxxxxxx
securityGroupId: sg-1v9zvjkmx14w51j8xxxxxxxx
historyServerMode: LOCAL
nodeAttribute:
zone_id: cn-beijing-a
ecs_iam_role: VEECSforEMRRole
nodeGroupAttributes:
- zone_id: cn-beijing-a
subnet_ids:
- subnet-rrwqhg3qzxfkv0xxxxxxxx
node_group_name: MasterGroup
ecs_key_pair_name: pln-test
ecs_password: ""
bandwidth: 8
charge_type: POST
node_group_type: MASTER
with_public_ip: false
ecs_instance_types:
- ecs.r1ie.xlarge
node_count: 1
system_disk:
volumeType: ESSD_FlexPL
size: 120
data_disks:
- volumeType: ESSD_FlexPL
size: 80
count: 1
- zone_id: cn-beijing-a
subnet_ids:
- subnet-rrwqhg3qzxfkv0x5xxxxxx
node_group_name: CoreGroup
ecs_key_pair_name: pln-test
ecs_password: ""
bandwidth: 8
charge_type: POST
node_group_type: CORE
with_public_ip: false
ecs_instance_types:
- ecs.r1ie.xlarge
node_count: 2
system_disk:
volumeType: ESSD_FlexPL
size: 80
data_disks:
- volumeType: ESSD_FlexPL
size: 80
count: 4
- zone_id: cn-beijing-a
subnet_ids:
- subnet-rrwqhg3qzxfkv0xxxxxxxx
node_group_name: TaskGroup-1
ecs_key_pair_name: pln-test
ecs_password: ""
bandwidth: 8
charge_type: POST
node_group_type: TASK
with_public_ip: false
ecs_instance_types:
- ecs.r1ie.xlarge
node_count: 1
system_disk:
volumeType: ESSD_FlexPL
size: 80
data_disks:
- volumeType: ESSD_FlexPL
size: 80
count: 4
applicationExtras:
- application_name: HIVE
connection_type: BUILT_IN_MYSQL
connection_id: ""
application_configs:
- configFileName: hive-site.xml
configItemKey: hive.metastore.warehouse.dir
configItemValue: tos://ccapi-test-tos-1/managed
deleted: false
componentInstanceName: ""
componentName: ""
effectiveScope:
effectiveType: CLUSTER
nodeGroupIds: []
nodeGroupNames: []
nodeGroupTypes: []
nodeNames: []
nodeIds: []
componentNames: []
- configFileName: hive-site.xml
configItemKey: hive.metastore.warehouse.external.dir
configItemValue: tos://ccapi-test-tos-1/external
deleted: false
componentInstanceName: ""
componentName: ""
effectiveScope:
effectiveType: CLUSTER
nodeGroupIds: []
nodeGroupNames: []
nodeGroupTypes: []
nodeNames: []
nodeIds: []
componentNames: []
- configFileName: hive-site.xml
configItemKey: hive.metastore.warehouse.dir
configItemValue: tos://ccapi-test-tos-1/managed
deleted: false
componentInstanceName: ""
componentName: ""
effectiveScope:
effectiveType: CLUSTER
nodeGroupIds: []
nodeGroupNames: []
nodeGroupTypes: []
nodeNames: []
nodeIds: []
componentNames: []
- configFileName: hive-site.xml
configItemKey: hive.metastore.warehouse.external.dir
configItemValue: tos://ccapi-test-tos-1/external
deleted: false
componentInstanceName: ""
componentName: ""
effectiveScope:
effectiveType: CLUSTER
nodeGroupIds: []
nodeGroupNames: []
nodeGroupTypes: []
nodeNames: []
nodeIds: []
componentNames: []
application_component_layouts:
- componentName: ""
effectiveScope:
effectiveType: CLUSTER
nodeGroupIds: []
nodeGroupNames: []
nodeGroupTypes: []
nodeNames: []
nodeIds: []
componentNames: []
bootstrapScripts:
- script_name: ccapi-test-script
script_type: BOOTSTRAP
script_path: tos://ccapi-test-tos-1/managed/
script_args: ""
priority: '1'
effective_scope:
effectiveType: CLUSTER
componentNames: []
nodeGroupIds: []
nodeGroupNames: []
nodeGroupTypes: []
nodeIds: []
nodeNames: []
execution_moment: AFTER_APPLICATION_STARTED
execution_fail_strategy: FAILED_BLOCK
tags:
- key: env
value: test
Create Cluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);@overload
def Cluster(resource_name: str,
args: ClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Cluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
release_version: Optional[str] = None,
node_attribute: Optional[ClusterNodeAttributeArgs] = None,
vpc_id: Optional[str] = None,
security_group_id: Optional[str] = None,
charge_type: Optional[str] = None,
cluster_name: Optional[str] = None,
cluster_type: Optional[str] = None,
deploy_mode: Optional[str] = None,
application_names: Optional[Sequence[str]] = None,
node_group_attributes: Optional[Sequence[ClusterNodeGroupAttributeArgs]] = None,
history_server_mode: Optional[str] = None,
project_name: Optional[str] = None,
application_extras: Optional[Sequence[ClusterApplicationExtraArgs]] = None,
charge_pre_config: Optional[ClusterChargePreConfigArgs] = None,
security_mode: Optional[str] = None,
tags: Optional[Sequence[ClusterTagArgs]] = None,
bootstrap_scripts: Optional[Sequence[ClusterBootstrapScriptArgs]] = None)func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: volcenginecc:emr:Cluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var clusterResource = new Volcenginecc.Emr.Cluster("clusterResource", new()
{
ReleaseVersion = "string",
NodeAttribute = new Volcenginecc.Emr.Inputs.ClusterNodeAttributeArgs
{
EcsIamRole = "string",
ZoneId = "string",
},
VpcId = "string",
SecurityGroupId = "string",
ChargeType = "string",
ClusterName = "string",
ClusterType = "string",
DeployMode = "string",
ApplicationNames = new[]
{
"string",
},
NodeGroupAttributes = new[]
{
new Volcenginecc.Emr.Inputs.ClusterNodeGroupAttributeArgs
{
Bandwidth = 0,
ChargeType = "string",
DataDisks = new[]
{
new Volcenginecc.Emr.Inputs.ClusterNodeGroupAttributeDataDiskArgs
{
Count = 0,
Size = 0,
VolumeType = "string",
},
},
EcsInstanceTypes = new[]
{
"string",
},
EcsKeyPairName = "string",
EcsPassword = "string",
NodeCount = 0,
NodeGroupName = "string",
NodeGroupType = "string",
SubnetIds = new[]
{
"string",
},
SystemDisk = new Volcenginecc.Emr.Inputs.ClusterNodeGroupAttributeSystemDiskArgs
{
Size = 0,
VolumeType = "string",
},
WithPublicIp = false,
ZoneId = "string",
},
},
HistoryServerMode = "string",
ProjectName = "string",
ApplicationExtras = new[]
{
new Volcenginecc.Emr.Inputs.ClusterApplicationExtraArgs
{
ApplicationComponentLayouts = new[]
{
new Volcenginecc.Emr.Inputs.ClusterApplicationExtraApplicationComponentLayoutArgs
{
ComponentName = "string",
EffectiveScope = new Volcenginecc.Emr.Inputs.ClusterApplicationExtraApplicationComponentLayoutEffectiveScopeArgs
{
ComponentNames = new[]
{
"string",
},
EffectiveType = "string",
NodeGroupIds = new[]
{
"string",
},
NodeGroupNames = new[]
{
"string",
},
NodeGroupTypes = new[]
{
"string",
},
NodeIds = new[]
{
"string",
},
NodeNames = new[]
{
"string",
},
},
},
},
ApplicationConfigs = new[]
{
new Volcenginecc.Emr.Inputs.ClusterApplicationExtraApplicationConfigArgs
{
ComponentInstanceName = "string",
ComponentName = "string",
ConfigFileName = "string",
ConfigItemKey = "string",
ConfigItemValue = "string",
Deleted = false,
EffectiveScope = new Volcenginecc.Emr.Inputs.ClusterApplicationExtraApplicationConfigEffectiveScopeArgs
{
ComponentNames = new[]
{
"string",
},
EffectiveType = "string",
NodeGroupIds = new[]
{
"string",
},
NodeGroupNames = new[]
{
"string",
},
NodeGroupTypes = new[]
{
"string",
},
NodeIds = new[]
{
"string",
},
NodeNames = new[]
{
"string",
},
},
},
},
ApplicationName = "string",
ConnectionId = "string",
ConnectionType = "string",
},
},
ChargePreConfig = new Volcenginecc.Emr.Inputs.ClusterChargePreConfigArgs
{
AutoRenew = false,
AutoRenewPeriod = 0,
AutoRenewPeriodUnit = "string",
ChargePeriod = 0,
ChargePeriodUnit = "string",
ChargeType = "string",
},
SecurityMode = "string",
Tags = new[]
{
new Volcenginecc.Emr.Inputs.ClusterTagArgs
{
Key = "string",
Value = "string",
},
},
BootstrapScripts = new[]
{
new Volcenginecc.Emr.Inputs.ClusterBootstrapScriptArgs
{
EffectiveScope = new Volcenginecc.Emr.Inputs.ClusterBootstrapScriptEffectiveScopeArgs
{
ComponentNames = new[]
{
"string",
},
EffectiveType = "string",
NodeGroupIds = new[]
{
"string",
},
NodeGroupNames = new[]
{
"string",
},
NodeGroupTypes = new[]
{
"string",
},
NodeIds = new[]
{
"string",
},
NodeNames = new[]
{
"string",
},
},
ExecutionFailStrategy = "string",
ExecutionMoment = "string",
Priority = "string",
ScriptArgs = "string",
ScriptName = "string",
ScriptPath = "string",
ScriptType = "string",
},
},
});
example, err := emr.NewCluster(ctx, "clusterResource", &emr.ClusterArgs{
ReleaseVersion: pulumi.String("string"),
NodeAttribute: &emr.ClusterNodeAttributeArgs{
EcsIamRole: pulumi.String("string"),
ZoneId: pulumi.String("string"),
},
VpcId: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
ChargeType: pulumi.String("string"),
ClusterName: pulumi.String("string"),
ClusterType: pulumi.String("string"),
DeployMode: pulumi.String("string"),
ApplicationNames: pulumi.StringArray{
pulumi.String("string"),
},
NodeGroupAttributes: emr.ClusterNodeGroupAttributeArray{
&emr.ClusterNodeGroupAttributeArgs{
Bandwidth: pulumi.Int(0),
ChargeType: pulumi.String("string"),
DataDisks: emr.ClusterNodeGroupAttributeDataDiskArray{
&emr.ClusterNodeGroupAttributeDataDiskArgs{
Count: pulumi.Int(0),
Size: pulumi.Int(0),
VolumeType: pulumi.String("string"),
},
},
EcsInstanceTypes: pulumi.StringArray{
pulumi.String("string"),
},
EcsKeyPairName: pulumi.String("string"),
EcsPassword: pulumi.String("string"),
NodeCount: pulumi.Int(0),
NodeGroupName: pulumi.String("string"),
NodeGroupType: pulumi.String("string"),
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
SystemDisk: &emr.ClusterNodeGroupAttributeSystemDiskArgs{
Size: pulumi.Int(0),
VolumeType: pulumi.String("string"),
},
WithPublicIp: pulumi.Bool(false),
ZoneId: pulumi.String("string"),
},
},
HistoryServerMode: pulumi.String("string"),
ProjectName: pulumi.String("string"),
ApplicationExtras: emr.ClusterApplicationExtraArray{
&emr.ClusterApplicationExtraArgs{
ApplicationComponentLayouts: emr.ClusterApplicationExtraApplicationComponentLayoutArray{
&emr.ClusterApplicationExtraApplicationComponentLayoutArgs{
ComponentName: pulumi.String("string"),
EffectiveScope: &emr.ClusterApplicationExtraApplicationComponentLayoutEffectiveScopeArgs{
ComponentNames: pulumi.StringArray{
pulumi.String("string"),
},
EffectiveType: pulumi.String("string"),
NodeGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
NodeGroupNames: pulumi.StringArray{
pulumi.String("string"),
},
NodeGroupTypes: pulumi.StringArray{
pulumi.String("string"),
},
NodeIds: pulumi.StringArray{
pulumi.String("string"),
},
NodeNames: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
ApplicationConfigs: emr.ClusterApplicationExtraApplicationConfigArray{
&emr.ClusterApplicationExtraApplicationConfigArgs{
ComponentInstanceName: pulumi.String("string"),
ComponentName: pulumi.String("string"),
ConfigFileName: pulumi.String("string"),
ConfigItemKey: pulumi.String("string"),
ConfigItemValue: pulumi.String("string"),
Deleted: pulumi.Bool(false),
EffectiveScope: &emr.ClusterApplicationExtraApplicationConfigEffectiveScopeArgs{
ComponentNames: pulumi.StringArray{
pulumi.String("string"),
},
EffectiveType: pulumi.String("string"),
NodeGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
NodeGroupNames: pulumi.StringArray{
pulumi.String("string"),
},
NodeGroupTypes: pulumi.StringArray{
pulumi.String("string"),
},
NodeIds: pulumi.StringArray{
pulumi.String("string"),
},
NodeNames: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
ApplicationName: pulumi.String("string"),
ConnectionId: pulumi.String("string"),
ConnectionType: pulumi.String("string"),
},
},
ChargePreConfig: &emr.ClusterChargePreConfigArgs{
AutoRenew: pulumi.Bool(false),
AutoRenewPeriod: pulumi.Int(0),
AutoRenewPeriodUnit: pulumi.String("string"),
ChargePeriod: pulumi.Int(0),
ChargePeriodUnit: pulumi.String("string"),
ChargeType: pulumi.String("string"),
},
SecurityMode: pulumi.String("string"),
Tags: emr.ClusterTagArray{
&emr.ClusterTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
BootstrapScripts: emr.ClusterBootstrapScriptArray{
&emr.ClusterBootstrapScriptArgs{
EffectiveScope: &emr.ClusterBootstrapScriptEffectiveScopeArgs{
ComponentNames: pulumi.StringArray{
pulumi.String("string"),
},
EffectiveType: pulumi.String("string"),
NodeGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
NodeGroupNames: pulumi.StringArray{
pulumi.String("string"),
},
NodeGroupTypes: pulumi.StringArray{
pulumi.String("string"),
},
NodeIds: pulumi.StringArray{
pulumi.String("string"),
},
NodeNames: pulumi.StringArray{
pulumi.String("string"),
},
},
ExecutionFailStrategy: pulumi.String("string"),
ExecutionMoment: pulumi.String("string"),
Priority: pulumi.String("string"),
ScriptArgs: pulumi.String("string"),
ScriptName: pulumi.String("string"),
ScriptPath: pulumi.String("string"),
ScriptType: pulumi.String("string"),
},
},
})
var clusterResource = new com.volcengine.volcenginecc.emr.Cluster("clusterResource", com.volcengine.volcenginecc.emr.ClusterArgs.builder()
.releaseVersion("string")
.nodeAttribute(ClusterNodeAttributeArgs.builder()
.ecsIamRole("string")
.zoneId("string")
.build())
.vpcId("string")
.securityGroupId("string")
.chargeType("string")
.clusterName("string")
.clusterType("string")
.deployMode("string")
.applicationNames("string")
.nodeGroupAttributes(ClusterNodeGroupAttributeArgs.builder()
.bandwidth(0)
.chargeType("string")
.dataDisks(ClusterNodeGroupAttributeDataDiskArgs.builder()
.count(0)
.size(0)
.volumeType("string")
.build())
.ecsInstanceTypes("string")
.ecsKeyPairName("string")
.ecsPassword("string")
.nodeCount(0)
.nodeGroupName("string")
.nodeGroupType("string")
.subnetIds("string")
.systemDisk(ClusterNodeGroupAttributeSystemDiskArgs.builder()
.size(0)
.volumeType("string")
.build())
.withPublicIp(false)
.zoneId("string")
.build())
.historyServerMode("string")
.projectName("string")
.applicationExtras(ClusterApplicationExtraArgs.builder()
.applicationComponentLayouts(ClusterApplicationExtraApplicationComponentLayoutArgs.builder()
.componentName("string")
.effectiveScope(ClusterApplicationExtraApplicationComponentLayoutEffectiveScopeArgs.builder()
.componentNames("string")
.effectiveType("string")
.nodeGroupIds("string")
.nodeGroupNames("string")
.nodeGroupTypes("string")
.nodeIds("string")
.nodeNames("string")
.build())
.build())
.applicationConfigs(ClusterApplicationExtraApplicationConfigArgs.builder()
.componentInstanceName("string")
.componentName("string")
.configFileName("string")
.configItemKey("string")
.configItemValue("string")
.deleted(false)
.effectiveScope(ClusterApplicationExtraApplicationConfigEffectiveScopeArgs.builder()
.componentNames("string")
.effectiveType("string")
.nodeGroupIds("string")
.nodeGroupNames("string")
.nodeGroupTypes("string")
.nodeIds("string")
.nodeNames("string")
.build())
.build())
.applicationName("string")
.connectionId("string")
.connectionType("string")
.build())
.chargePreConfig(ClusterChargePreConfigArgs.builder()
.autoRenew(false)
.autoRenewPeriod(0)
.autoRenewPeriodUnit("string")
.chargePeriod(0)
.chargePeriodUnit("string")
.chargeType("string")
.build())
.securityMode("string")
.tags(ClusterTagArgs.builder()
.key("string")
.value("string")
.build())
.bootstrapScripts(ClusterBootstrapScriptArgs.builder()
.effectiveScope(ClusterBootstrapScriptEffectiveScopeArgs.builder()
.componentNames("string")
.effectiveType("string")
.nodeGroupIds("string")
.nodeGroupNames("string")
.nodeGroupTypes("string")
.nodeIds("string")
.nodeNames("string")
.build())
.executionFailStrategy("string")
.executionMoment("string")
.priority("string")
.scriptArgs("string")
.scriptName("string")
.scriptPath("string")
.scriptType("string")
.build())
.build());
cluster_resource = volcenginecc.emr.Cluster("clusterResource",
release_version="string",
node_attribute={
"ecs_iam_role": "string",
"zone_id": "string",
},
vpc_id="string",
security_group_id="string",
charge_type="string",
cluster_name="string",
cluster_type="string",
deploy_mode="string",
application_names=["string"],
node_group_attributes=[{
"bandwidth": 0,
"charge_type": "string",
"data_disks": [{
"count": 0,
"size": 0,
"volume_type": "string",
}],
"ecs_instance_types": ["string"],
"ecs_key_pair_name": "string",
"ecs_password": "string",
"node_count": 0,
"node_group_name": "string",
"node_group_type": "string",
"subnet_ids": ["string"],
"system_disk": {
"size": 0,
"volume_type": "string",
},
"with_public_ip": False,
"zone_id": "string",
}],
history_server_mode="string",
project_name="string",
application_extras=[{
"application_component_layouts": [{
"component_name": "string",
"effective_scope": {
"component_names": ["string"],
"effective_type": "string",
"node_group_ids": ["string"],
"node_group_names": ["string"],
"node_group_types": ["string"],
"node_ids": ["string"],
"node_names": ["string"],
},
}],
"application_configs": [{
"component_instance_name": "string",
"component_name": "string",
"config_file_name": "string",
"config_item_key": "string",
"config_item_value": "string",
"deleted": False,
"effective_scope": {
"component_names": ["string"],
"effective_type": "string",
"node_group_ids": ["string"],
"node_group_names": ["string"],
"node_group_types": ["string"],
"node_ids": ["string"],
"node_names": ["string"],
},
}],
"application_name": "string",
"connection_id": "string",
"connection_type": "string",
}],
charge_pre_config={
"auto_renew": False,
"auto_renew_period": 0,
"auto_renew_period_unit": "string",
"charge_period": 0,
"charge_period_unit": "string",
"charge_type": "string",
},
security_mode="string",
tags=[{
"key": "string",
"value": "string",
}],
bootstrap_scripts=[{
"effective_scope": {
"component_names": ["string"],
"effective_type": "string",
"node_group_ids": ["string"],
"node_group_names": ["string"],
"node_group_types": ["string"],
"node_ids": ["string"],
"node_names": ["string"],
},
"execution_fail_strategy": "string",
"execution_moment": "string",
"priority": "string",
"script_args": "string",
"script_name": "string",
"script_path": "string",
"script_type": "string",
}])
const clusterResource = new volcenginecc.emr.Cluster("clusterResource", {
releaseVersion: "string",
nodeAttribute: {
ecsIamRole: "string",
zoneId: "string",
},
vpcId: "string",
securityGroupId: "string",
chargeType: "string",
clusterName: "string",
clusterType: "string",
deployMode: "string",
applicationNames: ["string"],
nodeGroupAttributes: [{
bandwidth: 0,
chargeType: "string",
dataDisks: [{
count: 0,
size: 0,
volumeType: "string",
}],
ecsInstanceTypes: ["string"],
ecsKeyPairName: "string",
ecsPassword: "string",
nodeCount: 0,
nodeGroupName: "string",
nodeGroupType: "string",
subnetIds: ["string"],
systemDisk: {
size: 0,
volumeType: "string",
},
withPublicIp: false,
zoneId: "string",
}],
historyServerMode: "string",
projectName: "string",
applicationExtras: [{
applicationComponentLayouts: [{
componentName: "string",
effectiveScope: {
componentNames: ["string"],
effectiveType: "string",
nodeGroupIds: ["string"],
nodeGroupNames: ["string"],
nodeGroupTypes: ["string"],
nodeIds: ["string"],
nodeNames: ["string"],
},
}],
applicationConfigs: [{
componentInstanceName: "string",
componentName: "string",
configFileName: "string",
configItemKey: "string",
configItemValue: "string",
deleted: false,
effectiveScope: {
componentNames: ["string"],
effectiveType: "string",
nodeGroupIds: ["string"],
nodeGroupNames: ["string"],
nodeGroupTypes: ["string"],
nodeIds: ["string"],
nodeNames: ["string"],
},
}],
applicationName: "string",
connectionId: "string",
connectionType: "string",
}],
chargePreConfig: {
autoRenew: false,
autoRenewPeriod: 0,
autoRenewPeriodUnit: "string",
chargePeriod: 0,
chargePeriodUnit: "string",
chargeType: "string",
},
securityMode: "string",
tags: [{
key: "string",
value: "string",
}],
bootstrapScripts: [{
effectiveScope: {
componentNames: ["string"],
effectiveType: "string",
nodeGroupIds: ["string"],
nodeGroupNames: ["string"],
nodeGroupTypes: ["string"],
nodeIds: ["string"],
nodeNames: ["string"],
},
executionFailStrategy: "string",
executionMoment: "string",
priority: "string",
scriptArgs: "string",
scriptName: "string",
scriptPath: "string",
scriptType: "string",
}],
});
type: volcenginecc:emr:Cluster
properties:
applicationExtras:
- applicationComponentLayouts:
- componentName: string
effectiveScope:
componentNames:
- string
effectiveType: string
nodeGroupIds:
- string
nodeGroupNames:
- string
nodeGroupTypes:
- string
nodeIds:
- string
nodeNames:
- string
applicationConfigs:
- componentInstanceName: string
componentName: string
configFileName: string
configItemKey: string
configItemValue: string
deleted: false
effectiveScope:
componentNames:
- string
effectiveType: string
nodeGroupIds:
- string
nodeGroupNames:
- string
nodeGroupTypes:
- string
nodeIds:
- string
nodeNames:
- string
applicationName: string
connectionId: string
connectionType: string
applicationNames:
- string
bootstrapScripts:
- effectiveScope:
componentNames:
- string
effectiveType: string
nodeGroupIds:
- string
nodeGroupNames:
- string
nodeGroupTypes:
- string
nodeIds:
- string
nodeNames:
- string
executionFailStrategy: string
executionMoment: string
priority: string
scriptArgs: string
scriptName: string
scriptPath: string
scriptType: string
chargePreConfig:
autoRenew: false
autoRenewPeriod: 0
autoRenewPeriodUnit: string
chargePeriod: 0
chargePeriodUnit: string
chargeType: string
chargeType: string
clusterName: string
clusterType: string
deployMode: string
historyServerMode: string
nodeAttribute:
ecsIamRole: string
zoneId: string
nodeGroupAttributes:
- bandwidth: 0
chargeType: string
dataDisks:
- count: 0
size: 0
volumeType: string
ecsInstanceTypes:
- string
ecsKeyPairName: string
ecsPassword: string
nodeCount: 0
nodeGroupName: string
nodeGroupType: string
subnetIds:
- string
systemDisk:
size: 0
volumeType: string
withPublicIp: false
zoneId: string
projectName: string
releaseVersion: string
securityGroupId: string
securityMode: string
tags:
- key: string
value: string
vpcId: string
Cluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Cluster resource accepts the following input properties:
- Charge
Type string - 付费类型,PRE表示包月,POST表示按量计费。
- Cluster
Name string - 集群名称。
- Cluster
Type string - 集群类型。
- Node
Attribute Volcengine.Cluster Node Attribute - 集群全局的节点信息。
- Release
Version string - 集群版本。
- Security
Group stringId - 集群全局安全组ID,所有节点组下的ecs都会加入该安全组。
- Vpc
Id string - Vpc ID。
- Application
Extras List<Volcengine.Cluster Application Extra> - Application
Names List<string> - 集群安装的服务名称列表。创建字段。
- Bootstrap
Scripts List<Volcengine.Cluster Bootstrap Script> - Charge
Pre Volcengine.Config Cluster Charge Pre Config - 包月的配置参数,当chargeType=PRE时,必选。
- Deploy
Mode string - 部署模式。SIMPLE表示简单模式,HIGH_AVAILABLE表示高可用模式。
- History
Server stringMode - HistoryServer模式,LOCAL将活动数据存储于集群内,PHS将活动数据存储于集群外。
- Node
Group List<Volcengine.Attributes Cluster Node Group Attribute> - Project
Name string - 资源所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- Security
Mode string - 安全模式。
-
List<Volcengine.
Cluster Tag>
- Charge
Type string - 付费类型,PRE表示包月,POST表示按量计费。
- Cluster
Name string - 集群名称。
- Cluster
Type string - 集群类型。
- Node
Attribute ClusterNode Attribute Args - 集群全局的节点信息。
- Release
Version string - 集群版本。
- Security
Group stringId - 集群全局安全组ID,所有节点组下的ecs都会加入该安全组。
- Vpc
Id string - Vpc ID。
- Application
Extras []ClusterApplication Extra Args - Application
Names []string - 集群安装的服务名称列表。创建字段。
- Bootstrap
Scripts []ClusterBootstrap Script Args - Charge
Pre ClusterConfig Charge Pre Config Args - 包月的配置参数,当chargeType=PRE时,必选。
- Deploy
Mode string - 部署模式。SIMPLE表示简单模式,HIGH_AVAILABLE表示高可用模式。
- History
Server stringMode - HistoryServer模式,LOCAL将活动数据存储于集群内,PHS将活动数据存储于集群外。
- Node
Group []ClusterAttributes Node Group Attribute Args - Project
Name string - 资源所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- Security
Mode string - 安全模式。
-
[]Cluster
Tag Args
- charge
Type String - 付费类型,PRE表示包月,POST表示按量计费。
- cluster
Name String - 集群名称。
- cluster
Type String - 集群类型。
- node
Attribute ClusterNode Attribute - 集群全局的节点信息。
- release
Version String - 集群版本。
- security
Group StringId - 集群全局安全组ID,所有节点组下的ecs都会加入该安全组。
- vpc
Id String - Vpc ID。
- application
Extras List<ClusterApplication Extra> - application
Names List<String> - 集群安装的服务名称列表。创建字段。
- bootstrap
Scripts List<ClusterBootstrap Script> - charge
Pre ClusterConfig Charge Pre Config - 包月的配置参数,当chargeType=PRE时,必选。
- deploy
Mode String - 部署模式。SIMPLE表示简单模式,HIGH_AVAILABLE表示高可用模式。
- history
Server StringMode - HistoryServer模式,LOCAL将活动数据存储于集群内,PHS将活动数据存储于集群外。
- node
Group List<ClusterAttributes Node Group Attribute> - project
Name String - 资源所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- security
Mode String - 安全模式。
-
List<Cluster
Tag>
- charge
Type string - 付费类型,PRE表示包月,POST表示按量计费。
- cluster
Name string - 集群名称。
- cluster
Type string - 集群类型。
- node
Attribute ClusterNode Attribute - 集群全局的节点信息。
- release
Version string - 集群版本。
- security
Group stringId - 集群全局安全组ID,所有节点组下的ecs都会加入该安全组。
- vpc
Id string - Vpc ID。
- application
Extras ClusterApplication Extra[] - application
Names string[] - 集群安装的服务名称列表。创建字段。
- bootstrap
Scripts ClusterBootstrap Script[] - charge
Pre ClusterConfig Charge Pre Config - 包月的配置参数,当chargeType=PRE时,必选。
- deploy
Mode string - 部署模式。SIMPLE表示简单模式,HIGH_AVAILABLE表示高可用模式。
- history
Server stringMode - HistoryServer模式,LOCAL将活动数据存储于集群内,PHS将活动数据存储于集群外。
- node
Group ClusterAttributes Node Group Attribute[] - project
Name string - 资源所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- security
Mode string - 安全模式。
-
Cluster
Tag[]
- charge_
type str - 付费类型,PRE表示包月,POST表示按量计费。
- cluster_
name str - 集群名称。
- cluster_
type str - 集群类型。
- node_
attribute ClusterNode Attribute Args - 集群全局的节点信息。
- release_
version str - 集群版本。
- security_
group_ strid - 集群全局安全组ID,所有节点组下的ecs都会加入该安全组。
- vpc_
id str - Vpc ID。
- application_
extras Sequence[ClusterApplication Extra Args] - application_
names Sequence[str] - 集群安装的服务名称列表。创建字段。
- bootstrap_
scripts Sequence[ClusterBootstrap Script Args] - charge_
pre_ Clusterconfig Charge Pre Config Args - 包月的配置参数,当chargeType=PRE时,必选。
- deploy_
mode str - 部署模式。SIMPLE表示简单模式,HIGH_AVAILABLE表示高可用模式。
- history_
server_ strmode - HistoryServer模式,LOCAL将活动数据存储于集群内,PHS将活动数据存储于集群外。
- node_
group_ Sequence[Clusterattributes Node Group Attribute Args] - project_
name str - 资源所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- security_
mode str - 安全模式。
-
Sequence[Cluster
Tag Args]
- charge
Type String - 付费类型,PRE表示包月,POST表示按量计费。
- cluster
Name String - 集群名称。
- cluster
Type String - 集群类型。
- node
Attribute Property Map - 集群全局的节点信息。
- release
Version String - 集群版本。
- security
Group StringId - 集群全局安全组ID,所有节点组下的ecs都会加入该安全组。
- vpc
Id String - Vpc ID。
- application
Extras List<Property Map> - application
Names List<String> - 集群安装的服务名称列表。创建字段。
- bootstrap
Scripts List<Property Map> - charge
Pre Property MapConfig - 包月的配置参数,当chargeType=PRE时,必选。
- deploy
Mode String - 部署模式。SIMPLE表示简单模式,HIGH_AVAILABLE表示高可用模式。
- history
Server StringMode - HistoryServer模式,LOCAL将活动数据存储于集群内,PHS将活动数据存储于集群外。
- node
Group List<Property Map>Attributes - project
Name String - 资源所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- security
Mode String - 安全模式。
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:
- Account
Id int - 账号ID。
- Applications
List<Volcengine.
Cluster Application> - Cluster
Domain List<string>Names - 集群dns域名后缀列表。
- Cluster
Id string - 集群ID。
- Cluster
State stringValue - 集群状态。
- Created
Time int - 集群创建时间。
- Creator
Id int - 创建者ID。
- Creator
Name string - 创建者名称。
- Ecs
Image stringId - ECS镜像ID。
- Expire
Time int - 集群过期时间。
- Id string
- The provider-assigned unique ID for this managed resource.
- Ready
Time int - 集群创建完成时间。
- State
Change Volcengine.Reason Cluster State Change Reason - 状态变更原因。
- Terminate
Time int - 集群终止时间。
- Account
Id int - 账号ID。
- Applications
[]Cluster
Application - Cluster
Domain []stringNames - 集群dns域名后缀列表。
- Cluster
Id string - 集群ID。
- Cluster
State string - 集群状态。
- Created
Time int - 集群创建时间。
- Creator
Id int - 创建者ID。
- Creator
Name string - 创建者名称。
- Ecs
Image stringId - ECS镜像ID。
- Expire
Time int - 集群过期时间。
- Id string
- The provider-assigned unique ID for this managed resource.
- Ready
Time int - 集群创建完成时间。
- State
Change ClusterReason State Change Reason - 状态变更原因。
- Terminate
Time int - 集群终止时间。
- account
Id Integer - 账号ID。
- applications
List<Cluster
Application> - cluster
Domain List<String>Names - 集群dns域名后缀列表。
- cluster
Id String - 集群ID。
- cluster
State String - 集群状态。
- created
Time Integer - 集群创建时间。
- creator
Id Integer - 创建者ID。
- creator
Name String - 创建者名称。
- ecs
Image StringId - ECS镜像ID。
- expire
Time Integer - 集群过期时间。
- id String
- The provider-assigned unique ID for this managed resource.
- ready
Time Integer - 集群创建完成时间。
- state
Change ClusterReason State Change Reason - 状态变更原因。
- terminate
Time Integer - 集群终止时间。
- account
Id number - 账号ID。
- applications
Cluster
Application[] - cluster
Domain string[]Names - 集群dns域名后缀列表。
- cluster
Id string - 集群ID。
- cluster
State string - 集群状态。
- created
Time number - 集群创建时间。
- creator
Id number - 创建者ID。
- creator
Name string - 创建者名称。
- ecs
Image stringId - ECS镜像ID。
- expire
Time number - 集群过期时间。
- id string
- The provider-assigned unique ID for this managed resource.
- ready
Time number - 集群创建完成时间。
- state
Change ClusterReason State Change Reason - 状态变更原因。
- terminate
Time number - 集群终止时间。
- account_
id int - 账号ID。
- applications
Sequence[Cluster
Application] - cluster_
domain_ Sequence[str]names - 集群dns域名后缀列表。
- cluster_
id str - 集群ID。
- cluster_
state str - 集群状态。
- created_
time int - 集群创建时间。
- creator_
id int - 创建者ID。
- creator_
name str - 创建者名称。
- ecs_
image_ strid - ECS镜像ID。
- expire_
time int - 集群过期时间。
- id str
- The provider-assigned unique ID for this managed resource.
- ready_
time int - 集群创建完成时间。
- state_
change_ Clusterreason State Change Reason - 状态变更原因。
- terminate_
time int - 集群终止时间。
- account
Id Number - 账号ID。
- applications List<Property Map>
- cluster
Domain List<String>Names - 集群dns域名后缀列表。
- cluster
Id String - 集群ID。
- cluster
State String - 集群状态。
- created
Time Number - 集群创建时间。
- creator
Id Number - 创建者ID。
- creator
Name String - 创建者名称。
- ecs
Image StringId - ECS镜像ID。
- expire
Time Number - 集群过期时间。
- id String
- The provider-assigned unique ID for this managed resource.
- ready
Time Number - 集群创建完成时间。
- state
Change Property MapReason - 状态变更原因。
- terminate
Time Number - 集群终止时间。
Look up Existing Cluster Resource
Get an existing Cluster 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?: ClusterState, opts?: CustomResourceOptions): Cluster@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[int] = None,
application_extras: Optional[Sequence[ClusterApplicationExtraArgs]] = None,
application_names: Optional[Sequence[str]] = None,
applications: Optional[Sequence[ClusterApplicationArgs]] = None,
bootstrap_scripts: Optional[Sequence[ClusterBootstrapScriptArgs]] = None,
charge_pre_config: Optional[ClusterChargePreConfigArgs] = None,
charge_type: Optional[str] = None,
cluster_domain_names: Optional[Sequence[str]] = None,
cluster_id: Optional[str] = None,
cluster_name: Optional[str] = None,
cluster_state: Optional[str] = None,
cluster_type: Optional[str] = None,
created_time: Optional[int] = None,
creator_id: Optional[int] = None,
creator_name: Optional[str] = None,
deploy_mode: Optional[str] = None,
ecs_image_id: Optional[str] = None,
expire_time: Optional[int] = None,
history_server_mode: Optional[str] = None,
node_attribute: Optional[ClusterNodeAttributeArgs] = None,
node_group_attributes: Optional[Sequence[ClusterNodeGroupAttributeArgs]] = None,
project_name: Optional[str] = None,
ready_time: Optional[int] = None,
release_version: Optional[str] = None,
security_group_id: Optional[str] = None,
security_mode: Optional[str] = None,
state_change_reason: Optional[ClusterStateChangeReasonArgs] = None,
tags: Optional[Sequence[ClusterTagArgs]] = None,
terminate_time: Optional[int] = None,
vpc_id: Optional[str] = None) -> Clusterfunc GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)resources: _: type: volcenginecc:emr:Cluster 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.
- Account
Id int - 账号ID。
- Application
Extras List<Volcengine.Cluster Application Extra> - Application
Names List<string> - 集群安装的服务名称列表。创建字段。
- Applications
List<Volcengine.
Cluster Application> - Bootstrap
Scripts List<Volcengine.Cluster Bootstrap Script> - Charge
Pre Volcengine.Config Cluster Charge Pre Config - 包月的配置参数,当chargeType=PRE时,必选。
- Charge
Type string - 付费类型,PRE表示包月,POST表示按量计费。
- Cluster
Domain List<string>Names - 集群dns域名后缀列表。
- Cluster
Id string - 集群ID。
- Cluster
Name string - 集群名称。
- Cluster
State stringValue - 集群状态。
- Cluster
Type string - 集群类型。
- Created
Time int - 集群创建时间。
- Creator
Id int - 创建者ID。
- Creator
Name string - 创建者名称。
- Deploy
Mode string - 部署模式。SIMPLE表示简单模式,HIGH_AVAILABLE表示高可用模式。
- Ecs
Image stringId - ECS镜像ID。
- Expire
Time int - 集群过期时间。
- History
Server stringMode - HistoryServer模式,LOCAL将活动数据存储于集群内,PHS将活动数据存储于集群外。
- Node
Attribute Volcengine.Cluster Node Attribute - 集群全局的节点信息。
- Node
Group List<Volcengine.Attributes Cluster Node Group Attribute> - Project
Name string - 资源所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- Ready
Time int - 集群创建完成时间。
- Release
Version string - 集群版本。
- Security
Group stringId - 集群全局安全组ID,所有节点组下的ecs都会加入该安全组。
- Security
Mode string - 安全模式。
- State
Change Volcengine.Reason Cluster State Change Reason - 状态变更原因。
-
List<Volcengine.
Cluster Tag> - Terminate
Time int - 集群终止时间。
- Vpc
Id string - Vpc ID。
- Account
Id int - 账号ID。
- Application
Extras []ClusterApplication Extra Args - Application
Names []string - 集群安装的服务名称列表。创建字段。
- Applications
[]Cluster
Application Args - Bootstrap
Scripts []ClusterBootstrap Script Args - Charge
Pre ClusterConfig Charge Pre Config Args - 包月的配置参数,当chargeType=PRE时,必选。
- Charge
Type string - 付费类型,PRE表示包月,POST表示按量计费。
- Cluster
Domain []stringNames - 集群dns域名后缀列表。
- Cluster
Id string - 集群ID。
- Cluster
Name string - 集群名称。
- Cluster
State string - 集群状态。
- Cluster
Type string - 集群类型。
- Created
Time int - 集群创建时间。
- Creator
Id int - 创建者ID。
- Creator
Name string - 创建者名称。
- Deploy
Mode string - 部署模式。SIMPLE表示简单模式,HIGH_AVAILABLE表示高可用模式。
- Ecs
Image stringId - ECS镜像ID。
- Expire
Time int - 集群过期时间。
- History
Server stringMode - HistoryServer模式,LOCAL将活动数据存储于集群内,PHS将活动数据存储于集群外。
- Node
Attribute ClusterNode Attribute Args - 集群全局的节点信息。
- Node
Group []ClusterAttributes Node Group Attribute Args - Project
Name string - 资源所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- Ready
Time int - 集群创建完成时间。
- Release
Version string - 集群版本。
- Security
Group stringId - 集群全局安全组ID,所有节点组下的ecs都会加入该安全组。
- Security
Mode string - 安全模式。
- State
Change ClusterReason State Change Reason Args - 状态变更原因。
-
[]Cluster
Tag Args - Terminate
Time int - 集群终止时间。
- Vpc
Id string - Vpc ID。
- account
Id Integer - 账号ID。
- application
Extras List<ClusterApplication Extra> - application
Names List<String> - 集群安装的服务名称列表。创建字段。
- applications
List<Cluster
Application> - bootstrap
Scripts List<ClusterBootstrap Script> - charge
Pre ClusterConfig Charge Pre Config - 包月的配置参数,当chargeType=PRE时,必选。
- charge
Type String - 付费类型,PRE表示包月,POST表示按量计费。
- cluster
Domain List<String>Names - 集群dns域名后缀列表。
- cluster
Id String - 集群ID。
- cluster
Name String - 集群名称。
- cluster
State String - 集群状态。
- cluster
Type String - 集群类型。
- created
Time Integer - 集群创建时间。
- creator
Id Integer - 创建者ID。
- creator
Name String - 创建者名称。
- deploy
Mode String - 部署模式。SIMPLE表示简单模式,HIGH_AVAILABLE表示高可用模式。
- ecs
Image StringId - ECS镜像ID。
- expire
Time Integer - 集群过期时间。
- history
Server StringMode - HistoryServer模式,LOCAL将活动数据存储于集群内,PHS将活动数据存储于集群外。
- node
Attribute ClusterNode Attribute - 集群全局的节点信息。
- node
Group List<ClusterAttributes Node Group Attribute> - project
Name String - 资源所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- ready
Time Integer - 集群创建完成时间。
- release
Version String - 集群版本。
- security
Group StringId - 集群全局安全组ID,所有节点组下的ecs都会加入该安全组。
- security
Mode String - 安全模式。
- state
Change ClusterReason State Change Reason - 状态变更原因。
-
List<Cluster
Tag> - terminate
Time Integer - 集群终止时间。
- vpc
Id String - Vpc ID。
- account
Id number - 账号ID。
- application
Extras ClusterApplication Extra[] - application
Names string[] - 集群安装的服务名称列表。创建字段。
- applications
Cluster
Application[] - bootstrap
Scripts ClusterBootstrap Script[] - charge
Pre ClusterConfig Charge Pre Config - 包月的配置参数,当chargeType=PRE时,必选。
- charge
Type string - 付费类型,PRE表示包月,POST表示按量计费。
- cluster
Domain string[]Names - 集群dns域名后缀列表。
- cluster
Id string - 集群ID。
- cluster
Name string - 集群名称。
- cluster
State string - 集群状态。
- cluster
Type string - 集群类型。
- created
Time number - 集群创建时间。
- creator
Id number - 创建者ID。
- creator
Name string - 创建者名称。
- deploy
Mode string - 部署模式。SIMPLE表示简单模式,HIGH_AVAILABLE表示高可用模式。
- ecs
Image stringId - ECS镜像ID。
- expire
Time number - 集群过期时间。
- history
Server stringMode - HistoryServer模式,LOCAL将活动数据存储于集群内,PHS将活动数据存储于集群外。
- node
Attribute ClusterNode Attribute - 集群全局的节点信息。
- node
Group ClusterAttributes Node Group Attribute[] - project
Name string - 资源所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- ready
Time number - 集群创建完成时间。
- release
Version string - 集群版本。
- security
Group stringId - 集群全局安全组ID,所有节点组下的ecs都会加入该安全组。
- security
Mode string - 安全模式。
- state
Change ClusterReason State Change Reason - 状态变更原因。
-
Cluster
Tag[] - terminate
Time number - 集群终止时间。
- vpc
Id string - Vpc ID。
- account_
id int - 账号ID。
- application_
extras Sequence[ClusterApplication Extra Args] - application_
names Sequence[str] - 集群安装的服务名称列表。创建字段。
- applications
Sequence[Cluster
Application Args] - bootstrap_
scripts Sequence[ClusterBootstrap Script Args] - charge_
pre_ Clusterconfig Charge Pre Config Args - 包月的配置参数,当chargeType=PRE时,必选。
- charge_
type str - 付费类型,PRE表示包月,POST表示按量计费。
- cluster_
domain_ Sequence[str]names - 集群dns域名后缀列表。
- cluster_
id str - 集群ID。
- cluster_
name str - 集群名称。
- cluster_
state str - 集群状态。
- cluster_
type str - 集群类型。
- created_
time int - 集群创建时间。
- creator_
id int - 创建者ID。
- creator_
name str - 创建者名称。
- deploy_
mode str - 部署模式。SIMPLE表示简单模式,HIGH_AVAILABLE表示高可用模式。
- ecs_
image_ strid - ECS镜像ID。
- expire_
time int - 集群过期时间。
- history_
server_ strmode - HistoryServer模式,LOCAL将活动数据存储于集群内,PHS将活动数据存储于集群外。
- node_
attribute ClusterNode Attribute Args - 集群全局的节点信息。
- node_
group_ Sequence[Clusterattributes Node Group Attribute Args] - project_
name str - 资源所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- ready_
time int - 集群创建完成时间。
- release_
version str - 集群版本。
- security_
group_ strid - 集群全局安全组ID,所有节点组下的ecs都会加入该安全组。
- security_
mode str - 安全模式。
- state_
change_ Clusterreason State Change Reason Args - 状态变更原因。
-
Sequence[Cluster
Tag Args] - terminate_
time int - 集群终止时间。
- vpc_
id str - Vpc ID。
- account
Id Number - 账号ID。
- application
Extras List<Property Map> - application
Names List<String> - 集群安装的服务名称列表。创建字段。
- applications List<Property Map>
- bootstrap
Scripts List<Property Map> - charge
Pre Property MapConfig - 包月的配置参数,当chargeType=PRE时,必选。
- charge
Type String - 付费类型,PRE表示包月,POST表示按量计费。
- cluster
Domain List<String>Names - 集群dns域名后缀列表。
- cluster
Id String - 集群ID。
- cluster
Name String - 集群名称。
- cluster
State String - 集群状态。
- cluster
Type String - 集群类型。
- created
Time Number - 集群创建时间。
- creator
Id Number - 创建者ID。
- creator
Name String - 创建者名称。
- deploy
Mode String - 部署模式。SIMPLE表示简单模式,HIGH_AVAILABLE表示高可用模式。
- ecs
Image StringId - ECS镜像ID。
- expire
Time Number - 集群过期时间。
- history
Server StringMode - HistoryServer模式,LOCAL将活动数据存储于集群内,PHS将活动数据存储于集群外。
- node
Attribute Property Map - 集群全局的节点信息。
- node
Group List<Property Map>Attributes - project
Name String - 资源所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- ready
Time Number - 集群创建完成时间。
- release
Version String - 集群版本。
- security
Group StringId - 集群全局安全组ID,所有节点组下的ecs都会加入该安全组。
- security
Mode String - 安全模式。
- state
Change Property MapReason - 状态变更原因。
- List<Property Map>
- terminate
Time Number - 集群终止时间。
- vpc
Id String - Vpc ID。
Supporting Types
ClusterApplication, ClusterApplicationArgs
- Application
Config stringHome - 应用配置路径。
- Application
Home string - 应用安装路径。
- Application
Name string - 应用名称。
- Application
State string - 服务状态。NORMAL:正常;WARNING:告警;STOPPED:已停止;INIT:初始化中;INSTALLING:安装中;INSTALLED:已安装;STARTING:启动中;STARTED:已启动;STOPPING:停止中;UNINSTALLING:卸载中;UNINSTALLED:已卸载;EXCEPTION:异常。
- Application
Version string - 应用版本。
- Group string
- 应用用户组。
- Support
Client bool - 是否支持客户端。
- User string
- 应用用户。
- Application
Config stringHome - 应用配置路径。
- Application
Home string - 应用安装路径。
- Application
Name string - 应用名称。
- Application
State string - 服务状态。NORMAL:正常;WARNING:告警;STOPPED:已停止;INIT:初始化中;INSTALLING:安装中;INSTALLED:已安装;STARTING:启动中;STARTED:已启动;STOPPING:停止中;UNINSTALLING:卸载中;UNINSTALLED:已卸载;EXCEPTION:异常。
- Application
Version string - 应用版本。
- Group string
- 应用用户组。
- Support
Client bool - 是否支持客户端。
- User string
- 应用用户。
- application
Config StringHome - 应用配置路径。
- application
Home String - 应用安装路径。
- application
Name String - 应用名称。
- application
State String - 服务状态。NORMAL:正常;WARNING:告警;STOPPED:已停止;INIT:初始化中;INSTALLING:安装中;INSTALLED:已安装;STARTING:启动中;STARTED:已启动;STOPPING:停止中;UNINSTALLING:卸载中;UNINSTALLED:已卸载;EXCEPTION:异常。
- application
Version String - 应用版本。
- group String
- 应用用户组。
- support
Client Boolean - 是否支持客户端。
- user String
- 应用用户。
- application
Config stringHome - 应用配置路径。
- application
Home string - 应用安装路径。
- application
Name string - 应用名称。
- application
State string - 服务状态。NORMAL:正常;WARNING:告警;STOPPED:已停止;INIT:初始化中;INSTALLING:安装中;INSTALLED:已安装;STARTING:启动中;STARTED:已启动;STOPPING:停止中;UNINSTALLING:卸载中;UNINSTALLED:已卸载;EXCEPTION:异常。
- application
Version string - 应用版本。
- group string
- 应用用户组。
- support
Client boolean - 是否支持客户端。
- user string
- 应用用户。
- application_
config_ strhome - 应用配置路径。
- application_
home str - 应用安装路径。
- application_
name str - 应用名称。
- application_
state str - 服务状态。NORMAL:正常;WARNING:告警;STOPPED:已停止;INIT:初始化中;INSTALLING:安装中;INSTALLED:已安装;STARTING:启动中;STARTED:已启动;STOPPING:停止中;UNINSTALLING:卸载中;UNINSTALLED:已卸载;EXCEPTION:异常。
- application_
version str - 应用版本。
- group str
- 应用用户组。
- support_
client bool - 是否支持客户端。
- user str
- 应用用户。
- application
Config StringHome - 应用配置路径。
- application
Home String - 应用安装路径。
- application
Name String - 应用名称。
- application
State String - 服务状态。NORMAL:正常;WARNING:告警;STOPPED:已停止;INIT:初始化中;INSTALLING:安装中;INSTALLED:已安装;STARTING:启动中;STARTED:已启动;STOPPING:停止中;UNINSTALLING:卸载中;UNINSTALLED:已卸载;EXCEPTION:异常。
- application
Version String - 应用版本。
- group String
- 应用用户组。
- support
Client Boolean - 是否支持客户端。
- user String
- 应用用户。
ClusterApplicationExtra, ClusterApplicationExtraArgs
- Application
Component List<Volcengine.Layouts Cluster Application Extra Application Component Layout> - Application
Configs List<Volcengine.Cluster Application Extra Application Config> - Application
Name string - 应用名称。
- Connection
Id string - 元数据连接id。
- Connection
Type string - 元数据连接类型。BUILTINMYSQL:内置数据库。EXTERNALMYSQL:外置数据库。HIVEMETASTORE:HMS。
- Application
Component []ClusterLayouts Application Extra Application Component Layout - Application
Configs []ClusterApplication Extra Application Config - Application
Name string - 应用名称。
- Connection
Id string - 元数据连接id。
- Connection
Type string - 元数据连接类型。BUILTINMYSQL:内置数据库。EXTERNALMYSQL:外置数据库。HIVEMETASTORE:HMS。
- application
Component List<ClusterLayouts Application Extra Application Component Layout> - application
Configs List<ClusterApplication Extra Application Config> - application
Name String - 应用名称。
- connection
Id String - 元数据连接id。
- connection
Type String - 元数据连接类型。BUILTINMYSQL:内置数据库。EXTERNALMYSQL:外置数据库。HIVEMETASTORE:HMS。
- application
Component ClusterLayouts Application Extra Application Component Layout[] - application
Configs ClusterApplication Extra Application Config[] - application
Name string - 应用名称。
- connection
Id string - 元数据连接id。
- connection
Type string - 元数据连接类型。BUILTINMYSQL:内置数据库。EXTERNALMYSQL:外置数据库。HIVEMETASTORE:HMS。
- application_
component_ Sequence[Clusterlayouts Application Extra Application Component Layout] - application_
configs Sequence[ClusterApplication Extra Application Config] - application_
name str - 应用名称。
- connection_
id str - 元数据连接id。
- connection_
type str - 元数据连接类型。BUILTINMYSQL:内置数据库。EXTERNALMYSQL:外置数据库。HIVEMETASTORE:HMS。
- application
Component List<Property Map>Layouts - application
Configs List<Property Map> - application
Name String - 应用名称。
- connection
Id String - 元数据连接id。
- connection
Type String - 元数据连接类型。BUILTINMYSQL:内置数据库。EXTERNALMYSQL:外置数据库。HIVEMETASTORE:HMS。
ClusterApplicationExtraApplicationComponentLayout, ClusterApplicationExtraApplicationComponentLayoutArgs
- component
Name String - 组件名称。
- effective
Scope Property Map - 组件的布局范围。
ClusterApplicationExtraApplicationComponentLayoutEffectiveScope, ClusterApplicationExtraApplicationComponentLayoutEffectiveScopeArgs
- Component
Names List<string> - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- Effective
Type string - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- Node
Group List<string>Ids - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- Node
Group List<string>Names - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- Node
Group List<string>Types - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- Node
Ids List<string> - 节点ID列表,EffectiveType=NODE_ID时,必选。
- Node
Names List<string> - 节点名列表,EffectiveType=NODE_NAME时,必选。
- Component
Names []string - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- Effective
Type string - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- Node
Group []stringIds - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- Node
Group []stringNames - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- Node
Group []stringTypes - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- Node
Ids []string - 节点ID列表,EffectiveType=NODE_ID时,必选。
- Node
Names []string - 节点名列表,EffectiveType=NODE_NAME时,必选。
- component
Names List<String> - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- effective
Type String - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- node
Group List<String>Ids - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- node
Group List<String>Names - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- node
Group List<String>Types - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- node
Ids List<String> - 节点ID列表,EffectiveType=NODE_ID时,必选。
- node
Names List<String> - 节点名列表,EffectiveType=NODE_NAME时,必选。
- component
Names string[] - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- effective
Type string - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- node
Group string[]Ids - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- node
Group string[]Names - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- node
Group string[]Types - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- node
Ids string[] - 节点ID列表,EffectiveType=NODE_ID时,必选。
- node
Names string[] - 节点名列表,EffectiveType=NODE_NAME时,必选。
- component_
names Sequence[str] - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- effective_
type str - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- node_
group_ Sequence[str]ids - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- node_
group_ Sequence[str]names - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- node_
group_ Sequence[str]types - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- node_
ids Sequence[str] - 节点ID列表,EffectiveType=NODE_ID时,必选。
- node_
names Sequence[str] - 节点名列表,EffectiveType=NODE_NAME时,必选。
- component
Names List<String> - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- effective
Type String - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- node
Group List<String>Ids - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- node
Group List<String>Names - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- node
Group List<String>Types - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- node
Ids List<String> - 节点ID列表,EffectiveType=NODE_ID时,必选。
- node
Names List<String> - 节点名列表,EffectiveType=NODE_NAME时,必选。
ClusterApplicationExtraApplicationConfig, ClusterApplicationExtraApplicationConfigArgs
- Component
Instance stringName - 组件实例名称。
- Component
Name string - 组件名称。
- Config
File stringName - 配置文件名。
- Config
Item stringKey - 配置项名称。
- Config
Item stringValue - 配置项值。
- Deleted bool
- 是否删除。
- Effective
Scope Volcengine.Cluster Application Extra Application Config Effective Scope - 影响组件。
- Component
Instance stringName - 组件实例名称。
- Component
Name string - 组件名称。
- Config
File stringName - 配置文件名。
- Config
Item stringKey - 配置项名称。
- Config
Item stringValue - 配置项值。
- Deleted bool
- 是否删除。
- Effective
Scope ClusterApplication Extra Application Config Effective Scope - 影响组件。
- component
Instance StringName - 组件实例名称。
- component
Name String - 组件名称。
- config
File StringName - 配置文件名。
- config
Item StringKey - 配置项名称。
- config
Item StringValue - 配置项值。
- deleted Boolean
- 是否删除。
- effective
Scope ClusterApplication Extra Application Config Effective Scope - 影响组件。
- component
Instance stringName - 组件实例名称。
- component
Name string - 组件名称。
- config
File stringName - 配置文件名。
- config
Item stringKey - 配置项名称。
- config
Item stringValue - 配置项值。
- deleted boolean
- 是否删除。
- effective
Scope ClusterApplication Extra Application Config Effective Scope - 影响组件。
- component_
instance_ strname - 组件实例名称。
- component_
name str - 组件名称。
- config_
file_ strname - 配置文件名。
- config_
item_ strkey - 配置项名称。
- config_
item_ strvalue - 配置项值。
- deleted bool
- 是否删除。
- effective_
scope ClusterApplication Extra Application Config Effective Scope - 影响组件。
- component
Instance StringName - 组件实例名称。
- component
Name String - 组件名称。
- config
File StringName - 配置文件名。
- config
Item StringKey - 配置项名称。
- config
Item StringValue - 配置项值。
- deleted Boolean
- 是否删除。
- effective
Scope Property Map - 影响组件。
ClusterApplicationExtraApplicationConfigEffectiveScope, ClusterApplicationExtraApplicationConfigEffectiveScopeArgs
- Component
Names List<string> - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- Effective
Type string - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- Node
Group List<string>Ids - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- Node
Group List<string>Names - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- Node
Group List<string>Types - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- Node
Ids List<string> - 节点ID列表,EffectiveType=NODE_ID时,必选。
- Node
Names List<string> - 节点名列表,EffectiveType=NODE_NAME时,必选。
- Component
Names []string - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- Effective
Type string - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- Node
Group []stringIds - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- Node
Group []stringNames - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- Node
Group []stringTypes - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- Node
Ids []string - 节点ID列表,EffectiveType=NODE_ID时,必选。
- Node
Names []string - 节点名列表,EffectiveType=NODE_NAME时,必选。
- component
Names List<String> - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- effective
Type String - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- node
Group List<String>Ids - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- node
Group List<String>Names - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- node
Group List<String>Types - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- node
Ids List<String> - 节点ID列表,EffectiveType=NODE_ID时,必选。
- node
Names List<String> - 节点名列表,EffectiveType=NODE_NAME时,必选。
- component
Names string[] - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- effective
Type string - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- node
Group string[]Ids - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- node
Group string[]Names - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- node
Group string[]Types - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- node
Ids string[] - 节点ID列表,EffectiveType=NODE_ID时,必选。
- node
Names string[] - 节点名列表,EffectiveType=NODE_NAME时,必选。
- component_
names Sequence[str] - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- effective_
type str - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- node_
group_ Sequence[str]ids - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- node_
group_ Sequence[str]names - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- node_
group_ Sequence[str]types - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- node_
ids Sequence[str] - 节点ID列表,EffectiveType=NODE_ID时,必选。
- node_
names Sequence[str] - 节点名列表,EffectiveType=NODE_NAME时,必选。
- component
Names List<String> - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- effective
Type String - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- node
Group List<String>Ids - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- node
Group List<String>Names - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- node
Group List<String>Types - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- node
Ids List<String> - 节点ID列表,EffectiveType=NODE_ID时,必选。
- node
Names List<String> - 节点名列表,EffectiveType=NODE_NAME时,必选。
ClusterBootstrapScript, ClusterBootstrapScriptArgs
- Effective
Scope Volcengine.Cluster Bootstrap Script Effective Scope - 脚本执行范围。
- Execution
Fail stringStrategy - 执行失败策略。取值范围:FAILEDCONTINUE:失败后继续执行其他任务。FAILEDBLOCK:失败后中断,不再继续执行后续任务。当脚本为BOOTSTRAP时,会导致创建集群、扩容节点组操作中断并失败。默认值:FAILED_BLOCK。
- Execution
Moment string - 脚本的执行时机。仅scriptType=BOOTSTRAP时生效。BEFOREAPPLICATIONINSTALL:应用安装前。AFTERAPPLICATIONSTARTED:应用启动后。默认值:BEFOREAPPINSTALL
- Priority string
- 脚本执行优先级。取值范围:1~1000。默认值1。
- Script
Args string - 脚本参数。
- Script
Name string - 脚本名称。必填。长度为1~128个字符,必须以大小字母或中文开头,不能以 http:: 和 https:: 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-)。
- Script
Path string - 脚本所在TOS路径。必填。以 tos:: 开头。
- Script
Type string - 脚本类型。NORMAL:普通脚本。BOOTSTRAP:引导脚本。
- Effective
Scope ClusterBootstrap Script Effective Scope - 脚本执行范围。
- Execution
Fail stringStrategy - 执行失败策略。取值范围:FAILEDCONTINUE:失败后继续执行其他任务。FAILEDBLOCK:失败后中断,不再继续执行后续任务。当脚本为BOOTSTRAP时,会导致创建集群、扩容节点组操作中断并失败。默认值:FAILED_BLOCK。
- Execution
Moment string - 脚本的执行时机。仅scriptType=BOOTSTRAP时生效。BEFOREAPPLICATIONINSTALL:应用安装前。AFTERAPPLICATIONSTARTED:应用启动后。默认值:BEFOREAPPINSTALL
- Priority string
- 脚本执行优先级。取值范围:1~1000。默认值1。
- Script
Args string - 脚本参数。
- Script
Name string - 脚本名称。必填。长度为1~128个字符,必须以大小字母或中文开头,不能以 http:: 和 https:: 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-)。
- Script
Path string - 脚本所在TOS路径。必填。以 tos:: 开头。
- Script
Type string - 脚本类型。NORMAL:普通脚本。BOOTSTRAP:引导脚本。
- effective
Scope ClusterBootstrap Script Effective Scope - 脚本执行范围。
- execution
Fail StringStrategy - 执行失败策略。取值范围:FAILEDCONTINUE:失败后继续执行其他任务。FAILEDBLOCK:失败后中断,不再继续执行后续任务。当脚本为BOOTSTRAP时,会导致创建集群、扩容节点组操作中断并失败。默认值:FAILED_BLOCK。
- execution
Moment String - 脚本的执行时机。仅scriptType=BOOTSTRAP时生效。BEFOREAPPLICATIONINSTALL:应用安装前。AFTERAPPLICATIONSTARTED:应用启动后。默认值:BEFOREAPPINSTALL
- priority String
- 脚本执行优先级。取值范围:1~1000。默认值1。
- script
Args String - 脚本参数。
- script
Name String - 脚本名称。必填。长度为1~128个字符,必须以大小字母或中文开头,不能以 http:: 和 https:: 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-)。
- script
Path String - 脚本所在TOS路径。必填。以 tos:: 开头。
- script
Type String - 脚本类型。NORMAL:普通脚本。BOOTSTRAP:引导脚本。
- effective
Scope ClusterBootstrap Script Effective Scope - 脚本执行范围。
- execution
Fail stringStrategy - 执行失败策略。取值范围:FAILEDCONTINUE:失败后继续执行其他任务。FAILEDBLOCK:失败后中断,不再继续执行后续任务。当脚本为BOOTSTRAP时,会导致创建集群、扩容节点组操作中断并失败。默认值:FAILED_BLOCK。
- execution
Moment string - 脚本的执行时机。仅scriptType=BOOTSTRAP时生效。BEFOREAPPLICATIONINSTALL:应用安装前。AFTERAPPLICATIONSTARTED:应用启动后。默认值:BEFOREAPPINSTALL
- priority string
- 脚本执行优先级。取值范围:1~1000。默认值1。
- script
Args string - 脚本参数。
- script
Name string - 脚本名称。必填。长度为1~128个字符,必须以大小字母或中文开头,不能以 http:: 和 https:: 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-)。
- script
Path string - 脚本所在TOS路径。必填。以 tos:: 开头。
- script
Type string - 脚本类型。NORMAL:普通脚本。BOOTSTRAP:引导脚本。
- effective_
scope ClusterBootstrap Script Effective Scope - 脚本执行范围。
- execution_
fail_ strstrategy - 执行失败策略。取值范围:FAILEDCONTINUE:失败后继续执行其他任务。FAILEDBLOCK:失败后中断,不再继续执行后续任务。当脚本为BOOTSTRAP时,会导致创建集群、扩容节点组操作中断并失败。默认值:FAILED_BLOCK。
- execution_
moment str - 脚本的执行时机。仅scriptType=BOOTSTRAP时生效。BEFOREAPPLICATIONINSTALL:应用安装前。AFTERAPPLICATIONSTARTED:应用启动后。默认值:BEFOREAPPINSTALL
- priority str
- 脚本执行优先级。取值范围:1~1000。默认值1。
- script_
args str - 脚本参数。
- script_
name str - 脚本名称。必填。长度为1~128个字符,必须以大小字母或中文开头,不能以 http:: 和 https:: 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-)。
- script_
path str - 脚本所在TOS路径。必填。以 tos:: 开头。
- script_
type str - 脚本类型。NORMAL:普通脚本。BOOTSTRAP:引导脚本。
- effective
Scope Property Map - 脚本执行范围。
- execution
Fail StringStrategy - 执行失败策略。取值范围:FAILEDCONTINUE:失败后继续执行其他任务。FAILEDBLOCK:失败后中断,不再继续执行后续任务。当脚本为BOOTSTRAP时,会导致创建集群、扩容节点组操作中断并失败。默认值:FAILED_BLOCK。
- execution
Moment String - 脚本的执行时机。仅scriptType=BOOTSTRAP时生效。BEFOREAPPLICATIONINSTALL:应用安装前。AFTERAPPLICATIONSTARTED:应用启动后。默认值:BEFOREAPPINSTALL
- priority String
- 脚本执行优先级。取值范围:1~1000。默认值1。
- script
Args String - 脚本参数。
- script
Name String - 脚本名称。必填。长度为1~128个字符,必须以大小字母或中文开头,不能以 http:: 和 https:: 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-)。
- script
Path String - 脚本所在TOS路径。必填。以 tos:: 开头。
- script
Type String - 脚本类型。NORMAL:普通脚本。BOOTSTRAP:引导脚本。
ClusterBootstrapScriptEffectiveScope, ClusterBootstrapScriptEffectiveScopeArgs
- Component
Names List<string> - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- Effective
Type string - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- Node
Group List<string>Ids - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- Node
Group List<string>Names - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- Node
Group List<string>Types - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- Node
Ids List<string> - 节点ID列表,EffectiveType=NODE_ID时,必选。
- Node
Names List<string> - 节点名列表,EffectiveType=NODE_NAME时,必选。
- Component
Names []string - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- Effective
Type string - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- Node
Group []stringIds - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- Node
Group []stringNames - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- Node
Group []stringTypes - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- Node
Ids []string - 节点ID列表,EffectiveType=NODE_ID时,必选。
- Node
Names []string - 节点名列表,EffectiveType=NODE_NAME时,必选。
- component
Names List<String> - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- effective
Type String - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- node
Group List<String>Ids - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- node
Group List<String>Names - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- node
Group List<String>Types - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- node
Ids List<String> - 节点ID列表,EffectiveType=NODE_ID时,必选。
- node
Names List<String> - 节点名列表,EffectiveType=NODE_NAME时,必选。
- component
Names string[] - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- effective
Type string - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- node
Group string[]Ids - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- node
Group string[]Names - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- node
Group string[]Types - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- node
Ids string[] - 节点ID列表,EffectiveType=NODE_ID时,必选。
- node
Names string[] - 节点名列表,EffectiveType=NODE_NAME时,必选。
- component_
names Sequence[str] - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- effective_
type str - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- node_
group_ Sequence[str]ids - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- node_
group_ Sequence[str]names - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- node_
group_ Sequence[str]types - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- node_
ids Sequence[str] - 节点ID列表,EffectiveType=NODE_ID时,必选。
- node_
names Sequence[str] - 节点名列表,EffectiveType=NODE_NAME时,必选。
- component
Names List<String> - 组件名列表,当EffectiveType=COMPONENT_NAME,必选。
- effective
Type String - 生效类型。CLUSTER,NODEGROUPNAME,NODEGROUPID,NODEGROUPTYPE,NODENAME,NODEID,COMPONENT_NAME。
- node
Group List<String>Ids - 节点组ID列表,EffectiveType=NODEGROUPID时,必选。
- node
Group List<String>Names - 节点组名称列表,EffectiveType=NODEGROUPNAME时,必选。
- node
Group List<String>Types - 节点组类型列表,EffectiveType=NODEGROUPTYPE时,必选。目前包括MASTER、CORE、TASK。
- node
Ids List<String> - 节点ID列表,EffectiveType=NODE_ID时,必选。
- node
Names List<String> - 节点名列表,EffectiveType=NODE_NAME时,必选。
ClusterChargePreConfig, ClusterChargePreConfigArgs
- Auto
Renew bool - 是否开启自动续费。取值范围:true:开启。false:不开启。
- Auto
Renew intPeriod - 自动续费触发时的续费时长,当AutoRenew=true时,默认值=1。
- Auto
Renew stringPeriod Unit - 自动续费触发时的续费时长单位,当AutoRenew=true时,默认值=Month。取值范围:Month:月。Year:年。
- Charge
Period int - chargeType=PRE默认值=1,包月的购买时长单位。
- Charge
Period stringUnit - chargeType=PRE时,默认值=Month,包月的购买时长单位,取值范围:Month:月。Year:年。
- Charge
Type string - 付费类型,取值范围:PRE,POST。
- Auto
Renew bool - 是否开启自动续费。取值范围:true:开启。false:不开启。
- Auto
Renew intPeriod - 自动续费触发时的续费时长,当AutoRenew=true时,默认值=1。
- Auto
Renew stringPeriod Unit - 自动续费触发时的续费时长单位,当AutoRenew=true时,默认值=Month。取值范围:Month:月。Year:年。
- Charge
Period int - chargeType=PRE默认值=1,包月的购买时长单位。
- Charge
Period stringUnit - chargeType=PRE时,默认值=Month,包月的购买时长单位,取值范围:Month:月。Year:年。
- Charge
Type string - 付费类型,取值范围:PRE,POST。
- auto
Renew Boolean - 是否开启自动续费。取值范围:true:开启。false:不开启。
- auto
Renew IntegerPeriod - 自动续费触发时的续费时长,当AutoRenew=true时,默认值=1。
- auto
Renew StringPeriod Unit - 自动续费触发时的续费时长单位,当AutoRenew=true时,默认值=Month。取值范围:Month:月。Year:年。
- charge
Period Integer - chargeType=PRE默认值=1,包月的购买时长单位。
- charge
Period StringUnit - chargeType=PRE时,默认值=Month,包月的购买时长单位,取值范围:Month:月。Year:年。
- charge
Type String - 付费类型,取值范围:PRE,POST。
- auto
Renew boolean - 是否开启自动续费。取值范围:true:开启。false:不开启。
- auto
Renew numberPeriod - 自动续费触发时的续费时长,当AutoRenew=true时,默认值=1。
- auto
Renew stringPeriod Unit - 自动续费触发时的续费时长单位,当AutoRenew=true时,默认值=Month。取值范围:Month:月。Year:年。
- charge
Period number - chargeType=PRE默认值=1,包月的购买时长单位。
- charge
Period stringUnit - chargeType=PRE时,默认值=Month,包月的购买时长单位,取值范围:Month:月。Year:年。
- charge
Type string - 付费类型,取值范围:PRE,POST。
- auto_
renew bool - 是否开启自动续费。取值范围:true:开启。false:不开启。
- auto_
renew_ intperiod - 自动续费触发时的续费时长,当AutoRenew=true时,默认值=1。
- auto_
renew_ strperiod_ unit - 自动续费触发时的续费时长单位,当AutoRenew=true时,默认值=Month。取值范围:Month:月。Year:年。
- charge_
period int - chargeType=PRE默认值=1,包月的购买时长单位。
- charge_
period_ strunit - chargeType=PRE时,默认值=Month,包月的购买时长单位,取值范围:Month:月。Year:年。
- charge_
type str - 付费类型,取值范围:PRE,POST。
- auto
Renew Boolean - 是否开启自动续费。取值范围:true:开启。false:不开启。
- auto
Renew NumberPeriod - 自动续费触发时的续费时长,当AutoRenew=true时,默认值=1。
- auto
Renew StringPeriod Unit - 自动续费触发时的续费时长单位,当AutoRenew=true时,默认值=Month。取值范围:Month:月。Year:年。
- charge
Period Number - chargeType=PRE默认值=1,包月的购买时长单位。
- charge
Period StringUnit - chargeType=PRE时,默认值=Month,包月的购买时长单位,取值范围:Month:月。Year:年。
- charge
Type String - 付费类型,取值范围:PRE,POST。
ClusterNodeAttribute, ClusterNodeAttributeArgs
- Ecs
Iam stringRole - ECS实例角色。
- Zone
Id string - 可用区ID。
- Ecs
Iam stringRole - ECS实例角色。
- Zone
Id string - 可用区ID。
- ecs
Iam StringRole - ECS实例角色。
- zone
Id String - 可用区ID。
- ecs
Iam stringRole - ECS实例角色。
- zone
Id string - 可用区ID。
- ecs_
iam_ strrole - ECS实例角色。
- zone_
id str - 可用区ID。
- ecs
Iam StringRole - ECS实例角色。
- zone
Id String - 可用区ID。
ClusterNodeGroupAttribute, ClusterNodeGroupAttributeArgs
- Bandwidth int
- 公网带宽。默认值 8M。后续如果用户侧调整了,emr侧需要同步该信息。
- Charge
Type string - 节点组付费类型。为空时,复用集群的chargeType。Master、Core组必须复用集群维度的付费类型。当集群的chargeType为PRE时,task节点组的chargeType允许设置为POST;当集群的chargeType为POST时,节点组的chargeType默认为POST,节点组上的此参数设置无效。
- Data
Disks List<Volcengine.Cluster Node Group Attribute Data Disk> - Ecs
Instance List<string>Types - 节点组的ecs机型列表。当前只支持设置1个机型。即List的长度限制为1。
- Ecs
Key stringPair Name - ecs的密钥对名称。
- Ecs
Password string - Ecs root账号的密码。
- Node
Count int - 节点组当前期望购买的节点数量。
- Node
Group stringName - 长度为1~128个字符,不能以 http:: 和 https:: 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-)。
- Node
Group stringType - 节点组类型。
- Subnet
Ids List<string> - 子网Id列表,目前只能传递一个参数,且各节点组的子网Id都是相同的。
- System
Disk Volcengine.Cluster Node Group Attribute System Disk - 系统盘配置。
- With
Public boolIp - 是否挂载公网ip。
- Zone
Id string - 可用区ID。
- Bandwidth int
- 公网带宽。默认值 8M。后续如果用户侧调整了,emr侧需要同步该信息。
- Charge
Type string - 节点组付费类型。为空时,复用集群的chargeType。Master、Core组必须复用集群维度的付费类型。当集群的chargeType为PRE时,task节点组的chargeType允许设置为POST;当集群的chargeType为POST时,节点组的chargeType默认为POST,节点组上的此参数设置无效。
- Data
Disks []ClusterNode Group Attribute Data Disk - Ecs
Instance []stringTypes - 节点组的ecs机型列表。当前只支持设置1个机型。即List的长度限制为1。
- Ecs
Key stringPair Name - ecs的密钥对名称。
- Ecs
Password string - Ecs root账号的密码。
- Node
Count int - 节点组当前期望购买的节点数量。
- Node
Group stringName - 长度为1~128个字符,不能以 http:: 和 https:: 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-)。
- Node
Group stringType - 节点组类型。
- Subnet
Ids []string - 子网Id列表,目前只能传递一个参数,且各节点组的子网Id都是相同的。
- System
Disk ClusterNode Group Attribute System Disk - 系统盘配置。
- With
Public boolIp - 是否挂载公网ip。
- Zone
Id string - 可用区ID。
- bandwidth Integer
- 公网带宽。默认值 8M。后续如果用户侧调整了,emr侧需要同步该信息。
- charge
Type String - 节点组付费类型。为空时,复用集群的chargeType。Master、Core组必须复用集群维度的付费类型。当集群的chargeType为PRE时,task节点组的chargeType允许设置为POST;当集群的chargeType为POST时,节点组的chargeType默认为POST,节点组上的此参数设置无效。
- data
Disks List<ClusterNode Group Attribute Data Disk> - ecs
Instance List<String>Types - 节点组的ecs机型列表。当前只支持设置1个机型。即List的长度限制为1。
- ecs
Key StringPair Name - ecs的密钥对名称。
- ecs
Password String - Ecs root账号的密码。
- node
Count Integer - 节点组当前期望购买的节点数量。
- node
Group StringName - 长度为1~128个字符,不能以 http:: 和 https:: 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-)。
- node
Group StringType - 节点组类型。
- subnet
Ids List<String> - 子网Id列表,目前只能传递一个参数,且各节点组的子网Id都是相同的。
- system
Disk ClusterNode Group Attribute System Disk - 系统盘配置。
- with
Public BooleanIp - 是否挂载公网ip。
- zone
Id String - 可用区ID。
- bandwidth number
- 公网带宽。默认值 8M。后续如果用户侧调整了,emr侧需要同步该信息。
- charge
Type string - 节点组付费类型。为空时,复用集群的chargeType。Master、Core组必须复用集群维度的付费类型。当集群的chargeType为PRE时,task节点组的chargeType允许设置为POST;当集群的chargeType为POST时,节点组的chargeType默认为POST,节点组上的此参数设置无效。
- data
Disks ClusterNode Group Attribute Data Disk[] - ecs
Instance string[]Types - 节点组的ecs机型列表。当前只支持设置1个机型。即List的长度限制为1。
- ecs
Key stringPair Name - ecs的密钥对名称。
- ecs
Password string - Ecs root账号的密码。
- node
Count number - 节点组当前期望购买的节点数量。
- node
Group stringName - 长度为1~128个字符,不能以 http:: 和 https:: 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-)。
- node
Group stringType - 节点组类型。
- subnet
Ids string[] - 子网Id列表,目前只能传递一个参数,且各节点组的子网Id都是相同的。
- system
Disk ClusterNode Group Attribute System Disk - 系统盘配置。
- with
Public booleanIp - 是否挂载公网ip。
- zone
Id string - 可用区ID。
- bandwidth int
- 公网带宽。默认值 8M。后续如果用户侧调整了,emr侧需要同步该信息。
- charge_
type str - 节点组付费类型。为空时,复用集群的chargeType。Master、Core组必须复用集群维度的付费类型。当集群的chargeType为PRE时,task节点组的chargeType允许设置为POST;当集群的chargeType为POST时,节点组的chargeType默认为POST,节点组上的此参数设置无效。
- data_
disks Sequence[ClusterNode Group Attribute Data Disk] - ecs_
instance_ Sequence[str]types - 节点组的ecs机型列表。当前只支持设置1个机型。即List的长度限制为1。
- ecs_
key_ strpair_ name - ecs的密钥对名称。
- ecs_
password str - Ecs root账号的密码。
- node_
count int - 节点组当前期望购买的节点数量。
- node_
group_ strname - 长度为1~128个字符,不能以 http:: 和 https:: 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-)。
- node_
group_ strtype - 节点组类型。
- subnet_
ids Sequence[str] - 子网Id列表,目前只能传递一个参数,且各节点组的子网Id都是相同的。
- system_
disk ClusterNode Group Attribute System Disk - 系统盘配置。
- with_
public_ boolip - 是否挂载公网ip。
- zone_
id str - 可用区ID。
- bandwidth Number
- 公网带宽。默认值 8M。后续如果用户侧调整了,emr侧需要同步该信息。
- charge
Type String - 节点组付费类型。为空时,复用集群的chargeType。Master、Core组必须复用集群维度的付费类型。当集群的chargeType为PRE时,task节点组的chargeType允许设置为POST;当集群的chargeType为POST时,节点组的chargeType默认为POST,节点组上的此参数设置无效。
- data
Disks List<Property Map> - ecs
Instance List<String>Types - 节点组的ecs机型列表。当前只支持设置1个机型。即List的长度限制为1。
- ecs
Key StringPair Name - ecs的密钥对名称。
- ecs
Password String - Ecs root账号的密码。
- node
Count Number - 节点组当前期望购买的节点数量。
- node
Group StringName - 长度为1~128个字符,不能以 http:: 和 https:: 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-)。
- node
Group StringType - 节点组类型。
- subnet
Ids List<String> - 子网Id列表,目前只能传递一个参数,且各节点组的子网Id都是相同的。
- system
Disk Property Map - 系统盘配置。
- with
Public BooleanIp - 是否挂载公网ip。
- zone
Id String - 可用区ID。
ClusterNodeGroupAttributeDataDisk, ClusterNodeGroupAttributeDataDiskArgs
- Count int
- 磁盘块数,默认值4,最大15,最小1。
- Size int
- 磁盘大小,默认值80GB,最小60GB,最大2048GB,单位GB。
- Volume
Type string - 磁盘类型。ESSDPL0 :极速型SSDPL0。ESSDPL1 :极速型SSDPL1。ESSDPL2 :极速型SSDPL2。ESSDPL3 :极速型SSDPL3。ESSDFLEXPL :极速型SSDFlexPL。ULTRADISK :高效云盘。PTSSD :性能型SSD。SSD :通用型SSD。EHDD :高效云盘。ZENYASSD :Zenya。LOCALHDD :大数据型HDD。LOCALSSD :本地SSD型。LOCALSSDSRIOV :本地SSD型SRIOV
- Count int
- 磁盘块数,默认值4,最大15,最小1。
- Size int
- 磁盘大小,默认值80GB,最小60GB,最大2048GB,单位GB。
- Volume
Type string - 磁盘类型。ESSDPL0 :极速型SSDPL0。ESSDPL1 :极速型SSDPL1。ESSDPL2 :极速型SSDPL2。ESSDPL3 :极速型SSDPL3。ESSDFLEXPL :极速型SSDFlexPL。ULTRADISK :高效云盘。PTSSD :性能型SSD。SSD :通用型SSD。EHDD :高效云盘。ZENYASSD :Zenya。LOCALHDD :大数据型HDD。LOCALSSD :本地SSD型。LOCALSSDSRIOV :本地SSD型SRIOV
- count Integer
- 磁盘块数,默认值4,最大15,最小1。
- size Integer
- 磁盘大小,默认值80GB,最小60GB,最大2048GB,单位GB。
- volume
Type String - 磁盘类型。ESSDPL0 :极速型SSDPL0。ESSDPL1 :极速型SSDPL1。ESSDPL2 :极速型SSDPL2。ESSDPL3 :极速型SSDPL3。ESSDFLEXPL :极速型SSDFlexPL。ULTRADISK :高效云盘。PTSSD :性能型SSD。SSD :通用型SSD。EHDD :高效云盘。ZENYASSD :Zenya。LOCALHDD :大数据型HDD。LOCALSSD :本地SSD型。LOCALSSDSRIOV :本地SSD型SRIOV
- count number
- 磁盘块数,默认值4,最大15,最小1。
- size number
- 磁盘大小,默认值80GB,最小60GB,最大2048GB,单位GB。
- volume
Type string - 磁盘类型。ESSDPL0 :极速型SSDPL0。ESSDPL1 :极速型SSDPL1。ESSDPL2 :极速型SSDPL2。ESSDPL3 :极速型SSDPL3。ESSDFLEXPL :极速型SSDFlexPL。ULTRADISK :高效云盘。PTSSD :性能型SSD。SSD :通用型SSD。EHDD :高效云盘。ZENYASSD :Zenya。LOCALHDD :大数据型HDD。LOCALSSD :本地SSD型。LOCALSSDSRIOV :本地SSD型SRIOV
- count int
- 磁盘块数,默认值4,最大15,最小1。
- size int
- 磁盘大小,默认值80GB,最小60GB,最大2048GB,单位GB。
- volume_
type str - 磁盘类型。ESSDPL0 :极速型SSDPL0。ESSDPL1 :极速型SSDPL1。ESSDPL2 :极速型SSDPL2。ESSDPL3 :极速型SSDPL3。ESSDFLEXPL :极速型SSDFlexPL。ULTRADISK :高效云盘。PTSSD :性能型SSD。SSD :通用型SSD。EHDD :高效云盘。ZENYASSD :Zenya。LOCALHDD :大数据型HDD。LOCALSSD :本地SSD型。LOCALSSDSRIOV :本地SSD型SRIOV
- count Number
- 磁盘块数,默认值4,最大15,最小1。
- size Number
- 磁盘大小,默认值80GB,最小60GB,最大2048GB,单位GB。
- volume
Type String - 磁盘类型。ESSDPL0 :极速型SSDPL0。ESSDPL1 :极速型SSDPL1。ESSDPL2 :极速型SSDPL2。ESSDPL3 :极速型SSDPL3。ESSDFLEXPL :极速型SSDFlexPL。ULTRADISK :高效云盘。PTSSD :性能型SSD。SSD :通用型SSD。EHDD :高效云盘。ZENYASSD :Zenya。LOCALHDD :大数据型HDD。LOCALSSD :本地SSD型。LOCALSSDSRIOV :本地SSD型SRIOV
ClusterNodeGroupAttributeSystemDisk, ClusterNodeGroupAttributeSystemDiskArgs
- Size int
- 磁盘大小。
- Volume
Type string - 磁盘类型。
- Size int
- 磁盘大小。
- Volume
Type string - 磁盘类型。
- size Integer
- 磁盘大小。
- volume
Type String - 磁盘类型。
- size number
- 磁盘大小。
- volume
Type string - 磁盘类型。
- size int
- 磁盘大小。
- volume_
type str - 磁盘类型。
- size Number
- 磁盘大小。
- volume
Type String - 磁盘类型。
ClusterStateChangeReason, ClusterStateChangeReasonArgs
ClusterTag, ClusterTagArgs
Import
$ pulumi import volcenginecc:emr/cluster:Cluster example "cluster_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Mar 26, 2026 by Volcengine
