nlb_service

package
v0.59.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NLBServiceListAttrNLBID          = "nlb_id"
	NLBServiceListAttrNLBName        = "nlb_name"
	NLBServiceListAttrNLBServiceList = "services"
	NLBServiceListAttrZone           = "zone"

	NLBServiceAttrDescription    = "description"
	NLBServiceAttrID             = "id"
	NLBServiceAttrHealthcheck    = "healthcheck"
	NLBServiceAttrInstancePoolID = "instance_pool_id"
	NLBServiceAttrName           = "name"
	NLBServiceAttrPort           = "port"
	NLBServiceAttrProtocol       = "protocol"
	NLBServiceAttrStrategy       = "strategy"
	NLBServiceAttrState          = "state"
	NLBServiceAttrTargetPort     = "target_port"

	NLBServiceHealthcheckAttrInterval = "interval"
	NLBServiceHealthcheckAttrMode     = "mode"
	NLBServiceHealthcheckAttrPort     = "port"
	NLBServiceHealthcheckAttrRetries  = "retries"
	NLBServiceHealthcheckAttrTimeout  = "timeout"
	NLBServiceHealthcheckAttrTLSSNI   = "tls_sni"
	NLBServiceHealthcheckAttrURI      = "uri"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSourceModel

type DataSourceModel struct {
	ID             types.String `tfsdk:"id"`
	NLBID          types.String `tfsdk:"nlb_id"`
	NLBName        types.String `tfsdk:"nlb_name"`
	NLBServiceList []Service    `tfsdk:"services"`
	Zone           types.String `tfsdk:"zone"`

	Timeouts timeouts.Value `tfsdk:"timeouts"`
}

type Healthcheck

type Healthcheck struct {
	Interval types.Int64  `tfsdk:"interval"`
	Mode     types.String `tfsdk:"mode"`
	Port     types.Int64  `tfsdk:"port"`
	Retries  types.Int64  `tfsdk:"retries"`
	TLSSNI   types.String `tfsdk:"tls_sni"`
	Timeout  types.Int64  `tfsdk:"timeout"`
	URI      types.String `tfsdk:"uri"`
}

type NLBServiceListDataSource

type NLBServiceListDataSource struct {
	// contains filtered or unexported fields
}

NLBServiceListDataSource is the data source implementation.

func (*NLBServiceListDataSource) Configure

func (*NLBServiceListDataSource) Metadata

func (*NLBServiceListDataSource) Read

func (*NLBServiceListDataSource) Schema

type Service

type Service struct {
	Description    types.String `tfsdk:"description"`
	Healthcheck    Healthcheck  `tfsdk:"healthcheck"`
	ID             types.String `tfsdk:"id"`
	InstancePoolID types.String `tfsdk:"instance_pool_id"`
	Name           types.String `tfsdk:"name"`
	Port           types.Int64  `tfsdk:"port"`
	Protocol       types.String `tfsdk:"protocol"`
	State          types.String `tfsdk:"state"`
	Strategy       types.String `tfsdk:"strategy"`
	TargetPort     types.Int64  `tfsdk:"target_port"`
}

Jump to

Keyboard shortcuts

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