ExtendCluster
Scales out a cluster.
Operation description
Closes a remote session.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:ExtendCluster |
update |
*Cluster
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
No |
The cluster ID. |
i15b480fbd2fcdbc2869cd80 |
| NodeGroups |
array<object> |
No |
The node groups. |
|
|
array<object> |
No |
The node groups. |
||
| Nodes |
array<object> |
No |
The list of nodes. |
|
|
array<object> |
No |
The list of nodes. |
||
| Hostname |
string |
No |
The hostname. |
d044d220-33fd-11ed-86a6 |
| NodeId |
string |
No |
The node ID. |
e01-cn-zvp2zdpy601 |
| LoginPassword |
string |
No |
The logon password. |
Demo****123! |
| VpcId |
string |
No |
The VPC ID. |
vpc-0jlasms92fdxqd3wlf8ny |
| VSwitchId |
string |
No |
The vSwitch ID. |
vsw-bp169pi5fj151rrms4sia |
| DataDisk |
array<object> |
No |
The data cloud disk specifications. |
|
|
object |
No |
The data cloud disk specifications. |
||
| DeleteWithNode |
boolean |
No |
Specifies whether the data cloud disk is deleted when the node is unsubscribed. |
true |
| Category |
string |
No |
The disk category. |
cloud_essd |
| Size |
integer |
No |
The disk size. |
80 |
| PerformanceLevel |
string |
No |
The performance parameter of the data cloud disk. |
PL0 |
| BurstingEnabled |
boolean |
No |
Specifies whether to enable burstable performance. |
true |
| ProvisionedIops |
integer |
No |
The provisioned performance (IOPS). Valid values: 0 to 50000. |
1000 |
| Device |
string |
No |
The device name of the data cloud disk. This parameter applies only to full image scenarios. You can use this parameter to set the device name of the data cloud disk to match the source data cloud disk in the full image, and modify the properties of the corresponding data cloud disk. For non-full image scaling, the Device parameter is set by the system by default. When you use full image scaling:
|
/dev/xvdb |
| Encrypted |
boolean |
No |
Specifies whether to encrypt the data cloud disk. Valid values:
Default value: false. Important When you use a shared encrypted image to create a cloud disk based on an encrypted snapshot, you must set the Encrypted request parameter to true for the cloud disk to ensure that the created cloud disk uses the recipient's own key. |
false |
| KMSKeyId |
string |
No |
The KMS key ID for the data cloud disk. If Encrypted is set to true and KMSKeyId is not specified, the default key is used for encryption, and the KMSKeyId value is returned after the instance is created.
|
719e7359-1a44-4bab-a520-6d4648b610d0 |
| SecurityGroupId |
string |
No |
The security group ID. |
sg-uf68xu2102avz7pl3t5d |
| HyperNodes |
array<object> |
No |
The list of hypernodes. |
|
|
array<object> |
No |
The hypernode information. |
||
| Hostname |
string |
No |
The hostname. |
liliang-rmn7stf7-0000 |
| LoginPassword |
string |
No |
The logon password. |
Demo****123! |
| HyperNodeId |
string |
No |
The hypernode ID. |
e01-cn-2r42tmj4z02 |
| VpcId |
string |
No |
The VPC ID. |
vpc-0jl8gs7qmx89739e210dn |
| VSwitchId |
string |
No |
The vSwitch ID. |
vsw-8vbobo4cvzsygw98f4j6b |
| DataDisk |
array<object> |
No |
The list of disk information. |
|
|
object |
No |
The disk information. |
||
| DeleteWithNode |
boolean |
No |
Specifies whether the data cloud disk is deleted when the node is unsubscribed. |
True |
| Category |
string |
No |
The disk category. Valid values:
|
cloud_essd |
| Size |
integer |
No |
The disk size. Unit: GiB. |
10 |
| PerformanceLevel |
string |
No |
The performance level of the ESSD when it is used as the system cloud disk. Valid values:
|
PL1 |
| BurstingEnabled |
boolean |
No |
Specifies whether to enable burstable performance. |
false |
| ProvisionedIops |
integer |
No |
The read and write IOPS of the provisioned performance for a single ESSD AutoPL cloud disk. |
9600 |
| Device |
string |
No |
The device name of the data cloud disk. This parameter applies only to full image scenarios. You can use this parameter to set the device name of the data cloud disk to match the source data cloud disk in the full image, and modify the properties of the corresponding data cloud disk. For non-full image scaling, the Device parameter is set by the system by default. When you use full image scaling:
|
/dev/xvdb |
| Encrypted |
boolean |
No |
Specifies whether to encrypt the data cloud disk. Valid values:
Default value: false. Important When you use a shared encrypted image to create a cloud disk based on an encrypted snapshot, you must set the Encrypted request parameter to true for the cloud disk to ensure that the created cloud disk uses the recipient's own key. |
false |
| KMSKeyId |
string |
No |
The KMS key ID for the data cloud disk. If Encrypted is set to true and KMSKeyId is not specified, the default key is used for encryption, and the KMSKeyId value is returned after the instance is created.
|
69dfe996-ae32-4d61-a4aa-914aff3fc3a0 |
| SecurityGroupId |
string |
No |
The security group ID. |
sg-uf68xu2102avz7pl3t5d |
| NodeGroupId |
string |
No |
The node group ID. |
i16d4883a46cbadeb4bc9 |
| UserData |
string |
No |
The custom executable shell script. The script must be Base64-encoded. The maximum size of the raw data is 16 KB. |
ZWNobyBoZWxsbyBlY3Mh |
| ZoneId |
string |
No |
The zone ID. |
cn-hangzhou-i |
| Amount |
integer |
No |
The number of nodes to purchase. Valid values: 0 to 500. If the Amount parameter is set to 0, no nodes are purchased, and existing nodes are used for scaling. If the Amount parameter is set to a value from 1 to 500, a specified number of nodes are purchased and used for scaling. Default value: 0. |
4 |
| ChargeType |
string |
No |
The billing method of the node. This parameter does not take effect when the Amount parameter is set to 0. Valid values: PREPAY: subscription; POSTPAY: pay-as-you-go. Default value: PREPAY. |
PostPaid |
| Period |
integer |
No |
The subscription period of the node. Unit: months. Valid values: 1, 6, 12, 24, 36, and 48. This parameter takes effect only when the Amount parameter is not set to 0 and the ChargeType parameter is set to PREPAY. |
6 |
| AutoRenew |
boolean |
No |
Specifies whether to enable auto-renewal for the purchased node. This parameter takes effect only when the Amount parameter is not set to 0 and the ChargeType parameter is set to PREPAY or POSTPAY. Valid values: True: Auto-renewal is enabled. False: Auto-renewal is disabled. Default value: False. |
True |
| Hostnames |
array |
No |
The hostnames of the purchased nodes. This parameter does not take effect when the Amount parameter is set to 0. |
|
|
string |
No |
The hostname. |
i22c11282.eu95sqa |
|
| LoginPassword |
string |
No |
The logon password of the purchased node. This parameter does not take effect when the Amount parameter is set to 0. |
skkO(*89Y |
| NodeTag |
array<object> |
No |
The node tags. |
|
|
object |
No |
The node tags. |
||
| Key |
string |
No |
The tag key of the node. |
key_my |
| Value |
string |
No |
The tag value of the node. |
value_my |
| VpcId |
string |
No |
The VPC ID. |
vpc-0jl3b0c0ukydlfezr13n6 |
| VSwitchId |
string |
No |
The vSwitch ID. |
vsw-uf65m8xqjgy55xj9jw92n |
| SavingsPlanId |
string |
No |
The savings plan ID. |
spn-25e985acAWbrwEBJ |
| IgnoreFailedNodeTasks |
boolean |
No |
Specifies whether to skip failed nodes. Default value: false. |
false |
| VpdSubnets |
array |
No |
The list of cluster subnets. |
|
|
string |
No |
The VPD subnet. |
["subnet-3od2fe","subnet-fdo3dv"] |
|
| IpAllocationPolicy |
array<object> |
No |
The combined IP allocation policies. Each policy supports only one policy type, and multiple policies can be combined. |
|
|
array<object> |
No |
The IP allocation policy. |
||
| BondPolicy |
object |
No |
Specifies the cluster subnet ID based on the bond name. |
|
| BondDefaultSubnet |
string |
No |
The default bond cluster subnet. |
subnet-3od2fe |
| Bonds |
array<object> |
No |
The bond information. |
|
|
object |
No |
The bond object. |
||
| Name |
string |
No |
The bond name. |
Bond0 |
| Subnet |
string |
No |
The source cluster subnet for IP addresses. |
subnet-3od2fe |
| MachineTypePolicy |
array<object> |
No |
The machine type allocation policy. |
|
|
array<object> |
No |
The policy object. |
||
| Bonds |
array<object> |
No |
The bond information. |
|
|
object |
No |
The bond object. |
||
| Name |
string |
No |
The bond name. |
Bond0 |
| Subnet |
string |
No |
The source cluster subnet for IP addresses. |
subnet-fdo3dv |
| MachineType |
string |
No |
The machine type. |
efg1.nvga1 |
| NodePolicy |
array<object> |
No |
The node allocation policy. |
|
|
array<object> |
No |
The policy object. |
||
| Bonds |
array<object> |
No |
The bond information. |
|
|
object |
No |
The bond object. |
||
| Name |
string |
No |
The bond name. |
Bond0 |
| Subnet |
string |
No |
The source cluster subnet for IP addresses. |
subnet-fdo3dv |
| NodeId |
string |
No |
The node ID. |
i-3fdodw2 |
| Hostname |
string |
No |
The hostname. |
a100-xa5dza28-0085 |
| VSwitchZoneId |
string |
No |
The zone ID of the vSwitch. Valid values:
|
cn-shanghai-b |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
03668372-18FF-5959-98D9-6B36A4643C7A |
| TaskId |
string |
The task ID. |
i158475611663639202234 |
Examples
Success response
JSON format
{
"RequestId": "03668372-18FF-5959-98D9-6B36A4643C7A",
"TaskId": "i158475611663639202234"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.