loadbalancerpool

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadBalancerPoolDataSourceSchema

func LoadBalancerPoolDataSourceSchema(ctx context.Context) schema.Schema

func NewDataSource

func NewDataSource() datasource.DataSource

func RenderLoadBalancerPoolDataSourceByIDConfig

func RenderLoadBalancerPoolDataSourceByIDConfig(t *testing.T, overrides map[string]string) (string, error)

func RenderLoadBalancerPoolDataSourceByNameConfig

func RenderLoadBalancerPoolDataSourceByNameConfig(t *testing.T, overrides map[string]string) (string, error)

Types

type ConfigNsxtType

type ConfigNsxtType struct {
	basetypes.ObjectType
}

func (ConfigNsxtType) Equal

func (t ConfigNsxtType) Equal(o attr.Type) bool

func (ConfigNsxtType) String

func (t ConfigNsxtType) String() string

func (ConfigNsxtType) ValueFromObject

func (ConfigNsxtType) ValueFromTerraform

func (t ConfigNsxtType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (ConfigNsxtType) ValueType

func (t ConfigNsxtType) ValueType(ctx context.Context) attr.Value

type ConfigNsxtValue

type ConfigNsxtValue struct {
	ActiveMonitorPaths    basetypes.Int64Value  `tfsdk:"active_monitor_paths"`
	MemberGroup           basetypes.ObjectValue `tfsdk:"member_group"`
	PassiveMonitorPath    basetypes.Int64Value  `tfsdk:"passive_monitor_path"`
	SnatIpAddresses       basetypes.ListValue   `tfsdk:"snat_ip_addresses"`
	SnatTranslationType   basetypes.StringValue `tfsdk:"snat_translation_type"`
	TcpMultiplexing       basetypes.BoolValue   `tfsdk:"tcp_multiplexing"`
	TcpMultiplexingNumber basetypes.Int64Value  `tfsdk:"tcp_multiplexing_number"`
	// contains filtered or unexported fields
}

func NewConfigNsxtValue

func NewConfigNsxtValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ConfigNsxtValue, diag.Diagnostics)

func NewConfigNsxtValueMust

func NewConfigNsxtValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ConfigNsxtValue

func NewConfigNsxtValueNull

func NewConfigNsxtValueNull() ConfigNsxtValue

func NewConfigNsxtValueUnknown

func NewConfigNsxtValueUnknown() ConfigNsxtValue

func (ConfigNsxtValue) AttributeTypes

func (v ConfigNsxtValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (ConfigNsxtValue) Equal

func (v ConfigNsxtValue) Equal(o attr.Value) bool

func (ConfigNsxtValue) IsNull

func (v ConfigNsxtValue) IsNull() bool

func (ConfigNsxtValue) IsUnknown

func (v ConfigNsxtValue) IsUnknown() bool

func (ConfigNsxtValue) String

func (v ConfigNsxtValue) String() string

func (ConfigNsxtValue) ToObjectValue

func (ConfigNsxtValue) ToTerraformValue

func (v ConfigNsxtValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (ConfigNsxtValue) Type

func (v ConfigNsxtValue) Type(ctx context.Context) attr.Type

type DataSource

func (*DataSource) Metadata

func (*DataSource) Read

func (*DataSource) Schema

type LoadBalancerPoolModel

type LoadBalancerPoolModel struct {
	AllowNat         types.String      `tfsdk:"allow_nat"`
	AllowSnat        types.String      `tfsdk:"allow_snat"`
	Category         types.String      `tfsdk:"category"`
	Config           types.Dynamic     `tfsdk:"config"`
	ConfigNsxt       ConfigNsxtValue   `tfsdk:"config_nsxt"`
	DateCreated      types.String      `tfsdk:"date_created"`
	Description      types.String      `tfsdk:"description"`
	DownAction       types.String      `tfsdk:"down_action"`
	Enabled          types.Bool        `tfsdk:"enabled"`
	ErrorPenalty     types.Int64       `tfsdk:"error_penalty"`
	ExternalId       types.String      `tfsdk:"external_id"`
	HealthPenalty    types.Int64       `tfsdk:"health_penalty"`
	HealthScore      types.Int64       `tfsdk:"health_score"`
	Id               types.Int64       `tfsdk:"id"`
	InternalId       types.String      `tfsdk:"internal_id"`
	LastUpdated      types.String      `tfsdk:"last_updated"`
	LoadBalancer     LoadBalancerValue `tfsdk:"load_balancer"`
	LoadBalancerId   types.Int64       `tfsdk:"load_balancer_id"`
	MaxQueueDepth    types.String      `tfsdk:"max_queue_depth"`
	MaxQueueTime     types.String      `tfsdk:"max_queue_time"`
	Members          types.Set         `tfsdk:"members"`
	MinActive        types.Int64       `tfsdk:"min_active"`
	MinInService     types.String      `tfsdk:"min_in_service"`
	MinUpAction      types.String      `tfsdk:"min_up_action"`
	MinUpMonitor     types.String      `tfsdk:"min_up_monitor"`
	Monitors         types.Set         `tfsdk:"monitors"`
	Name             types.String      `tfsdk:"name"`
	Nodes            types.Set         `tfsdk:"nodes"`
	NumberActive     types.Int64       `tfsdk:"number_active"`
	NumberInService  types.Int64       `tfsdk:"number_in_service"`
	PerformanceScore types.Int64       `tfsdk:"performance_score"`
	Port             types.String      `tfsdk:"port"`
	PortType         types.String      `tfsdk:"port_type"`
	RampTime         types.String      `tfsdk:"ramp_time"`
	SecurityPenalty  types.Int64       `tfsdk:"security_penalty"`
	Status           types.String      `tfsdk:"status"`
	VipBalance       types.String      `tfsdk:"vip_balance"`
	VipClientIpMode  types.String      `tfsdk:"vip_client_ip_mode"`
	VipServerIpMode  types.String      `tfsdk:"vip_server_ip_mode"`
	VipSticky        types.String      `tfsdk:"vip_sticky"`
	Visibility       types.String      `tfsdk:"visibility"`
}

type LoadBalancerType

type LoadBalancerType struct {
	basetypes.ObjectType
}

func (LoadBalancerType) Equal

func (t LoadBalancerType) Equal(o attr.Type) bool

func (LoadBalancerType) String

func (t LoadBalancerType) String() string

func (LoadBalancerType) ValueFromObject

func (LoadBalancerType) ValueFromTerraform

func (t LoadBalancerType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (LoadBalancerType) ValueType

func (t LoadBalancerType) ValueType(ctx context.Context) attr.Value

type LoadBalancerValue

type LoadBalancerValue struct {
	Id               basetypes.Int64Value  `tfsdk:"id"`
	Ip               basetypes.StringValue `tfsdk:"ip"`
	Name             basetypes.StringValue `tfsdk:"name"`
	LoadBalancerType basetypes.ObjectValue `tfsdk:"type"`
	// contains filtered or unexported fields
}

func NewLoadBalancerValue

func NewLoadBalancerValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (LoadBalancerValue, diag.Diagnostics)

func NewLoadBalancerValueMust

func NewLoadBalancerValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) LoadBalancerValue

func NewLoadBalancerValueNull

func NewLoadBalancerValueNull() LoadBalancerValue

func NewLoadBalancerValueUnknown

func NewLoadBalancerValueUnknown() LoadBalancerValue

func (LoadBalancerValue) AttributeTypes

func (v LoadBalancerValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (LoadBalancerValue) Equal

func (v LoadBalancerValue) Equal(o attr.Value) bool

func (LoadBalancerValue) IsNull

func (v LoadBalancerValue) IsNull() bool

func (LoadBalancerValue) IsUnknown

func (v LoadBalancerValue) IsUnknown() bool

func (LoadBalancerValue) String

func (v LoadBalancerValue) String() string

func (LoadBalancerValue) ToObjectValue

func (LoadBalancerValue) ToTerraformValue

func (v LoadBalancerValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (LoadBalancerValue) Type

type MemberGroupType

type MemberGroupType struct {
	basetypes.ObjectType
}

func (MemberGroupType) Equal

func (t MemberGroupType) Equal(o attr.Type) bool

func (MemberGroupType) String

func (t MemberGroupType) String() string

func (MemberGroupType) ValueFromObject

func (MemberGroupType) ValueFromTerraform

func (t MemberGroupType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (MemberGroupType) ValueType

func (t MemberGroupType) ValueType(ctx context.Context) attr.Value

type MemberGroupValue

type MemberGroupValue struct {
	IpRevisionFilter basetypes.StringValue `tfsdk:"ip_revision_filter"`
	MaxIpListSize    basetypes.Int64Value  `tfsdk:"max_ip_list_size"`
	Path             basetypes.StringValue `tfsdk:"path"`
	Port             basetypes.Int64Value  `tfsdk:"port"`
	// contains filtered or unexported fields
}

func NewMemberGroupValue

func NewMemberGroupValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (MemberGroupValue, diag.Diagnostics)

func NewMemberGroupValueMust

func NewMemberGroupValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) MemberGroupValue

func NewMemberGroupValueNull

func NewMemberGroupValueNull() MemberGroupValue

func NewMemberGroupValueUnknown

func NewMemberGroupValueUnknown() MemberGroupValue

func (MemberGroupValue) AttributeTypes

func (v MemberGroupValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (MemberGroupValue) Equal

func (v MemberGroupValue) Equal(o attr.Value) bool

func (MemberGroupValue) IsNull

func (v MemberGroupValue) IsNull() bool

func (MemberGroupValue) IsUnknown

func (v MemberGroupValue) IsUnknown() bool

func (MemberGroupValue) String

func (v MemberGroupValue) String() string

func (MemberGroupValue) ToObjectValue

func (MemberGroupValue) ToTerraformValue

func (v MemberGroupValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (MemberGroupValue) Type

type MembersType

type MembersType struct {
	basetypes.ObjectType
}

func (MembersType) Equal

func (t MembersType) Equal(o attr.Type) bool

func (MembersType) String

func (t MembersType) String() string

func (MembersType) ValueFromObject

func (MembersType) ValueFromTerraform

func (t MembersType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (MembersType) ValueType

func (t MembersType) ValueType(ctx context.Context) attr.Value

type MembersValue

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

func NewMembersValue

func NewMembersValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (MembersValue, diag.Diagnostics)

func NewMembersValueMust

func NewMembersValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) MembersValue

func NewMembersValueNull

func NewMembersValueNull() MembersValue

func NewMembersValueUnknown

func NewMembersValueUnknown() MembersValue

func (MembersValue) AttributeTypes

func (v MembersValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (MembersValue) Equal

func (v MembersValue) Equal(o attr.Value) bool

func (MembersValue) IsNull

func (v MembersValue) IsNull() bool

func (MembersValue) IsUnknown

func (v MembersValue) IsUnknown() bool

func (MembersValue) String

func (v MembersValue) String() string

func (MembersValue) ToObjectValue

func (MembersValue) ToTerraformValue

func (v MembersValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (MembersValue) Type

func (v MembersValue) Type(ctx context.Context) attr.Type

type MonitorsType

type MonitorsType struct {
	basetypes.ObjectType
}

func (MonitorsType) Equal

func (t MonitorsType) Equal(o attr.Type) bool

func (MonitorsType) String

func (t MonitorsType) String() string

func (MonitorsType) ValueFromObject

func (MonitorsType) ValueFromTerraform

func (t MonitorsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (MonitorsType) ValueType

func (t MonitorsType) ValueType(ctx context.Context) attr.Value

type MonitorsValue

type MonitorsValue struct {
	Id   basetypes.Int64Value  `tfsdk:"id"`
	Name basetypes.StringValue `tfsdk:"name"`
	// contains filtered or unexported fields
}

func NewMonitorsValue

func NewMonitorsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (MonitorsValue, diag.Diagnostics)

func NewMonitorsValueMust

func NewMonitorsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) MonitorsValue

func NewMonitorsValueNull

func NewMonitorsValueNull() MonitorsValue

func NewMonitorsValueUnknown

func NewMonitorsValueUnknown() MonitorsValue

func (MonitorsValue) AttributeTypes

func (v MonitorsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (MonitorsValue) Equal

func (v MonitorsValue) Equal(o attr.Value) bool

func (MonitorsValue) IsNull

func (v MonitorsValue) IsNull() bool

func (MonitorsValue) IsUnknown

func (v MonitorsValue) IsUnknown() bool

func (MonitorsValue) String

func (v MonitorsValue) String() string

func (MonitorsValue) ToObjectValue

func (MonitorsValue) ToTerraformValue

func (v MonitorsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (MonitorsValue) Type

func (v MonitorsValue) Type(ctx context.Context) attr.Type

type NodesType

type NodesType struct {
	basetypes.ObjectType
}

func (NodesType) Equal

func (t NodesType) Equal(o attr.Type) bool

func (NodesType) String

func (t NodesType) String() string

func (NodesType) ValueFromObject

func (NodesType) ValueFromTerraform

func (t NodesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (NodesType) ValueType

func (t NodesType) ValueType(ctx context.Context) attr.Value

type NodesValue

type NodesValue struct {
	Id   basetypes.Int64Value  `tfsdk:"id"`
	Name basetypes.StringValue `tfsdk:"name"`
	// contains filtered or unexported fields
}

func NewNodesValue

func NewNodesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (NodesValue, diag.Diagnostics)

func NewNodesValueMust

func NewNodesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) NodesValue

func NewNodesValueNull

func NewNodesValueNull() NodesValue

func NewNodesValueUnknown

func NewNodesValueUnknown() NodesValue

func (NodesValue) AttributeTypes

func (v NodesValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (NodesValue) Equal

func (v NodesValue) Equal(o attr.Value) bool

func (NodesValue) IsNull

func (v NodesValue) IsNull() bool

func (NodesValue) IsUnknown

func (v NodesValue) IsUnknown() bool

func (NodesValue) String

func (v NodesValue) String() string

func (NodesValue) ToObjectValue

func (NodesValue) ToTerraformValue

func (v NodesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (NodesValue) Type

func (v NodesValue) Type(ctx context.Context) attr.Type

type TypeType

type TypeType struct {
	basetypes.ObjectType
}

func (TypeType) Equal

func (t TypeType) Equal(o attr.Type) bool

func (TypeType) String

func (t TypeType) String() string

func (TypeType) ValueFromObject

func (TypeType) ValueFromTerraform

func (t TypeType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (TypeType) ValueType

func (t TypeType) ValueType(ctx context.Context) attr.Value

type TypeValue

type TypeValue struct {
	Code basetypes.StringValue `tfsdk:"code"`
	Id   basetypes.Int64Value  `tfsdk:"id"`
	Name basetypes.StringValue `tfsdk:"name"`
	// contains filtered or unexported fields
}

func NewTypeValue

func NewTypeValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (TypeValue, diag.Diagnostics)

func NewTypeValueMust

func NewTypeValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) TypeValue

func NewTypeValueNull

func NewTypeValueNull() TypeValue

func NewTypeValueUnknown

func NewTypeValueUnknown() TypeValue

func (TypeValue) AttributeTypes

func (v TypeValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (TypeValue) Equal

func (v TypeValue) Equal(o attr.Value) bool

func (TypeValue) IsNull

func (v TypeValue) IsNull() bool

func (TypeValue) IsUnknown

func (v TypeValue) IsUnknown() bool

func (TypeValue) String

func (v TypeValue) String() string

func (TypeValue) ToObjectValue

func (v TypeValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (TypeValue) ToTerraformValue

func (v TypeValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (TypeValue) Type

func (v TypeValue) Type(ctx context.Context) attr.Type

Jump to

Keyboard shortcuts

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