Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataMxAttributes
- func (m DataMxAttributes) Exchange() terra.StringValue
- func (m DataMxAttributes) InternalRef() (terra.Reference, error)
- func (m DataMxAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m DataMxAttributes) InternalWithRef(ref terra.Reference) DataMxAttributes
- func (m DataMxAttributes) Preference() terra.NumberValue
- type DataMxState
- type DataSource
- type Mx
- type MxAttributes
- func (m MxAttributes) Exchange() terra.StringValue
- func (m MxAttributes) InternalRef() (terra.Reference, error)
- func (m MxAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m MxAttributes) InternalWithRef(ref terra.Reference) MxAttributes
- func (m MxAttributes) Preference() terra.NumberValue
- type MxState
- type Resource
- func (dmrs *Resource) Attributes() dnsMxRecordSetAttributes
- func (dmrs *Resource) Configuration() interface{}
- func (dmrs *Resource) DependOn() terra.Reference
- func (dmrs *Resource) Dependencies() terra.Dependencies
- func (dmrs *Resource) ImportState(state io.Reader) error
- func (dmrs *Resource) LifecycleManagement() *terra.Lifecycle
- func (dmrs *Resource) LocalName() string
- func (dmrs *Resource) State() (*dnsMxRecordSetState, bool)
- func (dmrs *Resource) StateMust() *dnsMxRecordSetState
- func (dmrs *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Ttl: number, optional Ttl terra.NumberValue `hcl:"ttl,attr"` // Zone: string, required Zone terra.StringValue `hcl:"zone,attr" validate:"required"` // Mx: min=0 Mx []Mx `hcl:"mx,block" validate:"min=0"` }
Args contains the configurations for dns_mx_record_set.
type DataArgs ¶
type DataArgs struct { // Domain: string, required Domain terra.StringValue `hcl:"domain,attr" validate:"required"` }
DataArgs contains the configurations for dns_mx_record_set.
type DataMxAttributes ¶
type DataMxAttributes struct {
// contains filtered or unexported fields
}
func (DataMxAttributes) Exchange ¶
func (m DataMxAttributes) Exchange() terra.StringValue
func (DataMxAttributes) InternalRef ¶
func (m DataMxAttributes) InternalRef() (terra.Reference, error)
func (DataMxAttributes) InternalTokens ¶
func (m DataMxAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataMxAttributes) InternalWithRef ¶
func (m DataMxAttributes) InternalWithRef(ref terra.Reference) DataMxAttributes
func (DataMxAttributes) Preference ¶
func (m DataMxAttributes) Preference() terra.NumberValue
type DataMxState ¶
type DataSource ¶
DataSource represents the Terraform data resource dns_mx_record_set.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (dmrs *DataSource) Attributes() dataDnsMxRecordSetAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (dmrs *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (dmrs *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (dmrs *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type Mx ¶
type Mx struct { // Exchange: string, required Exchange terra.StringValue `hcl:"exchange,attr" validate:"required"` // Preference: number, required Preference terra.NumberValue `hcl:"preference,attr" validate:"required"` }
type MxAttributes ¶
type MxAttributes struct {
// contains filtered or unexported fields
}
func (MxAttributes) Exchange ¶
func (m MxAttributes) Exchange() terra.StringValue
func (MxAttributes) InternalRef ¶
func (m MxAttributes) InternalRef() (terra.Reference, error)
func (MxAttributes) InternalTokens ¶
func (m MxAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MxAttributes) InternalWithRef ¶
func (m MxAttributes) InternalWithRef(ref terra.Reference) MxAttributes
func (MxAttributes) Preference ¶
func (m MxAttributes) Preference() terra.NumberValue
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 dns_mx_record_set.
func (*Resource) Attributes ¶
func (dmrs *Resource) Attributes() dnsMxRecordSetAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (dmrs *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (dmrs *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.