1. API Description

This API is used to query the details of instances. You can filter the query results with the instance ID, name, or billing method.

2. Input Parameters

The following request parameter list only provides API request parameters.

3. Output Parameters

4. Code Example

Query list of virtual machine instances.

POST /api/v2/vm HTTP/1.1
Content-Type: application/json
X-ZC-Action: DescribeInstances
<Common Request Params>

  "pageNum": 1,
  "pageSize": 1

                "resourceGroupName":"Default Resource Group",
                    "diskId":"your disk id",

5. Developer Resources

Zenlayer Cloud API 2.0 integrates SDKs to make it easier for you to call APIs. More programming languages will be supported.

6. Error Codes

No error codes related to the API business logic. For other error codes, see Common Error Codes.​

Last updated