Skip to main content

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

NameLocationTypeRequiredSample valueDescription
Tag.N.KeyBODYstringNoTestKeythe 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://.
PageSizeBODYintegerNo1the number of rows per page when paging the returned automatic snapshot policy. maximum value: 100. default value: 10.
PageNumberBODYintegerNo1The returned results of the automatic snapshot policy are displayed in multiple pages. starting value: 1. default value: 1.
regionIdBODYstringYesNo sample value for this parameter.region id
Tag.N.ValueBODYstringNoTestValuethe 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://.
AutoSnapshotPolicyIdBODYstringNosp-bp67acfmxazb4p****automatic snapshot policy ID.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID of the automatic snapshot policy to be queried. You can call the DescribeRegions to view the latest Alibaba Cloud region list.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}