Home > Operation and Maintenance > Linux 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

坏嘻嘻
Release: 2018-09-20 13:34:35
Original
2216 people have browsed it

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
&<公共请求参数>
Copy after login

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>
Copy after login

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"
}
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template