networkarearoute

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: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNetworkAreaRouteDataSource

func NewNetworkAreaRouteDataSource() datasource.DataSource

NewNetworkAreaRouteDataSource is a helper function to simplify the provider implementation.

func NewNetworkAreaRouteResource

func NewNetworkAreaRouteResource() resource.Resource

NewNetworkAreaRouteResource is a helper function to simplify the provider implementation.

Types

type DestinationModelV1 added in v0.75.0

type DestinationModelV1 struct {
	Type  types.String `tfsdk:"type"`
	Value types.String `tfsdk:"value"`
}

DestinationModelV1 maps the route destination data

type ModelV0 added in v0.75.0

type ModelV0 struct {
	Id                 types.String `tfsdk:"id"`
	OrganizationId     types.String `tfsdk:"organization_id"`
	NetworkAreaId      types.String `tfsdk:"network_area_id"`
	NetworkAreaRouteId types.String `tfsdk:"network_area_route_id"`
	NextHop            types.String `tfsdk:"next_hop"`
	Prefix             types.String `tfsdk:"prefix"`
	Labels             types.Map    `tfsdk:"labels"`
}

ModelV0 is the old model (only needed for state upgrade)

type ModelV1 added in v0.75.0

type ModelV1 struct {
	Id                 types.String        `tfsdk:"id"` // needed by TF
	OrganizationId     types.String        `tfsdk:"organization_id"`
	Region             types.String        `tfsdk:"region"`
	NetworkAreaId      types.String        `tfsdk:"network_area_id"`
	NetworkAreaRouteId types.String        `tfsdk:"network_area_route_id"`
	NextHop            *NexthopModelV1     `tfsdk:"next_hop"`
	Destination        *DestinationModelV1 `tfsdk:"destination"`
	Labels             types.Map           `tfsdk:"labels"`
}

ModelV1 is the currently used model

type NexthopModelV1 added in v0.75.0

type NexthopModelV1 struct {
	Type  types.String `tfsdk:"type"`
	Value types.String `tfsdk:"value"`
}

NexthopModelV1 maps the route nexthop data

Jump to

Keyboard shortcuts

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