network

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: MPL-2.0 Imports: 39 Imported by: 0

Documentation

Overview

Package network provides a Terraform resource.

Package network provides a Terraform datasource.

Package network provides a Terraform resource.

Package network provides a Terraform datasource.

Package network provides a Terraform resource.

Package network provides a Terraform datasource.

Package network provides a Terraform resource.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDhcpBindingDataSource added in v0.7.0

func NewDhcpBindingDataSource() datasource.DataSource

func NewDhcpBindingResource added in v0.7.0

func NewDhcpBindingResource() resource.Resource

NewDhcpBindingResource is a helper function to simplify the provider implementation.

func NewDhcpDataSource added in v0.6.0

func NewDhcpDataSource() datasource.DataSource

func NewDhcpResource added in v0.6.0

func NewDhcpResource() resource.Resource

NewDhcpResource is a helper function to simplify the provider implementation.

func NewNetworkIsolatedDataSource added in v0.2.0

func NewNetworkIsolatedDataSource() datasource.DataSource

func NewNetworkIsolatedResource

func NewNetworkIsolatedResource() resource.Resource

NewNetworkIsolatedResource is a helper function to simplify the provider implementation.

func NewNetworkRoutedDataSource added in v0.3.0

func NewNetworkRoutedDataSource() datasource.DataSource

func NewNetworkRoutedResource

func NewNetworkRoutedResource() resource.Resource

NewNetworkRoutedResource is a helper function to simplify the provider implementation.

Types

type DHCPBindingModel added in v0.7.0

type DHCPBindingModel struct {
	Description  supertypes.StringValue       `tfsdk:"description"`
	DhcpV4Config supertypes.SingleNestedValue `tfsdk:"dhcp_v4_config"`
	DNSServers   supertypes.ListValue         `tfsdk:"dns_servers"`
	ID           supertypes.StringValue       `tfsdk:"id"`
	IPAddress    supertypes.StringValue       `tfsdk:"ip_address"`
	LeaseTime    supertypes.Int64Value        `tfsdk:"lease_time"`
	MacAddress   supertypes.StringValue       `tfsdk:"mac_address"`
	Name         supertypes.StringValue       `tfsdk:"name"`
	OrgNetworkID supertypes.StringValue       `tfsdk:"org_network_id"`
}

func NewDhcpBinding added in v0.7.0

func NewDhcpBinding(t any) *DHCPBindingModel

func (*DHCPBindingModel) Copy added in v0.7.0

func (rm *DHCPBindingModel) Copy() *DHCPBindingModel

func (*DHCPBindingModel) GetDNSServers added in v0.7.0

func (rm *DHCPBindingModel) GetDNSServers(ctx context.Context) (values DHCPBindingModelDNSServers, diags diag.Diagnostics)

GetDNSServers returns the value of the DNSServers field.

func (*DHCPBindingModel) GetDhcpV4Config added in v0.7.0

func (rm *DHCPBindingModel) GetDhcpV4Config(ctx context.Context) (values DHCPBindingModelDhcpV4Config, diags diag.Diagnostics)

GetDhcpV4Config returns the value of the DhcpV4Config field.

func (*DHCPBindingModel) ToNetworkDhcpBindingType added in v0.7.0

func (rm *DHCPBindingModel) ToNetworkDhcpBindingType(ctx context.Context) (values *govcdtypes.OpenApiOrgVdcNetworkDhcpBinding, diags diag.Diagnostics)

ToNetworkDhcpBindingType converts a DHCPBindingModel to govcdtypes.OpenApiOrgVdcNetworkDhcpBinding.

type DHCPBindingModelDNSServers added in v0.7.0

type DHCPBindingModelDNSServers []supertypes.StringValue

func (DHCPBindingModelDNSServers) Get added in v0.7.0

Get returns the value of the given attribute.

type DHCPBindingModelDhcpV4Config added in v0.7.0

type DHCPBindingModelDhcpV4Config struct {
	GatewayAddress supertypes.StringValue `tfsdk:"gateway_address"`
	Hostname       supertypes.StringValue `tfsdk:"hostname"`
}

* DhcpV4Config.

type IsolatedModel added in v0.24.0

type IsolatedModel = networkIsolatedModel

IsolatedModel is the structure used by vdc package for the migration of the resource.

Jump to

Keyboard shortcuts

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