首页  >  文章  >  运维  >  怎么简单快速的查询一个或多个部署集的属性列表

怎么简单快速的查询一个或多个部署集的属性列表

坏嘻嘻
坏嘻嘻原创
2018-09-25 15:22:532683浏览

本文在介绍怎么简单快速的查询一个或多个部署集的属性列表的基础上,重点探讨了其具体步骤,本文内容紧凑,希望大家可以有所收获。

DescribeDeploymentSets

请求参数

微信截图_20180925151913.png

返回参数

微信截图_20180925151920.png

数据类型DeploymentSetType

微信截图_20180925151928.png

示例

请求示例

https://ecs.aliyuncs.com/?Action=DescribeDeploymentSets
&RegionId=cn-hangzhou
&DeploymentSetsIds=["ds-bp13v7bjnj9gisnlo1"]
&<公共请求参数>

返回示例

XML格式

<DescribeDeploymentSetsResponse>
<PageSize>10</PageSize>
<TotalCount>1</TotalCount>
<PageNumber>1</PageNumber>
<RequestId>1CB9A584-9E43-408D-B5A8-DB42CDECE03B</RequestId>
<DeploymentSets>
<DeploymentSet>
<DeploymentSetDescription>default</DeploymentSetDescription>
<DeploymentSetId>ds-bp13v7bjnj9gisnlo1ow</DeploymentSetId>
<DeploymentStrategy>Availability</DeploymentStrategy>
<DeploymentSetName>test default</DeploymentSetName>
<InstanceIds>
<InstanceId>i-sdfkjsdfk</InstanceId>
<InstanceId>i-kiiwsch</InstanceId>
</InstanceIds>
</DeploymentSet>
</DeploymentSets>
</DescribeDeploymentSetsResponse>

JSON格式

{
"PageSize": 10,
"TotalCount": 1,
"PageNumber": 1,
"RequestId": "1CB9A584-9E43-408D-B5A8-DB42CDECE03B",
"DeploymentSets":
{
"DeploymentSet":
[
{
"DeploymentSetDescription": "default",
"DeploymentSetId": "ds-bp13v7bjnj9gisnlo1ow",
"DeploymentStrategy": "Availability",
"DeploymentSetName": "test default",
"InstanceIds":
{
"InstanceId": ["i-sdfkjsdfk", "i-kiiwsch"]
}
}
]
}
}

错误码

以下为本接口特有的错误码。更多错误码,请访问API错误中心。微信截图_20180925151938.png

以上是怎么简单快速的查询一个或多个部署集的属性列表的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn