Home  >  Article  >  Operation and Maintenance  >  How to quickly and easily query the attribute list of one or more deployment sets

How to quickly and easily query the attribute list of one or more deployment sets

坏嘻嘻
坏嘻嘻Original
2018-09-25 15:22:532684browse

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

How to quickly and easily query the attribute list of one or more deployment sets

Return Parameters

How to quickly and easily query the attribute list of one or more deployment sets

##Data TypeDeploymentSetType

How to quickly and easily query the attribute list of one or more deployment sets

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.

How to quickly and easily query the attribute list of one or more deployment sets

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn