ブロックストレージデバイスの名前、説明、インスタンスと共にリリースされるかどうか、バースト機能を有効にするかどうかなどの属性を変更します。
操作説明
この操作を呼び出して、ブロックストレージデバイスの名前、説明、インスタンスと共にリリースされるかどうかなどの属性を変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
rds:ModifyRCDiskAttribute |
update |
*All Resource
|
なし | なし |
リクエスト構文
POST HTTP/1.1
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID。 |
cn-hangzhou |
| DiskId |
string |
必須 |
変更するディスクの ID。 |
rcd-wz9c8isqly8637zw**** |
| DiskName |
string |
任意 |
ディスクの名前。名前は 2~128 文字で、Unicode の Letter カテゴリの文字 (英語、中国語など)、数字、コロン (:)、アンダースコア (_)、ピリオド (.)、ハイフン (-) を使用できます。 |
testDisk |
| Description |
string |
任意 |
ディスクの説明。説明は 2~256 文字で、 |
test |
| DeleteWithInstance |
boolean |
任意 |
関連付けられたインスタンスがリリースされるときにディスクをリリースするかどうかを指定します。このパラメーターを指定しない場合、現在の設定が保持されます。 このパラメーターは、マルチアタッチ機能が有効になっているクラウドディスクではサポートされていません。 次の場合に ディスクが一時ディスク ( |
false |
| BurstingEnabled |
boolean |
任意 |
バーストをサポートするディスクに対してバースト機能を有効にするかどうかを指定します。有効な値: true:機能を有効にします。
false:機能を無効にします。
|
false |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンス本文 |
||
| RequestId |
string |
リクエストの ID。 |
1E43AAE0-BEE8-43DA-860D-EAF2AA0724DC |
例
成功レスポンス
JSONJSON
{
"RequestId": "1E43AAE0-BEE8-43DA-860D-EAF2AA0724DC"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidRegionId.MalFormed | The specified parameter RegionId is not valid. | 指定されたレジストリidが不正です。 |
| 400 | InvalidDiskName.Malformed | The specified disk name is wrongly formed. | |
| 400 | NoAttributeToModify | No attribute to be modified in this request. | |
| 400 | IncompleteParamter | Some fields can not be null in this request. | |
| 400 | MissingParameter.DiskIdOrDiskIds | Specified parameter DiskId or DiskIds is missing. | |
| 400 | BurstingEnabledForDiskCategoryUnsupported | The specified disk category does not support bursting enabled. | |
| 400 | BurstingEnabledForMultiAttachDiskUnsupported | The multi attach disk does not support bursting enabled. | |
| 400 | BurstingEnabledForModifyingDiskUnsupported | The modifying disk does not support bursting enabled. | |
| 400 | InvalidBurstingEnabled.DiskSizeTooSmall | The disk size must be greater than 3 GiB to enable burst. | |
| 403 | QuotaExceed.Snapshot | The snapshot quota exceeds. | |
| 403 | DiskNotPortable | The specified disk is not a portable disk. | |
| 403 | IncorrectDiskStatus | The operation is not supported in this status. | |
| 403 | UserNotInTheWhiteList | The user is not in disk white list. | |
| 403 | DeleteWithInstance.Conflict | Multi attach disk cannot be set to DeleteWithInstance attribute. | |
| 404 | InvalidDiskId.NotFound | The specified disk does not exist. | |
| 404 | InvalidDescription.Malformed | The specified description is wrongly formed. | |
| 404 | InvalidInstanceId.NotFound | Specified attached instance does not exist. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。