トランジットルーター用の VPC ファイアウォールを作成します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
yundun-cloudfirewall:CreateTrFirewallV2 |
create |
*VpcCenTrFirewall
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Lang |
string |
任意 |
レスポンスメッセージの言語。有効な値:
|
zh |
| FirewallName |
string |
任意 |
ファイアウォールの名前。 |
vpc-firewall-test |
| RouteMode |
string |
任意 |
ルーティングモード。有効な値:
|
managed |
| TransitRouterId |
string |
任意 |
トランジットルーターインスタンスの ID。 |
tr-m5etmb2q7e0mxcur**** |
| RegionNo |
string |
任意 |
トランジットルーターインスタンスのリージョン ID。 |
cn-hangzhou |
| FirewallVpcCidr |
string |
任意 |
自動モードにおけるファイアウォール VPC の CIDR ブロック。 |
10.0.0.0/16 |
| FirewallSubnetCidr |
string |
任意 |
ファイアウォールの Elastic Network Interface (ENI) をホストするファイアウォール VPC 内の vSwitch の CIDR ブロック。このパラメーターは自動モードでのみ適用されます。 |
10.0.1.0/24 |
| TrAttachmentSlaveCidr |
string |
任意 |
トランジットルーターへの接続に使用されるセカンダリ vSwitch の CIDR ブロック。このパラメーターは自動モードでのみ適用されます。 |
10.0.0.16/28 |
| TrAttachmentMasterCidr |
string |
任意 |
トランジットルーターへの接続に使用されるプライマリ vSwitch の CIDR ブロック。このパラメーターは自動モードでのみ適用されます。 |
10.0.3.0/24 |
| CenId |
string |
任意 |
Cloud Enterprise Network (CEN) インスタンスの ID。 |
cen-4xbjup276au29r**** |
| FirewallDescription |
string |
任意 |
ファイアウォールの説明。 |
vpc-firewall-description |
| FirewallVpcId |
string |
任意 |
ファイアウォール ENI が作成される VPC の ID。このパラメーターは手動モードでのみ適用されます。 |
vpc-wz9r5qvryn0lg3atb**** |
| FirewallVswitchId |
string |
任意 |
ファイアウォール ENI が作成される vSwitch の ID。このパラメーターは手動モードでのみ適用されます。 |
vsw-uf6ydz3vqj77mr5l6**** |
| TrAttachmentSlaveZone |
string |
任意 |
vSwitch のセカンダリゾーン。このパラメーターは自動モードでのみ適用されます。 |
cn-chengdu-b |
| TrAttachmentMasterZone |
string |
任意 |
vSwitch のプライマリゾーン。このパラメーターは自動モードでのみ適用されます。 |
cn-chengdu-a |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| FirewallId |
string |
トランジットルーターファイアウォールの ID です。 |
vfw-tr-37e22bf0d9b34870**** |
| RequestId |
string |
リクエストの ID です。 |
822B9125-6E1A-551C-8EAF-6E7AE7444B00 |
例
成功レスポンス
JSONJSON
{
"FirewallId": "vfw-tr-37e22bf0d9b34870****",
"RequestId": "822B9125-6E1A-551C-8EAF-6E7AE7444B00"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | ErrorTrResourceNotReady | Transit Router has not been detected by cloud firewall | |
| 400 | ErrorAliUid | The aliuid is invalid. | |
| 400 | ErrorParameters | Error Parameters | |
| 400 | ErrorUserCenTrNotEnabled | This account has not enabled CEN Transit Router Enterprise Edition Cloud Firewal. Please contact Cloud Firewall Support team. | |
| 400 | ErrorAuthentication | authentication error | |
| 400 | ErrorUserCredentials | User credentials failed. | |
| 400 | ErrorCenTRAssociationNotFound | CEN-TR attachment association not found. | |
| 400 | ErrorUserNotFound | User not found | |
| 400 | ErrorDBSelectError | A database select error occurred. | |
| 400 | ErrorCenNotSupportTREnterpriseAutoMode | VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection | |
| 400 | ErrorVpcFirewallExist | Vpc firewall already exist. | |
| 400 | ErrorInvalidTrFirewallType | Firewall type is invalid. | |
| 400 | ErrorVpcDoNotSupportSubnetRouting | The VPC for which the firewall is created does not support subnet routing. Create a custom route table for the VPC to enable subnet routing first. | |
| 400 | ErrorVpcAndTrNotInTheSameAccount | Vpc and transit router should in the account when create cloud firewall manual mode. | |
| 400 | ErrorCidrFormat | Network segment CIDR format error, please select again | |
| 400 | ErrorVswitchCidrIpNumNotEnough | No enough private proxy IP in vswitch cidr. | |
| 400 | ErrorTrFwVswCidrConflict | Illegal tr firewall cidr configuration. | |
| 400 | ErrorDBNoRow | No rows in database. | |
| 400 | ErrorRecordLog | record operation log error. | |
| 400 | ErrorVpcFirewallZoneId | VPC firewall zone error. | |
| 400 | ErrorInvalidMemberUidStatus | invalid member uid status. | |
| 400 | ErrorGeneralInstanceSpecFull | Cloud Firewall instance specifications are full. | |
| 400 | ErrorBandwidthPenalty | Cloud Firewall bandwidth is being overused. | |
| 400 | ErrorFirewallQuotaNotEmpty | The quota for VPC firewalls is exceeded. | |
| 400 | ErrorUserNotEnableTrService | The user has not open transit router service. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。