检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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
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
"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
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
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
"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
"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
Batch Adding or Deleting Tags to or from a Transit Subnet Function This API is used to batch add or delete tags to or from a transit subnet. TMS uses this API to batch manage tags of a specified transit subnet. A transit subnet can have up to 20 tags. Constraints This API is idempotent
Querying Tags of All Transit Subnets in a Specified Project Function This API is used to query tags of all transit subnets of a tenant in a project. TMS uses this API to list tags of all transit subnets, and provides tag association when users tag or filter transit subnets. Calling
Parent topic: Using Multiple Public NAT Gateways Together in Performance-Demanding Scenarios
"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
For public and private NAT gateways, DNAT rules can be modified. Parent topic: DNAT Rules
Public NAT gateways: Besides requiring services provided by the system, some ECSs also need to access the Internet to obtain information or download software.