datasource_spotnodepool

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SpotnodepoolDataSourceSchema

func SpotnodepoolDataSourceSchema(ctx context.Context) schema.Schema

Types

type AutoscalingType

type AutoscalingType struct {
	basetypes.ObjectType
}

func (AutoscalingType) Equal

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

func (AutoscalingType) String

func (t AutoscalingType) String() string

func (AutoscalingType) ValueFromObject

func (AutoscalingType) ValueFromTerraform

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

func (AutoscalingType) ValueType

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

type AutoscalingValue

type AutoscalingValue struct {
	MaxNodes basetypes.Int64Value `tfsdk:"max_nodes"`
	MinNodes basetypes.Int64Value `tfsdk:"min_nodes"`
	// contains filtered or unexported fields
}

func NewAutoscalingValue

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

func NewAutoscalingValueMust

func NewAutoscalingValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) AutoscalingValue

func NewAutoscalingValueNull

func NewAutoscalingValueNull() AutoscalingValue

func NewAutoscalingValueUnknown

func NewAutoscalingValueUnknown() AutoscalingValue

func (AutoscalingValue) AttributeTypes

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

func (AutoscalingValue) Equal

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

func (AutoscalingValue) IsNull

func (v AutoscalingValue) IsNull() bool

func (AutoscalingValue) IsUnknown

func (v AutoscalingValue) IsUnknown() bool

func (AutoscalingValue) String

func (v AutoscalingValue) String() string

func (AutoscalingValue) ToObjectValue

func (AutoscalingValue) ToTerraformValue

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

func (AutoscalingValue) Type

type SpotnodepoolModel

type SpotnodepoolModel struct {
	Autoscaling        AutoscalingValue `tfsdk:"autoscaling"`
	BidPrice           types.Float64    `tfsdk:"bid_price"`
	BidStatus          types.String     `tfsdk:"bid_status"`
	CloudspaceName     types.String     `tfsdk:"cloudspace_name"`
	DesiredServerCount types.Int64      `tfsdk:"desired_server_count"`
	Id                 types.String     `tfsdk:"id"`
	Name               types.String     `tfsdk:"name"`
	ServerClass        types.String     `tfsdk:"server_class"`
	WonCount           types.Int64      `tfsdk:"won_count"`
}

Jump to

Keyboard shortcuts

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