VPC ピアリング接続の名前または説明を変更します。
操作説明
-
ModifyVpcPeerConnection は非同期操作です。リクエストを送信すると、システムは RequestId を返しますが、タスクはバックグラウンドで実行されます。VPC ピアリング接続のステータスをクエリするには、GetVpcPeerConnectionAttribute 操作を呼び出します。
-
Updating は、インスタンスが変更中であることを示します。
-
Activated は、変更が完了したことを示します。
-
-
ModifyVpcPeerConnection 操作では、同じ VPC ピアリング接続を同時に変更するリクエストはサポートされていません。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vpc:ModifyVpcPeerConnection |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| InstanceId |
string |
必須 |
VPC ピアリング接続の ID。 |
pcc-lnk0m24khwvtkm**** |
| Name |
string |
任意 |
VPC ピアリング接続の新しい名前。 名前は長さが 1~128 文字である必要があり、 |
vpcpeername |
| Description |
string |
任意 |
VPC ピアリング接続の新しい説明。 説明は長さが 1~256 文字である必要があり、 |
newdescription |
| Bandwidth |
integer |
任意 |
VPC ピアリング接続の新しい帯域幅。単位: Mbps。値は 0 より大きい整数である必要があります。 |
100 |
| DryRun |
boolean |
任意 |
ドライランを実行するかどうかを指定します。有効な値:
|
false |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するために使用されるクライアントトークン。 リクエストごとにクライアントで一意のトークンを生成します。トークンには ASCII 文字のみを含めることができます。 説明
このパラメーターを指定しない場合、システムはリクエストの RequestId を ClientToken として自動的に使用します。RequestId はリクエストごとに異なる場合があります。 |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| LinkType |
string |
任意 |
リンクタイプ。 有効な値: Platinum および Gold。デフォルト値は Gold です。 説明
このパラメーターを指定する場合は、クロスリージョンピアリング接続を作成していることを確認してください。 |
Gold |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答オブジェクト。 |
||
| RequestId |
string |
リクエスト ID。 |
880C99E1-449B-524A-B81F-1EC53D2A7EAC |
例
成功レスポンス
JSONJSON
{
"RequestId": "880C99E1-449B-524A-B81F-1EC53D2A7EAC"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | ResourceNotFound.InstanceId | The specified resource of %s is not found. | |
| 400 | IncorrectStatus.VpcPeer | The status of %s [%s] is incorrect. | |
| 400 | IncorrectBusinessStatus.VpcPeer | The business status of %s [%s] is incorrect. | |
| 400 | OperationFailed.BandwidthCannotBeChangedInSameRegion | The operation failed because the bandwidth cannot be changed in the same region. | |
| 400 | QuotaExceeded.Bandwidth | The quota of bandwidth is exceeded. | |
| 400 | OperationFailed.InterRegionLinkTypeNotSupported | The same region not supported link type feature. | |
| 400 | OperationFailed.RegionIdNotSupportLinkType | The feature link type is not supported in the region. | |
| 400 | OperationFailed.SpecificLinkTypeNotSupported | The operation failed because the special link type of user is not opened. | |
| 400 | OperationDenied.ServiceManagedInstance | Operation is denied because the specified instance belongs to service manager. | |
| 400 | OperationFailed.ChargeTypeNotSupported | Operation failed because the CDT charge type of receiver or accepter does not support the Underlay link type. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。