Mengkueri kebijakan snapshot otomatis yang telah dibuat.
Deskripsi operasi
-
Fitur ini berada dalam pratinjau publik gratis. Selama pratinjau publik, Perjanjian Tingkat Layanan (SLA) File Storage NAS tidak dijamin.
-
Hanya Advanced Extreme NAS yang mendukung fitur ini. .
-
Fitur ini berada dalam pratinjau publik gratis. Selama pratinjau publik, Perjanjian Tingkat Layanan (SLA) File Storage NAS tidak dijamin.
-
Hanya Advanced Extreme NAS yang mendukung fitur ini..
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:DescribeAutoSnapshotPolicies |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AutoSnapshotPolicyId |
string |
No |
ID kebijakan snapshot otomatis. |
sp-extreme-233e6**** |
| PageSize |
integer |
No |
Jumlah kebijakan snapshot otomatis pada setiap halaman. Nilai valid: 1 hingga 100. Nilai default: 10. |
10 |
| PageNumber |
integer |
No |
Nomor halaman daftar kebijakan snapshot otomatis. Nilai awal (nilai default): 1. |
1 |
| FileSystemType |
string |
No |
Tipe sistem file. Nilai valid: extreme (sistem file Extreme NAS). |
extreme |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
Jumlah total kebijakan snapshot otomatis. |
2 |
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| PageSize |
integer |
Jumlah entri per halaman. |
10 |
| PageNumber |
integer |
Nomor halaman daftar kebijakan snapshot otomatis. |
1 |
| AutoSnapshotPolicies |
object |
||
| AutoSnapshotPolicy |
array<object> |
Detail kebijakan snapshot otomatis. |
|
|
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 |
Contoh
Respons sukses
JSONformat
{
"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"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.