networkarea

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNetworkAreaDataSource

func NewNetworkAreaDataSource() datasource.DataSource

NewNetworkDataSource is a helper function to simplify the provider implementation.

func NewNetworkAreaResource

func NewNetworkAreaResource() resource.Resource

NewNetworkAreaResource is a helper function to simplify the provider implementation.

Types

type Model

type Model struct {
	Id             types.String `tfsdk:"id"` // needed by TF
	OrganizationId types.String `tfsdk:"organization_id"`
	NetworkAreaId  types.String `tfsdk:"network_area_id"`
	Name           types.String `tfsdk:"name"`
	ProjectCount   types.Int64  `tfsdk:"project_count"`
	Labels         types.Map    `tfsdk:"labels"`

	// Deprecated: Will be removed in May 2026. Only kept to make the IaaS v1 -> v2 API migration non-breaking in the Terraform provider.
	DefaultNameservers types.List `tfsdk:"default_nameservers"`
	// Deprecated: Will be removed in May 2026. Only kept to make the IaaS v1 -> v2 API migration non-breaking in the Terraform provider.
	MaxPrefixLength types.Int64 `tfsdk:"max_prefix_length"`
	// Deprecated: Will be removed in May 2026. Only kept to make the IaaS v1 -> v2 API migration non-breaking in the Terraform provider.
	NetworkRanges types.List `tfsdk:"network_ranges"`
	// Deprecated: Will be removed in May 2026. Only kept to make the IaaS v1 -> v2 API migration non-breaking in the Terraform provider.
	TransferNetwork types.String `tfsdk:"transfer_network"`
	// Deprecated: Will be removed in May 2026. Only kept to make the IaaS v1 -> v2 API migration non-breaking in the Terraform provider.
	DefaultPrefixLength types.Int64 `tfsdk:"default_prefix_length"`
	// Deprecated: Will be removed in May 2026. Only kept to make the IaaS v1 -> v2 API migration non-breaking in the Terraform provider.
	MinPrefixLength types.Int64 `tfsdk:"min_prefix_length"`
}

func (*Model) LegacyMode deprecated added in v0.75.0

func (model *Model) LegacyMode() bool

Deprecated: Will be removed in May 2026. Only introduced to make the IaaS v1 -> v2 API migration non-breaking in the Terraform provider. LegacyMode checks if any of the deprecated fields are set which now relate to the network area region API resource.

Jump to

Keyboard shortcuts

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