Help us shape the future of Go! Take the 2026 Go Developer Survey

sqlserverflex

package
v0.111.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInstanceDataSource

func NewInstanceDataSource() datasource.DataSource

NewInstanceDataSource is a helper function to simplify the provider implementation.

func NewInstanceResource

func NewInstanceResource() resource.Resource

NewInstanceResource is a helper function to simplify the provider implementation.

func UseStateForUnknownIfFlavorUnchanged added in v0.107.0

func UseStateForUnknownIfFlavorUnchanged(req resource.SchemaRequest) planmodifier.String

UseStateForUnknownIfFlavorUnchanged returns a plan modifier similar to UseStateForUnknown if the RAM and CPU values are not changed in the plan. Otherwise, the plan modifier does nothing.

Types

type Model

type Model struct {
	Id         types.String `tfsdk:"id"` // needed by TF
	InstanceId types.String `tfsdk:"instance_id"`
	ProjectId  types.String `tfsdk:"project_id"`
	Name       types.String `tfsdk:"name"`
	// Deprecated: ACL is deprecated and will be removed after February 2027
	ACL            types.List   `tfsdk:"acl"`
	BackupSchedule types.String `tfsdk:"backup_schedule"`
	Encryption     types.Object `tfsdk:"encryption"`
	// Deprecated: Flavor is deprecated and will be removed after February 2027.
	Flavor   types.Object `tfsdk:"flavor"`
	FlavorId types.String `tfsdk:"flavor_id"`
	Storage  types.Object `tfsdk:"storage"`
	Version  types.String `tfsdk:"version"`
	Replicas types.Int32  `tfsdk:"replicas"`
	Edition  types.String `tfsdk:"edition"`
	// Deprecated: Options is deprecated and will be removed after February 2027
	Options       types.Object `tfsdk:"options"`
	RetentionDays types.Int32  `tfsdk:"retention_days"`
	Network       types.Object `tfsdk:"network"`
	Region        types.String `tfsdk:"region"`
}

Jump to

Keyboard shortcuts

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