Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInstanceDataSource ¶
func NewInstanceDataSource() datasource.DataSource
func NewInstanceResource ¶
func UseStateForUnknownIfFlavorUnchanged ¶ added in v0.4.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 LocalFlavorModel ¶ added in v0.4.0
type LocalFlavorModel struct {
Id types.String `tfsdk:"id"`
Description types.String `tfsdk:"description"`
CPU types.Int64 `tfsdk:"cpu"`
RAM types.Int64 `tfsdk:"ram"`
}
LocalFlavorModel Struct corresponding to Model.Flavor
type LocalInstanceModel ¶ added in v0.4.0
type LocalInstanceModel struct {
sqlserverflexbetaResGen.InstanceModel
Flavor types.Object `tfsdk:"flavor"`
}
LocalInstanceModel describes the resource data model.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.