Skip to main content

DescribeInstanceTypes

Description

Call the DescribeInstanceTypes to query the instance specification resources provided by the cloud server ECS.

Request Method

POST

Request Path

/apsara/route/Ecs/DescribeInstanceTypes

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
InstanceTypeFamilyBODYstringNoecs.g6the specification family to which the instance specification belongs. See DescribeInstanceTypeFamilies for values. For more details, please refer to the instance specification section in the cloud server ECS product introduction.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
InstancePpsTxlong300000Intranet outbound network packet sending and receiving capability, unit: Pps.
LocalStorageCapacitylong5000The single disk capacity of the local disk mounted on the instance, in GiB.
TotalEniQueueQuantityinteger128the quota of queues allowed to be modified by the instance specification. Note The number of queues for primary network cards is not accumulated.
EniTrunkSupportedbooleanfalseDescription This parameter is not currently supported.
InstanceTypeFamilystringecs.g5instance specification family.
InstancePpsRxlong300000Intranet inbound network packet sending and receiving capability, unit: Pps.
InstanceBandwidthRxinteger1024000internal network inbound bandwidth limit, unit: kbit/s.
InstanceBandwidthTxinteger1024000internal network outbound bandwidth limit, unit: kbit/s.
LocalStorageAmountinteger1the number of local disks mounted on the instance.
LocalStorageCategorystringlocal_ssd_prolocal disk type. Possible values: local_hdd_pro: SATA HDD local disk on instance type family d1. local_ssd_pro: NVMe SSD local disks installed in instance type families i2, ga1, and gn5.
GPUSpecstringNVIDIA V100GPU type.
InstanceTypeIdstringecs.g5.largeinstance specification ID.
InstanceTypesarray of instancetypeNo sample value for this parameter.set of instance specification families.
InstanceTypeNo sample value for this parameter.No description for this parameter.
MemorySizefloat8.0memory size, unit GiB.
EniIpv6AddressQuantityinteger1IPv6 address limit for a single flexible network card.
CpuCoreCountinteger8vCPU number.
EniTotalQuantityinteger0Description This parameter is not currently supported.
RequestIdstring00827261-20B7-4562-83F2-4DF39876A45Arequest ID.
InitialCreditinteger120initial vCPU integral value of burst performance instance t5.
EniQuantityinteger2The upper limit of the supported ENI.
GPUAmountinteger2number of GPU.
BaselineCreditinteger4benchmark vCPU computing performance (sum of all vCPUs) of burst performance instance t5.
InstanceFamilyLevelstringEnterpriseLevelinstance type family level. Possible values: EntryLevel: entry level. EnterpriseLevel: enterprise level. CreditEntryLevel: entry level of points.
EniPrivateIpAddressQuantityinteger6the upper limit of the private IP address of a single flexible network card.

Example

Successful Response example

{
"InstancePpsTx":"300000",
"LocalStorageCapacity":"5000",
"TotalEniQueueQuantity":"128",
"EniTrunkSupported":"false",
"InstanceTypeFamily":"ecs.g5",
"InstancePpsRx":"300000",
"InstanceBandwidthRx":"1024000",
"InstanceBandwidthTx":"1024000",
"LocalStorageAmount":"1",
"LocalStorageCategory":"local_ssd_pro",
"GPUSpec":"NVIDIA V100",
"InstanceTypeId":"ecs.g5.large",
"InstanceTypes":"",
"InstanceType":"",
"MemorySize":"8.0",
"EniIpv6AddressQuantity":"1",
"CpuCoreCount":"8",
"EniTotalQuantity":"0",
"RequestId":"00827261-20B7-4562-83F2-4DF39876A45A",
"InitialCredit":"120",
"EniQuantity":"2",
"GPUAmount":"2",
"BaselineCredit":"4",
"InstanceFamilyLevel":"EnterpriseLevel",
"EniPrivateIpAddressQuantity":"6"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}