Help us shape the future of Go! Take the 2026 Go Developer Survey

vpcnetworkrange

package
v0.112.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVpcNetworkRangeDatasource

func NewVpcNetworkRangeDatasource() datasource.DataSource

NewVpcNetworkRangeDatasource is a helper function to simplify the provider implementation.

func NewVpcNetworkRangeResource

func NewVpcNetworkRangeResource() resource.Resource

NewVpcNetworkRangeResource is a helper function to simplify the provider implementation.

Types

type DatasourceModel

type DatasourceModel struct {
	SharedModel
	Timeouts timeouts.Value `tfsdk:"timeouts"`
}

type ResourceModel

type ResourceModel struct {
	SharedModel
	Timeouts timeouts.Value `tfsdk:"timeouts"`
}

type SharedModel

type SharedModel struct {
	Id             types.String `tfsdk:"id"` // needed by TF
	ProjectId      types.String `tfsdk:"project_id"`
	VpcId          types.String `tfsdk:"vpc_id"`
	Region         types.String `tfsdk:"region"`
	NetworkRangeId types.String `tfsdk:"network_range_id"`

	Description         types.String `tfsdk:"description"`
	IpVersion           types.String `tfsdk:"ip_version"`
	DefaultPrefixLength types.Int64  `tfsdk:"default_prefix_length"`
	MaxPrefixLength     types.Int64  `tfsdk:"max_prefix_length"`
	MinPrefixLength     types.Int64  `tfsdk:"min_prefix_length"`
	Labels              types.Map    `tfsdk:"labels"`
	Nameservers         types.List   `tfsdk:"nameservers"`
	Prefix              types.String `tfsdk:"prefix"`
}

Jump to

Keyboard shortcuts

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