Documentation ¶
Index ¶
- type Args
- type PartnerRegionAttributes
- func (pr PartnerRegionAttributes) InternalRef() (terra.Reference, error)
- func (pr PartnerRegionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pr PartnerRegionAttributes) InternalWithRef(ref terra.Reference) PartnerRegionAttributes
- func (pr PartnerRegionAttributes) Location() terra.StringValue
- func (pr PartnerRegionAttributes) Role() terra.StringValue
- type PartnerRegionState
- 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 (asmifg *Resource) Attributes() azurermSqlManagedInstanceFailoverGroupAttributes
- func (asmifg *Resource) Configuration() interface{}
- func (asmifg *Resource) DependOn() terra.Reference
- func (asmifg *Resource) Dependencies() terra.Dependencies
- func (asmifg *Resource) ImportState(state io.Reader) error
- func (asmifg *Resource) LifecycleManagement() *terra.Lifecycle
- func (asmifg *Resource) LocalName() string
- func (asmifg *Resource) State() (*azurermSqlManagedInstanceFailoverGroupState, bool)
- func (asmifg *Resource) StateMust() *azurermSqlManagedInstanceFailoverGroupState
- func (asmifg *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 { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // ManagedInstanceName: string, required ManagedInstanceName terra.StringValue `hcl:"managed_instance_name,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PartnerManagedInstanceId: string, required PartnerManagedInstanceId terra.StringValue `hcl:"partner_managed_instance_id,attr" validate:"required"` // ReadonlyEndpointFailoverPolicyEnabled: bool, optional ReadonlyEndpointFailoverPolicyEnabled terra.BoolValue `hcl:"readonly_endpoint_failover_policy_enabled,attr"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // 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_sql_managed_instance_failover_group.
type PartnerRegionAttributes ¶
type PartnerRegionAttributes struct {
// contains filtered or unexported fields
}
func (PartnerRegionAttributes) InternalRef ¶
func (pr PartnerRegionAttributes) InternalRef() (terra.Reference, error)
func (PartnerRegionAttributes) InternalTokens ¶
func (pr PartnerRegionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PartnerRegionAttributes) InternalWithRef ¶
func (pr PartnerRegionAttributes) InternalWithRef(ref terra.Reference) PartnerRegionAttributes
func (PartnerRegionAttributes) Location ¶
func (pr PartnerRegionAttributes) Location() terra.StringValue
func (PartnerRegionAttributes) Role ¶
func (pr PartnerRegionAttributes) Role() terra.StringValue
type PartnerRegionState ¶
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_sql_managed_instance_failover_group.
func (*Resource) Attributes ¶
func (asmifg *Resource) Attributes() azurermSqlManagedInstanceFailoverGroupAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asmifg *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asmifg *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.