DescribeAutoSnapshotPolicyEx
Description
call DescribeAutoSnapshotPolicyEX to query the automatic snapshot policy you have created.
Request Method
POST
Request Path
/apsara/route/Ecs/DescribeAutoSnapshotPolicyEx
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
Tag.N.Key | BODY | string | No | TestKey | the tag key of the snapshot. The value range of n is 1~20. Once the value is passed in, an empty string is not allowed. it can be up to 128 characters in length. it cannot start with aliyun or acs: and cannot contain http:// or https://. |
PageSize | BODY | integer | No | 1 | the number of rows per page when paging the returned automatic snapshot policy. maximum value: 100. default value: 10. |
PageNumber | BODY | integer | No | 1 | The returned results of the automatic snapshot policy are displayed in multiple pages. starting value: 1. default value: 1. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
Tag.N.Value | BODY | string | No | TestValue | the label value of the snapshot. The value range of n is 1~20. Once the value is passed in, it can be an empty string. it can be up to 128 characters and cannot start with acs: and cannot contain http:// or https://. |
AutoSnapshotPolicyId | BODY | string | No | sp-bp67acfmxazb4p**** | automatic snapshot policy ID. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID of the automatic snapshot policy to be queried. You can call the DescribeRegions to view the latest Alibaba Cloud region list. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}