networkserver

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorNoValidSearchTerms     = `no valid search terms - an id or name is required`
	ErrorRunningPreApply        = `Error running pre-apply plan: exit status 1`
	ErrorNoNetworkServerFound   = `no network server found`
	ErrorMultipleNetworkServers = `multiple network servers were returned`
)

Variables

This section is empty.

Functions

func NetworkServerDataSourceSchema

func NetworkServerDataSourceSchema(ctx context.Context) schema.Schema

func NewDataSource

func NewDataSource() datasource.DataSource

NewDataSource is a helper function to simplify the provider implementation.

Types

type DataSource

DataSource is the data source implementation.

func (*DataSource) Metadata

Metadata returns the data source type name.

func (*DataSource) Read

Read refreshes the Terraform state with the latest data.

func (*DataSource) Schema

Schema defines the schema for the data source.

type NetworkServerModel

type NetworkServerModel struct {
	AdminPort       types.Int64   `tfsdk:"admin_port"`
	ApiPort         types.Int64   `tfsdk:"api_port"`
	Config          types.Dynamic `tfsdk:"config"`
	Description     types.String  `tfsdk:"description"`
	Enabled         types.Bool    `tfsdk:"enabled"`
	ExternalId      types.String  `tfsdk:"external_id"`
	Id              types.Int64   `tfsdk:"id"`
	InternalId      types.String  `tfsdk:"internal_id"`
	Name            types.String  `tfsdk:"name"`
	NetworkFilter   types.String  `tfsdk:"network_filter"`
	ServiceHost     types.String  `tfsdk:"service_host"`
	ServiceMode     types.String  `tfsdk:"service_mode"`
	ServicePassword types.String  `tfsdk:"service_password"`
	ServicePath     types.String  `tfsdk:"service_path"`
	ServicePort     types.Int64   `tfsdk:"service_port"`
	ServiceToken    types.String  `tfsdk:"service_token"`
	ServiceUrl      types.String  `tfsdk:"service_url"`
	ServiceUsername types.String  `tfsdk:"service_username"`
	TenantMatch     types.String  `tfsdk:"tenant_match"`
	Visibility      types.String  `tfsdk:"visibility"`
	Visible         types.Bool    `tfsdk:"visible"`
	ZoneId          types.Int64   `tfsdk:"zone_id"`
}

Jump to

Keyboard shortcuts

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