datasource_database_instance

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 DatabaseInstanceDataSourceSchema

func DatabaseInstanceDataSourceSchema(ctx context.Context) schema.Schema

Types

type DatabaseInstanceModel

type DatabaseInstanceModel struct {
	DatabaseName types.String  `tfsdk:"database_name"`
	Instance     InstanceValue `tfsdk:"instance"`
	InstanceName types.String  `tfsdk:"instance_name"`
}

type InstanceType

type InstanceType struct {
	basetypes.ObjectType
}

func (InstanceType) Equal

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

func (InstanceType) String

func (t InstanceType) String() string

func (InstanceType) ValueFromObject

func (InstanceType) ValueFromTerraform

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

func (InstanceType) ValueType

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

type InstanceValue

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

func NewInstanceValue

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

func NewInstanceValueMust

func NewInstanceValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) InstanceValue

func NewInstanceValueNull

func NewInstanceValueNull() InstanceValue

func NewInstanceValueUnknown

func NewInstanceValueUnknown() InstanceValue

func (InstanceValue) AttributeTypes

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

func (InstanceValue) Equal

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

func (InstanceValue) IsNull

func (v InstanceValue) IsNull() bool

func (InstanceValue) IsUnknown

func (v InstanceValue) IsUnknown() bool

func (InstanceValue) String

func (v InstanceValue) String() string

func (InstanceValue) ToObjectValue

func (InstanceValue) ToTerraformValue

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

func (InstanceValue) Type

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

Jump to

Keyboard shortcuts

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