1 つ以上のインスタンスにタグを追加します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
selectdb:TagResources |
none |
*DBInstance
|
なし | なし |
リクエストパラメーター
|
パラメーター |
タイプ |
必須 / 任意 |
説明 |
例 |
| ResourceType |
string |
必須 |
リソースタイプ。 |
DBInstance |
| ResourceId |
array |
必須 |
インスタンス ID の配列。 |
|
|
string |
任意 |
インスタンス ID。 |
selectdb-cn-7213cjv**** |
|
| RegionId |
string |
必須 |
リージョン ID。 |
cn-hangzhou |
| Tag |
array<object> |
必須 |
タグの配列。 |
|
|
object |
任意 |
タグ。 |
||
| Key |
string |
任意 |
タグキー。 |
test_key |
| Value |
string |
任意 |
タグ値。 |
test_value |
レスポンスパラメーター
|
パラメーター |
タイプ |
説明 |
例 |
|
object |
レスポンススキーマ。 |
||
| RequestId |
string |
リクエスト ID。 |
06758CAB-1204-5852-A471-29C87D5C1D0F |
例
成功レスポンス
JSONJSON
{
"RequestId": "06758CAB-1204-5852-A471-29C87D5C1D0F\n"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | SystemError | A system error occurred while processing your request. | |
| 400 | DocumentConvertFailed.ExceedFileSizeLimit | The conversion has been failed, exceed file size limit. | 日文说明1 |
| 400 | Forbidden | User not authorized to operate on the specified resource, or this API does not support RAM. | 日文说明1 |
| 400 | InvalidDBName | The specified database name is not allowed. | 日文说明1 |
| 400 | CreateOrderFailed | Failed to create order. | 注文の作成に失敗しました。 |
| 403 | NoPermission.TagResources | The operator is not permission for this operate. | |
| 403 | DBClusterNotSupported | The requested operation can not be performed while the cluster is not sale. | 日文说明1 |
| 403 | IncorrectDBInstanceState | Current DB instance state does not support this operation. | 日文说明1 |
| 403 | InstanceEngineType.NotSupport | The instance engine and type does not support operations. | 日文说明1 |
| 403 | InvalidDBInstanceState.NotSupport | The specified instance state does't support this operation. | 日文说明1 |
| 403 | MoneyLessThan100 | The Account Monet less Than 100. | 日文说明1 |
| 403 | OperationDenied.DBNameAndAccountPrivilegeCount | The operation is not permitted due to count of database or account privilege. | 日文说明1 |
| 403 | InsufficientResourceCapacity | The resource is out of usage. | リソースが不足しています。しばらくしてからやり直してください。 |
| 404 | DBInstanceLocked | The current instance lock mode does not support this operation. | 日文说明1 |
| 404 | IncorrectVswitchId | The specified parameter VSwitchId is not valid. | 日文说明1 |
| 404 | InvalidApi.NotFound | Specified api is not found, please check your url and method. | |
| 404 | InvalidDBInstance.NotFound | The specified instance is not found. | 日文说明1 |
| 404 | InvalidDBInstanceClass.NotFound | The specified instance classic does not exist. | 日文说明1 |
| 404 | InvalidRegionId.NotFound | The provided RegionId does not exist in our records. | 日文说明1 |
| 404 | QueryPrice.Failed | The inquiry failed. Contact Alibaba Cloud customer service representatives. | 日文说明1 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。