Queries information about one or more snapshots of a specified file system.
Operation description
-
This feature is in free public preview. During the public preview, the File Storage NAS Service-Level Agreement (SLA) is not guaranteed.
-
Only Advanced Extreme NAS file systems support this feature.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:DescribeSnapshots |
get |
*Snapshot
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FileSystemType |
string |
No |
The file system type. Valid values: extreme (Extreme NAS file system) Valid values:
|
extreme |
| FileSystemId |
string |
No |
The ID of the file system. |
extreme-22f**** |
| SnapshotIds |
string |
No |
The snapshot IDs. You can specify multiple snapshot IDs separated by commas (,). A maximum of 100 IDs are supported. |
s-extreme-67pxwk9aevrkr****,s-extreme-snapsho****,s-extreme-6tmsbas6ljhwh**** |
| SnapshotName |
string |
No |
The snapshot name. |
FinanceJoshua |
| SnapshotType |
string |
No |
The snapshot type. Valid values:
Valid values:
|
all |
| Status |
string |
No |
The snapshot status. Valid values:
Valid values:
|
all |
| PageSize |
integer |
No |
The number of entries per page in a paged query. Settings for the number of rows per page in paging. Valid values: 1 to 100. Default value: 10. |
10 |
| PageNumber |
integer |
No |
The page number of the snapshot list. Default value: 1. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of snapshots. |
36 |
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
| PageSize |
integer |
The number of entries per page. |
10 |
| PageNumber |
integer |
The page number of the snapshot list. |
1 |
| Snapshots |
object |
||
| Snapshot |
array<object> |
The snapshot details. |
|
|
object |
|||
| Status |
string |
The status of the snapshot. Valid values:
|
accomplished |
| Progress |
string |
The progress of the snapshot creation. The value of this parameter is expressed as a percentage. |
100 |
| CreateTime |
string |
The time when the snapshot was created. The time follows the ISO 8601 standard in UTC. The time is displayed in the |
2014-07-24T13:00:52Z |
| SourceFileSystemId |
string |
The ID of the source file system. This parameter is retained even if the source file system of the snapshot is deleted. |
extreme-012**** |
| RetentionDays |
integer |
The retention period of the auto snapshot. Unit: days. Valid values:
|
30 |
| RemainTime |
integer |
The remaining time that is required to create the snapshot. Unit: seconds. |
38 |
| SourceFileSystemSize |
integer |
The capacity of the source file system. Unit: GiB. |
2000 |
| SourceFileSystemVersion |
string |
The version of the source file system. |
1 |
| SnapshotName |
string |
The snapshot name. If you specify a name to create a snapshot, the name of the snapshot is returned. Otherwise, no value is returned for this parameter. |
FinanceJoshua |
| EncryptType |
integer |
Indicates whether the snapshot is encrypted. Valid values:
|
1 |
| Description |
string |
The description of the snapshot. |
FinanceDept |
| SnapshotId |
string |
The snapshot ID. |
s-extreme-snapsho**** |
| FileSystemType |
string |
The type of the file system. |
extreme |
| SnapshotType |
string |
The snapshot type. Valid values:
|
user |
| CompletedTime |
string |
The time when snapshot creation was complete. The time follows the ISO 8601 standard in UTC. The time is displayed in the Note
This parameter is valid only when the snapshot is created. During snapshot creation, the value of this parameter is the same as that of CreateTime. |
2014-07-24T13:10:52Z |
Examples
Success response
JSON format
{
"TotalCount": 36,
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"PageSize": 10,
"PageNumber": 1,
"Snapshots": {
"Snapshot": [
{
"Status": "accomplished",
"Progress": "100",
"CreateTime": "2014-07-24T13:00:52Z",
"SourceFileSystemId": "extreme-012****",
"RetentionDays": 30,
"RemainTime": 38,
"SourceFileSystemSize": 2000,
"SourceFileSystemVersion": "1",
"SnapshotName": "FinanceJoshua",
"EncryptType": 1,
"Description": "FinanceDept",
"SnapshotId": "s-extreme-snapsho****",
"FileSystemType": "extreme",
"SnapshotType": "user",
"CompletedTime": "2014-07-24T13:10:52Z"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.