network

package
v0.106.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNetworkDataSource

func NewNetworkDataSource() datasource.DataSource

NewNetworkDataSource is a helper function to simplify the provider implementation.

func NewNetworkResource

func NewNetworkResource() resource.Resource

NewNetworkResource is a helper function to simplify the provider implementation.

Types

type DataSourceModel added in v0.34.2

type DataSourceModel struct {
	Id                    types.String `tfsdk:"id"` // needed by TF
	ProjectId             types.String `tfsdk:"project_id"`
	NetworkId             types.String `tfsdk:"network_id"`
	Name                  types.String `tfsdk:"name"`
	IPv4Gateway           types.String `tfsdk:"ipv4_gateway"`
	IPv4Nameservers       types.List   `tfsdk:"ipv4_nameservers"`
	IPv4Prefix            types.String `tfsdk:"ipv4_prefix"`
	IPv4PrefixLength      types.Int64  `tfsdk:"ipv4_prefix_length"`
	IPv4Prefixes          types.List   `tfsdk:"ipv4_prefixes"`
	IPv4VpcNetworkRangeId types.String `tfsdk:"ipv4_vpc_network_range_id"`
	IPv6Gateway           types.String `tfsdk:"ipv6_gateway"`
	IPv6Nameservers       types.List   `tfsdk:"ipv6_nameservers"`
	IPv6Prefix            types.String `tfsdk:"ipv6_prefix"`
	IPv6PrefixLength      types.Int64  `tfsdk:"ipv6_prefix_length"`
	IPv6Prefixes          types.List   `tfsdk:"ipv6_prefixes"`
	IPv6VpcNetworkRangeId types.String `tfsdk:"ipv6_vpc_network_range_id"`
	PublicIP              types.String `tfsdk:"public_ip"`
	Labels                types.Map    `tfsdk:"labels"`
	Routed                types.Bool   `tfsdk:"routed"`
	Region                types.String `tfsdk:"region"`
	RoutingTableID        types.String `tfsdk:"routing_table_id"`
	DHCP                  types.Bool   `tfsdk:"dhcp"`
	VPCID                 types.String `tfsdk:"vpc_id"`
}

type Model

type Model struct {
	Id                    types.String `tfsdk:"id"` // needed by TF
	ProjectId             types.String `tfsdk:"project_id"`
	NetworkId             types.String `tfsdk:"network_id"`
	Name                  types.String `tfsdk:"name"`
	IPv4Gateway           types.String `tfsdk:"ipv4_gateway"`
	IPv4Nameservers       types.List   `tfsdk:"ipv4_nameservers"`
	IPv4Prefix            types.String `tfsdk:"ipv4_prefix"`
	IPv4PrefixLength      types.Int64  `tfsdk:"ipv4_prefix_length"`
	IPv4Prefixes          types.List   `tfsdk:"ipv4_prefixes"`
	IPv4VpcNetworkRangeId types.String `tfsdk:"ipv4_vpc_network_range_id"`
	IPv6Gateway           types.String `tfsdk:"ipv6_gateway"`
	IPv6Nameservers       types.List   `tfsdk:"ipv6_nameservers"`
	IPv6Prefix            types.String `tfsdk:"ipv6_prefix"`
	IPv6PrefixLength      types.Int64  `tfsdk:"ipv6_prefix_length"`
	IPv6Prefixes          types.List   `tfsdk:"ipv6_prefixes"`
	IPv6VpcNetworkRangeId types.String `tfsdk:"ipv6_vpc_network_range_id"`
	PublicIP              types.String `tfsdk:"public_ip"`
	Labels                types.Map    `tfsdk:"labels"`
	Routed                types.Bool   `tfsdk:"routed"`
	NoIPv4Gateway         types.Bool   `tfsdk:"no_ipv4_gateway"`
	NoIPv6Gateway         types.Bool   `tfsdk:"no_ipv6_gateway"`
	Region                types.String `tfsdk:"region"`
	RoutingTableID        types.String `tfsdk:"routing_table_id"`
	DHCP                  types.Bool   `tfsdk:"dhcp"`
	VPCID                 types.String `tfsdk:"vpc_id"`
}

Jump to

Keyboard shortcuts

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