This article introduces how to simply and quickly query the attribute list of one or more deployment sets, and focuses on the specific steps. The content of this article is compact, and I hope everyone can gain something.
DescribeDeploymentSets
Request Parameters
Return Parameters
##Data TypeDeploymentSetType
Example
Request example
https://ecs.aliyuncs.com/?Action=DescribeDeploymentSets &RegionId=cn-hangzhou &DeploymentSetsIds=["ds-bp13v7bjnj9gisnlo1"] &<公共请求参数>
Return example
XML format
<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 format
{ "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"] } } ] } }
Error code
The following errors are unique to this interface code. For more error codes, please visit the API Error Center.The above is the detailed content of How to quickly and easily query the attribute list of one or more deployment sets. For more information, please follow other related articles on the PHP Chinese website!