Documentation ¶
Index ¶
- type AlternativeNameServerConfig
- type AlternativeNameServerConfigAttributes
- func (ansc AlternativeNameServerConfigAttributes) InternalRef() (terra.Reference, error)
- func (ansc AlternativeNameServerConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ansc AlternativeNameServerConfigAttributes) InternalWithRef(ref terra.Reference) AlternativeNameServerConfigAttributes
- func (ansc AlternativeNameServerConfigAttributes) TargetNameServers() terra.SetValue[AlternativeNameServerConfigTargetNameServersAttributes]
- type AlternativeNameServerConfigState
- type AlternativeNameServerConfigTargetNameServers
- type AlternativeNameServerConfigTargetNameServersAttributes
- func (tns AlternativeNameServerConfigTargetNameServersAttributes) ForwardingPath() terra.StringValue
- func (tns AlternativeNameServerConfigTargetNameServersAttributes) InternalRef() (terra.Reference, error)
- func (tns AlternativeNameServerConfigTargetNameServersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tns AlternativeNameServerConfigTargetNameServersAttributes) InternalWithRef(ref terra.Reference) AlternativeNameServerConfigTargetNameServersAttributes
- func (tns AlternativeNameServerConfigTargetNameServersAttributes) Ipv4Address() terra.StringValue
- type AlternativeNameServerConfigTargetNameServersState
- type Args
- type Networks
- type NetworksAttributes
- type NetworksState
- type Resource
- func (gdp *Resource) Attributes() googleDnsPolicyAttributes
- func (gdp *Resource) Configuration() interface{}
- func (gdp *Resource) DependOn() terra.Reference
- func (gdp *Resource) Dependencies() terra.Dependencies
- func (gdp *Resource) ImportState(state io.Reader) error
- func (gdp *Resource) LifecycleManagement() *terra.Lifecycle
- func (gdp *Resource) LocalName() string
- func (gdp *Resource) State() (*googleDnsPolicyState, bool)
- func (gdp *Resource) StateMust() *googleDnsPolicyState
- func (gdp *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 AlternativeNameServerConfig ¶
type AlternativeNameServerConfig struct { // AlternativeNameServerConfigTargetNameServers: min=1 TargetNameServers []AlternativeNameServerConfigTargetNameServers `hcl:"target_name_servers,block" validate:"min=1"` }
type AlternativeNameServerConfigAttributes ¶
type AlternativeNameServerConfigAttributes struct {
// contains filtered or unexported fields
}
func (AlternativeNameServerConfigAttributes) InternalRef ¶
func (ansc AlternativeNameServerConfigAttributes) InternalRef() (terra.Reference, error)
func (AlternativeNameServerConfigAttributes) InternalTokens ¶
func (ansc AlternativeNameServerConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AlternativeNameServerConfigAttributes) InternalWithRef ¶
func (ansc AlternativeNameServerConfigAttributes) InternalWithRef(ref terra.Reference) AlternativeNameServerConfigAttributes
func (AlternativeNameServerConfigAttributes) TargetNameServers ¶
func (ansc AlternativeNameServerConfigAttributes) TargetNameServers() terra.SetValue[AlternativeNameServerConfigTargetNameServersAttributes]
type AlternativeNameServerConfigState ¶
type AlternativeNameServerConfigState struct {
TargetNameServers []AlternativeNameServerConfigTargetNameServersState `json:"target_name_servers"`
}
type AlternativeNameServerConfigTargetNameServers ¶
type AlternativeNameServerConfigTargetNameServers struct { // ForwardingPath: string, optional ForwardingPath terra.StringValue `hcl:"forwarding_path,attr"` // Ipv4Address: string, required Ipv4Address terra.StringValue `hcl:"ipv4_address,attr" validate:"required"` }
type AlternativeNameServerConfigTargetNameServersAttributes ¶
type AlternativeNameServerConfigTargetNameServersAttributes struct {
// contains filtered or unexported fields
}
func (AlternativeNameServerConfigTargetNameServersAttributes) ForwardingPath ¶
func (tns AlternativeNameServerConfigTargetNameServersAttributes) ForwardingPath() terra.StringValue
func (AlternativeNameServerConfigTargetNameServersAttributes) InternalRef ¶
func (tns AlternativeNameServerConfigTargetNameServersAttributes) InternalRef() (terra.Reference, error)
func (AlternativeNameServerConfigTargetNameServersAttributes) InternalTokens ¶
func (tns AlternativeNameServerConfigTargetNameServersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AlternativeNameServerConfigTargetNameServersAttributes) InternalWithRef ¶
func (tns AlternativeNameServerConfigTargetNameServersAttributes) InternalWithRef(ref terra.Reference) AlternativeNameServerConfigTargetNameServersAttributes
func (AlternativeNameServerConfigTargetNameServersAttributes) Ipv4Address ¶
func (tns AlternativeNameServerConfigTargetNameServersAttributes) Ipv4Address() terra.StringValue
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // EnableInboundForwarding: bool, optional EnableInboundForwarding terra.BoolValue `hcl:"enable_inbound_forwarding,attr"` // EnableLogging: bool, optional EnableLogging terra.BoolValue `hcl:"enable_logging,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // AlternativeNameServerConfig: optional AlternativeNameServerConfig *AlternativeNameServerConfig `hcl:"alternative_name_server_config,block"` // Networks: min=0 Networks []Networks `hcl:"networks,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_dns_policy.
type Networks ¶
type Networks struct { // NetworkUrl: string, required NetworkUrl terra.StringValue `hcl:"network_url,attr" validate:"required"` }
type NetworksAttributes ¶
type NetworksAttributes struct {
// contains filtered or unexported fields
}
func (NetworksAttributes) InternalRef ¶
func (n NetworksAttributes) InternalRef() (terra.Reference, error)
func (NetworksAttributes) InternalTokens ¶
func (n NetworksAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworksAttributes) InternalWithRef ¶
func (n NetworksAttributes) InternalWithRef(ref terra.Reference) NetworksAttributes
func (NetworksAttributes) NetworkUrl ¶
func (n NetworksAttributes) NetworkUrl() terra.StringValue
type NetworksState ¶
type NetworksState struct {
NetworkUrl string `json:"network_url"`
}
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_policy.
func (*Resource) Attributes ¶
func (gdp *Resource) Attributes() googleDnsPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gdp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gdp *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.