Elastic Block Storage (EBS) リソースが属するリソースグループを変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ebs:ChangeResourceGroup |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リソースのリージョン ID。 DescribeRegions 操作を呼び出して、最新のリージョンリストを照会できます。 |
cn-hangzhou |
| ResourceType |
string |
必須 |
リソースのタイプ。 有効値:
|
diskreplicapair |
| ResourceId |
string |
必須 |
リソースの ID。 たとえば、ResourceType を diskreplicapair に設定した場合、このパラメーターをレプリケーションペアの ID に設定します。 |
pair-123 |
| NewResourceGroupId |
string |
必須 |
新しいリソースグループの ID。 利用可能なリソースグループは Resource Management コンソールで確認できます。 詳細については、「リソースグループの基本情報の表示」をご参照ください。 |
rg-123 |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するために使用されるクライアントトークン。 クライアントを使用してトークンを生成できますが、トークンが異なるリクエスト間で一意であることを確認する必要があります。 トークンには ASCII 文字のみを含めることができ、長さは 64 文字を超えることはできません。 詳細については、「べき等性を確保する方法」をご参照ください。 |
123e4567-e89b-12d3-a456-42665544**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
TagResponse |
||
| RequestId |
string |
リクエスト ID。 |
C123F94F-4E38-19AE-942A-A8D6F44F**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "C123F94F-4E38-19AE-942A-A8D6F44F****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。