Home  >  Article  >  Operation and Maintenance  >  How to query instance type family resources provided by cloud server ECS

How to query instance type family resources provided by cloud server ECS

坏嘻嘻
坏嘻嘻Original
2018-09-20 13:34:352199browse

This article introduces how to query the instance specification family resources provided by cloud server ECS, and focuses on the specific steps. The content of this article is compact, and I hope you can gain something from it.

DescribeInstanceTypeFamilies

Request Parameters

How to query instance type family resources provided by cloud server ECS

# #Return Parameters

How to query instance type family resources provided by cloud server ECS

##Example

Request Example

https://ecs.aliyuncs.com/?Action=DescribeInstanceTypeFamilies
&RegionId=cn-hangzhou
&<公共请求参数>

Return example

XML format

<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 format

{
    "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"
}

The above is the detailed content of How to query instance type family resources provided by cloud server ECS. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn