All Products
Search
Document Center

Platform For AI:CreateNodeGroup

Last Updated:Jul 25, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Create Node Group under Cluster

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
eflo:CreateNodeGroupcreate
*Cluster
acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
NodeGroupobjectYes

Node ID.

AzstringYes

Availability Zone

cn-wulanchabu-b
NodeGroupDescriptionstringNo

Node group description

describe for node group
NodeGroupNamestringYes

Node group name

PAI-LINGJUN
MachineTypestringYes

Machine type

mock-machine-type3
ImageIdstringYes

Image ID.

i191887641687336652616
UserDatastringNo

User-defined data

#!/bin/bash uptime echo "aaaaaaa" >> /tmp/ttttt20250110141010.sh
SystemDiskobjectNo

Details of the node system disk configuration.

SizeintegerNo

Unit: GB.

1000
PerformanceLevelstringNo

When creating an ESSD cloud disk as a system disk, set the performance level of the cloud disk. Value range:

  • PL0: Maximum random read/write IOPS per disk 10,000.
  • PL1: Maximum random read/write IOPS per disk 50,000.
PL1
CategorystringNo

Disk type. Value range:

  • cloud_essd: ESSD cloud disk.
clou_essd
FileSystemMountEnabledbooleanNo

Whether file storage mounting is supported

true
VirtualGpuEnabledbooleanNo

Whether to enable gpu virtualization or not

false
KeyPairNamestringNo

Key pair name.

test-keypair
LoginPasswordstringNo

Password

test-LoginPassword
ClusterIdstringYes

Cluster ID

i118191731740041623425
NodeUnitobjectNo

Node information

anyNo

Node Information

{\"NodeUnitId\":\"3c2999a8-2b95-4409-93c5-ad3985fc5c9f\",\"ResourceGroupId\":\"\",\"MaxNodes\":0,\"NodeUnitName\":\"asi_cn-serverless-sale_e01-lingjun-psale\"}

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

ID of the request

887FA855-89F4-5DB3-B305-C5879EC480E6
NodeGroupIdstring

Node group ID

ng-ec3c96ff0aa4c60d
NodeGroupNamestring

NodeGroupName

emr-default

Examples

Sample success responses

JSONformat

{
  "RequestId": "887FA855-89F4-5DB3-B305-C5879EC480E6",
  "NodeGroupId": "ng-ec3c96ff0aa4c60d",
  "NodeGroupName": "emr-default"
}

Error codes

For a list of error codes, visit the Service error codes.