1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. emr
  5. NodeGroup
Viewing docs for bytepluscc v0.0.20
published on Thursday, Mar 26, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.20
published on Thursday, Mar 26, 2026 by Byteplus

    E-MapReduce集群由多个不同类型的实例节点组成,包括主实例节点(Master)、核心实例节点(Core)和计算实例节点(Task)。不同实例节点上部署的服务进程不同,负责完成的任务也不同。

    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:

    ChargeType string
    付费类型。PRE表示包月,POST表示按量计费。
    ClusterId string
    集群ID。
    NodeCount int
    节点数量。取值范围:1~1000。
    NodeGroupName string
    节点组名称。
    NodeGroupType string
    节点组类型。
    ApplicationLayouts List<Byteplus.NodeGroupApplicationLayout>
    ChargePreConfig Byteplus.NodeGroupChargePreConfig
    包周期付费配置。
    DataDisks List<Byteplus.NodeGroupDataDisk>
    EcsInstanceTypes List<string>
    ECS实例规格列表。当前修改仅支持单个实例规格。
    SubnetIds List<string>
    子网ID列表。
    SystemDisk Byteplus.NodeGroupSystemDisk
    系统盘。
    TargetDiskSize int
    待扩容的目标磁盘大小,最小60GB,最大2048GB,单位GB。
    WithPublicIp bool
    ECS是否附带公网IP。
    ZoneId string
    zoneId,为空时默认复用集群的zoneId。
    ChargeType string
    付费类型。PRE表示包月,POST表示按量计费。
    ClusterId string
    集群ID。
    NodeCount int
    节点数量。取值范围:1~1000。
    NodeGroupName string
    节点组名称。
    NodeGroupType string
    节点组类型。
    ApplicationLayouts []NodeGroupApplicationLayoutArgs
    ChargePreConfig NodeGroupChargePreConfigArgs
    包周期付费配置。
    DataDisks []NodeGroupDataDiskArgs
    EcsInstanceTypes []string
    ECS实例规格列表。当前修改仅支持单个实例规格。
    SubnetIds []string
    子网ID列表。
    SystemDisk NodeGroupSystemDiskArgs
    系统盘。
    TargetDiskSize int
    待扩容的目标磁盘大小,最小60GB,最大2048GB,单位GB。
    WithPublicIp bool
    ECS是否附带公网IP。
    ZoneId string
    zoneId,为空时默认复用集群的zoneId。
    chargeType String
    付费类型。PRE表示包月,POST表示按量计费。
    clusterId String
    集群ID。
    nodeCount Integer
    节点数量。取值范围:1~1000。
    nodeGroupName String
    节点组名称。
    nodeGroupType String
    节点组类型。
    applicationLayouts List<NodeGroupApplicationLayout>
    chargePreConfig NodeGroupChargePreConfig
    包周期付费配置。
    dataDisks List<NodeGroupDataDisk>
    ecsInstanceTypes List<String>
    ECS实例规格列表。当前修改仅支持单个实例规格。
    subnetIds List<String>
    子网ID列表。
    systemDisk NodeGroupSystemDisk
    系统盘。
    targetDiskSize Integer
    待扩容的目标磁盘大小,最小60GB,最大2048GB,单位GB。
    withPublicIp Boolean
    ECS是否附带公网IP。
    zoneId String
    zoneId,为空时默认复用集群的zoneId。
    chargeType string
    付费类型。PRE表示包月,POST表示按量计费。
    clusterId string
    集群ID。
    nodeCount number
    节点数量。取值范围:1~1000。
    nodeGroupName string
    节点组名称。
    nodeGroupType string
    节点组类型。
    applicationLayouts NodeGroupApplicationLayout[]
    chargePreConfig NodeGroupChargePreConfig
    包周期付费配置。
    dataDisks NodeGroupDataDisk[]
    ecsInstanceTypes string[]
    ECS实例规格列表。当前修改仅支持单个实例规格。
    subnetIds string[]
    子网ID列表。
    systemDisk NodeGroupSystemDisk
    系统盘。
    targetDiskSize number
    待扩容的目标磁盘大小,最小60GB,最大2048GB,单位GB。
    withPublicIp boolean
    ECS是否附带公网IP。
    zoneId string
    zoneId,为空时默认复用集群的zoneId。
    charge_type str
    付费类型。PRE表示包月,POST表示按量计费。
    cluster_id str
    集群ID。
    node_count int
    节点数量。取值范围:1~1000。
    node_group_name str
    节点组名称。
    node_group_type str
    节点组类型。
    application_layouts Sequence[NodeGroupApplicationLayoutArgs]
    charge_pre_config NodeGroupChargePreConfigArgs
    包周期付费配置。
    data_disks Sequence[NodeGroupDataDiskArgs]
    ecs_instance_types Sequence[str]
    ECS实例规格列表。当前修改仅支持单个实例规格。
    subnet_ids Sequence[str]
    子网ID列表。
    system_disk NodeGroupSystemDiskArgs
    系统盘。
    target_disk_size int
    待扩容的目标磁盘大小,最小60GB,最大2048GB,单位GB。
    with_public_ip bool
    ECS是否附带公网IP。
    zone_id str
    zoneId,为空时默认复用集群的zoneId。
    chargeType String
    付费类型。PRE表示包月,POST表示按量计费。
    clusterId String
    集群ID。
    nodeCount Number
    节点数量。取值范围:1~1000。
    nodeGroupName String
    节点组名称。
    nodeGroupType String
    节点组类型。
    applicationLayouts List<Property Map>
    chargePreConfig Property Map
    包周期付费配置。
    dataDisks List<Property Map>
    ecsInstanceTypes List<String>
    ECS实例规格列表。当前修改仅支持单个实例规格。
    subnetIds List<String>
    子网ID列表。
    systemDisk Property Map
    系统盘。
    targetDiskSize Number
    待扩容的目标磁盘大小,最小60GB,最大2048GB,单位GB。
    withPublicIp Boolean
    ECS是否附带公网IP。
    zoneId String
    zoneId,为空时默认复用集群的zoneId。

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NodeGroup resource produces the following output properties:

    CreatedTime int
    创建时间。
    Id string
    The provider-assigned unique ID for this managed resource.
    LayoutComponentNames List<string>
    返回的节点组组件的自定义配置参数列表。
    NodeGroupId string
    节点组ID。
    NodeGroupStateValue string
    节点组状态。RUNNING:运行中。EXTENDING:扩容中。REDUCING:缩容中。DISK_EXTENDING:磁盘扩容中。MODIFYING:变配中。
    Nodes List<Byteplus.NodeGroupNode>
    TerminateTime string
    集群终止时间。
    CreatedTime int
    创建时间。
    Id string
    The provider-assigned unique ID for this managed resource.
    LayoutComponentNames []string
    返回的节点组组件的自定义配置参数列表。
    NodeGroupId string
    节点组ID。
    NodeGroupState string
    节点组状态。RUNNING:运行中。EXTENDING:扩容中。REDUCING:缩容中。DISK_EXTENDING:磁盘扩容中。MODIFYING:变配中。
    Nodes []NodeGroupNode
    TerminateTime string
    集群终止时间。
    createdTime Integer
    创建时间。
    id String
    The provider-assigned unique ID for this managed resource.
    layoutComponentNames List<String>
    返回的节点组组件的自定义配置参数列表。
    nodeGroupId String
    节点组ID。
    nodeGroupState String
    节点组状态。RUNNING:运行中。EXTENDING:扩容中。REDUCING:缩容中。DISK_EXTENDING:磁盘扩容中。MODIFYING:变配中。
    nodes List<NodeGroupNode>
    terminateTime String
    集群终止时间。
    createdTime number
    创建时间。
    id string
    The provider-assigned unique ID for this managed resource.
    layoutComponentNames string[]
    返回的节点组组件的自定义配置参数列表。
    nodeGroupId string
    节点组ID。
    nodeGroupState string
    节点组状态。RUNNING:运行中。EXTENDING:扩容中。REDUCING:缩容中。DISK_EXTENDING:磁盘扩容中。MODIFYING:变配中。
    nodes NodeGroupNode[]
    terminateTime string
    集群终止时间。
    created_time int
    创建时间。
    id str
    The provider-assigned unique ID for this managed resource.
    layout_component_names Sequence[str]
    返回的节点组组件的自定义配置参数列表。
    node_group_id str
    节点组ID。
    node_group_state str
    节点组状态。RUNNING:运行中。EXTENDING:扩容中。REDUCING:缩容中。DISK_EXTENDING:磁盘扩容中。MODIFYING:变配中。
    nodes Sequence[NodeGroupNode]
    terminate_time str
    集群终止时间。
    createdTime Number
    创建时间。
    id String
    The provider-assigned unique ID for this managed resource.
    layoutComponentNames List<String>
    返回的节点组组件的自定义配置参数列表。
    nodeGroupId String
    节点组ID。
    nodeGroupState String
    节点组状态。RUNNING:运行中。EXTENDING:扩容中。REDUCING:缩容中。DISK_EXTENDING:磁盘扩容中。MODIFYING:变配中。
    nodes List<Property Map>
    terminateTime String
    集群终止时间。

    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) -> NodeGroup
    func 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.
    The following state arguments are supported:
    ApplicationLayouts List<Byteplus.NodeGroupApplicationLayout>
    ChargePreConfig Byteplus.NodeGroupChargePreConfig
    包周期付费配置。
    ChargeType string
    付费类型。PRE表示包月,POST表示按量计费。
    ClusterId string
    集群ID。
    CreatedTime int
    创建时间。
    DataDisks List<Byteplus.NodeGroupDataDisk>
    EcsInstanceTypes List<string>
    ECS实例规格列表。当前修改仅支持单个实例规格。
    LayoutComponentNames List<string>
    返回的节点组组件的自定义配置参数列表。
    NodeCount int
    节点数量。取值范围:1~1000。
    NodeGroupId string
    节点组ID。
    NodeGroupName string
    节点组名称。
    NodeGroupStateValue string
    节点组状态。RUNNING:运行中。EXTENDING:扩容中。REDUCING:缩容中。DISK_EXTENDING:磁盘扩容中。MODIFYING:变配中。
    NodeGroupType string
    节点组类型。
    Nodes List<Byteplus.NodeGroupNode>
    SubnetIds List<string>
    子网ID列表。
    SystemDisk Byteplus.NodeGroupSystemDisk
    系统盘。
    TargetDiskSize int
    待扩容的目标磁盘大小,最小60GB,最大2048GB,单位GB。
    TerminateTime string
    集群终止时间。
    WithPublicIp bool
    ECS是否附带公网IP。
    ZoneId string
    zoneId,为空时默认复用集群的zoneId。
    ApplicationLayouts []NodeGroupApplicationLayoutArgs
    ChargePreConfig NodeGroupChargePreConfigArgs
    包周期付费配置。
    ChargeType string
    付费类型。PRE表示包月,POST表示按量计费。
    ClusterId string
    集群ID。
    CreatedTime int
    创建时间。
    DataDisks []NodeGroupDataDiskArgs
    EcsInstanceTypes []string
    ECS实例规格列表。当前修改仅支持单个实例规格。
    LayoutComponentNames []string
    返回的节点组组件的自定义配置参数列表。
    NodeCount int
    节点数量。取值范围:1~1000。
    NodeGroupId string
    节点组ID。
    NodeGroupName string
    节点组名称。
    NodeGroupState string
    节点组状态。RUNNING:运行中。EXTENDING:扩容中。REDUCING:缩容中。DISK_EXTENDING:磁盘扩容中。MODIFYING:变配中。
    NodeGroupType string
    节点组类型。
    Nodes []NodeGroupNodeArgs
    SubnetIds []string
    子网ID列表。
    SystemDisk NodeGroupSystemDiskArgs
    系统盘。
    TargetDiskSize int
    待扩容的目标磁盘大小,最小60GB,最大2048GB,单位GB。
    TerminateTime string
    集群终止时间。
    WithPublicIp bool
    ECS是否附带公网IP。
    ZoneId string
    zoneId,为空时默认复用集群的zoneId。
    applicationLayouts List<NodeGroupApplicationLayout>
    chargePreConfig NodeGroupChargePreConfig
    包周期付费配置。
    chargeType String
    付费类型。PRE表示包月,POST表示按量计费。
    clusterId String
    集群ID。
    createdTime Integer
    创建时间。
    dataDisks List<NodeGroupDataDisk>
    ecsInstanceTypes List<String>
    ECS实例规格列表。当前修改仅支持单个实例规格。
    layoutComponentNames List<String>
    返回的节点组组件的自定义配置参数列表。
    nodeCount Integer
    节点数量。取值范围:1~1000。
    nodeGroupId String
    节点组ID。
    nodeGroupName String
    节点组名称。
    nodeGroupState String
    节点组状态。RUNNING:运行中。EXTENDING:扩容中。REDUCING:缩容中。DISK_EXTENDING:磁盘扩容中。MODIFYING:变配中。
    nodeGroupType String
    节点组类型。
    nodes List<NodeGroupNode>
    subnetIds List<String>
    子网ID列表。
    systemDisk NodeGroupSystemDisk
    系统盘。
    targetDiskSize Integer
    待扩容的目标磁盘大小,最小60GB,最大2048GB,单位GB。
    terminateTime String
    集群终止时间。
    withPublicIp Boolean
    ECS是否附带公网IP。
    zoneId String
    zoneId,为空时默认复用集群的zoneId。
    applicationLayouts NodeGroupApplicationLayout[]
    chargePreConfig NodeGroupChargePreConfig
    包周期付费配置。
    chargeType string
    付费类型。PRE表示包月,POST表示按量计费。
    clusterId string
    集群ID。
    createdTime number
    创建时间。
    dataDisks NodeGroupDataDisk[]
    ecsInstanceTypes string[]
    ECS实例规格列表。当前修改仅支持单个实例规格。
    layoutComponentNames string[]
    返回的节点组组件的自定义配置参数列表。
    nodeCount number
    节点数量。取值范围:1~1000。
    nodeGroupId string
    节点组ID。
    nodeGroupName string
    节点组名称。
    nodeGroupState string
    节点组状态。RUNNING:运行中。EXTENDING:扩容中。REDUCING:缩容中。DISK_EXTENDING:磁盘扩容中。MODIFYING:变配中。
    nodeGroupType string
    节点组类型。
    nodes NodeGroupNode[]
    subnetIds string[]
    子网ID列表。
    systemDisk NodeGroupSystemDisk
    系统盘。
    targetDiskSize number
    待扩容的目标磁盘大小,最小60GB,最大2048GB,单位GB。
    terminateTime string
    集群终止时间。
    withPublicIp boolean
    ECS是否附带公网IP。
    zoneId string
    zoneId,为空时默认复用集群的zoneId。
    application_layouts Sequence[NodeGroupApplicationLayoutArgs]
    charge_pre_config NodeGroupChargePreConfigArgs
    包周期付费配置。
    charge_type str
    付费类型。PRE表示包月,POST表示按量计费。
    cluster_id str
    集群ID。
    created_time int
    创建时间。
    data_disks Sequence[NodeGroupDataDiskArgs]
    ecs_instance_types Sequence[str]
    ECS实例规格列表。当前修改仅支持单个实例规格。
    layout_component_names Sequence[str]
    返回的节点组组件的自定义配置参数列表。
    node_count int
    节点数量。取值范围:1~1000。
    node_group_id str
    节点组ID。
    node_group_name str
    节点组名称。
    node_group_state str
    节点组状态。RUNNING:运行中。EXTENDING:扩容中。REDUCING:缩容中。DISK_EXTENDING:磁盘扩容中。MODIFYING:变配中。
    node_group_type str
    节点组类型。
    nodes Sequence[NodeGroupNodeArgs]
    subnet_ids Sequence[str]
    子网ID列表。
    system_disk NodeGroupSystemDiskArgs
    系统盘。
    target_disk_size int
    待扩容的目标磁盘大小,最小60GB,最大2048GB,单位GB。
    terminate_time str
    集群终止时间。
    with_public_ip bool
    ECS是否附带公网IP。
    zone_id str
    zoneId,为空时默认复用集群的zoneId。
    applicationLayouts List<Property Map>
    chargePreConfig Property Map
    包周期付费配置。
    chargeType String
    付费类型。PRE表示包月,POST表示按量计费。
    clusterId String
    集群ID。
    createdTime Number
    创建时间。
    dataDisks List<Property Map>
    ecsInstanceTypes List<String>
    ECS实例规格列表。当前修改仅支持单个实例规格。
    layoutComponentNames List<String>
    返回的节点组组件的自定义配置参数列表。
    nodeCount Number
    节点数量。取值范围:1~1000。
    nodeGroupId String
    节点组ID。
    nodeGroupName String
    节点组名称。
    nodeGroupState String
    节点组状态。RUNNING:运行中。EXTENDING:扩容中。REDUCING:缩容中。DISK_EXTENDING:磁盘扩容中。MODIFYING:变配中。
    nodeGroupType String
    节点组类型。
    nodes List<Property Map>
    subnetIds List<String>
    子网ID列表。
    systemDisk Property Map
    系统盘。
    targetDiskSize Number
    待扩容的目标磁盘大小,最小60GB,最大2048GB,单位GB。
    terminateTime String
    集群终止时间。
    withPublicIp Boolean
    ECS是否附带公网IP。
    zoneId String
    zoneId,为空时默认复用集群的zoneId。

    Supporting Types

    NodeGroupApplicationLayout, NodeGroupApplicationLayoutArgs

    ApplicationName string
    应用名称。
    LayoutComponentNames List<string>
    组件的自定义配置参数列表。
    ApplicationName string
    应用名称。
    LayoutComponentNames []string
    组件的自定义配置参数列表。
    applicationName String
    应用名称。
    layoutComponentNames List<String>
    组件的自定义配置参数列表。
    applicationName string
    应用名称。
    layoutComponentNames string[]
    组件的自定义配置参数列表。
    application_name str
    应用名称。
    layout_component_names Sequence[str]
    组件的自定义配置参数列表。
    applicationName String
    应用名称。
    layoutComponentNames List<String>
    组件的自定义配置参数列表。

    NodeGroupChargePreConfig, NodeGroupChargePreConfigArgs

    AutoRenew bool
    是否开启自动续费。
    AutoRenewPeriod int
    自动续费触发时的续费时长,当autoRenew=true时,默认值=1。
    AutoRenewPeriodUnit string
    自动续费触发时的续费时长单位,当autoRenew=true时,默认值=Month。取值范围:Month:月。Year:年。
    ChargePeriod int
    chargeType=PRE默认值=1,包月的购买时长单位。
    ChargePeriodUnit string
    chargeType=PRE时,默认值=Month,包月的购买时长单位。取值范围:Month:月。Year:年。
    ChargeType string
    付费类型,枚举值:POST,PRE。
    AutoRenew bool
    是否开启自动续费。
    AutoRenewPeriod int
    自动续费触发时的续费时长,当autoRenew=true时,默认值=1。
    AutoRenewPeriodUnit string
    自动续费触发时的续费时长单位,当autoRenew=true时,默认值=Month。取值范围:Month:月。Year:年。
    ChargePeriod int
    chargeType=PRE默认值=1,包月的购买时长单位。
    ChargePeriodUnit string
    chargeType=PRE时,默认值=Month,包月的购买时长单位。取值范围:Month:月。Year:年。
    ChargeType string
    付费类型,枚举值:POST,PRE。
    autoRenew Boolean
    是否开启自动续费。
    autoRenewPeriod Integer
    自动续费触发时的续费时长,当autoRenew=true时,默认值=1。
    autoRenewPeriodUnit String
    自动续费触发时的续费时长单位,当autoRenew=true时,默认值=Month。取值范围:Month:月。Year:年。
    chargePeriod Integer
    chargeType=PRE默认值=1,包月的购买时长单位。
    chargePeriodUnit String
    chargeType=PRE时,默认值=Month,包月的购买时长单位。取值范围:Month:月。Year:年。
    chargeType String
    付费类型,枚举值:POST,PRE。
    autoRenew boolean
    是否开启自动续费。
    autoRenewPeriod number
    自动续费触发时的续费时长,当autoRenew=true时,默认值=1。
    autoRenewPeriodUnit string
    自动续费触发时的续费时长单位,当autoRenew=true时,默认值=Month。取值范围:Month:月。Year:年。
    chargePeriod number
    chargeType=PRE默认值=1,包月的购买时长单位。
    chargePeriodUnit string
    chargeType=PRE时,默认值=Month,包月的购买时长单位。取值范围:Month:月。Year:年。
    chargeType string
    付费类型,枚举值:POST,PRE。
    auto_renew bool
    是否开启自动续费。
    auto_renew_period int
    自动续费触发时的续费时长,当autoRenew=true时,默认值=1。
    auto_renew_period_unit str
    自动续费触发时的续费时长单位,当autoRenew=true时,默认值=Month。取值范围:Month:月。Year:年。
    charge_period int
    chargeType=PRE默认值=1,包月的购买时长单位。
    charge_period_unit str
    chargeType=PRE时,默认值=Month,包月的购买时长单位。取值范围:Month:月。Year:年。
    charge_type str
    付费类型,枚举值:POST,PRE。
    autoRenew Boolean
    是否开启自动续费。
    autoRenewPeriod Number
    自动续费触发时的续费时长,当autoRenew=true时,默认值=1。
    autoRenewPeriodUnit String
    自动续费触发时的续费时长单位,当autoRenew=true时,默认值=Month。取值范围:Month:月。Year:年。
    chargePeriod Number
    chargeType=PRE默认值=1,包月的购买时长单位。
    chargePeriodUnit String
    chargeType=PRE时,默认值=Month,包月的购买时长单位。取值范围:Month:月。Year:年。
    chargeType String
    付费类型,枚举值:POST,PRE。

    NodeGroupDataDisk, NodeGroupDataDiskArgs

    Count int
    磁盘块数,默认值4,最大15,最小1。
    Size int
    磁盘大小,默认值80GB,最小60GB,最大2048GB,单位GB。
    VolumeType 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。
    VolumeType 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。
    volumeType 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。
    volumeType 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。
    volumeType 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。

    NodeGroupNode, NodeGroupNodeArgs

    CreatedTime int
    节点创建时间。
    EcsInstanceType string
    ecs实例规格。
    NodeFqdn string
    节点FQDN。
    NodeId string
    节点ID。
    NodeName string
    节点名称。
    NodeState string
    节点状态。UNKNOWN:未知状态。CREATING:创建中。RUNNING:运行中。STOPPING:停止中。STOPPED:已停止。REBOOTING:重启中。DELETED:已删除。
    PrivateIp string
    私有IP。
    PublicIp string
    公网IP。
    ReadyTime int
    准备完毕时间。
    TerminateTime int
    集群终止时间。
    CreatedTime int
    节点创建时间。
    EcsInstanceType string
    ecs实例规格。
    NodeFqdn string
    节点FQDN。
    NodeId string
    节点ID。
    NodeName string
    节点名称。
    NodeState string
    节点状态。UNKNOWN:未知状态。CREATING:创建中。RUNNING:运行中。STOPPING:停止中。STOPPED:已停止。REBOOTING:重启中。DELETED:已删除。
    PrivateIp string
    私有IP。
    PublicIp string
    公网IP。
    ReadyTime int
    准备完毕时间。
    TerminateTime int
    集群终止时间。
    createdTime Integer
    节点创建时间。
    ecsInstanceType String
    ecs实例规格。
    nodeFqdn String
    节点FQDN。
    nodeId String
    节点ID。
    nodeName String
    节点名称。
    nodeState String
    节点状态。UNKNOWN:未知状态。CREATING:创建中。RUNNING:运行中。STOPPING:停止中。STOPPED:已停止。REBOOTING:重启中。DELETED:已删除。
    privateIp String
    私有IP。
    publicIp String
    公网IP。
    readyTime Integer
    准备完毕时间。
    terminateTime Integer
    集群终止时间。
    createdTime number
    节点创建时间。
    ecsInstanceType string
    ecs实例规格。
    nodeFqdn string
    节点FQDN。
    nodeId string
    节点ID。
    nodeName string
    节点名称。
    nodeState string
    节点状态。UNKNOWN:未知状态。CREATING:创建中。RUNNING:运行中。STOPPING:停止中。STOPPED:已停止。REBOOTING:重启中。DELETED:已删除。
    privateIp string
    私有IP。
    publicIp string
    公网IP。
    readyTime number
    准备完毕时间。
    terminateTime number
    集群终止时间。
    created_time int
    节点创建时间。
    ecs_instance_type str
    ecs实例规格。
    node_fqdn str
    节点FQDN。
    node_id str
    节点ID。
    node_name str
    节点名称。
    node_state str
    节点状态。UNKNOWN:未知状态。CREATING:创建中。RUNNING:运行中。STOPPING:停止中。STOPPED:已停止。REBOOTING:重启中。DELETED:已删除。
    private_ip str
    私有IP。
    public_ip str
    公网IP。
    ready_time int
    准备完毕时间。
    terminate_time int
    集群终止时间。
    createdTime Number
    节点创建时间。
    ecsInstanceType String
    ecs实例规格。
    nodeFqdn String
    节点FQDN。
    nodeId String
    节点ID。
    nodeName String
    节点名称。
    nodeState String
    节点状态。UNKNOWN:未知状态。CREATING:创建中。RUNNING:运行中。STOPPING:停止中。STOPPED:已停止。REBOOTING:重启中。DELETED:已删除。
    privateIp String
    私有IP。
    publicIp String
    公网IP。
    readyTime Number
    准备完毕时间。
    terminateTime Number
    集群终止时间。

    NodeGroupSystemDisk, NodeGroupSystemDiskArgs

    Size int
    系统盘大小,默认值80GB,最小60GB,最大2048GB,单位GB。
    VolumeType 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。
    Size int
    系统盘大小,默认值80GB,最小60GB,最大2048GB,单位GB。
    VolumeType 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。
    size Integer
    系统盘大小,默认值80GB,最小60GB,最大2048GB,单位GB。
    volumeType 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。
    size number
    系统盘大小,默认值80GB,最小60GB,最大2048GB,单位GB。
    volumeType 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。
    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。
    size Number
    系统盘大小,默认值80GB,最小60GB,最大2048GB,单位GB。
    volumeType 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。

    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 bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.20
    published on Thursday, Mar 26, 2026 by Byteplus
      Try Pulumi Cloud free. Your team will thank you.