このオペレーションでは、仮想物理接続を変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vpc:UpdateVirtualPhysicalConnection |
update |
*PhysicalConnection
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| VlanId |
integer |
必須 |
仮想物理接続の VLAN ID。有効な値:0~2999
|
1 |
| InstanceId |
string |
必須 |
仮想物理接続インスタンスの ID。 |
pc-bp1mrgfbtmc9brre7**** |
| Token |
string |
任意 |
リクエストのべき等性を保証するクライアントトークン。 クライアントで生成される値であり、リクエスト間で一意である必要があります。クライアントトークンには ASCII 文字のみを含めることができます。 説明
このパラメータを指定しない場合、システムは自動的にリクエストの RequestId を ClientToken として使用します。RequestId はリクエストごとに異なります。 |
CBCE910E-D396-4944-8**** |
| DryRun |
boolean |
任意 |
ドライランを実行するかどうかを指定します。有効な値:
|
false |
| ExpectSpec |
string |
任意 |
仮想物理接続の期待帯域幅。新しい帯域幅は、支払いが完了した後にのみ有効になります。 有効な値:50 M、100 M、200 M、300 M、400 M、500 M、1 G、2 G、5 G、8 G、10 G 説明
2 G、5 G、8 G、10 G の帯域幅設定は、デフォルトでは有効になっていません。これらの設定を使用するには、アカウントマネージャーにお問い合わせください。 単位:M は Mbps、G は Gbps を示します。 |
50M |
| RegionId |
string |
必須 |
仮想物理接続がデプロイされているリージョンの ID。 リージョン ID を取得するには、DescribeRegions API を呼び出します。 |
cn-hangzhou |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスオブジェクト。 |
||
| RequestId |
string |
リクエスト ID。 |
7035627E-1C1D-5BC7-A830-F897A35912D1 |
| Success |
string |
仮想物理接続の VLAN ID が正常に変更されたかどうかを示します。
|
true |
例
成功レスポンス
JSONJSON
{
"RequestId": "7035627E-1C1D-5BC7-A830-F897A35912D1",
"Success": "true"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IllegalParam.VlanId | The param of VlanId is illegal. | |
| 400 | ResourceNotFound.PhysicalConnectionId | The specified PhysicalConnectionId [%s] is not found. | |
| 400 | ResourceNotEnough.Bandwidth | The specified resource of Bandwidth is not enough. | |
| 400 | IllegalParam.Bandwidth | The param of bandwidth is illegal. | |
| 400 | Forbidden.PhysicalConnection | Only parent physical connection account is allowed to modify the virtual physical connection. | |
| 400 | OperationFailed.PhysicalConnectionFinancialLocked | Update failed, the physical connection is financial locked. | |
| 400 | OperationFailed.PhysicalConnectionTerminated | Update failed, the physical connection is terminated. | |
| 400 | OperationDenied.CreateVpconn | You are not allowed to create virtual physical connection. Please contact your CBM. | |
| 400 | IncorrectStatus.VBR | The status of VBR is incorrect. | |
| 400 | IllegalParam.Spec | The param of Spec is illegal. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。