published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
An E-MapReduce cluster consists of multiple types of instance nodes, including master instance nodes (Master), core instance nodes (Core), and task instance nodes (Task). Different service processes are deployed on each node type, and each is responsible for different tasks.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
eMRNodeGroupDemo:
type: bytepluscc:emr:NodeGroup
name: EMRNodeGroupDemo
properties:
clusterId: emr-cluster-123456789xxxxx
zoneId: ap-southeast-1a
nodeGroupName: CoreGroup-1002
nodeGroupType: CORE
withPublicIp: false
targetDiskSize: 120
nodeCount: 2
chargeType: POST
ecsInstanceTypes:
- ecs.r1ie.xlarge
subnetIds:
- subnet-rrwqhg3qzxfkv0xxxxxxx
systemDisk:
volume_type: ESSD_FlexPL
size: 120
dataDisks:
- volume_type: ESSD_FlexPL
size: 80
count: 1
Create NodeGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NodeGroup(name: string, args: NodeGroupArgs, opts?: CustomResourceOptions);@overload
def NodeGroup(resource_name: str,
args: NodeGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NodeGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
node_count: Optional[int] = None,
node_group_type: Optional[str] = None,
charge_type: Optional[str] = None,
cluster_id: Optional[str] = None,
node_group_name: Optional[str] = None,
with_public_ip: Optional[bool] = None,
ecs_instance_types: Optional[Sequence[str]] = None,
application_layouts: Optional[Sequence[NodeGroupApplicationLayoutArgs]] = None,
charge_pre_config: Optional[NodeGroupChargePreConfigArgs] = None,
subnet_ids: Optional[Sequence[str]] = None,
system_disk: Optional[NodeGroupSystemDiskArgs] = None,
target_disk_size: Optional[int] = None,
data_disks: Optional[Sequence[NodeGroupDataDiskArgs]] = None,
zone_id: Optional[str] = None)func NewNodeGroup(ctx *Context, name string, args NodeGroupArgs, opts ...ResourceOption) (*NodeGroup, error)public NodeGroup(string name, NodeGroupArgs args, CustomResourceOptions? opts = null)
public NodeGroup(String name, NodeGroupArgs args)
public NodeGroup(String name, NodeGroupArgs args, CustomResourceOptions options)
type: bytepluscc:emr:NodeGroup
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 NodeGroupArgs
- 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 NodeGroupArgs
- 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 NodeGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodeGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NodeGroupArgs
- 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 nodeGroupResource = new Bytepluscc.Emr.NodeGroup("nodeGroupResource", new()
{
NodeCount = 0,
NodeGroupType = "string",
ChargeType = "string",
ClusterId = "string",
NodeGroupName = "string",
WithPublicIp = false,
EcsInstanceTypes = new[]
{
"string",
},
ApplicationLayouts = new[]
{
new Bytepluscc.Emr.Inputs.NodeGroupApplicationLayoutArgs
{
ApplicationName = "string",
LayoutComponentNames = new[]
{
"string",
},
},
},
ChargePreConfig = new Bytepluscc.Emr.Inputs.NodeGroupChargePreConfigArgs
{
AutoRenew = false,
AutoRenewPeriod = 0,
AutoRenewPeriodUnit = "string",
ChargePeriod = 0,
ChargePeriodUnit = "string",
ChargeType = "string",
},
SubnetIds = new[]
{
"string",
},
SystemDisk = new Bytepluscc.Emr.Inputs.NodeGroupSystemDiskArgs
{
Size = 0,
VolumeType = "string",
},
TargetDiskSize = 0,
DataDisks = new[]
{
new Bytepluscc.Emr.Inputs.NodeGroupDataDiskArgs
{
Count = 0,
Size = 0,
VolumeType = "string",
},
},
ZoneId = "string",
});
example, err := emr.NewNodeGroup(ctx, "nodeGroupResource", &emr.NodeGroupArgs{
NodeCount: pulumi.Int(0),
NodeGroupType: pulumi.String("string"),
ChargeType: pulumi.String("string"),
ClusterId: pulumi.String("string"),
NodeGroupName: pulumi.String("string"),
WithPublicIp: pulumi.Bool(false),
EcsInstanceTypes: pulumi.StringArray{
pulumi.String("string"),
},
ApplicationLayouts: emr.NodeGroupApplicationLayoutArray{
&emr.NodeGroupApplicationLayoutArgs{
ApplicationName: pulumi.String("string"),
LayoutComponentNames: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ChargePreConfig: &emr.NodeGroupChargePreConfigArgs{
AutoRenew: pulumi.Bool(false),
AutoRenewPeriod: pulumi.Int(0),
AutoRenewPeriodUnit: pulumi.String("string"),
ChargePeriod: pulumi.Int(0),
ChargePeriodUnit: pulumi.String("string"),
ChargeType: pulumi.String("string"),
},
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
SystemDisk: &emr.NodeGroupSystemDiskArgs{
Size: pulumi.Int(0),
VolumeType: pulumi.String("string"),
},
TargetDiskSize: pulumi.Int(0),
DataDisks: emr.NodeGroupDataDiskArray{
&emr.NodeGroupDataDiskArgs{
Count: pulumi.Int(0),
Size: pulumi.Int(0),
VolumeType: pulumi.String("string"),
},
},
ZoneId: pulumi.String("string"),
})
var nodeGroupResource = new NodeGroup("nodeGroupResource", NodeGroupArgs.builder()
.nodeCount(0)
.nodeGroupType("string")
.chargeType("string")
.clusterId("string")
.nodeGroupName("string")
.withPublicIp(false)
.ecsInstanceTypes("string")
.applicationLayouts(NodeGroupApplicationLayoutArgs.builder()
.applicationName("string")
.layoutComponentNames("string")
.build())
.chargePreConfig(NodeGroupChargePreConfigArgs.builder()
.autoRenew(false)
.autoRenewPeriod(0)
.autoRenewPeriodUnit("string")
.chargePeriod(0)
.chargePeriodUnit("string")
.chargeType("string")
.build())
.subnetIds("string")
.systemDisk(NodeGroupSystemDiskArgs.builder()
.size(0)
.volumeType("string")
.build())
.targetDiskSize(0)
.dataDisks(NodeGroupDataDiskArgs.builder()
.count(0)
.size(0)
.volumeType("string")
.build())
.zoneId("string")
.build());
node_group_resource = bytepluscc.emr.NodeGroup("nodeGroupResource",
node_count=0,
node_group_type="string",
charge_type="string",
cluster_id="string",
node_group_name="string",
with_public_ip=False,
ecs_instance_types=["string"],
application_layouts=[{
"application_name": "string",
"layout_component_names": ["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",
},
subnet_ids=["string"],
system_disk={
"size": 0,
"volume_type": "string",
},
target_disk_size=0,
data_disks=[{
"count": 0,
"size": 0,
"volume_type": "string",
}],
zone_id="string")
const nodeGroupResource = new bytepluscc.emr.NodeGroup("nodeGroupResource", {
nodeCount: 0,
nodeGroupType: "string",
chargeType: "string",
clusterId: "string",
nodeGroupName: "string",
withPublicIp: false,
ecsInstanceTypes: ["string"],
applicationLayouts: [{
applicationName: "string",
layoutComponentNames: ["string"],
}],
chargePreConfig: {
autoRenew: false,
autoRenewPeriod: 0,
autoRenewPeriodUnit: "string",
chargePeriod: 0,
chargePeriodUnit: "string",
chargeType: "string",
},
subnetIds: ["string"],
systemDisk: {
size: 0,
volumeType: "string",
},
targetDiskSize: 0,
dataDisks: [{
count: 0,
size: 0,
volumeType: "string",
}],
zoneId: "string",
});
type: bytepluscc:emr:NodeGroup
properties:
applicationLayouts:
- applicationName: string
layoutComponentNames:
- string
chargePreConfig:
autoRenew: false
autoRenewPeriod: 0
autoRenewPeriodUnit: string
chargePeriod: 0
chargePeriodUnit: string
chargeType: string
chargeType: string
clusterId: string
dataDisks:
- count: 0
size: 0
volumeType: string
ecsInstanceTypes:
- string
nodeCount: 0
nodeGroupName: string
nodeGroupType: string
subnetIds:
- string
systemDisk:
size: 0
volumeType: string
targetDiskSize: 0
withPublicIp: false
zoneId: string
NodeGroup 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 NodeGroup resource accepts the following input properties:
- Charge
Type string - Payment type. PRE indicates monthly subscription, POST indicates pay-as-you-go.
- Cluster
Id string - Cluster ID.
- Node
Count int - Node count. Value range: 1~1000.
- Node
Group stringName - Node group name.
- Node
Group stringType - Node group type.
- Application
Layouts List<Byteplus.Node Group Application Layout> - Charge
Pre Byteplus.Config Node Group Charge Pre Config - Subscription payment configuration.
- Data
Disks List<Byteplus.Node Group Data Disk> - Ecs
Instance List<string>Types - ECS instance specification list. Currently, only a single instance specification can be modified.
- Subnet
Ids List<string> - Subnet ID list.
- System
Disk Byteplus.Node Group System Disk - System disk.
- Target
Disk intSize - Target disk size for expansion. Minimum 60GB, maximum 2048GB, unit: GB.
- With
Public boolIp - Whether the ECS instance includes a public IP.
- Zone
Id string - zoneId. If empty, the cluster's zoneId is reused by default.
- Charge
Type string - Payment type. PRE indicates monthly subscription, POST indicates pay-as-you-go.
- Cluster
Id string - Cluster ID.
- Node
Count int - Node count. Value range: 1~1000.
- Node
Group stringName - Node group name.
- Node
Group stringType - Node group type.
- Application
Layouts []NodeGroup Application Layout Args - Charge
Pre NodeConfig Group Charge Pre Config Args - Subscription payment configuration.
- Data
Disks []NodeGroup Data Disk Args - Ecs
Instance []stringTypes - ECS instance specification list. Currently, only a single instance specification can be modified.
- Subnet
Ids []string - Subnet ID list.
- System
Disk NodeGroup System Disk Args - System disk.
- Target
Disk intSize - Target disk size for expansion. Minimum 60GB, maximum 2048GB, unit: GB.
- With
Public boolIp - Whether the ECS instance includes a public IP.
- Zone
Id string - zoneId. If empty, the cluster's zoneId is reused by default.
- charge
Type String - Payment type. PRE indicates monthly subscription, POST indicates pay-as-you-go.
- cluster
Id String - Cluster ID.
- node
Count Integer - Node count. Value range: 1~1000.
- node
Group StringName - Node group name.
- node
Group StringType - Node group type.
- application
Layouts List<NodeGroup Application Layout> - charge
Pre NodeConfig Group Charge Pre Config - Subscription payment configuration.
- data
Disks List<NodeGroup Data Disk> - ecs
Instance List<String>Types - ECS instance specification list. Currently, only a single instance specification can be modified.
- subnet
Ids List<String> - Subnet ID list.
- system
Disk NodeGroup System Disk - System disk.
- target
Disk IntegerSize - Target disk size for expansion. Minimum 60GB, maximum 2048GB, unit: GB.
- with
Public BooleanIp - Whether the ECS instance includes a public IP.
- zone
Id String - zoneId. If empty, the cluster's zoneId is reused by default.
- charge
Type string - Payment type. PRE indicates monthly subscription, POST indicates pay-as-you-go.
- cluster
Id string - Cluster ID.
- node
Count number - Node count. Value range: 1~1000.
- node
Group stringName - Node group name.
- node
Group stringType - Node group type.
- application
Layouts NodeGroup Application Layout[] - charge
Pre NodeConfig Group Charge Pre Config - Subscription payment configuration.
- data
Disks NodeGroup Data Disk[] - ecs
Instance string[]Types - ECS instance specification list. Currently, only a single instance specification can be modified.
- subnet
Ids string[] - Subnet ID list.
- system
Disk NodeGroup System Disk - System disk.
- target
Disk numberSize - Target disk size for expansion. Minimum 60GB, maximum 2048GB, unit: GB.
- with
Public booleanIp - Whether the ECS instance includes a public IP.
- zone
Id string - zoneId. If empty, the cluster's zoneId is reused by default.
- charge_
type str - Payment type. PRE indicates monthly subscription, POST indicates pay-as-you-go.
- cluster_
id str - Cluster ID.
- node_
count int - Node count. Value range: 1~1000.
- node_
group_ strname - Node group name.
- node_
group_ strtype - Node group type.
- application_
layouts Sequence[NodeGroup Application Layout Args] - charge_
pre_ Nodeconfig Group Charge Pre Config Args - Subscription payment configuration.
- data_
disks Sequence[NodeGroup Data Disk Args] - ecs_
instance_ Sequence[str]types - ECS instance specification list. Currently, only a single instance specification can be modified.
- subnet_
ids Sequence[str] - Subnet ID list.
- system_
disk NodeGroup System Disk Args - System disk.
- target_
disk_ intsize - Target disk size for expansion. Minimum 60GB, maximum 2048GB, unit: GB.
- with_
public_ boolip - Whether the ECS instance includes a public IP.
- zone_
id str - zoneId. If empty, the cluster's zoneId is reused by default.
- charge
Type String - Payment type. PRE indicates monthly subscription, POST indicates pay-as-you-go.
- cluster
Id String - Cluster ID.
- node
Count Number - Node count. Value range: 1~1000.
- node
Group StringName - Node group name.
- node
Group StringType - Node group type.
- application
Layouts List<Property Map> - charge
Pre Property MapConfig - Subscription payment configuration.
- data
Disks List<Property Map> - ecs
Instance List<String>Types - ECS instance specification list. Currently, only a single instance specification can be modified.
- subnet
Ids List<String> - Subnet ID list.
- system
Disk Property Map - System disk.
- target
Disk NumberSize - Target disk size for expansion. Minimum 60GB, maximum 2048GB, unit: GB.
- with
Public BooleanIp - Whether the ECS instance includes a public IP.
- zone
Id String - zoneId. If empty, the cluster's zoneId is reused by default.
Outputs
All input properties are implicitly available as output properties. Additionally, the NodeGroup resource produces the following output properties:
- Created
Time int - Creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Layout
Component List<string>Names - Custom configuration parameter list for the returned node group components.
- Node
Group stringId - Node group ID.
- Node
Group stringState Value - Node group status. RUNNING: Running. EXTENDING: Expanding. REDUCING: Shrinking. DISK_EXTENDING: Disk expansion. MODIFYING: Configuration modification in progress.
- Nodes
List<Byteplus.
Node Group Node> - Terminate
Time string - Cluster termination time.
- Created
Time int - Creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Layout
Component []stringNames - Custom configuration parameter list for the returned node group components.
- Node
Group stringId - Node group ID.
- Node
Group stringState - Node group status. RUNNING: Running. EXTENDING: Expanding. REDUCING: Shrinking. DISK_EXTENDING: Disk expansion. MODIFYING: Configuration modification in progress.
- Nodes
[]Node
Group Node - Terminate
Time string - Cluster termination time.
- created
Time Integer - Creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- layout
Component List<String>Names - Custom configuration parameter list for the returned node group components.
- node
Group StringId - Node group ID.
- node
Group StringState - Node group status. RUNNING: Running. EXTENDING: Expanding. REDUCING: Shrinking. DISK_EXTENDING: Disk expansion. MODIFYING: Configuration modification in progress.
- nodes
List<Node
Group Node> - terminate
Time String - Cluster termination time.
- created
Time number - Creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- layout
Component string[]Names - Custom configuration parameter list for the returned node group components.
- node
Group stringId - Node group ID.
- node
Group stringState - Node group status. RUNNING: Running. EXTENDING: Expanding. REDUCING: Shrinking. DISK_EXTENDING: Disk expansion. MODIFYING: Configuration modification in progress.
- nodes
Node
Group Node[] - terminate
Time string - Cluster termination time.
- created_
time int - Creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- layout_
component_ Sequence[str]names - Custom configuration parameter list for the returned node group components.
- node_
group_ strid - Node group ID.
- node_
group_ strstate - Node group status. RUNNING: Running. EXTENDING: Expanding. REDUCING: Shrinking. DISK_EXTENDING: Disk expansion. MODIFYING: Configuration modification in progress.
- nodes
Sequence[Node
Group Node] - terminate_
time str - Cluster termination time.
- created
Time Number - Creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- layout
Component List<String>Names - Custom configuration parameter list for the returned node group components.
- node
Group StringId - Node group ID.
- node
Group StringState - Node group status. RUNNING: Running. EXTENDING: Expanding. REDUCING: Shrinking. DISK_EXTENDING: Disk expansion. MODIFYING: Configuration modification in progress.
- nodes List<Property Map>
- terminate
Time String - Cluster termination time.
Look up Existing NodeGroup Resource
Get an existing NodeGroup 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?: NodeGroupState, opts?: CustomResourceOptions): NodeGroup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application_layouts: Optional[Sequence[NodeGroupApplicationLayoutArgs]] = None,
charge_pre_config: Optional[NodeGroupChargePreConfigArgs] = None,
charge_type: Optional[str] = None,
cluster_id: Optional[str] = None,
created_time: Optional[int] = None,
data_disks: Optional[Sequence[NodeGroupDataDiskArgs]] = None,
ecs_instance_types: Optional[Sequence[str]] = None,
layout_component_names: Optional[Sequence[str]] = None,
node_count: Optional[int] = None,
node_group_id: Optional[str] = None,
node_group_name: Optional[str] = None,
node_group_state: Optional[str] = None,
node_group_type: Optional[str] = None,
nodes: Optional[Sequence[NodeGroupNodeArgs]] = None,
subnet_ids: Optional[Sequence[str]] = None,
system_disk: Optional[NodeGroupSystemDiskArgs] = None,
target_disk_size: Optional[int] = None,
terminate_time: Optional[str] = None,
with_public_ip: Optional[bool] = None,
zone_id: Optional[str] = None) -> NodeGroupfunc GetNodeGroup(ctx *Context, name string, id IDInput, state *NodeGroupState, opts ...ResourceOption) (*NodeGroup, error)public static NodeGroup Get(string name, Input<string> id, NodeGroupState? state, CustomResourceOptions? opts = null)public static NodeGroup get(String name, Output<String> id, NodeGroupState state, CustomResourceOptions options)resources: _: type: bytepluscc:emr:NodeGroup 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.
- Application
Layouts List<Byteplus.Node Group Application Layout> - Charge
Pre Byteplus.Config Node Group Charge Pre Config - Subscription payment configuration.
- Charge
Type string - Payment type. PRE indicates monthly subscription, POST indicates pay-as-you-go.
- Cluster
Id string - Cluster ID.
- Created
Time int - Creation time.
- Data
Disks List<Byteplus.Node Group Data Disk> - Ecs
Instance List<string>Types - ECS instance specification list. Currently, only a single instance specification can be modified.
- Layout
Component List<string>Names - Custom configuration parameter list for the returned node group components.
- Node
Count int - Node count. Value range: 1~1000.
- Node
Group stringId - Node group ID.
- Node
Group stringName - Node group name.
- Node
Group stringState Value - Node group status. RUNNING: Running. EXTENDING: Expanding. REDUCING: Shrinking. DISK_EXTENDING: Disk expansion. MODIFYING: Configuration modification in progress.
- Node
Group stringType - Node group type.
- Nodes
List<Byteplus.
Node Group Node> - Subnet
Ids List<string> - Subnet ID list.
- System
Disk Byteplus.Node Group System Disk - System disk.
- Target
Disk intSize - Target disk size for expansion. Minimum 60GB, maximum 2048GB, unit: GB.
- Terminate
Time string - Cluster termination time.
- With
Public boolIp - Whether the ECS instance includes a public IP.
- Zone
Id string - zoneId. If empty, the cluster's zoneId is reused by default.
- Application
Layouts []NodeGroup Application Layout Args - Charge
Pre NodeConfig Group Charge Pre Config Args - Subscription payment configuration.
- Charge
Type string - Payment type. PRE indicates monthly subscription, POST indicates pay-as-you-go.
- Cluster
Id string - Cluster ID.
- Created
Time int - Creation time.
- Data
Disks []NodeGroup Data Disk Args - Ecs
Instance []stringTypes - ECS instance specification list. Currently, only a single instance specification can be modified.
- Layout
Component []stringNames - Custom configuration parameter list for the returned node group components.
- Node
Count int - Node count. Value range: 1~1000.
- Node
Group stringId - Node group ID.
- Node
Group stringName - Node group name.
- Node
Group stringState - Node group status. RUNNING: Running. EXTENDING: Expanding. REDUCING: Shrinking. DISK_EXTENDING: Disk expansion. MODIFYING: Configuration modification in progress.
- Node
Group stringType - Node group type.
- Nodes
[]Node
Group Node Args - Subnet
Ids []string - Subnet ID list.
- System
Disk NodeGroup System Disk Args - System disk.
- Target
Disk intSize - Target disk size for expansion. Minimum 60GB, maximum 2048GB, unit: GB.
- Terminate
Time string - Cluster termination time.
- With
Public boolIp - Whether the ECS instance includes a public IP.
- Zone
Id string - zoneId. If empty, the cluster's zoneId is reused by default.
- application
Layouts List<NodeGroup Application Layout> - charge
Pre NodeConfig Group Charge Pre Config - Subscription payment configuration.
- charge
Type String - Payment type. PRE indicates monthly subscription, POST indicates pay-as-you-go.
- cluster
Id String - Cluster ID.
- created
Time Integer - Creation time.
- data
Disks List<NodeGroup Data Disk> - ecs
Instance List<String>Types - ECS instance specification list. Currently, only a single instance specification can be modified.
- layout
Component List<String>Names - Custom configuration parameter list for the returned node group components.
- node
Count Integer - Node count. Value range: 1~1000.
- node
Group StringId - Node group ID.
- node
Group StringName - Node group name.
- node
Group StringState - Node group status. RUNNING: Running. EXTENDING: Expanding. REDUCING: Shrinking. DISK_EXTENDING: Disk expansion. MODIFYING: Configuration modification in progress.
- node
Group StringType - Node group type.
- nodes
List<Node
Group Node> - subnet
Ids List<String> - Subnet ID list.
- system
Disk NodeGroup System Disk - System disk.
- target
Disk IntegerSize - Target disk size for expansion. Minimum 60GB, maximum 2048GB, unit: GB.
- terminate
Time String - Cluster termination time.
- with
Public BooleanIp - Whether the ECS instance includes a public IP.
- zone
Id String - zoneId. If empty, the cluster's zoneId is reused by default.
- application
Layouts NodeGroup Application Layout[] - charge
Pre NodeConfig Group Charge Pre Config - Subscription payment configuration.
- charge
Type string - Payment type. PRE indicates monthly subscription, POST indicates pay-as-you-go.
- cluster
Id string - Cluster ID.
- created
Time number - Creation time.
- data
Disks NodeGroup Data Disk[] - ecs
Instance string[]Types - ECS instance specification list. Currently, only a single instance specification can be modified.
- layout
Component string[]Names - Custom configuration parameter list for the returned node group components.
- node
Count number - Node count. Value range: 1~1000.
- node
Group stringId - Node group ID.
- node
Group stringName - Node group name.
- node
Group stringState - Node group status. RUNNING: Running. EXTENDING: Expanding. REDUCING: Shrinking. DISK_EXTENDING: Disk expansion. MODIFYING: Configuration modification in progress.
- node
Group stringType - Node group type.
- nodes
Node
Group Node[] - subnet
Ids string[] - Subnet ID list.
- system
Disk NodeGroup System Disk - System disk.
- target
Disk numberSize - Target disk size for expansion. Minimum 60GB, maximum 2048GB, unit: GB.
- terminate
Time string - Cluster termination time.
- with
Public booleanIp - Whether the ECS instance includes a public IP.
- zone
Id string - zoneId. If empty, the cluster's zoneId is reused by default.
- application_
layouts Sequence[NodeGroup Application Layout Args] - charge_
pre_ Nodeconfig Group Charge Pre Config Args - Subscription payment configuration.
- charge_
type str - Payment type. PRE indicates monthly subscription, POST indicates pay-as-you-go.
- cluster_
id str - Cluster ID.
- created_
time int - Creation time.
- data_
disks Sequence[NodeGroup Data Disk Args] - ecs_
instance_ Sequence[str]types - ECS instance specification list. Currently, only a single instance specification can be modified.
- layout_
component_ Sequence[str]names - Custom configuration parameter list for the returned node group components.
- node_
count int - Node count. Value range: 1~1000.
- node_
group_ strid - Node group ID.
- node_
group_ strname - Node group name.
- node_
group_ strstate - Node group status. RUNNING: Running. EXTENDING: Expanding. REDUCING: Shrinking. DISK_EXTENDING: Disk expansion. MODIFYING: Configuration modification in progress.
- node_
group_ strtype - Node group type.
- nodes
Sequence[Node
Group Node Args] - subnet_
ids Sequence[str] - Subnet ID list.
- system_
disk NodeGroup System Disk Args - System disk.
- target_
disk_ intsize - Target disk size for expansion. Minimum 60GB, maximum 2048GB, unit: GB.
- terminate_
time str - Cluster termination time.
- with_
public_ boolip - Whether the ECS instance includes a public IP.
- zone_
id str - zoneId. If empty, the cluster's zoneId is reused by default.
- application
Layouts List<Property Map> - charge
Pre Property MapConfig - Subscription payment configuration.
- charge
Type String - Payment type. PRE indicates monthly subscription, POST indicates pay-as-you-go.
- cluster
Id String - Cluster ID.
- created
Time Number - Creation time.
- data
Disks List<Property Map> - ecs
Instance List<String>Types - ECS instance specification list. Currently, only a single instance specification can be modified.
- layout
Component List<String>Names - Custom configuration parameter list for the returned node group components.
- node
Count Number - Node count. Value range: 1~1000.
- node
Group StringId - Node group ID.
- node
Group StringName - Node group name.
- node
Group StringState - Node group status. RUNNING: Running. EXTENDING: Expanding. REDUCING: Shrinking. DISK_EXTENDING: Disk expansion. MODIFYING: Configuration modification in progress.
- node
Group StringType - Node group type.
- nodes List<Property Map>
- subnet
Ids List<String> - Subnet ID list.
- system
Disk Property Map - System disk.
- target
Disk NumberSize - Target disk size for expansion. Minimum 60GB, maximum 2048GB, unit: GB.
- terminate
Time String - Cluster termination time.
- with
Public BooleanIp - Whether the ECS instance includes a public IP.
- zone
Id String - zoneId. If empty, the cluster's zoneId is reused by default.
Supporting Types
NodeGroupApplicationLayout, NodeGroupApplicationLayoutArgs
- Application
Name string - Application name.
- Layout
Component List<string>Names - Custom configuration parameter list for the component.
- Application
Name string - Application name.
- Layout
Component []stringNames - Custom configuration parameter list for the component.
- application
Name String - Application name.
- layout
Component List<String>Names - Custom configuration parameter list for the component.
- application
Name string - Application name.
- layout
Component string[]Names - Custom configuration parameter list for the component.
- application_
name str - Application name.
- layout_
component_ Sequence[str]names - Custom configuration parameter list for the component.
- application
Name String - Application name.
- layout
Component List<String>Names - Custom configuration parameter list for the component.
NodeGroupChargePreConfig, NodeGroupChargePreConfigArgs
- Auto
Renew bool - Whether to enable auto-renewal.
- Auto
Renew intPeriod - Renewal duration when auto-renewal is triggered. When autoRenew=true, the default value is 1.
- Auto
Renew stringPeriod Unit - Renewal duration unit when auto-renewal is triggered. When autoRenew=true, the default value is Month. Value range: Month: month. Year: year.
- Charge
Period int - When chargeType=PRE, the default value is 1. The unit for the purchase duration when chargeType=PRE is monthly subscription.
- Charge
Period stringUnit - When chargeType=PRE, the default value is Month. The unit for the purchase duration when chargeType=PRE is monthly subscription. Value range: Month (month), Year (year).
- Charge
Type string - Payment type. Enum values: POST, PRE.
- Auto
Renew bool - Whether to enable auto-renewal.
- Auto
Renew intPeriod - Renewal duration when auto-renewal is triggered. When autoRenew=true, the default value is 1.
- Auto
Renew stringPeriod Unit - Renewal duration unit when auto-renewal is triggered. When autoRenew=true, the default value is Month. Value range: Month: month. Year: year.
- Charge
Period int - When chargeType=PRE, the default value is 1. The unit for the purchase duration when chargeType=PRE is monthly subscription.
- Charge
Period stringUnit - When chargeType=PRE, the default value is Month. The unit for the purchase duration when chargeType=PRE is monthly subscription. Value range: Month (month), Year (year).
- Charge
Type string - Payment type. Enum values: POST, PRE.
- auto
Renew Boolean - Whether to enable auto-renewal.
- auto
Renew IntegerPeriod - Renewal duration when auto-renewal is triggered. When autoRenew=true, the default value is 1.
- auto
Renew StringPeriod Unit - Renewal duration unit when auto-renewal is triggered. When autoRenew=true, the default value is Month. Value range: Month: month. Year: year.
- charge
Period Integer - When chargeType=PRE, the default value is 1. The unit for the purchase duration when chargeType=PRE is monthly subscription.
- charge
Period StringUnit - When chargeType=PRE, the default value is Month. The unit for the purchase duration when chargeType=PRE is monthly subscription. Value range: Month (month), Year (year).
- charge
Type String - Payment type. Enum values: POST, PRE.
- auto
Renew boolean - Whether to enable auto-renewal.
- auto
Renew numberPeriod - Renewal duration when auto-renewal is triggered. When autoRenew=true, the default value is 1.
- auto
Renew stringPeriod Unit - Renewal duration unit when auto-renewal is triggered. When autoRenew=true, the default value is Month. Value range: Month: month. Year: year.
- charge
Period number - When chargeType=PRE, the default value is 1. The unit for the purchase duration when chargeType=PRE is monthly subscription.
- charge
Period stringUnit - When chargeType=PRE, the default value is Month. The unit for the purchase duration when chargeType=PRE is monthly subscription. Value range: Month (month), Year (year).
- charge
Type string - Payment type. Enum values: POST, PRE.
- auto_
renew bool - Whether to enable auto-renewal.
- auto_
renew_ intperiod - Renewal duration when auto-renewal is triggered. When autoRenew=true, the default value is 1.
- auto_
renew_ strperiod_ unit - Renewal duration unit when auto-renewal is triggered. When autoRenew=true, the default value is Month. Value range: Month: month. Year: year.
- charge_
period int - When chargeType=PRE, the default value is 1. The unit for the purchase duration when chargeType=PRE is monthly subscription.
- charge_
period_ strunit - When chargeType=PRE, the default value is Month. The unit for the purchase duration when chargeType=PRE is monthly subscription. Value range: Month (month), Year (year).
- charge_
type str - Payment type. Enum values: POST, PRE.
- auto
Renew Boolean - Whether to enable auto-renewal.
- auto
Renew NumberPeriod - Renewal duration when auto-renewal is triggered. When autoRenew=true, the default value is 1.
- auto
Renew StringPeriod Unit - Renewal duration unit when auto-renewal is triggered. When autoRenew=true, the default value is Month. Value range: Month: month. Year: year.
- charge
Period Number - When chargeType=PRE, the default value is 1. The unit for the purchase duration when chargeType=PRE is monthly subscription.
- charge
Period StringUnit - When chargeType=PRE, the default value is Month. The unit for the purchase duration when chargeType=PRE is monthly subscription. Value range: Month (month), Year (year).
- charge
Type String - Payment type. Enum values: POST, PRE.
NodeGroupDataDisk, NodeGroupDataDiskArgs
- Count int
- Number of disk blocks. Default value: 4. Maximum: 15. Minimum: 1.
- Size int
- Disk size. Default value: 80GB. Minimum: 60GB. Maximum: 2048GB. Unit: GB.
- Volume
Type string - Disk type. ESSDPL0: Ultra-fast SSDPL0. ESSDPL1: Ultra-fast SSDPL1. ESSDPL2: Ultra-fast SSDPL2. ESSDPL3: Ultra-fast SSDPL3. ESSDFLEXPL: Ultra-fast SSDFlexPL. ULTRADISK: Efficient cloud disk. PTSSD: Performance SSD. SSD: General SSD. EHDD: Efficient cloud disk. ZENYASSD: Zenya. LOCALHDD: Big data HDD. LOCALSSD: Local SSD. LOCALSSDSRIOV: Local SSD SRIOV.
- Count int
- Number of disk blocks. Default value: 4. Maximum: 15. Minimum: 1.
- Size int
- Disk size. Default value: 80GB. Minimum: 60GB. Maximum: 2048GB. Unit: GB.
- Volume
Type string - Disk type. ESSDPL0: Ultra-fast SSDPL0. ESSDPL1: Ultra-fast SSDPL1. ESSDPL2: Ultra-fast SSDPL2. ESSDPL3: Ultra-fast SSDPL3. ESSDFLEXPL: Ultra-fast SSDFlexPL. ULTRADISK: Efficient cloud disk. PTSSD: Performance SSD. SSD: General SSD. EHDD: Efficient cloud disk. ZENYASSD: Zenya. LOCALHDD: Big data HDD. LOCALSSD: Local SSD. LOCALSSDSRIOV: Local SSD SRIOV.
- count Integer
- Number of disk blocks. Default value: 4. Maximum: 15. Minimum: 1.
- size Integer
- Disk size. Default value: 80GB. Minimum: 60GB. Maximum: 2048GB. Unit: GB.
- volume
Type String - Disk type. ESSDPL0: Ultra-fast SSDPL0. ESSDPL1: Ultra-fast SSDPL1. ESSDPL2: Ultra-fast SSDPL2. ESSDPL3: Ultra-fast SSDPL3. ESSDFLEXPL: Ultra-fast SSDFlexPL. ULTRADISK: Efficient cloud disk. PTSSD: Performance SSD. SSD: General SSD. EHDD: Efficient cloud disk. ZENYASSD: Zenya. LOCALHDD: Big data HDD. LOCALSSD: Local SSD. LOCALSSDSRIOV: Local SSD SRIOV.
- count number
- Number of disk blocks. Default value: 4. Maximum: 15. Minimum: 1.
- size number
- Disk size. Default value: 80GB. Minimum: 60GB. Maximum: 2048GB. Unit: GB.
- volume
Type string - Disk type. ESSDPL0: Ultra-fast SSDPL0. ESSDPL1: Ultra-fast SSDPL1. ESSDPL2: Ultra-fast SSDPL2. ESSDPL3: Ultra-fast SSDPL3. ESSDFLEXPL: Ultra-fast SSDFlexPL. ULTRADISK: Efficient cloud disk. PTSSD: Performance SSD. SSD: General SSD. EHDD: Efficient cloud disk. ZENYASSD: Zenya. LOCALHDD: Big data HDD. LOCALSSD: Local SSD. LOCALSSDSRIOV: Local SSD SRIOV.
- count int
- Number of disk blocks. Default value: 4. Maximum: 15. Minimum: 1.
- size int
- Disk size. Default value: 80GB. Minimum: 60GB. Maximum: 2048GB. Unit: GB.
- volume_
type str - Disk type. ESSDPL0: Ultra-fast SSDPL0. ESSDPL1: Ultra-fast SSDPL1. ESSDPL2: Ultra-fast SSDPL2. ESSDPL3: Ultra-fast SSDPL3. ESSDFLEXPL: Ultra-fast SSDFlexPL. ULTRADISK: Efficient cloud disk. PTSSD: Performance SSD. SSD: General SSD. EHDD: Efficient cloud disk. ZENYASSD: Zenya. LOCALHDD: Big data HDD. LOCALSSD: Local SSD. LOCALSSDSRIOV: Local SSD SRIOV.
- count Number
- Number of disk blocks. Default value: 4. Maximum: 15. Minimum: 1.
- size Number
- Disk size. Default value: 80GB. Minimum: 60GB. Maximum: 2048GB. Unit: GB.
- volume
Type String - Disk type. ESSDPL0: Ultra-fast SSDPL0. ESSDPL1: Ultra-fast SSDPL1. ESSDPL2: Ultra-fast SSDPL2. ESSDPL3: Ultra-fast SSDPL3. ESSDFLEXPL: Ultra-fast SSDFlexPL. ULTRADISK: Efficient cloud disk. PTSSD: Performance SSD. SSD: General SSD. EHDD: Efficient cloud disk. ZENYASSD: Zenya. LOCALHDD: Big data HDD. LOCALSSD: Local SSD. LOCALSSDSRIOV: Local SSD SRIOV.
NodeGroupNode, NodeGroupNodeArgs
- Created
Time int - Node creation time.
- Ecs
Instance stringType - ecs instance specification.
- Node
Fqdn string - Node FQDN.
- Node
Id string - Node ID.
- Node
Name string - Node name.
- Node
State string - Node status. UNKNOWN: Unknown. CREATING: Creating. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. REBOOTING: Rebooting. DELETED: Deleted.
- Private
Ip string - Private IP.
- Public
Ip string - Public IP.
- Ready
Time int - Ready time.
- Terminate
Time int - Cluster termination time.
- Created
Time int - Node creation time.
- Ecs
Instance stringType - ecs instance specification.
- Node
Fqdn string - Node FQDN.
- Node
Id string - Node ID.
- Node
Name string - Node name.
- Node
State string - Node status. UNKNOWN: Unknown. CREATING: Creating. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. REBOOTING: Rebooting. DELETED: Deleted.
- Private
Ip string - Private IP.
- Public
Ip string - Public IP.
- Ready
Time int - Ready time.
- Terminate
Time int - Cluster termination time.
- created
Time Integer - Node creation time.
- ecs
Instance StringType - ecs instance specification.
- node
Fqdn String - Node FQDN.
- node
Id String - Node ID.
- node
Name String - Node name.
- node
State String - Node status. UNKNOWN: Unknown. CREATING: Creating. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. REBOOTING: Rebooting. DELETED: Deleted.
- private
Ip String - Private IP.
- public
Ip String - Public IP.
- ready
Time Integer - Ready time.
- terminate
Time Integer - Cluster termination time.
- created
Time number - Node creation time.
- ecs
Instance stringType - ecs instance specification.
- node
Fqdn string - Node FQDN.
- node
Id string - Node ID.
- node
Name string - Node name.
- node
State string - Node status. UNKNOWN: Unknown. CREATING: Creating. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. REBOOTING: Rebooting. DELETED: Deleted.
- private
Ip string - Private IP.
- public
Ip string - Public IP.
- ready
Time number - Ready time.
- terminate
Time number - Cluster termination time.
- created_
time int - Node creation time.
- ecs_
instance_ strtype - ecs instance specification.
- node_
fqdn str - Node FQDN.
- node_
id str - Node ID.
- node_
name str - Node name.
- node_
state str - Node status. UNKNOWN: Unknown. CREATING: Creating. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. REBOOTING: Rebooting. DELETED: Deleted.
- private_
ip str - Private IP.
- public_
ip str - Public IP.
- ready_
time int - Ready time.
- terminate_
time int - Cluster termination time.
- created
Time Number - Node creation time.
- ecs
Instance StringType - ecs instance specification.
- node
Fqdn String - Node FQDN.
- node
Id String - Node ID.
- node
Name String - Node name.
- node
State String - Node status. UNKNOWN: Unknown. CREATING: Creating. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. REBOOTING: Rebooting. DELETED: Deleted.
- private
Ip String - Private IP.
- public
Ip String - Public IP.
- ready
Time Number - Ready time.
- terminate
Time Number - Cluster termination time.
NodeGroupSystemDisk, NodeGroupSystemDiskArgs
- Size int
- System disk size. Default value: 80GB. Minimum: 60GB. Maximum: 2048GB. Unit: GB.
- Volume
Type string - Disk type. ESSDPL0: Ultra-fast SSDPL0. ESSDPL1: Ultra-fast SSDPL1. ESSDPL2: Ultra-fast SSDPL2. ESSDPL3: Ultra-fast SSDPL3. ESSDFLEXPL: Ultra-fast SSDFlexPL. ULTRADISK: Efficient cloud disk. PTSSD: Performance SSD. SSD: General SSD. EHDD: Efficient cloud disk. ZENYASSD: Zenya. LOCALHDD: Big data HDD. LOCALSSD: Local SSD. LOCALSSDSRIOV: Local SSD SRIOV.
- Size int
- System disk size. Default value: 80GB. Minimum: 60GB. Maximum: 2048GB. Unit: GB.
- Volume
Type string - Disk type. ESSDPL0: Ultra-fast SSDPL0. ESSDPL1: Ultra-fast SSDPL1. ESSDPL2: Ultra-fast SSDPL2. ESSDPL3: Ultra-fast SSDPL3. ESSDFLEXPL: Ultra-fast SSDFlexPL. ULTRADISK: Efficient cloud disk. PTSSD: Performance SSD. SSD: General SSD. EHDD: Efficient cloud disk. ZENYASSD: Zenya. LOCALHDD: Big data HDD. LOCALSSD: Local SSD. LOCALSSDSRIOV: Local SSD SRIOV.
- size Integer
- System disk size. Default value: 80GB. Minimum: 60GB. Maximum: 2048GB. Unit: GB.
- volume
Type String - Disk type. ESSDPL0: Ultra-fast SSDPL0. ESSDPL1: Ultra-fast SSDPL1. ESSDPL2: Ultra-fast SSDPL2. ESSDPL3: Ultra-fast SSDPL3. ESSDFLEXPL: Ultra-fast SSDFlexPL. ULTRADISK: Efficient cloud disk. PTSSD: Performance SSD. SSD: General SSD. EHDD: Efficient cloud disk. ZENYASSD: Zenya. LOCALHDD: Big data HDD. LOCALSSD: Local SSD. LOCALSSDSRIOV: Local SSD SRIOV.
- size number
- System disk size. Default value: 80GB. Minimum: 60GB. Maximum: 2048GB. Unit: GB.
- volume
Type string - Disk type. ESSDPL0: Ultra-fast SSDPL0. ESSDPL1: Ultra-fast SSDPL1. ESSDPL2: Ultra-fast SSDPL2. ESSDPL3: Ultra-fast SSDPL3. ESSDFLEXPL: Ultra-fast SSDFlexPL. ULTRADISK: Efficient cloud disk. PTSSD: Performance SSD. SSD: General SSD. EHDD: Efficient cloud disk. ZENYASSD: Zenya. LOCALHDD: Big data HDD. LOCALSSD: Local SSD. LOCALSSDSRIOV: Local SSD SRIOV.
- size int
- System disk size. Default value: 80GB. Minimum: 60GB. Maximum: 2048GB. Unit: GB.
- volume_
type str - Disk type. ESSDPL0: Ultra-fast SSDPL0. ESSDPL1: Ultra-fast SSDPL1. ESSDPL2: Ultra-fast SSDPL2. ESSDPL3: Ultra-fast SSDPL3. ESSDFLEXPL: Ultra-fast SSDFlexPL. ULTRADISK: Efficient cloud disk. PTSSD: Performance SSD. SSD: General SSD. EHDD: Efficient cloud disk. ZENYASSD: Zenya. LOCALHDD: Big data HDD. LOCALSSD: Local SSD. LOCALSSDSRIOV: Local SSD SRIOV.
- size Number
- System disk size. Default value: 80GB. Minimum: 60GB. Maximum: 2048GB. Unit: GB.
- volume
Type String - Disk type. ESSDPL0: Ultra-fast SSDPL0. ESSDPL1: Ultra-fast SSDPL1. ESSDPL2: Ultra-fast SSDPL2. ESSDPL3: Ultra-fast SSDPL3. ESSDFLEXPL: Ultra-fast SSDFlexPL. ULTRADISK: Efficient cloud disk. PTSSD: Performance SSD. SSD: General SSD. EHDD: Efficient cloud disk. ZENYASSD: Zenya. LOCALHDD: Big data HDD. LOCALSSD: Local SSD. LOCALSSDSRIOV: Local SSD SRIOV.
Import
$ pulumi import bytepluscc:emr/nodeGroup:NodeGroup example "cluster_id|node_group_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
published on Thursday, Apr 2, 2026 by Byteplus
