Mengubah kelompok sumber daya tempat sumber daya Elastic Block Storage (EBS) berada.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ebs:ChangeResourceGroup |
update |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah sumber daya. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-hangzhou |
| ResourceType |
string |
Yes |
Tipe sumber daya. Nilai valid:
|
diskreplicapair |
| ResourceId |
string |
Yes |
ID sumber daya. Misalnya, jika Anda menetapkan ResourceType ke diskreplicapair, tetapkan parameter ini ke ID pasangan replikasi. |
pair-123 |
| NewResourceGroupId |
string |
Yes |
ID kelompok sumber daya baru. Anda dapat Tampilan kelompok sumber daya yang tersedia di Konsol manajemen sumber daya. Untuk informasi lebih lanjut, lihat View basic information of a resource group. |
rg-123 |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi Anda harus memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Token hanya dapat berisi karakter ASCII dan tidak boleh melebihi 64 karakter. Untuk informasi lebih lanjut, lihat How to ensure idempotence. |
123e4567-e89b-12d3-a456-42665544**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
TagResponse |
||
| RequestId |
string |
The request ID. |
C123F94F-4E38-19AE-942A-A8D6F44F**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "C123F94F-4E38-19AE-942A-A8D6F44F****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The parameter %s is invalid. | |
| 400 | InvalidParameter.Conflict | The specified parameter %s and %s are not blank at the same time. | |
| 400 | InvalidParameter.Format | Specified parameter format is not valid. | |
| 400 | MissingParameter | The input parameter %s that is mandatory for processing this request is not supplied. | |
| 400 | OperationDenied.QuotaExceed | The quota of tags on resource is beyond permitted range. | |
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | |
| 403 | Forbidden | User is not authorized to operate. | |
| 403 | Forbidden.Action | User is not authorized to operate this action. | |
| 403 | InvalidAccountStatus.NotEnoughBalance | Your account does not have enough balance. | |
| 403 | LastTokenProcessing | The last token request is processing. | |
| 403 | NoPermission.SLR | The RAM user does not have the permission to create service linked role: AliyunServiceLinkedRoleForEBS. | |
| 403 | OperationDenied | The operation is not allowed. | |
| 404 | InvalidApi.NotFound | Specified api is not found, please check your url and method. | |
| 404 | InvalidResourceType.NotFound | The ResourceType provided does not exist in our records. | |
| 404 | InvalidResourceId.NotFound | The specified ResourceId is not found in our records. | |
| 404 | InvalidResourceGroup.NotFound | The ResourceGroup provided does not exist in our records. | |
| 404 | MissingParameter.ResourceGroup | The parameter - Resource Group should not be null | |
| 404 | MissingParameter.ResourceType | The parameter - ResourceType should not be null | |
| 404 | NoSuchResource | The specified resource does not exist. | |
| 504 | RequestTimeout | The request is timeout, please try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.