Queries the automatic snapshot policies that have been created.
Operation description
This feature is in free public preview. During the public preview, the File Storage NAS Service-Level Agreement (SLA) protocol is not guaranteed.
Only Advanced Extreme NAS supports this feature.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:DescribeAutoSnapshotPolicies |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AutoSnapshotPolicyId |
string |
No |
The ID of the automatic snapshot policy. |
sp-extreme-233e6**** |
| PageSize |
integer |
No |
The number of automatic snapshot policies on each page. Valid values: 1 to 100. Default value: 10. |
10 |
| PageNumber |
integer |
No |
The page number of the automatic snapshot policy list. Default value: 1. |
1 |
| FileSystemType |
string |
No |
The file system type. Valid value: extreme (Extreme NAS file system). Valid values:
|
extreme |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of automatic snapshot policies. |
2 |
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| PageSize |
integer |
The number of entries per page. |
10 |
| PageNumber |
integer |
The page number of the automatic snapshot policy list. |
1 |
| AutoSnapshotPolicies |
object |
||
| AutoSnapshotPolicy |
array<object> |
The details of automatic snapshot policies. |
|
|
object |
|||
| TimePoints |
string |
The points in time at which auto snapshots are created. Unit: hours. Valid values: |
4,19 |
| Status |
string |
The status of the automatic snapshot policy. Valid values:
|
Available |
| RepeatWeekdays |
string |
The days of a week on which auto snapshots are created. Auto snapshots are created on a weekly basis. Valid values: 1 to 7. The values from 1 to 7 indicate 7 days in a week from Monday to Sunday. |
1,5 |
| AutoSnapshotPolicyName |
string |
The name of the automatic snapshot policy. |
FinanceJoshua |
| CreateTime |
string |
The time when the automatic snapshot policy was created. The time follows the ISO8601 standard in the |
2014-04-21T12:08:52Z |
| AutoSnapshotPolicyId |
string |
The ID of the automatic snapshot policy. |
sp-extreme-233e6**** |
| RetentionDays |
integer |
The retention period of auto snapshots. Unit: days. Valid values:
|
30 |
| FileSystemNums |
integer |
The number of file systems to which the automatic snapshot policy applies. |
2 |
| RegionId |
string |
The region ID of the automatic snapshot policy. |
cn-hangzhou |
| FileSystemType |
string |
The type of the file system. |
extreme |
Examples
Success response
JSON format
{
"TotalCount": 2,
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"PageSize": 10,
"PageNumber": 1,
"AutoSnapshotPolicies": {
"AutoSnapshotPolicy": [
{
"TimePoints": "4,19",
"Status": "Available",
"RepeatWeekdays": "1,5",
"AutoSnapshotPolicyName": "FinanceJoshua",
"CreateTime": "2014-04-21T12:08:52Z",
"AutoSnapshotPolicyId": "sp-extreme-233e6****",
"RetentionDays": 30,
"FileSystemNums": 2,
"RegionId": "cn-hangzhou",
"FileSystemType": "extreme"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.