如何查询云服务器 ECS 提供的实例规格族资源
程序员文章站
2022-06-06 19:15:41
...
本文在介绍如何查询云服务器 ECS 提供的实例规格族资源的基础上,重点探讨了其具体步骤,本文内容紧凑,希望大家可以有所收获。
DescribeInstanceTypeFamilies
请求参数
返回参数
示例
请求示例
https://ecs.aliyuncs.com/?Action=DescribeInstanceTypeFamilies &RegionId=cn-hangzhou &<公共请求参数>
返回示例
XML 格式
<DescribeInstanceTypeFamiliesResponse> <InstanceTypeFamilies> <InstanceTypeFamily> <InstanceTypeFamilyId>ecs.t1</InstanceTypeFamilyId> <Generation>ecs-1</Generation> </InstanceTypeFamily> <InstanceTypeFamily> <InstanceTypeFamilyId>ecs.s2</InstanceTypeFamilyId> <Generation>ecs-1</Generation> </InstanceTypeFamily> <InstanceTypeFamily> <InstanceTypeFamilyId>ecs.s3</InstanceTypeFamilyId> <Generation>ecs-1</Generation> </InstanceTypeFamily> </InstanceTypeFamilies> <RequestId>6B187E0A-C075-4D08-8B6F-6213950E8733</RequestId> </DescribeInstanceTypeFamiliesResponse>
JSON 格式
{ "InstanceTypeFamilies":{ "InstanceTypeFamily":[ { "InstanceTypeFamilyId":"ecs.t1", "Generation":"ecs-1" }, { "InstanceTypeFamilyId":"ecs.s2", "Generation":"ecs-1" }, { "InstanceTypeFamilyId":"ecs.s3", "Generation":"ecs-1" } ] }, "RequestId":"6B187E0A-C075-4D08-8B6F-6213950E8733" }
以上就是如何查询云服务器 ECS 提供的实例规格族资源的详细内容,更多请关注其它相关文章!