本文在介紹怎麼簡單快速的查詢一個或多個部署集的屬性清單的基礎上,重點探討了其具體步驟,本文內容緊湊,希望大家可以有所收穫。
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中文網其他相關文章!