本文在介紹如何查詢雲端伺服器 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 提供的實例規格族資源的詳細內容。更多資訊請關注PHP中文網其他相關文章!