DescribeInstanceAvailableCidrBlock
1. API Description
This API is used to query available CIDR blocks for the instance.
2. Input Parameters
The following request parameter list only provides API request parameters.
instanceId
Yes
String
ID of the instance.
You can find the instanceId
in the response by calling DescribeInstances
.
cidrBlockType
No
String
Type of CIDR block. The optional values are as follows:
IPv4
IPv6
3. Output Parameters
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
instanceAvailableCidrBlocks
Array of InstanceAvailableCidrBlock
List of available CIDR blocks for the instance.
4. Code Example
Query available IPv4 CIDR blocks for instance 123456
.
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