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

DescribeDeploymentSets

请求参数

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

返回参数

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

数据类型DeploymentSetType

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

示例

请求示例

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错误中心。怎么简单快速的查询一个或多个部署集的属性列表

标签
DT素材网

DT素材网

135

0

0

( 此人很懒并没有留下什么~~ )