Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to query specification resources for instances provided by CVM ECS

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how to query specification resources for an example provided by CVM ECS. It is very detailed and has a certain reference value. Friends who are interested must read it!

DescribeInstanceTypes

Description

The instance specification list queried by DescribeInstanceTypes is the same as the postpaid instance list when the instance is created. For more details, see pay-per-use and usage restrictions.

If you need to use more instance specification resources, you can submit a ticket to contact us.

Request parameter

Return parameters

Example

Request example

Https://ecs.aliyuncs.com/?Action=DescribeInstanceTypes&

Return the example

XML format

1651FBB6-4FBF-49FF-A9F5-DF5D696C7EC6 ecs.t1.xsmall 1 0.5 ecs.t1.small 1 1

JSON format

{"RequestId": "1651FBB6-4FBF-49FF-A9F5-DF5D696C7EC6", "InstanceTypes": {"InstanceType": [{"InstanceTypeId": "ecs.t1.xsmall", "CpuCoreCount": 1, "MemorySize": 0.5}, {"InstanceTypeId": "ecs.t1.small", "CpuCoreCount": 1 "MemorySize": 1}]}}

Error code

It's all public error codes. For more error codes, please visit the API error Center.

The above are all the contents of how to query specification resources for an example provided by CVM ECS. Thank you for your reading. Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report