Mengambil daftar konfigurasi penyimpanan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetStorageList |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
No |
ID aplikasi. |
app-**** |
| StorageType |
string |
No |
Jenis penyimpanan. |
vod_oss_bucket |
| Status |
string |
No |
Status penyimpanan OSS. |
Normal |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons |
||
| RequestId |
string |
ID permintaan |
******73-8B78-5D86-A50C-49B96C****** |
| StorageInfoList |
array<object> |
Daftar konfigurasi penyimpanan. |
|
|
object |
|||
| AppId |
string |
ID aplikasi. |
app-**** |
| StorageLocation |
string |
Penyimpanan OSS. |
your-bucket |
| Path |
string |
Jalur OSS. |
your-path/ |
| StorageType |
string |
Jenis penyimpanan. |
vod_oss_bucket |
| Status |
string |
Status penyimpanan OSS. |
Normal |
| DefaultStorage |
boolean |
Menunjukkan apakah penyimpanan tersebut merupakan penyimpanan default. |
true |
| EditingTempFileStorage |
boolean |
Menunjukkan apakah penyimpanan tersebut merupakan penyimpanan default untuk pengeditan. |
false |
| CreationTime |
string |
Waktu saat penyimpanan dibuat. |
2024-06-06T01:55:07Z |
| ModifiedTime |
string |
Waktu saat penyimpanan terakhir kali diubah. |
2024-06-06T03:07:07Z |
Contoh
Respons sukses
JSONformat
{
"RequestId": "******73-8B78-5D86-A50C-49B96C******",
"StorageInfoList": [
{
"AppId": "app-****",
"StorageLocation": "your-bucket",
"Path": "your-path/",
"StorageType": "vod_oss_bucket",
"Status": "Normal",
"DefaultStorage": true,
"EditingTempFileStorage": false,
"CreationTime": "2024-06-06T01:55:07Z",
"ModifiedTime": "2024-06-06T03:07:07Z"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.