检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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
Private NAT Gateway Specifications Hourly Currency Small 0.102 USD Medium 0.191 USD Large 0.375 USD Extra-large 0.66 USD The actual pricing is subject to that settled on the NAT Gateway console.
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
The protocol number of TCP, UDP, and ANY are 6, 17, and 0, respectively. private_ip_address String Specifies the port IP address that the NAT gateway uses.
Querying the Details of a Transit Subnet Function This API is used to query the details of a specified transit subnet. Calling Method For details, see Calling APIs. URI GET /v3/{project_id}/private-nat/transit-subnets/{transit_subnet_id} Table 1 Path Parameters Parameter Mandatory
Table 4 PrivateSnat Parameter Type Description id String Specifies the SNAT rule ID. project_id String Specifies the project ID. gateway_id String Specifies the private NAT gateway ID. cidr String Specifies the CIDR block that matches the SNAT rule.
Tag Management Scenarios A NAT gateway tag identifies the NAT gateway. Tags can be added to NAT gateways to ease NAT gateway identification and administration. You can add a tag to a NAT gateway when creating the NAT gateway.
The actual pricing is subject to that settled on the NAT Gateway console. We suggest that you delete private NAT gateways that are no longer needed to avoid charges. For more information about private NAT gateways, click here.
What Should I Do If My ECS Fails to Access a Server on the Public Network Through a Public NAT Gateway? TCP connection may fail when an ECS accesses a server on the public network through an SNAT rule.
Adding a Tag to a Transit Subnet Function This API is used to add a tag to a specified transit subnet. A transit subnet can have up to 20 tags. This API is idempotent. If a tag to be added has the same key as an existing tag, the tag will be added and overwrite the existing one. Calling
Querying Tags of a Transit Subnet Function This API is used to query tags of a specified transit subnet. TMS uses this API to query all tags of a specified subnet. Calling Method For details, see Calling APIs. URI GET /v3/{project_id}/transit-subnets/{resource_id}/tags Table 1 Path
Deleting a Transit Subnet Tag Function This is an idempotent API to delete a tag from a transit subnet. When a tag is deleted, the tag character set is not verified. Before calling this API, encode the API URI. The server must decode the API URI. If the key of the tag to be deleted
Querying Transit Subnets by Tag Function This API is used to query transit subnets by tag. TMS uses this API to filter and list transit subnets by tag. Calling Method For details, see Calling APIs. URI POST /v3/{project_id}/transit-subnets/resource_instances/action Table 1 Path Parameters
Enhanced (NAT Gateway+EIP) Billing Mode Pay-per-use - Network Select a VPC and a subnet. - NAT Gateway Name To allow cloud servers to access the Internet and save IP address resources, a high-performance NAT gateway is required.