全部文档
当前文档

暂无内容

如果没有找到您期望的内容,请尝试其他搜索词

文档中心

查询机型套餐配置信息

请求参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见公共请求参数
参数名称
类型
必填
描述
Action String
公共参数,本接口取值:DescribeInstanceTypeConfigs。
Version String
公共参数,本接口取值:2016-03-04。
Filter.N Object

支持如下过滤器名称
instance-family 实例族
instance-type 实例类型
availability-zone 可用区

Name.N String

Filter.1.Name.1=instance-type

示例值:instance-type
Value.N String

Filter.1.Value.1=***

示例值:N3.8B

返回参数

参数名称
类型
描述
RequestId String
示例值:b680064f-5f5e-44e8-8bbc-915666c719ff
InstanceTypeConfigSet Object[]
InstanceType String
示例值:AC2.12B
InstanceFamily String
示例值:AC2
InstanceFamilyName String
示例值:ARM计算型 AC2
CPU Int
示例值:12
GPU Int
示例值:12
Memory Int
示例值:24
NetworkInterfaceQuota Object
NetworkInterfaceCount Int
示例值:1
PrivateIpQuota Object
PrivateIpCount Int
示例值:6
AvailabilityZoneSet Object[]
AzCode String
示例值:cn-north-1-gov-a
SystemDiskQuotaSet Object[]
SystemDiskType String
示例值:Local_SSD
DataDiskQuotaSet Object[]
DataDiskType String
示例值:Local_SSD
DataDiskMinSize Double
示例值:0
DataDiskMaxsize Double
示例值:800
DataDiskCount Int
示例值:1
AvailabilityZoneSet Object[]
AzCode String
IsSellOut Boolean

请求示例

curl -X GET|POST
'http://kec.api.ksyun.com/?Action=DescribeInstanceTypeConfigs&Version=2016-03-04'
-H 'authorization: xxx, SignedHeaders=content-type;host;x-amz-date, Signature=xxx'
-H 'cache-control: no-cache'
-H 'content-type: application/x-www-form-urlencoded'
-H 'host: kec.api.ksyun.com'
-H 'x-amz-date: 20170720T022802Z'
-d 'Filter.N.Name.N=xxx&Filter.N.Value.N=xxx'

返回示例

JSON格式

{
"RequestId":"b680064f-5f5e-44e8-8bbc-915666c719ff",
"InstanceTypeConfigSet":[
{
"InstanceType":"AC2.12B",
"InstanceFamily":"AC2",
"InstanceFamilyName":"ARM计算型 AC2",
"CPU":12,
"GPU":12,
"Memory":24,
"NetworkInterfaceQuota":{
"NetworkInterfaceCount":1
},
"PrivateIpQuota":{
"PrivateIpCount":6
},
"AvailabilityZoneSet":[
{
"AzCode":"cn-north-1-gov-a"
},
{
"AzCode":"cn-beijing-6c"
},
{
"AzCode":"ap-singapore-1b"
}
],
"SystemDiskQuotaSet":[
{
"SystemDiskType":"Local_SSD"
}
],
"DataDiskQuotaSet":[
{
"DataDiskType":"Local_SSD",
"DataDiskMinSize":0,
"DataDiskMaxsize":800,
"DataDiskCount":1
},
{
"DataDiskType":"SSD3.0",
"DataDiskMinSize":1,
"DataDiskMaxsize":32000,
"DataDiskCount":8,
"AvailabilityZoneSet":[
{
"AzCode":"cn-beijing-6d"
},
{
"AzCode":"cn-beijing-6c"
},
{
"AzCode":"cn-beijing-6b"
},
{
"AzCode":"cn-beijing-6a"
}
]
},
{
"DataDiskType":"EHDD",
"DataDiskMinSize":1,
"DataDiskMaxsize":32000,
"DataDiskCount":8,
"AvailabilityZoneSet":[
{
"AzCode":"cn-beijing-6c"
},
{
"AzCode":"cn-beijing-6b"
},
{
"AzCode":"cn-beijing-6a"
}
]
}
]
},
{
"InstanceType":"AC2.12C",
"InstanceFamilyName":"ARM计算型 AC2",
"CPU":12,
"Memory":48,
"NetworkInterfaceQuota":{
"NetworkInterfaceCount":1
},
"PrivateIpQuota":{
"PrivateIpCount":6
},
"AvailabilityZoneSet":[
{
"AzCode":"cn-north-1-gov-a"
},
{
"AzCode":"cn-beijing-6c"
},
{
"AzCode":"ap-singapore-1b"
}
],
"SystemDiskQuotaSet":[
{
"SystemDiskType":"Local_SSD"
}
],
"DataDiskQuotaSet":[
{
"DataDiskType":"Local_SSD",
"DataDiskMinSize":0,
"DataDiskMaxsize":800,
"DataDiskCount":1,
"AvailabilityZoneSet":[
{
"AzCode":"cn-beijing-6c"
},
{
"AzCode":"cn-beijing-6b"
},
{
"AzCode":"cn-beijing-6a"
}
]
},
{
"DataDiskType":"SSD3.0",
"DataDiskMinSize":1,
"DataDiskMaxsize":32000,
"DataDiskCount":8,
"AvailabilityZoneSet":[
{
"AzCode":"cn-beijing-6d"
},
{
"AzCode":"cn-beijing-6c"
},
{
"AzCode":"cn-beijing-6b"
},
{
"AzCode":"cn-beijing-6a"
}
]
},
{
"DataDiskType":"EHDD",
"DataDiskMinSize":1,
"DataDiskMaxsize":32000,
"DataDiskCount":8,
"AvailabilityZoneSet":[
{
"AzCode":"cn-beijing-6c"
},
{
"AzCode":"cn-beijing-6b"
},
{
"AzCode":"cn-beijing-6a"
}
]
}
]
}
]
}

错误码

以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码

错误码
错误信息
Http状态码
描述
QuotaQueryErrorQuota query error.400额度查询错误.
Product Type must be specified for checking sellout status.暂无400暂无
InstanceTypeNotFound暂无400暂无
Account Id must be specified for checking sellout status.暂无400暂无
纯净模式常规模式

纯净模式

点击可全屏预览文档内容