DescribeEbsInstances

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

1. Description

You can call this operation to query KEC instances to which an EBS volume can be attached in the specified availability zone.

2. Request parameters

Parameter Type Required Description
AvailabilityZone String Yes The availability zone in which you want to query KEC instances.
VolumeType String Yes The type of the EBS volume. Valid values: ESSD_PL1/ESSD_PL2/ESSD_PL3/SSD3.0/EHDD
Version String Yes The API version. Valid value: 2016-03-04.

3. Response parameters

Parameter Type Required Description
RequestId String Yes The request ID, which is unique. A request ID is returned for each request.
Instances List No The information about the KEC instances to which the EBS volume can be attached.
InstanceId String No The ID of the KEC instance.
InstanceName String No The name of the KEC instance.
InstanceIp String No The private IP address of the KEC instance.
InstanceEnable Boolean No Indicates whether the KEC instance is available, that is, the number of EBS volumes attached to the KEC instance is less than or equal to 3. true indicates yes.

4. Examples

Request parameters

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

Response parameters

{
    "RequestId": "6e2682a1-5968-42f5-80e5-284aae218df0",
    "Instances": [
        {
            "InstanceId": "b338e59b-cac0-4e65-b9c4-a4d67f2710ff",
            "InstanceName": "zhangyun-test-0122",
            "InstanceIp": "10.0.0.14",
            "InstanceEnable": false
        },
        {
            "InstanceId": "0a1b884c-4ca0-4608-ad0e-4006043724c8",
            "InstanceName": "public-io-test-no-del",
            "InstanceIp": "10.0.0.20",
            "InstanceEnable": true
        },
        {
            "InstanceId": "40554d1c-9d06-4440-8ad1-1e7ff67be715",
            "InstanceName": "public-vm-test-no-del",
            "InstanceIp": "10.0.1.9",
            "InstanceEnable": true
        }
    ]
}

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.

问题反馈