Documentation ¶
Index ¶
- type Args
- type PartnerServer
- type PartnerServerAttributes
- func (ps PartnerServerAttributes) Id() terra.StringValue
- func (ps PartnerServerAttributes) InternalRef() (terra.Reference, error)
- func (ps PartnerServerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ps PartnerServerAttributes) InternalWithRef(ref terra.Reference) PartnerServerAttributes
- func (ps PartnerServerAttributes) Location() terra.StringValue
- func (ps PartnerServerAttributes) Role() terra.StringValue
- type PartnerServerState
- type ReadWriteEndpointFailoverPolicy
- type ReadWriteEndpointFailoverPolicyAttributes
- func (rwefp ReadWriteEndpointFailoverPolicyAttributes) GraceMinutes() terra.NumberValue
- func (rwefp ReadWriteEndpointFailoverPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rwefp ReadWriteEndpointFailoverPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rwefp ReadWriteEndpointFailoverPolicyAttributes) InternalWithRef(ref terra.Reference) ReadWriteEndpointFailoverPolicyAttributes
- func (rwefp ReadWriteEndpointFailoverPolicyAttributes) Mode() terra.StringValue
- type ReadWriteEndpointFailoverPolicyState
- type Resource
- func (amfg *Resource) Attributes() azurermMssqlFailoverGroupAttributes
- func (amfg *Resource) Configuration() interface{}
- func (amfg *Resource) DependOn() terra.Reference
- func (amfg *Resource) Dependencies() terra.Dependencies
- func (amfg *Resource) ImportState(state io.Reader) error
- func (amfg *Resource) LifecycleManagement() *terra.Lifecycle
- func (amfg *Resource) LocalName() string
- func (amfg *Resource) State() (*azurermMssqlFailoverGroupState, bool)
- func (amfg *Resource) StateMust() *azurermMssqlFailoverGroupState
- func (amfg *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Databases: set of string, optional Databases terra.SetValue[terra.StringValue] `hcl:"databases,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ReadonlyEndpointFailoverPolicyEnabled: bool, optional ReadonlyEndpointFailoverPolicyEnabled terra.BoolValue `hcl:"readonly_endpoint_failover_policy_enabled,attr"` // ServerId: string, required ServerId terra.StringValue `hcl:"server_id,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // PartnerServer: min=1 PartnerServer []PartnerServer `hcl:"partner_server,block" validate:"min=1"` // ReadWriteEndpointFailoverPolicy: required ReadWriteEndpointFailoverPolicy *ReadWriteEndpointFailoverPolicy `hcl:"read_write_endpoint_failover_policy,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_mssql_failover_group.
type PartnerServer ¶
type PartnerServer struct { // Id: string, required Id terra.StringValue `hcl:"id,attr" validate:"required"` }
type PartnerServerAttributes ¶
type PartnerServerAttributes struct {
// contains filtered or unexported fields
}
func (PartnerServerAttributes) Id ¶
func (ps PartnerServerAttributes) Id() terra.StringValue
func (PartnerServerAttributes) InternalRef ¶
func (ps PartnerServerAttributes) InternalRef() (terra.Reference, error)
func (PartnerServerAttributes) InternalTokens ¶
func (ps PartnerServerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PartnerServerAttributes) InternalWithRef ¶
func (ps PartnerServerAttributes) InternalWithRef(ref terra.Reference) PartnerServerAttributes
func (PartnerServerAttributes) Location ¶
func (ps PartnerServerAttributes) Location() terra.StringValue
func (PartnerServerAttributes) Role ¶
func (ps PartnerServerAttributes) Role() terra.StringValue
type PartnerServerState ¶
type ReadWriteEndpointFailoverPolicy ¶
type ReadWriteEndpointFailoverPolicy struct { // GraceMinutes: number, optional GraceMinutes terra.NumberValue `hcl:"grace_minutes,attr"` // Mode: string, required Mode terra.StringValue `hcl:"mode,attr" validate:"required"` }
type ReadWriteEndpointFailoverPolicyAttributes ¶
type ReadWriteEndpointFailoverPolicyAttributes struct {
// contains filtered or unexported fields
}
func (ReadWriteEndpointFailoverPolicyAttributes) GraceMinutes ¶
func (rwefp ReadWriteEndpointFailoverPolicyAttributes) GraceMinutes() terra.NumberValue
func (ReadWriteEndpointFailoverPolicyAttributes) InternalRef ¶
func (rwefp ReadWriteEndpointFailoverPolicyAttributes) InternalRef() (terra.Reference, error)
func (ReadWriteEndpointFailoverPolicyAttributes) InternalTokens ¶
func (rwefp ReadWriteEndpointFailoverPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReadWriteEndpointFailoverPolicyAttributes) InternalWithRef ¶
func (rwefp ReadWriteEndpointFailoverPolicyAttributes) InternalWithRef(ref terra.Reference) ReadWriteEndpointFailoverPolicyAttributes
func (ReadWriteEndpointFailoverPolicyAttributes) Mode ¶
func (rwefp ReadWriteEndpointFailoverPolicyAttributes) Mode() terra.StringValue
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource azurerm_mssql_failover_group.
func (*Resource) Attributes ¶
func (amfg *Resource) Attributes() azurermMssqlFailoverGroupAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (amfg *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (amfg *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
Click to show internal directories.
Click to hide internal directories.