Description
Cluster configuration information, which is contained in the information returned by GetCluster.
Details
Attribute | Type | Description |
---|---|---|
Disks | object | Disk configurations of instances in a cluster |
Networks | Object | Network configurations of instances in a cluster. |
Mounts | Object | Network disk mounting configurations of instances in a cluster. |
Disks
Description
Disk configuration of the cluster.
Details
Attribute | Type | Description |
---|---|---|
SystemDisk | object | System disk information |
DataDisk | array | Data disk information |
SystemDisk
Description
System disk configuration of the cluster.
Details
Attribute | Type | Description |
---|---|---|
Type | string | Disk type. Default value: ephemeral |
Size | int | Disk size.The range varies according to the disk type. |
The following system disk type is available:
- ephemeral: ephemeral disk
- cloud - basic cloud disk
System disk size, in the unit of GB. Value range:
- ephemeral - 40~500
- cloud - 40~500
Default value: size=max{40, ImageSize}
The value of this parameter must be greater than or equal to max{40, ImageSize}.
DataDisk
Description
Data disk configuration of the cluster.
Details
Attribute | Type | Description |
---|---|---|
Type | string | Disk type. Default value: ephemeral |
Size | int | Disk size.The range varies according to the disk type. |
MountPoint | String | Disk mount point |
The following data disk type is available:
- ephemeral: ephemeral disk
- cloud - basic cloud disk
Data disk size, in the unit of GB. Value range:
- ephemeral - 5~1024
- cloud - 5~2000
In the Windows operating system, MountPoint can only specify the drive, for example, “D:”. The drive letter can be any letter from A to Z, except C.
Networks
Description
Network configuration of the cluster.
Details
Attribute | Type | Description |
---|---|---|
Classic | Object | Classic network configuration information. |
VPC | Object | VPC network information, which is currently not supported. |
Classic
Description
Classic network configuration information.
Details
Attribute | Type | Description |
---|---|---|
AllowIpAddress | Array | IP address that allows the inbound traffic. |
AllowIpAddressEgress | Array | IP address that allows the outbound traffic. |
AllowSecurityGroup | Array | Security group that allows the inbound traffic. |
AllowSecurityGroupEgress | Array | Security group that allows the outbound traffic. |
VPC
Description
VPC network configuration information.
Details
Attribute | Type | Description |
---|---|---|
CidrBlock | String | CIDR block of the VPC instance. |
Mounts
Description
Network disk mounting configuration of the cluster.
Details
Attribute | Type | Description |
---|---|---|
Entries | Array | List of network disk mount points. |
Locale | String | Language used when the OSS or NAS storage is mounted. |
Lock | Bool | Supported file lock when the OSS or NAS storage is mounted. |
NAS | Object | NAS configuration information. |
OSS | Object | OSS configuration information. |
MountPoint
Description
Network disk mount point.
Details
Attribute | Type | Description |
---|---|---|
Source | String | Source path for network disk mounting. It can be a string starting with “nas://“ or “oss://“. |
Destination | String | Local mount point path of the network disk. |
WriteSupport | Bool | Whether the mount point is writable. |
NAS
Description
NAS configuration information.
Details
Attribute | Type | Description |
---|---|---|
AccessGroup | Array | NAS access group to which the cluster instance must be added. |
FileSystem | Array | File system to be accessed. |
OSS
Description
OSS configuration information.
Details
Attribute | Type | Description |
---|---|---|
AccessKeyId | String | Access ID used for OSS mounting. |
AccessKeySecret | String | Access Secret used for OSS mounting. |
SecurityToken | String | Security Token used for OSS mounting. |