DescribeInstanceTypes
Last updated
Last updated
This API is used to query the model configuration of an instance.
Note
Use DescribeInstanceTypes
to query the configuration and performance information of an instance model. If you need to check the available instance models in a specific zone, please call DescribeAvailableResources.
The following request parameter list only provides API request parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Query the instance models
Zenlayer Cloud API 2.0 integrates SDKs to make it easier for you to call APIs. More programming languages will be supported.
No error codes related to the API business logic. For other error codes, see Common Error Codes.
Parameter Name | Type | Description |
---|---|---|
instanceTypeIds
No
Array of String
Instance model ID. Maximum number: 100
minimumCpuCoreCount
No
Integer
Desired minimum number of CPU cores.
Value range: positive integer.
maximumCpuCoreCount
No
Integer
Desired maximum number of CPU cores.
Value range: positive integer.
minimumMemorySize
No
Integer
Desired minimum memory size.
Value range: positive integer.
Unit: GB.
maximumMemorySize
No
Integer
Desired maximum memory size.
Value range: positive integer.
Unit: GB.
minimumBandwidth
No
Integer
Desired minimum public inbound bandwidth cap.
Unit: Mbps.
supportRaids
No
Array of Integer
Supported RAID levels.
Value range: 0, 1, 5, 10.
supportSubnet
No
Boolean
Subnet supported or not.
minimumDiskSize
No
Integer
Desired minimum disk size.
Value range: positive integer.
Unit: GB.
maximumDiskSize
No
Integer
Desired maximum memory size.
Value range: positive integer.
Unit: GB.
isHA
No
Boolean
High availability supported or not.
imageId
No
String
Instance models that support specified image.
instanceTypes
Array of InstanceType
Information on instance model.
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.