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 ¶
- func GetIPRanges(network *govcd.OpenApiOrgVdcNetwork) []staticIPPool
- func GetParentEdgeGatewayID(org org.Org, edgeGatewayID string) (*string, diag.Diagnostic)
- func NewDhcpBindingDataSource() datasource.DataSource
- func NewDhcpBindingResource() resource.Resource
- func NewDhcpDataSource() datasource.DataSource
- func NewDhcpResource() resource.Resource
- func NewNetworkIsolatedDataSource() datasource.DataSource
- func NewNetworkIsolatedResource() resource.Resource
- func NewNetworkRoutedDataSource() datasource.DataSource
- func NewNetworkRoutedResource() resource.Resource
- type DHCPBindingModel
- func (rm *DHCPBindingModel) Copy() *DHCPBindingModel
- func (rm *DHCPBindingModel) GetDNSServers(ctx context.Context) (values DHCPBindingModelDNSServers, diags diag.Diagnostics)
- func (rm *DHCPBindingModel) GetDhcpV4Config(ctx context.Context) (values DHCPBindingModelDhcpV4Config, diags diag.Diagnostics)
- func (rm *DHCPBindingModel) ToNetworkDhcpBindingType(ctx context.Context) (values *govcdtypes.OpenApiOrgVdcNetworkDhcpBinding, diags diag.Diagnostics)
- type DHCPBindingModelDNSServers
- type DHCPBindingModelDhcpV4Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIPRanges ¶ added in v0.3.0
func GetIPRanges(network *govcd.OpenApiOrgVdcNetwork) []staticIPPool
Get IP Pool information data from network.
func GetParentEdgeGatewayID ¶
Get parent edge gateway ID.
func NewDhcpBindingDataSource ¶ added in v0.7.0
func NewDhcpBindingDataSource() datasource.DataSource
func NewDhcpBindingResource ¶ added in v0.7.0
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
NewDhcpResource is a helper function to simplify the provider implementation.
func NewNetworkIsolatedDataSource ¶ added in v0.2.0
func NewNetworkIsolatedDataSource() datasource.DataSource
func NewNetworkIsolatedResource ¶
NewNetworkIsolatedResource is a helper function to simplify the provider implementation.
func NewNetworkRoutedDataSource ¶ added in v0.3.0
func NewNetworkRoutedDataSource() datasource.DataSource
func NewNetworkRoutedResource ¶
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
func (ds DHCPBindingModelDNSServers) Get() []string
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.
Source Files ¶
- base.go
- common_network.go
- dhcp_binding_datasource.go
- dhcp_binding_resource.go
- dhcp_binding_schema.go
- dhcp_binding_types.go
- dhcp_datasource.go
- dhcp_resource.go
- dhcp_schema.go
- dhcp_types.go
- isolated_datasource.go
- isolated_resource.go
- routed_datasource.go
- routed_resource.go
- routed_schema.go
- routed_types.go