トランジットルーターの VPC ファイアウォールのルートポリシー範囲を変更します。
操作説明
ポイントツーマルチポイント および マルチポイント相互接続 シナリオでの変更をサポートしています。ポイントツーポイント シナリオでの変更はサポートされていません。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
yundun-cloudfirewall:ModifyTrFirewallV2RoutePolicyScope |
update |
*VpcCenTrFirewallPolicy。
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Lang |
string |
任意 |
応答メッセージの言語。有効な値:
|
zh |
| TrFirewallRoutePolicyId |
string |
必須 |
ファイアウォールルートポリシーの ID。 |
policy-4d724d0139df48f1**** |
| FirewallId |
string |
必須 |
非公開仮想クラウド (VPC) ファイアウォールのインスタンス ID。 |
vfw-tr-6520de0253bc4669**** |
| SrcCandidateList |
array<object> |
任意 |
プライマリトラフィックリダイレクトインスタンスのリスト。 |
|
|
object |
任意 |
プライマリトラフィックリダイレクトインスタンス。 |
||
| CandidateId |
string |
任意 |
トラフィックリダイレクトインスタンスの ID。 |
vpc-2ze9epancaw8t4sha**** |
| CandidateType |
string |
任意 |
トラフィックリダイレクトインスタンスのタイプ。 |
VPC。 |
| DestCandidateList |
array<object> |
任意 |
セカンダリトラフィックリダイレクトインスタンスのリスト。 |
|
|
object |
任意 |
セカンダリトラフィックリダイレクトインスタンス。 |
||
| CandidateId |
string |
任意 |
トラフィックリダイレクトインスタンスの ID。 |
vpc-2ze9epancaw8t4uzi**** |
| CandidateType |
string |
任意 |
トラフィックリダイレクトインスタンスのタイプ。 |
VPC。 |
| ShouldRecover |
string |
任意 |
トラフィックリダイレクト構成を解凍するかどうかを指定します。有効な値:
|
false。 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| TrFirewallRoutePolicyId |
string |
ファイアウォールルートポリシーの ID。 |
policy-4d724d0139df48f1**** |
| RequestId |
string |
リクエスト ID。 |
E7D4D635-0C70-5CEB-A609-851E94D51FBB。 |
例
成功レスポンス
JSONJSON
{
"TrFirewallRoutePolicyId": "policy-4d724d0139df48f1****",
"RequestId": "E7D4D635-0C70-5CEB-A609-851E94D51FBB"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 200 | ErrorDBUpdateError | A database update error occurred. | |
| 400 | ErrorAliUid | Aliuid invalid. | |
| 400 | ErrorParameters | Error Parameters | |
| 400 | ErrorAuthentication | authentication error | |
| 400 | ErrorDBNoRow | No rows in database. | |
| 400 | ErrorDBSelectError | A database select error occurred. | |
| 400 | ErrorPolicySrcAndDestConflict | Policy has same destination candidate as source candidtes. | |
| 400 | ErrorDBTxError | A database transaction error occurred. | |
| 400 | ErrorTrFirewallEndToEndTrToAll | Parameter error, point-to-multipoint scenario, TR instance does not support configuration ALL. | |
| 400 | ErrorCannotEditRoutePolicyWhenClose | Can not edit route policy when policy closed. | |
| 400 | ErrorFirewallUpdating | Can not modify firewall, firewall is updating. Please check if there is a routing policy updating. | |
| 400 | ErrorIllegalRoutePolicyScopeUpdate | Can not update policy scope. | |
| 400 | ErrorCannotEditToAllPolicy | Can not modify policy scope for policy contains All type candidate. | |
| 400 | ErrorCandidateNoRouteTable | Please attach candidate with transit router before create routing template. | |
| 400 | ErrorTrFirewallRouteMapConflict | Cen TR firewall route table has route map conflict. | |
| 400 | ErrorUserCredentials | User credentials failed. | |
| 400 | ErrorTrFirewallDoNotSupportPrefixList | Cen TR firewall do not support prefix list. | |
| 400 | ErrorCandidateHasStaticRoute | Tr firewall don't support candidate which associated with transit router route table contains custom route. Please retry after deleted the route. | |
| 400 | ErrorTrRouteTableContainsRejectRoutes | There are routes conflict in transit router route table.Please resolve route conflict before create route policy. | |
| 400 | ErrorTrFwVswCidrConflict | Illegal tr firewall cidr configuration. | |
| 400 | ErrorFirewallCandidateReference | Firewall Candidate referrence count greater than one. | |
| 400 | ErrorDBInsertError | A database insert error occurred. | |
| 400 | ErrorRecordLog | record operation log error. | |
| 400 | ErrorTrFirewallOnlyContainsEcrAndTrCandidate | TR firewall cannot only contain both ECR and TR. | |
| 400 | ErrorTrFirewallPolicyNotFound | TR firewall policy does not exist. | |
| 400 | ErrorTrFirewallCenManegedRouteMapConflict | Cen TR firewall route table has cen managed route map conflict. | |
| 400 | ErrorCandidateHasIPv6Route | Cloud Enterprise Network TR enterprise firewall don't support ipv6 route. | |
| 400 | ErrorTrFirewallEcmpRouteMiss | The next hop of the equivalent route must also be added to the cloud firewall traffic redirection scenario. The missing traffic redirection instance is %s. | |
| 400 | ErrorTrFirewallRouteMapMiss | Route table %s contains a route map with priority %s, while route table %s does not contain a route map with priority %s. | |
| 400 | ErrorTrFirewallRouteMapDifferent | The RouteMap with priority %s has inconsistent configurations between the route table %s and the route table %s. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。