Mengkueri satu templat snapshot.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:GetVodTemplate |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| VodTemplateId |
string |
Yes |
ID templat snapshot. |
7c49f2f4c0969*****fcd446690 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
DE7A1F49-41C1-47*****DF-4CD0C02087DB |
| VodTemplateInfo |
object |
Informasi tentang templat snapshot. |
|
| 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. |
| TemplateType |
string |
Tipe templat. Nilai valid:
|
Snapshot. |
| VodTemplateId |
string |
ID templat. |
7c49f2f4c09*****69fcd446690 |
| 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:57Z |
Contoh
Respons sukses
JSONformat
{
"RequestId": "DE7A1F49-41C1-47*****DF-4CD0C02087DB",
"VodTemplateInfo": {
"CreationTime": "2018-11-30T08:05:59:57Z",
"IsDefault": "NotDefault",
"TemplateType": "Snapshot",
"VodTemplateId": "7c49f2f4c09*****69fcd446690",
"TemplateConfig": "{\\\"SnapshotConfig\\\":{\\\"Count\\\":10,\\\"SpecifiedOffsetTime\\\":0,\\\"Interval\\\":1},\\\"SnapshotType\\\":\\\"NormalSnapshot\\\"}",
"Name": "test",
"ModifyTime": "2018-11-30T09:05:59:57Z"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.