Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type DataTargetDnsServersAttributes
- func (tds DataTargetDnsServersAttributes) InternalRef() (terra.Reference, error)
- func (tds DataTargetDnsServersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tds DataTargetDnsServersAttributes) InternalWithRef(ref terra.Reference) DataTargetDnsServersAttributes
- func (tds DataTargetDnsServersAttributes) IpAddress() terra.StringValue
- func (tds DataTargetDnsServersAttributes) Port() terra.NumberValue
- type DataTargetDnsServersState
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type Resource
- func (apdrfr *Resource) Attributes() azurermPrivateDnsResolverForwardingRuleAttributes
- func (apdrfr *Resource) Configuration() interface{}
- func (apdrfr *Resource) DependOn() terra.Reference
- func (apdrfr *Resource) Dependencies() terra.Dependencies
- func (apdrfr *Resource) ImportState(state io.Reader) error
- func (apdrfr *Resource) LifecycleManagement() *terra.Lifecycle
- func (apdrfr *Resource) LocalName() string
- func (apdrfr *Resource) State() (*azurermPrivateDnsResolverForwardingRuleState, bool)
- func (apdrfr *Resource) StateMust() *azurermPrivateDnsResolverForwardingRuleState
- func (apdrfr *Resource) Type() string
- type TargetDnsServers
- type TargetDnsServersAttributes
- func (tds TargetDnsServersAttributes) InternalRef() (terra.Reference, error)
- func (tds TargetDnsServersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tds TargetDnsServersAttributes) InternalWithRef(ref terra.Reference) TargetDnsServersAttributes
- func (tds TargetDnsServersAttributes) IpAddress() terra.StringValue
- func (tds TargetDnsServersAttributes) Port() terra.NumberValue
- type TargetDnsServersState
- 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 { // DnsForwardingRulesetId: string, required DnsForwardingRulesetId terra.StringValue `hcl:"dns_forwarding_ruleset_id,attr" validate:"required"` // DomainName: string, required DomainName terra.StringValue `hcl:"domain_name,attr" validate:"required"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Metadata: map of string, optional Metadata terra.MapValue[terra.StringValue] `hcl:"metadata,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // TargetDnsServers: min=1 TargetDnsServers []TargetDnsServers `hcl:"target_dns_servers,block" validate:"min=1"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_private_dns_resolver_forwarding_rule.
type DataArgs ¶
type DataArgs struct { // DnsForwardingRulesetId: string, required DnsForwardingRulesetId terra.StringValue `hcl:"dns_forwarding_ruleset_id,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for azurerm_private_dns_resolver_forwarding_rule.
type DataSource ¶
DataSource represents the Terraform data resource azurerm_private_dns_resolver_forwarding_rule.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (apdrfr *DataSource) Attributes() dataAzurermPrivateDnsResolverForwardingRuleAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (apdrfr *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (apdrfr *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (apdrfr *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTargetDnsServersAttributes ¶
type DataTargetDnsServersAttributes struct {
// contains filtered or unexported fields
}
func (DataTargetDnsServersAttributes) InternalRef ¶
func (tds DataTargetDnsServersAttributes) InternalRef() (terra.Reference, error)
func (DataTargetDnsServersAttributes) InternalTokens ¶
func (tds DataTargetDnsServersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTargetDnsServersAttributes) InternalWithRef ¶
func (tds DataTargetDnsServersAttributes) InternalWithRef(ref terra.Reference) DataTargetDnsServersAttributes
func (DataTargetDnsServersAttributes) IpAddress ¶
func (tds DataTargetDnsServersAttributes) IpAddress() terra.StringValue
func (DataTargetDnsServersAttributes) Port ¶
func (tds DataTargetDnsServersAttributes) Port() terra.NumberValue
type DataTimeouts ¶
type DataTimeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type DataTimeoutsAttributes ¶
type DataTimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (DataTimeoutsAttributes) InternalRef ¶
func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)
func (DataTimeoutsAttributes) InternalTokens ¶
func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTimeoutsAttributes) InternalWithRef ¶
func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
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_private_dns_resolver_forwarding_rule.
func (*Resource) Attributes ¶
func (apdrfr *Resource) Attributes() azurermPrivateDnsResolverForwardingRuleAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (apdrfr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (apdrfr *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 TargetDnsServers ¶
type TargetDnsServers struct { // IpAddress: string, required IpAddress terra.StringValue `hcl:"ip_address,attr" validate:"required"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` }
type TargetDnsServersAttributes ¶
type TargetDnsServersAttributes struct {
// contains filtered or unexported fields
}
func (TargetDnsServersAttributes) InternalRef ¶
func (tds TargetDnsServersAttributes) InternalRef() (terra.Reference, error)
func (TargetDnsServersAttributes) InternalTokens ¶
func (tds TargetDnsServersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetDnsServersAttributes) InternalWithRef ¶
func (tds TargetDnsServersAttributes) InternalWithRef(ref terra.Reference) TargetDnsServersAttributes
func (TargetDnsServersAttributes) IpAddress ¶
func (tds TargetDnsServersAttributes) IpAddress() terra.StringValue
func (TargetDnsServersAttributes) Port ¶
func (tds TargetDnsServersAttributes) Port() terra.NumberValue
type TargetDnsServersState ¶
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