检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
SNAT Rules of Public NAT Gateways Permission API Action IAM Project Enterprise Project Creating an SNAT Rule POST /v2/{project_id}/snat_rules nat:snatRules:create √ √ Querying SNAT Rules GET /v2/{project_id}/snat_rules nat:snatRules:list √ √ Querying Details About an SNAT Rule GET
SNAT Rules of Private NAT Gateways Permission API Action IAM Project Enterprise Project Creating an SNAT Rule POST /v3/{project_id}/private-nat/snat-rules nat:privateNatSnatRules:create √ √ Querying an SNAT Rule GET /v3/{project_id}/private-nat/snat-rules/{snat_rule_id} nat:privateNatSnatRules
DNAT Rules of Private NAT Gateways Permission API Action IAM Project Enterprise Project Creating a DNAT Rule POST /v3/{project_id}/private-nat/dnat-rules nat:privateNatDnatRules:create √ √ Querying a DNAT Rule GET /v3/{project_id}/private-nat/dnat-rules/{dnat_rule_id} nat:privateNatDnatRules
Preserving Your Network with NAT Gateways During Cloud Migration Overview Enabling Mutual Access Between Servers in Overlapping Subnets on the Cloud Using a Specified IP Address to Access Hosts Outside a VPC
For details, see Buying a Public NAT Gateway. Figure 2 Buying a public NAT gateway Table 1 Public NAT gateway creation parameters Parameter Description Region Region where the public NAT gateway is located. Select the region that the Kafka instance is in.
Parent Topic: Private NAT Gateways
Deleting an ECS Public NAT gateway On the public NAT gateway console, locate the target public NAT gateway and delete it.
NAT gateway: Configure an NAT gateway for the Logstash cluster to enable the cluster to initiate connection requests and connect to Internet data sources.
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
Next Hop: Select the NAT gateway configured for the subnet. Click OK. Parent Topic: Workload Exceptions
"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
Step 5: Configure a NAT Gateway Create a NAT gateway. Log in to the console and search for NAT Gateway in the Service List. The Public NAT Gateways page of the network console is displayed. Click Buy Public NAT Gateway and configure the required parameters.
POST /v3/{project_id}/transit-ips/{resource_id}/tags/action nat:transitIpTags:create nat:transitIpTags:delete √ √ Adding a Tag to a Transit IP Address POST /v3/{project_id}/transit-ips/{resource_id}/tags nat:transitIpTags:create √ √ Querying Tags of a Transit IP Address GET /v3/{
Step 2: Create a NAT Gateway Buy a public NAT gateway. The VPC is the VPC to which the CAE environment belongs. In this example, it is vpc-wc. Go to the NAT Gateway console. Click Buy Public NAT Gateway. On the displayed page, set the parameters as follows.
How Many Private NAT Gateways Can I Buy in a VPC? You can buy a maximum of 10 private NAT gateways in a VPC. Parent topic: Billing FAQs
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
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
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 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
"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