sqlserverflexalpha

package
v0.0.3-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 12 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 EncryptionType

type EncryptionType struct {
	basetypes.ObjectType
}

func (EncryptionType) Equal

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

func (EncryptionType) String

func (t EncryptionType) String() string

func (EncryptionType) ValueFromObject

func (EncryptionType) ValueFromTerraform

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

func (EncryptionType) ValueType

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

type EncryptionValue

type EncryptionValue struct {
	KekKeyId       basetypes.StringValue `tfsdk:"kek_key_id"`
	KekKeyRingId   basetypes.StringValue `tfsdk:"kek_key_ring_id"`
	KekKeyVersion  basetypes.StringValue `tfsdk:"kek_key_version"`
	ServiceAccount basetypes.StringValue `tfsdk:"service_account"`
	// contains filtered or unexported fields
}

func NewEncryptionValue

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

func NewEncryptionValueMust

func NewEncryptionValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) EncryptionValue

func NewEncryptionValueNull

func NewEncryptionValueNull() EncryptionValue

func NewEncryptionValueUnknown

func NewEncryptionValueUnknown() EncryptionValue

func (EncryptionValue) AttributeTypes

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

func (EncryptionValue) Equal

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

func (EncryptionValue) IsNull

func (v EncryptionValue) IsNull() bool

func (EncryptionValue) IsUnknown

func (v EncryptionValue) IsUnknown() bool

func (EncryptionValue) String

func (v EncryptionValue) String() string

func (EncryptionValue) ToObjectValue

func (EncryptionValue) ToTerraformValue

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

func (EncryptionValue) Type

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

type InstanceModel

type InstanceModel struct {
	BackupSchedule types.String    `tfsdk:"backup_schedule"`
	Encryption     EncryptionValue `tfsdk:"encryption"`
	FlavorId       types.String    `tfsdk:"flavor_id"`
	Id             types.String    `tfsdk:"id"`
	InstanceId     types.String    `tfsdk:"instance_id"`
	Name           types.String    `tfsdk:"name"`
	Network        NetworkValue    `tfsdk:"network"`
	ProjectId      types.String    `tfsdk:"project_id"`
	Region         types.String    `tfsdk:"region"`
	RetentionDays  types.Int64     `tfsdk:"retention_days"`
	Storage        StorageValue    `tfsdk:"storage"`
	Version        types.String    `tfsdk:"version"`
}

type NetworkType

type NetworkType struct {
	basetypes.ObjectType
}

func (NetworkType) Equal

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

func (NetworkType) String

func (t NetworkType) String() string

func (NetworkType) ValueFromObject

func (NetworkType) ValueFromTerraform

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

func (NetworkType) ValueType

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

type NetworkValue

type NetworkValue struct {
	AccessScope basetypes.StringValue `tfsdk:"access_scope"`
	Acl         basetypes.ListValue   `tfsdk:"acl"`
	// contains filtered or unexported fields
}

func NewNetworkValue

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

func NewNetworkValueMust

func NewNetworkValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) NetworkValue

func NewNetworkValueNull

func NewNetworkValueNull() NetworkValue

func NewNetworkValueUnknown

func NewNetworkValueUnknown() NetworkValue

func (NetworkValue) AttributeTypes

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

func (NetworkValue) Equal

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

func (NetworkValue) IsNull

func (v NetworkValue) IsNull() bool

func (NetworkValue) IsUnknown

func (v NetworkValue) IsUnknown() bool

func (NetworkValue) String

func (v NetworkValue) String() string

func (NetworkValue) ToObjectValue

func (NetworkValue) ToTerraformValue

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

func (NetworkValue) Type

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

type StorageType

type StorageType struct {
	basetypes.ObjectType
}

func (StorageType) Equal

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

func (StorageType) String

func (t StorageType) String() string

func (StorageType) ValueFromObject

func (StorageType) ValueFromTerraform

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

func (StorageType) ValueType

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

type StorageValue

type StorageValue struct {
	Class basetypes.StringValue `tfsdk:"class"`
	Size  basetypes.Int64Value  `tfsdk:"size"`
	// contains filtered or unexported fields
}

func NewStorageValue

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

func NewStorageValueMust

func NewStorageValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) StorageValue

func NewStorageValueNull

func NewStorageValueNull() StorageValue

func NewStorageValueUnknown

func NewStorageValueUnknown() StorageValue

func (StorageValue) AttributeTypes

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

func (StorageValue) Equal

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

func (StorageValue) IsNull

func (v StorageValue) IsNull() bool

func (StorageValue) IsUnknown

func (v StorageValue) IsUnknown() bool

func (StorageValue) String

func (v StorageValue) String() string

func (StorageValue) ToObjectValue

func (StorageValue) ToTerraformValue

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

func (StorageValue) Type

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

Jump to

Keyboard shortcuts

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