Documentation ¶
Overview ¶
Package edgegw provides a Terraform datasource.
Package edgegw provides a Terraform resource.
Package edgegw provides a Terraform resource to manage edge gateways.
Package edgegw provides a Terraform resource to manage edge gateways.
Package edgegw provides a Terraform resource to manage edge gateways.
Package edgegw provides a Terraform resource to manage edge gateways.
Package edgegw provides a Terraform resource to manage edge gateways.
Package edgegw provides a Terraform datasource.
Package edgegw provides a Terraform resource.
Package edgegw provides a Terraform datasource.
Package edgegw provides a Terraform resource.
Package edgegw provides a Terraform datasource.
Package edgegw provides a Terraform resource.
Package edgegw provides a Terraform datasource.
Package edgegw provides a Terraform resource.
Package edgegw provides a Terraform datasource.
Package edgegw provides a Terraform resource.
Index ¶
- Variables
- func NewDhcpForwardingDataSource() datasource.DataSource
- func NewDhcpForwardingResource() resource.Resource
- func NewEdgeGatewayDataSource() datasource.DataSource
- func NewEdgeGatewayResource() resource.Resource
- func NewEdgeGatewaysDataSource() datasource.DataSource
- func NewFirewallDataSource() datasource.DataSource
- func NewFirewallResource() resource.Resource
- func NewIPSetDataSource() datasource.DataSource
- func NewIPSetResource() resource.Resource
- func NewNATRuleDataSource() datasource.DataSource
- func NewNATRuleResource() resource.Resource
- func NewPortProfilesResource() resource.Resource
- func NewSecurityGroupDataSource() datasource.DataSource
- func NewSecurityGroupResource() resource.Resource
- func NewStaticRouteDataSource() datasource.DataSource
- func NewStaticRouteResource() resource.Resource
- type DhcpForwardingModel
- func (rm *DhcpForwardingModel) Copy() *DhcpForwardingModel
- func (rm *DhcpForwardingModel) GetDhcpServers(ctx context.Context) (values DhcpForwardingModelDhcpServers, diags diag.Diagnostics)
- func (rm *DhcpForwardingModel) ToNsxtEdgeGatewayDhcpForwarder(ctx context.Context) (*govcdtypes.NsxtEdgeGatewayDhcpForwarder, diag.Diagnostics)
- type DhcpForwardingModelDhcpServers
- type EdgeGatewayConfig
- type IPSetModel
- type IPSetModelIPAddresses
- type NATRuleModel
- type StaticRouteModel
- func (rm *StaticRouteModel) Copy() *StaticRouteModel
- func (rm *StaticRouteModel) GetNextHops(ctx context.Context) (values StaticRouteModelNextHops, diags diag.Diagnostics)
- func (rm *StaticRouteModel) ToNsxtEdgeGatewayStaticRoute(ctx context.Context) (*govcdtypes.NsxtEdgeGatewayStaticRoute, diag.Diagnostics)
- type StaticRouteModelNextHop
- type StaticRouteModelNextHops
Constants ¶
This section is empty.
Variables ¶
var ( // ConfigEdgeGateway is the default configuration for edge gateway. ConfigEdgeGateway setDefaultEdgeGateway = func() EdgeGatewayConfig { return EdgeGatewayConfig{ CheckJobDelay: defaultCheckJobDelayEdgeGateway, } } )
Ensure the implementation satisfies the expected interfaces.
Functions ¶
func NewDhcpForwardingDataSource ¶ added in v0.8.0
func NewDhcpForwardingDataSource() datasource.DataSource
func NewDhcpForwardingResource ¶ added in v0.8.0
NewDhcpForwardingResource is a helper function to simplify the provider implementation.
func NewEdgeGatewayDataSource ¶
func NewEdgeGatewayDataSource() datasource.DataSource
NewEdgeGatewayDataSource returns a new datasource implementing the edge_gateway data source.
func NewEdgeGatewayResource ¶
NewEdgeGatewayResource returns a new resource implementing the edge_gateway data source.
func NewEdgeGatewaysDataSource ¶
func NewEdgeGatewaysDataSource() datasource.DataSource
NewEdgeGatewaysDataSource returns a new resource implementing the edge_gateways data source.
func NewFirewallDataSource ¶ added in v0.5.0
func NewFirewallDataSource() datasource.DataSource
func NewFirewallResource ¶ added in v0.5.0
NewFirewallResource is a helper function to simplify the provider implementation.
func NewIPSetDataSource ¶ added in v0.7.0
func NewIPSetDataSource() datasource.DataSource
func NewIPSetResource ¶ added in v0.7.0
NewIpSetResource is a helper function to simplify the provider implementation.
func NewNATRuleDataSource ¶ added in v0.8.0
func NewNATRuleDataSource() datasource.DataSource
func NewNATRuleResource ¶ added in v0.8.0
NewNATRuleResource is a helper function to simplify the provider implementation.
func NewPortProfilesResource ¶ added in v0.5.1
NewPortProfilesResource is a helper function to simplify the provider implementation.
func NewSecurityGroupDataSource ¶ added in v0.6.0
func NewSecurityGroupDataSource() datasource.DataSource
func NewSecurityGroupResource ¶ added in v0.6.0
NewSecurityGroupResource is a helper function to simplify the provider implementation.
func NewStaticRouteDataSource ¶ added in v0.8.0
func NewStaticRouteDataSource() datasource.DataSource
func NewStaticRouteResource ¶ added in v0.8.0
NewStaticRouteResource is a helper function to simplify the provider implementation.
Types ¶
type DhcpForwardingModel ¶ added in v0.8.0
type DhcpForwardingModel struct { DhcpServers supertypes.SetValue `tfsdk:"dhcp_servers"` EdgeGatewayID supertypes.StringValue `tfsdk:"edge_gateway_id"` EdgeGatewayName supertypes.StringValue `tfsdk:"edge_gateway_name"` Enabled supertypes.BoolValue `tfsdk:"enabled"` ID supertypes.StringValue `tfsdk:"id"` }
func NewDhcpForwarding ¶ added in v0.8.0
func NewDhcpForwarding(t any) *DhcpForwardingModel
func (*DhcpForwardingModel) Copy ¶ added in v0.8.0
func (rm *DhcpForwardingModel) Copy() *DhcpForwardingModel
func (*DhcpForwardingModel) GetDhcpServers ¶ added in v0.8.0
func (rm *DhcpForwardingModel) GetDhcpServers(ctx context.Context) (values DhcpForwardingModelDhcpServers, diags diag.Diagnostics)
GetDhcpServers returns the value of the DhcpServers field.
func (*DhcpForwardingModel) ToNsxtEdgeGatewayDhcpForwarder ¶ added in v0.8.0
func (rm *DhcpForwardingModel) ToNsxtEdgeGatewayDhcpForwarder(ctx context.Context) (*govcdtypes.NsxtEdgeGatewayDhcpForwarder, diag.Diagnostics)
ToNsxtEdgeGatewayDhcpForwarder returns the NSX-T Edge Gateway DHCP Forwarder representation of the model.
type DhcpForwardingModelDhcpServers ¶ added in v0.8.0
type DhcpForwardingModelDhcpServers []supertypes.StringValue
func (*DhcpForwardingModelDhcpServers) Get ¶ added in v0.8.0
func (r *DhcpForwardingModelDhcpServers) Get() []string
type EdgeGatewayConfig ¶
EdgeGatewayConfig is the configuration for edge gateway.
type IPSetModel ¶ added in v0.7.0
type IPSetModel struct { Description supertypes.StringValue `tfsdk:"description"` EdgeGatewayID supertypes.StringValue `tfsdk:"edge_gateway_id"` EdgeGatewayName supertypes.StringValue `tfsdk:"edge_gateway_name"` ID supertypes.StringValue `tfsdk:"id"` IPAddresses supertypes.SetValue `tfsdk:"ip_addresses"` Name supertypes.StringValue `tfsdk:"name"` }
func NewIPSet ¶ added in v0.7.0
func NewIPSet(t any) *IPSetModel
func (*IPSetModel) Copy ¶ added in v0.7.0
func (rm *IPSetModel) Copy() *IPSetModel
func (*IPSetModel) GetIPAddresses ¶ added in v0.7.0
func (rm *IPSetModel) GetIPAddresses(ctx context.Context) (values IPSetModelIPAddresses, diags diag.Diagnostics)
GetIpAddresses returns the value of the IpAddresses field.
func (*IPSetModel) ToNsxtFirewallGroup ¶ added in v0.7.0
func (rm *IPSetModel) ToNsxtFirewallGroup(ctx context.Context, ownerID string) (values *govcdtypes.NsxtFirewallGroup, diags diag.Diagnostics)
ToNsxtFirewallGroup transform the IPSetModel to a govcdtypes.NsxtFirewallGroup.
type IPSetModelIPAddresses ¶ added in v0.7.0
type IPSetModelIPAddresses []supertypes.StringValue
type NATRuleModel ¶ added in v0.8.0
type NATRuleModel struct { // Option not implemented - see schema comment // AppPortProfileID supertypes.StringValue `tfsdk:"app_port_profile_id"` Description supertypes.StringValue `tfsdk:"description"` DnatExternalPort supertypes.StringValue `tfsdk:"dnat_external_port"` EdgeGatewayID supertypes.StringValue `tfsdk:"edge_gateway_id"` EdgeGatewayName supertypes.StringValue `tfsdk:"edge_gateway_name"` Enabled supertypes.BoolValue `tfsdk:"enabled"` ExternalAddress supertypes.StringValue `tfsdk:"external_address"` FirewallMatch supertypes.StringValue `tfsdk:"firewall_match"` ID supertypes.StringValue `tfsdk:"id"` InternalAddress supertypes.StringValue `tfsdk:"internal_address"` // Option not available in CloudAvenue // Logging supertypes.BoolValue `tfsdk:"logging"` Name supertypes.StringValue `tfsdk:"name"` Priority supertypes.Int64Value `tfsdk:"priority"` RuleType supertypes.StringValue `tfsdk:"rule_type"` SnatDestinationAddress supertypes.StringValue `tfsdk:"snat_destination_address"` }
func NewNATRule ¶ added in v0.8.0
func NewNATRule(t any) *NATRuleModel
func (*NATRuleModel) Copy ¶ added in v0.8.0
func (rm *NATRuleModel) Copy() *NATRuleModel
func (*NATRuleModel) ToNsxtNATRule ¶ added in v0.8.0
func (rm *NATRuleModel) ToNsxtNATRule(ctx context.Context) (values *govcdtypes.NsxtNatRule, err error)
type StaticRouteModel ¶ added in v0.8.0
type StaticRouteModel struct { Description supertypes.StringValue `tfsdk:"description"` EdgeGatewayID supertypes.StringValue `tfsdk:"edge_gateway_id"` EdgeGatewayName supertypes.StringValue `tfsdk:"edge_gateway_name"` ID supertypes.StringValue `tfsdk:"id"` Name supertypes.StringValue `tfsdk:"name"` NetworkCidr supertypes.StringValue `tfsdk:"network_cidr"` NextHops supertypes.SetNestedValue `tfsdk:"next_hops"` }
func NewStaticRoute ¶ added in v0.8.0
func NewStaticRoute(t any) *StaticRouteModel
func (*StaticRouteModel) Copy ¶ added in v0.8.0
func (rm *StaticRouteModel) Copy() *StaticRouteModel
func (*StaticRouteModel) GetNextHops ¶ added in v0.8.0
func (rm *StaticRouteModel) GetNextHops(ctx context.Context) (values StaticRouteModelNextHops, diags diag.Diagnostics)
GetNextHops returns the value of the NextHops field.
func (*StaticRouteModel) ToNsxtEdgeGatewayStaticRoute ¶ added in v0.8.0
func (rm *StaticRouteModel) ToNsxtEdgeGatewayStaticRoute(ctx context.Context) (*govcdtypes.NsxtEdgeGatewayStaticRoute, diag.Diagnostics)
type StaticRouteModelNextHop ¶ added in v0.8.0
type StaticRouteModelNextHop struct { AdminDistance supertypes.Int64Value `tfsdk:"admin_distance"` IPAddress supertypes.StringValue `tfsdk:"ip_address"` }
* NextHop.
type StaticRouteModelNextHops ¶ added in v0.8.0
type StaticRouteModelNextHops []StaticRouteModelNextHop
* NextHops.
Source Files ¶
- app_port_profile_resource.go
- app_port_profile_schema.go
- app_port_profile_type.go
- base.go
- dhcp_forwarding_datasource.go
- dhcp_forwarding_resource.go
- dhcp_forwarding_schema.go
- dhcp_forwarding_types.go
- edgegateway_datasource.go
- edgegateway_resource.go
- edgegateway_schema.go
- edgegateway_types.go
- edgegateways_datasource.go
- edgegateways_schema.go
- edgegateways_types.go
- firewall_datasource.go
- firewall_resource.go
- firewall_schema.go
- firewall_types.go
- ip_set_datasource.go
- ip_set_resource.go
- ip_set_schema.go
- ip_set_types.go
- nat_rule_datasource.go
- nat_rule_resource.go
- nat_rule_schema.go
- nat_rule_types.go
- security_group_datasource.go
- security_group_resource.go
- security_group_schema.go
- security_group_types.go
- static_route_datasource.go
- static_route_resource.go
- static_route_schema.go
- static_route_types.go