Mengubah kelompok resource.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nlb:MoveResourceGroup |
update |
*LoadBalancer
*SecurityPolicy
*ServerGroup
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| NewResourceGroupId |
string |
Yes |
ID kelompok resource yang baru. |
rg-aekzjcnrv3vvqhq |
| ResourceType |
string |
Yes |
Jenis resource. Nilai yang valid:
|
loadbalancer |
| ResourceId |
string |
Yes |
ID resource. |
nlb-nrnrxwd15en27r**** |
| RegionId |
string |
Yes |
ID wilayah dari resource. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
RpcResponse |
||
| RequestId |
string |
ID permintaan. |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
| HttpStatusCode |
integer |
Kode status HTTP yang dikembalikan. |
200 |
| Data |
object |
Data yang dikembalikan. |
|
| ResourceId |
string |
ID resource. Anda dapat menentukan hingga 50 ID resource dalam setiap panggilan. |
nlb-nrnrxwd15en27r**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984",
"Success": true,
"HttpStatusCode": 200,
"Data": {
"ResourceId": "nlb-nrnrxwd15en27r****"
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam.resourceType | The param of resourceType is illegal. | The parameter resourceType is invalid. Please check the input value of the parameter resourceType. |
| 400 | OperationFailed.StatusCheckFail.ResourceGroup | The operation failed because of StatusCheckFail.ResourceGroup. | The operation failed because the resource group status check failed. |
| 403 | Forbidden.NoPermission | Authentication is failed for NoPermission. | Authentication is failed for NoPermission. |
| 404 | ResourceNotFound.loadBalancer | The specified resource of loadbalancer is not found. | The specified load balancer resource was not found. Please check the input parameters. |
| 404 | ResourceNotFound.ResourceGroup | The param of resourceGroup not existed. | The resource group does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.