Mengkueri daftar templat snapshot.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:ListVodTemplate |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateType |
string |
Yes |
Tipe templat. Atur nilainya menjadi Snapshot. |
Snapshot. |
| AppId |
string |
No |
ID aplikasi. Atur nilainya menjadi app-1000000. Untuk informasi lebih lanjut, lihat Multi-aplikasi. |
app-**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
2A56B75B-B7E6-48*****27-A9BEAA3E50A8 |
| VodTemplateInfoList |
array<object> |
Daftar data templat snapshot. |
|
|
object |
|||
| CreationTime |
string |
Waktu pembuatan templat. Waktu dalam format yyyy-MM-ddTHH:mm:ssZ (UTC). |
2018-11-30T08:05:59:57Z |
| IsDefault |
string |
Apakah templat merupakan templat default. Nilai valid:
|
NotDefault. |
| AppId |
string |
ID aplikasi. |
app-**** |
| TemplateType |
string |
Tipe templat. Nilai valid:
|
Snapshot. |
| VodTemplateId |
string |
ID templat. |
7c49f2f42b1c*****0969fcd446690 |
| TemplateConfig |
string |
Konfigurasi templat detail dalam format JSON. Untuk informasi lebih lanjut tentang struktur data, lihat SnapshotTemplateConfig. |
{\"SnapshotConfig\":{\"Count\":10,\"SpecifiedOffsetTime\":0,\"Interval\":1},\"SnapshotType\":\"NormalSnapshot\"} |
| Name |
string |
Nama templat. |
test. |
| ModifyTime |
string |
Waktu terakhir modifikasi templat. Waktu dalam format yyyy-MM-ddTHH:mm:ssZ (UTC). |
2018-11-30T09:05:59:97Z |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2A56B75B-B7E6-48*****27-A9BEAA3E50A8",
"VodTemplateInfoList": [
{
"CreationTime": "2018-11-30T08:05:59:57Z",
"IsDefault": "NotDefault",
"AppId": "app-****",
"TemplateType": "Snapshot",
"VodTemplateId": "7c49f2f42b1c*****0969fcd446690",
"TemplateConfig": "{\\\"SnapshotConfig\\\":{\\\"Count\\\":10,\\\"SpecifiedOffsetTime\\\":0,\\\"Interval\\\":1},\\\"SnapshotType\\\":\\\"NormalSnapshot\\\"}",
"Name": "test",
"ModifyTime": "2018-11-30T09:05:59:97Z"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.