datasource_database_instances

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DatabaseInstancesDataSourceSchema

func DatabaseInstancesDataSourceSchema(ctx context.Context) schema.Schema

Types

type DatabaseInstancesModel

type DatabaseInstancesModel struct {
	Id        types.String `tfsdk:"id"`
	Instances types.List   `tfsdk:"instances"`
}

type InstancesType

type InstancesType struct {
	basetypes.ObjectType
}

func (InstancesType) Equal

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

func (InstancesType) String

func (t InstancesType) String() string

func (InstancesType) ValueFromObject

func (InstancesType) ValueFromTerraform

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

func (InstancesType) ValueType

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

type InstancesValue

type InstancesValue struct {
	Hostname      basetypes.StringValue `tfsdk:"hostname"`
	Name          basetypes.StringValue `tfsdk:"name"`
	Region        basetypes.StringValue `tfsdk:"region"`
	InstancesType basetypes.StringValue `tfsdk:"type"`
	Uuid          basetypes.StringValue `tfsdk:"uuid"`
	// contains filtered or unexported fields
}

func NewInstancesValue

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

func NewInstancesValueMust

func NewInstancesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) InstancesValue

func NewInstancesValueNull

func NewInstancesValueNull() InstancesValue

func NewInstancesValueUnknown

func NewInstancesValueUnknown() InstancesValue

func (InstancesValue) AttributeTypes

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

func (InstancesValue) Equal

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

func (InstancesValue) IsNull

func (v InstancesValue) IsNull() bool

func (InstancesValue) IsUnknown

func (v InstancesValue) IsUnknown() bool

func (InstancesValue) String

func (v InstancesValue) String() string

func (InstancesValue) ToObjectValue

func (InstancesValue) ToTerraformValue

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

func (InstancesValue) Type

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

Jump to

Keyboard shortcuts

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