resource_instance

package
v0.0.0-...-104bfea Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstanceResourceSchema

func InstanceResourceSchema(ctx context.Context) schema.Schema

Types

type DataType

type DataType struct {
	basetypes.ObjectType
}

func (DataType) Equal

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

func (DataType) String

func (t DataType) String() string

func (DataType) ValueFromObject

func (DataType) ValueFromTerraform

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

func (DataType) ValueType

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

type DataValue

type DataValue struct {
	InstanceIds basetypes.ListValue `tfsdk:"instance_ids"`
	// contains filtered or unexported fields
}

func NewDataValue

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

func NewDataValueMust

func NewDataValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) DataValue

func NewDataValueNull

func NewDataValueNull() DataValue

func NewDataValueUnknown

func NewDataValueUnknown() DataValue

func (DataValue) AttributeTypes

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

func (DataValue) Equal

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

func (DataValue) IsNull

func (v DataValue) IsNull() bool

func (DataValue) IsUnknown

func (v DataValue) IsUnknown() bool

func (DataValue) String

func (v DataValue) String() string

func (DataValue) ToObjectValue

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

func (DataValue) ToTerraformValue

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

func (DataValue) Type

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

type InstanceModel

type InstanceModel struct {
	Data             DataValue    `tfsdk:"data"`
	FileSystemNames  types.List   `tfsdk:"file_system_names"`
	InstanceId       types.String `tfsdk:"instance_id"`
	InstanceTypeName types.String `tfsdk:"instance_type_name"`
	Name             types.String `tfsdk:"name"`
	RegionName       types.String `tfsdk:"region_name"`
	SshKeyNames      types.List   `tfsdk:"ssh_key_names"`
}

Jump to

Keyboard shortcuts

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