本文在介绍怎么简单快速的查询一个或多个部署集的属性列表的基础上,重点探讨了其具体步骤,本文内容紧凑,希望大家可以有所收获。
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错误中心。
以上是怎么简单快速的查询一个或多个部署集的属性列表的详细内容。更多信息请关注PHP中文网其他相关文章!