Mengikat bucket penyimpanan ke satu atau beberapa aplikasi di ApsaraVideo VOD.
Deskripsi operasi
You can call this operation to add a buckets to an ApsaraVideo VOD applications.
You can add only one ApsaraVideo VOD bucket for each application. If you specify an AppId that does not exist or the ID of an application for which an VOD bucket is enabled, an error is returned.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:AddVodStorageForApp |
create |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
ID aplikasi. Anda dapat memperoleh ID aplikasi dari parameter AppId di tanggapan operasi CreateAppInfo atau ListAppInfo. |
app-**** |
| StorageLocation |
string |
No |
Alamat bucket Object Storage Service (OSS). Parameter ini tidak berlaku. Anda dapat memanggil operasi ini untuk menambahkan hanya bucket VOD. |
out-****.oss-cn-shanghai.aliyuncs.com |
| StorageType |
string |
No |
Kelas penyimpanan. Nilai default: vod_oss_bucket. |
vod_oss_bucket |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| RequestId |
string |
The ID of the request. |
25818875-5F78-4A*****F6-D7393642CA58 |
| StorageLocation |
string |
The address of the VOD bucket. |
out-****.oss-cn-shanghai.aliyuncs.com |
Contoh
Respons sukses
JSONformat
{
"RequestId": "25818875-5F78-4A*****F6-D7393642CA58",
"StorageLocation": "out-****.oss-cn-shanghai.aliyuncs.com"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.