Mengubah nama atau deskripsi Storage Capacity Unit (SCU).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:ModifyStorageCapacityUnitAttribute |
update |
*StorageCapacityUnit
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah SCU. Anda dapat memanggil DescribeRegions untuk mengkueri daftar wilayah Alibaba Cloud terbaru. |
cn-hangzhou |
| StorageCapacityUnitId |
string |
Yes |
ID SCU. |
scu-bp67acfmxazb4p**** |
| Name |
string |
No |
Nama baru SCU. Nama harus terdiri dari 2 hingga 128 karakter dan dapat berisi huruf, angka, titik dua (:), garis bawah (_), dan tanda hubung (-). Nama harus diawali dengan huruf atau karakter Tionghoa, dan tidak dapat diawali dengan http:// atau https://. |
testNewScuName |
| Description |
string |
No |
Deskripsi baru SCU. Deskripsi harus terdiri dari 2 hingga 256 karakter dan tidak dapat diawali dengan http:// atau https://. |
testNewScuDescription |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter.RegionId | The specified RegionId should not be null. | |
| 400 | InvalidParameter.Name | The specified Name is invalid. | |
| 400 | InvalidDescription.Malformed | The specified Description is wrongly formed. | |
| 400 | MissingParameter.StorageCapacityUnitId | The specified StorageCapacityUnitId is not supported. | |
| 404 | InvalidStorageCapacityUnitId.NotFound | The specified StorageCapacityUnitId does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.