ValidateAttachInstance

Last updated:2022-09-05 10:13:06

1. Description

You can call this operation to validate the availability of a KEC instance, and specifically, validate the number of EBS volumes attached to the KEC instance.

2. Request parameters

Parameter Type Required Description
VolumeType String Yes The type of the EBS volume. Valid values: ESSD_PL1/ESSD_PL2/ESSD_PL3/SSD3.0/EHDD.
InstanceId String Yes The ID of the KEC instance to be validated. The ID must be 36 characters in length and can contain letters, digits, and hyphens (-).
Version String Yes The API version. Valid value: 2016-03-04.

3. Response parameters

Parameter Type Required Description
RequestId String Yes The request ID.
InstanceEnable Boolean Yes Indicates whether the KEC instance is available. True indicates yes. False indicates no, for example, the number of EBS volumes attached to the KEC instance exceeds the upper limit.
LargeVolumeSupport Boolean Yes True indicates support, and false means not.
AvailableVolumeNum Inerger Yes Indicates how many data disks can be attached.
InstanceState String Yes Host instance status:
active running
stopped is closed
without_sys_disk No system disk
epc instance status:
Running is running
Stopped is closed

4. Examples

Request parameters

http://ebs.api.ksyun.com/
?Action=ValidateAttachInstance
&Version=2016-03-04

Response parameters

{
    "RequestId": "111",
    "InstanceEnable": false
}

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈