VPC ファイアウォールを作成する前に、事前チェックタスクを作成します。
操作説明
この操作は、NAT ファイアウォールを通過するトラフィックを許可、拒否、または監視するポリシーを作成します。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Lang |
string |
任意 |
リクエストとレスポンスの言語。有効な値:
|
zh |
| NetworkInstanceType |
string |
任意 |
ネットワークインスタンスのタイプ。有効な値:
|
cen_tr_firewall |
| VpcId |
string |
任意 |
VPC インスタンスの ID。 |
vpc-bp132e2wpu9o6qth**** |
| Region |
string |
任意 |
リージョン。 |
cn-chengdu |
| CenId |
string |
任意 |
Cloud Enterprise Network (CEN) インスタンスの ID。 |
cen-iv8m2lj2fqg1xt**** |
| MemberUid |
string |
任意 |
Cloud Firewall のメンバーアカウントの UID。 |
128599825273**** |
| TransitRouterId |
string |
任意 |
トランジットルーターインスタンスの ID。 |
tr-t4n16htuv1jalj9cq**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| PrecheckId |
string |
事前チェックタスクの ID。 |
4197 |
| RequestId |
string |
リクエストの ID。 |
C5BE1AA4-934A-5085-89CC-9AD1CAC3**** |
例
成功レスポンス
JSONJSON
{
"PrecheckId": "4197",
"RequestId": "C5BE1AA4-934A-5085-89CC-9AD1CAC3****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 200 | ErrorDBUpdateError | A database update error occurred. | |
| 400 | ErrorAliUid | Aliuid invalid. | |
| 400 | ErrorInvalidMemberUid | Member uid is invalid | |
| 400 | ErrorNetworkInstanceIdError | Network InstanceId ID is invalid | |
| 400 | ErrorCenId | CEN ID is error | |
| 400 | ErrorRegionNoError | Region invalid. | |
| 400 | ErrorDestCidrError | The target network segment is wrong. Please configure the target network segment correctly. | |
| 400 | ErrorDestCidrEmpty | The target network segment is empty and cannot be created | |
| 400 | ErrorVpcFirewallNotFound | Vpc firewall not found. | |
| 400 | ErrorDBSelectError | A database select error occurred. | |
| 400 | ErrorOwnerId | owner id invalid. | |
| 400 | ErrorFirewallStatus | Firewall status error, please try again later. | |
| 400 | ErrorHubvpcCannotCreate | HUB VPC could not create vpc firewall | |
| 400 | ErrorFirewallQuotaNotEmpty | The quota for VPC firewalls is exceeded. | |
| 400 | ErrorCenVbrNotSupport | The cloud enterprise network VBR does not support firewall | |
| 400 | ErrorCenNotSupportCCN | vpc firewall CEN does not support ccn, cannot open vpc firewall. | |
| 400 | ErrorOwnerIdUnauthorized | owner id not authorized. | |
| 400 | ErrorDBTxError | A database transaction error occurred. | |
| 400 | ErrorDBInsertError | A database insert error occurred. | |
| 400 | ErrorParameters | A parameter error occurred. | |
| 400 | ErrorUserCredentials | User credentials failed. | |
| 400 | ErrorDBNoRow | No rows in database. | |
| 400 | ErrorVpcFirewallVpcNumLimit | The number of vpcs in this region is limited to open the vpc firewall. | |
| 400 | ErrorCenExistPublicCidr | cen domain route exist public route. | |
| 400 | ErrorCenExistTrRoute | Cen VPC route exist tr route. | |
| 400 | ErrorCenNotSupportTREnterprise | VPC firewall does not support TR Enterprise Edition protection in this region. | |
| 400 | ErrorCenNotSupportTREnterpriseAutoMode | VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection | |
| 400 | ErrorCenTRAssociationCustomRouteTable | CEN-TR association custom route table. | |
| 400 | ErrorVpcOpenApi | vpc open api failed | |
| 400 | ErrorVswitchNotFound | vswitch not found | |
| 400 | ErrorCidrFormat | Network segment CIDR format error, please select again | |
| 400 | ErrorRouteTableNotFound | route table not found. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。