All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

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
}
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback