本篇文章主要探讨查询一个或多个部署集的属性列表的解决方法。有一定的参考价值,有需要的朋友可以参考一下,跟随小编一起来看解决方法吧。
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错误中心。
看完上述内容,你们掌握查询一个或多个部署集的属性列表的方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注亿速云行业资讯频道,感谢各位的阅读!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。