检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Step 6: Add the Default Route Scenarios If the VPC already has one or more NAT gateways configured, a route table must be created for the second public NAT gateway.
The time is in yyyy-mm-dd hh:mm:ss.SSSSSS format. nat_gateway_id No Array of strings Specifies the public NAT gateway ID. network_id No String Specifies the network ID used by the SNAT rule. Configure either network_id or cidr. source_type No Integer 0: VPC.
Supported range: 0 to 65535 nat_gateway_id String Specifies the public NAT gateway ID. global_eip_id String Specifies the global EIP ID.
For details, see Using a Public NAT Gateway and Direct Connect to Accelerate Internet Access.
by Tag Querying Tags of All Transit IP Addresses in a Specified Project Querying Tags of a Transit IP Address Adding a Tag to a Transit IP Address Batch Adding or Deleting Tags to or from a Transit IP Address Deleting a Tag from a Transit IP Address Parent Topic: APIs for Private NAT
Parent topic: Using Multiple Public NAT Gateways Together in Performance-Demanding Scenarios
Deleting a DNAT Rule Function This API is used to delete a specified DNAT rule. Calling Method For details, see Calling APIs. URI DELETE /v3/{project_id}/private-nat/dnat-rules/{dnat_rule_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Specifies
Deleting an SNAT Rule Function This API is used to delete a specified SNAT rule. Calling Method For details, see Calling APIs. URI DELETE /v3/{project_id}/private-nat/snat-rules/{snat_rule_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Specifies
Table 4 NatGatewaySnatRuleResponseBody Parameter Type Description id String Specifies the SNAT rule ID. tenant_id String Specifies the project ID. nat_gateway_id String Specifies the public NAT gateway ID. cidr String Specifies a CIDR block or a host IP address.
Click NAT Mapping Settings on the right of Direct Connect Access Address. The NAT Mapping Settings page is displayed. Determine whether to enable NAT mapping. : not enabled : enabled Configure NAT mapping. To configure address mapping, perform 6 to 8.
Supported range: 0 to 65535 nat_gateway_id String Specifies the public NAT gateway ID. global_eip_id String Specifies the global EIP ID.
Exporting DNAT Rules Go to the public NAT gateway list page. On the displayed page, click the name of the public NAT gateway from which you want to export DNAT rules. On the public NAT gateway details page, click the DNAT Rules tab.
Updating a Transit Subnet Function This API is used to update a transit subnet. Calling Method For details, see Calling APIs. URI PUT /v3/{project_id}/private-nat/transit-subnets/{transit_subnet_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String
Deleting a Transit Subnet Function This API is used to delete a transit subnet. Calling Method For details, see Calling APIs. URI DELETE /v3/{project_id}/private-nat/transit-subnets/{transit_subnet_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String
Querying Transit Subnets Function This API is used to query transit subnets. Constraints You can type a question mark (?) and an ampersand (&) at the end of the URI to define multiple search criteria. All optional parameters can be filtered. For details, see the example request. Calling
Creating a Transit Subnet Function This API is used to create a transit subnet. Calling Method For details, see Calling APIs. URI POST /v3/{project_id}/private-nat/transit-subnets Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Specifies the project
Procedure Go to the private NAT gateway list page. On the Private NAT Gateways page, click Transit IP Addresses. Figure 1 Assign Transit IP Address Configure required parameters. For details, see Table 1.
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/region" ) func main() { // The AK and SK used for authentication are
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/region" ) func main() { // The AK and SK used for authentication are
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/region" ) func main() { // The AK and SK used for authentication are