nat

package
v1.71.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2024 License: MPL-2.0 Imports: 26 Imported by: 3

Documentation

Index

Constants

View Source
const (
	PrivateSpecTypeSmall      string = "Small"
	PrivateSpecTypeMedium     string = "Medium"
	PrivateSpecTypeLarge      string = "Large"
	PrivateSpecTypeExtraLarge string = "Extra-Large"
)

Variables

This section is empty.

Functions

func DataSourceDnatRules added in v1.62.0

func DataSourceDnatRules() *schema.Resource

@API NAT GET /v2/{project_id}/dnat_rules

func DataSourcePrivateDnatRules added in v1.61.0

func DataSourcePrivateDnatRules() *schema.Resource

@API NAT GET /v3/{project_id}/private-nat/dnat-rules

func DataSourcePrivateGateways added in v1.59.0

func DataSourcePrivateGateways() *schema.Resource

@API NAT GET /v3/{project_id}/private-nat/gateways

func DataSourcePrivateSnatRules added in v1.61.0

func DataSourcePrivateSnatRules() *schema.Resource

@API NAT GET /v3/{project_id}/private-nat/snat-rules

func DataSourcePrivateTransitIps added in v1.60.0

func DataSourcePrivateTransitIps() *schema.Resource

@API NAT GET /v3/{project_id}/private-nat/transit-ips

func DataSourcePublicGateway

func DataSourcePublicGateway() *schema.Resource

@API NAT GET /v2/{project_id}/nat_gateways

func DataSourcePublicGateways added in v1.59.1

func DataSourcePublicGateways() *schema.Resource

@API NAT GET /v2/{project_id}/nat_gateways

func DataSourceSnatRules added in v1.62.0

func DataSourceSnatRules() *schema.Resource

@API NAT GET /v2/{project_id}/snat_rules

func ReadPublicGateway added in v1.69.1

func ReadPublicGateway(client *golangsdk.ServiceClient, gatewayID string) (interface{}, error)

func ResourcePrivateDnatRule added in v1.47.0

func ResourcePrivateDnatRule() *schema.Resource

@API NAT POST /v3/{project_id}/private-nat/dnat-rules @API NAT GET /v3/{project_id}/private-nat/dnat-rules/{dnat_rule_id} @API NAT PUT /v3/{project_id}/private-nat/dnat-rules/{dnat_rule_id} @API NAT DELETE /v3/{project_id}/private-nat/dnat-rules/{dnat_rule_id}

func ResourcePrivateGateway added in v1.46.0

func ResourcePrivateGateway() *schema.Resource

@API NAT POST /v3/{project_id}/private-nat/gateways @API NAT GET /v3/{project_id}/private-nat/gateways/{gateway_id} @API NAT PUT /v3/{project_id}/private-nat/gateways/{gateway_id} @API NAT DELETE /v3/{project_id}/private-nat/gateways/{gateway_id} @API NAT POST /v3/{project_id}/private-nat-gateways/{resource_id}/tags/action

func ResourcePrivateSnatRule added in v1.47.0

func ResourcePrivateSnatRule() *schema.Resource

@API NAT POST /v3/{project_id}/private-nat/snat-rules @API NAT GET /v3/{project_id}/private-nat/snat-rules/{snat_rule_id} @API NAT PUT /v3/{project_id}/private-nat/snat-rules/{snat_rule_id} @API NAT DELETE /v3/{project_id}/private-nat/snat-rules/{snat_rule_id}

func ResourcePrivateTransitIp added in v1.46.0

func ResourcePrivateTransitIp() *schema.Resource

@API NAT POST /v3/{project_id}/private-nat/transit-ips @API NAT GET /v3/{project_id}/private-nat/transit-ips/{transit_ip_id} @API NAT DELETE /v3/{project_id}/private-nat/transit-ips/{transit_ip_id} @API NAT POST /v3/{project_id}/transit-ips/{resource_id}/tags/action

func ResourcePublicDnatRule

func ResourcePublicDnatRule() *schema.Resource

@API NAT POST /v2/{project_id}/dnat_rules @API NAT GET /v2/{project_id}/dnat_rules/{dnat_rule_id} @API NAT PUT /v2/{project_id}/dnat_rules/{dnat_rule_id} @API NAT DELETE /v2/{project_id}/nat_gateways/{nat_gateway_id}/dnat_rules/{dnat_rule_id}

func ResourcePublicGateway

func ResourcePublicGateway() *schema.Resource

@API NAT POST /v2/{project_id}/nat_gateways @API NAT GET /v2/{project_id}/nat_gateways/{nat_gateway_id} @API NAT PUT /v2/{project_id}/nat_gateways/{nat_gateway_id} @API NAT DELETE /v2/{project_id}/nat_gateways/{nat_gateway_id} @API NAT POST /v2.0/{project_id}/nat_gateways/{nat_gateway_id}/tags/action @API NAT GET /v2.0/{project_id}/nat_gateways/{nat_gateway_id}/tags

func ResourcePublicSnatRule

func ResourcePublicSnatRule() *schema.Resource

@API NAT POST /v2/{project_id}/snat_rules @API NAT GET /v2/{project_id}/snat_rules/{snat_rule_id} @API NAT PUT /v2/{project_id}/snat_rules/{snat_rule_id} @API NAT DELETE /v2/{project_id}/nat_gateways/{nat_gateway_id}/snat_rules/{snat_rule_id} @API EIP GET /v1/{project_id}/publicips/{publicip_id}

Types

type PublicSpecType

type PublicSpecType string
const (
	PublicSpecTypeSmall      PublicSpecType = "1"
	PublicSpecTypeMedium     PublicSpecType = "2"
	PublicSpecTypeLarge      PublicSpecType = "3"
	PublicSpecTypeExtraLarge PublicSpecType = "4"
)

type SourceType

type SourceType int
const (
	SourceTypeVpc SourceType = 0
	SourceTypeDc  SourceType = 1
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL