Membuat tugas inspeksi bucket.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:CreateOssBucketScanTask |
create |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| BucketNameList |
array |
Yes |
Daftar nama bucket. |
|
|
string |
No |
Nama bucket. |
hz-yqq-standard**** |
|
| ExcludeKeySuffixList |
array |
No |
Daftar sufiks file yang akan dikecualikan dari inspeksi. |
|
|
string |
No |
Sufiks file yang akan dikecualikan dari inspeksi. |
.jsp |
|
| ScanMode |
integer |
Yes |
Mode inspeksi. Nilai valid:
|
1 |
| KeySuffixList |
array |
No |
Daftar sufiks file. |
|
|
string |
No |
Menentukan bahwa kunci file yang akan diinspeksi harus diakhiri dengan sufiks yang ditentukan. |
.jsp |
|
| KeyPrefixList |
array |
No |
Daftar awalan file. |
|
|
string |
No |
Menentukan bahwa kunci file yang akan diinspeksi harus dimulai dengan KeyPrefix yang ditentukan. Awalan tidak boleh dimulai dengan garis miring (/). |
/root |
|
| AllKeyPrefix |
boolean |
No |
Apakah akan mencocokkan semua awalan. Jika parameter ini diatur ke true, parameter KeyPrefixList tidak berlaku. |
true |
| DecompressMaxLayer |
integer |
No |
Jumlah maksimum lapisan dekompresi ketika beberapa tingkat paket terkompresi bersarang. Nilai minimum: 1. Nilai maksimum: 5. Jika jumlah maksimum lapisan dekompresi terlampaui, operasi dekompresi berakhir segera. Inspeksi file yang telah didekompresi tidak terpengaruh. |
1 |
| DecompressMaxFileCount |
integer |
No |
Jumlah maksimum file yang dapat didekompresi. Nilai minimum: 1. Nilai maksimum: 1000. Jika jumlah maksimum file yang dapat didekompresi terlampaui, operasi dekompresi berakhir segera. Inspeksi file yang telah didekompresi tidak terpengaruh. |
100 |
| DecryptionList |
array |
No |
Daftar tipe dekripsi. |
|
|
string |
No |
Tipe dekripsi. Nilai valid:
|
KMS |
|
| LastModifiedStartTime |
integer |
No |
Menginspeksi file yang pengatur waktu modifikasi terakhirnya setelah timestamp yang ditentukan. Unit: milliseconds. |
1724301769834 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan, yang digunakan untuk melacak dan memecahkan masalah. ID ini dihasilkan oleh Alibaba Cloud sebagai pengidentifikasi unik permintaan. |
BBD75EC2-2F4F-5A7B-AA53-18724DC8**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "BBD75EC2-2F4F-5A7B-AA53-18724DC8****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ApiAuthExhausted | No auth count or auth count has been exhausted. | |
| 400 | TaskIsProcessing | Task Is Processing. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.