loadbalancermonitor

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 LoadBalancerMonitorDataSourceSchema

func LoadBalancerMonitorDataSourceSchema(ctx context.Context) schema.Schema

func NewDataSource

func NewDataSource() datasource.DataSource

func RenderLoadBalancerMonitorDataSourceByIDConfig

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

func RenderLoadBalancerMonitorDataSourceByNameConfig

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

Types

type ConfigType

type ConfigType struct {
	basetypes.ObjectType
}

func (ConfigType) Equal

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

func (ConfigType) String

func (t ConfigType) String() string

func (ConfigType) ValueFromObject

func (ConfigType) ValueFromTerraform

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

func (ConfigType) ValueType

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

type ConfigValue

type ConfigValue struct {
	Monitor       basetypes.ObjectValue  `tfsdk:"monitor"`
	MonitorConfig basetypes.DynamicValue `tfsdk:"monitor_config"`
	// contains filtered or unexported fields
}

func NewConfigValue

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

func NewConfigValueMust

func NewConfigValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ConfigValue

func NewConfigValueNull

func NewConfigValueNull() ConfigValue

func NewConfigValueUnknown

func NewConfigValueUnknown() ConfigValue

func (ConfigValue) AttributeTypes

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

func (ConfigValue) Equal

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

func (ConfigValue) IsNull

func (v ConfigValue) IsNull() bool

func (ConfigValue) IsUnknown

func (v ConfigValue) IsUnknown() bool

func (ConfigValue) String

func (v ConfigValue) String() string

func (ConfigValue) ToObjectValue

func (ConfigValue) ToTerraformValue

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

func (ConfigValue) Type

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

type DataSource

func (*DataSource) Metadata

func (*DataSource) Read

func (*DataSource) Schema

type LoadBalancerMonitorModel

type LoadBalancerMonitorModel struct {
	AliasPort          types.Int64  `tfsdk:"alias_port"`
	Category           types.String `tfsdk:"category"`
	Code               types.String `tfsdk:"code"`
	Config             ConfigValue  `tfsdk:"config"`
	DataLength         types.Int64  `tfsdk:"data_length"`
	Description        types.String `tfsdk:"description"`
	Enabled            types.Bool   `tfsdk:"enabled"`
	ExternalId         types.String `tfsdk:"external_id"`
	FallCount          types.Int64  `tfsdk:"fall_count"`
	Id                 types.Int64  `tfsdk:"id"`
	InternalId         types.String `tfsdk:"internal_id"`
	LoadBalancerId     types.Int64  `tfsdk:"load_balancer_id"`
	MaxRetry           types.Int64  `tfsdk:"max_retry"`
	MonitorDestination types.String `tfsdk:"monitor_destination"`
	MonitorInterval    types.Int64  `tfsdk:"monitor_interval"`
	MonitorTimeout     types.Int64  `tfsdk:"monitor_timeout"`
	MonitorType        types.String `tfsdk:"monitor_type"`
	MonitorUsername    types.String `tfsdk:"monitor_username"`
	Name               types.String `tfsdk:"name"`
	ReceiveCode        types.String `tfsdk:"receive_code"`
	ReceiveData        types.String `tfsdk:"receive_data"`
	RiseCount          types.Int64  `tfsdk:"rise_count"`
	SendData           types.String `tfsdk:"send_data"`
	SendType           types.String `tfsdk:"send_type"`
	SendVersion        types.String `tfsdk:"send_version"`
	Status             types.String `tfsdk:"status"`
	StatusDate         types.String `tfsdk:"status_date"`
	StatusMessage      types.String `tfsdk:"status_message"`
	Visibility         types.String `tfsdk:"visibility"`
}

type MonitorType

type MonitorType struct {
	basetypes.ObjectType
}

func (MonitorType) Equal

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

func (MonitorType) String

func (t MonitorType) String() string

func (MonitorType) ValueFromObject

func (MonitorType) ValueFromTerraform

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

func (MonitorType) ValueType

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

type MonitorValue

type MonitorValue struct {
	Id basetypes.Int64Value `tfsdk:"id"`
	// contains filtered or unexported fields
}

func NewMonitorValue

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

func NewMonitorValueMust

func NewMonitorValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) MonitorValue

func NewMonitorValueNull

func NewMonitorValueNull() MonitorValue

func NewMonitorValueUnknown

func NewMonitorValueUnknown() MonitorValue

func (MonitorValue) AttributeTypes

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

func (MonitorValue) Equal

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

func (MonitorValue) IsNull

func (v MonitorValue) IsNull() bool

func (MonitorValue) IsUnknown

func (v MonitorValue) IsUnknown() bool

func (MonitorValue) String

func (v MonitorValue) String() string

func (MonitorValue) ToObjectValue

func (MonitorValue) ToTerraformValue

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

func (MonitorValue) Type

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

Jump to

Keyboard shortcuts

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