Documentation ¶
Index ¶
- type Args
- type LocalData
- type LocalDataAttributes
- func (ld LocalDataAttributes) InternalRef() (terra.Reference, error)
- func (ld LocalDataAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ld LocalDataAttributes) InternalWithRef(ref terra.Reference) LocalDataAttributes
- func (ld LocalDataAttributes) LocalDatas() terra.ListValue[LocalDataLocalDatasAttributes]
- type LocalDataLocalDatas
- type LocalDataLocalDatasAttributes
- func (ld LocalDataLocalDatasAttributes) InternalRef() (terra.Reference, error)
- func (ld LocalDataLocalDatasAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ld LocalDataLocalDatasAttributes) InternalWithRef(ref terra.Reference) LocalDataLocalDatasAttributes
- func (ld LocalDataLocalDatasAttributes) Name() terra.StringValue
- func (ld LocalDataLocalDatasAttributes) Rrdatas() terra.ListValue[terra.StringValue]
- func (ld LocalDataLocalDatasAttributes) Ttl() terra.NumberValue
- func (ld LocalDataLocalDatasAttributes) Type() terra.StringValue
- type LocalDataLocalDatasState
- type LocalDataState
- type Resource
- func (gdrpr *Resource) Attributes() googleDnsResponsePolicyRuleAttributes
- func (gdrpr *Resource) Configuration() interface{}
- func (gdrpr *Resource) DependOn() terra.Reference
- func (gdrpr *Resource) Dependencies() terra.Dependencies
- func (gdrpr *Resource) ImportState(state io.Reader) error
- func (gdrpr *Resource) LifecycleManagement() *terra.Lifecycle
- func (gdrpr *Resource) LocalName() string
- func (gdrpr *Resource) State() (*googleDnsResponsePolicyRuleState, bool)
- func (gdrpr *Resource) StateMust() *googleDnsResponsePolicyRuleState
- func (gdrpr *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) 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 { // DnsName: string, required DnsName terra.StringValue `hcl:"dns_name,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // ResponsePolicy: string, required ResponsePolicy terra.StringValue `hcl:"response_policy,attr" validate:"required"` // RuleName: string, required RuleName terra.StringValue `hcl:"rule_name,attr" validate:"required"` // LocalData: optional LocalData *LocalData `hcl:"local_data,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_dns_response_policy_rule.
type LocalData ¶
type LocalData struct { // LocalDataLocalDatas: min=1 LocalDatas []LocalDataLocalDatas `hcl:"local_datas,block" validate:"min=1"` }
type LocalDataAttributes ¶
type LocalDataAttributes struct {
// contains filtered or unexported fields
}
func (LocalDataAttributes) InternalRef ¶
func (ld LocalDataAttributes) InternalRef() (terra.Reference, error)
func (LocalDataAttributes) InternalTokens ¶
func (ld LocalDataAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LocalDataAttributes) InternalWithRef ¶
func (ld LocalDataAttributes) InternalWithRef(ref terra.Reference) LocalDataAttributes
func (LocalDataAttributes) LocalDatas ¶
func (ld LocalDataAttributes) LocalDatas() terra.ListValue[LocalDataLocalDatasAttributes]
type LocalDataLocalDatas ¶
type LocalDataLocalDatas struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Rrdatas: list of string, optional Rrdatas terra.ListValue[terra.StringValue] `hcl:"rrdatas,attr"` // Ttl: number, optional Ttl terra.NumberValue `hcl:"ttl,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type LocalDataLocalDatasAttributes ¶
type LocalDataLocalDatasAttributes struct {
// contains filtered or unexported fields
}
func (LocalDataLocalDatasAttributes) InternalRef ¶
func (ld LocalDataLocalDatasAttributes) InternalRef() (terra.Reference, error)
func (LocalDataLocalDatasAttributes) InternalTokens ¶
func (ld LocalDataLocalDatasAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LocalDataLocalDatasAttributes) InternalWithRef ¶
func (ld LocalDataLocalDatasAttributes) InternalWithRef(ref terra.Reference) LocalDataLocalDatasAttributes
func (LocalDataLocalDatasAttributes) Name ¶
func (ld LocalDataLocalDatasAttributes) Name() terra.StringValue
func (LocalDataLocalDatasAttributes) Rrdatas ¶
func (ld LocalDataLocalDatasAttributes) Rrdatas() terra.ListValue[terra.StringValue]
func (LocalDataLocalDatasAttributes) Ttl ¶
func (ld LocalDataLocalDatasAttributes) Ttl() terra.NumberValue
func (LocalDataLocalDatasAttributes) Type ¶
func (ld LocalDataLocalDatasAttributes) Type() terra.StringValue
type LocalDataState ¶
type LocalDataState struct {
LocalDatas []LocalDataLocalDatasState `json:"local_datas"`
}
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 google_dns_response_policy_rule.
func (*Resource) Attributes ¶
func (gdrpr *Resource) Attributes() googleDnsResponsePolicyRuleAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gdrpr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gdrpr *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"` // 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) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.