Documentation ¶
Index ¶
- type Accelerators
- type AcceleratorsAttributes
- func (a AcceleratorsAttributes) AcceleratorType() terra.StringValue
- func (a AcceleratorsAttributes) InternalRef() (terra.Reference, error)
- func (a AcceleratorsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AcceleratorsAttributes) InternalWithRef(ref terra.Reference) AcceleratorsAttributes
- func (a AcceleratorsAttributes) State() terra.StringValue
- type AcceleratorsState
- type Args
- type CryptoKeyConfig
- type CryptoKeyConfigAttributes
- func (ckc CryptoKeyConfigAttributes) InternalRef() (terra.Reference, error)
- func (ckc CryptoKeyConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ckc CryptoKeyConfigAttributes) InternalWithRef(ref terra.Reference) CryptoKeyConfigAttributes
- func (ckc CryptoKeyConfigAttributes) KeyReference() terra.StringValue
- type CryptoKeyConfigState
- type EventPublishConfig
- type EventPublishConfigAttributes
- func (epc EventPublishConfigAttributes) Enabled() terra.BoolValue
- func (epc EventPublishConfigAttributes) InternalRef() (terra.Reference, error)
- func (epc EventPublishConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (epc EventPublishConfigAttributes) InternalWithRef(ref terra.Reference) EventPublishConfigAttributes
- func (epc EventPublishConfigAttributes) Topic() terra.StringValue
- type EventPublishConfigState
- type NetworkConfig
- type NetworkConfigAttributes
- func (nc NetworkConfigAttributes) InternalRef() (terra.Reference, error)
- func (nc NetworkConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nc NetworkConfigAttributes) InternalWithRef(ref terra.Reference) NetworkConfigAttributes
- func (nc NetworkConfigAttributes) IpAllocation() terra.StringValue
- func (nc NetworkConfigAttributes) Network() terra.StringValue
- type NetworkConfigState
- type Resource
- func (gdfi *Resource) Attributes() googleDataFusionInstanceAttributes
- func (gdfi *Resource) Configuration() interface{}
- func (gdfi *Resource) DependOn() terra.Reference
- func (gdfi *Resource) Dependencies() terra.Dependencies
- func (gdfi *Resource) ImportState(state io.Reader) error
- func (gdfi *Resource) LifecycleManagement() *terra.Lifecycle
- func (gdfi *Resource) LocalName() string
- func (gdfi *Resource) State() (*googleDataFusionInstanceState, bool)
- func (gdfi *Resource) StateMust() *googleDataFusionInstanceState
- func (gdfi *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 Accelerators ¶
type Accelerators struct { // AcceleratorType: string, required AcceleratorType terra.StringValue `hcl:"accelerator_type,attr" validate:"required"` // State: string, required State terra.StringValue `hcl:"state,attr" validate:"required"` }
type AcceleratorsAttributes ¶
type AcceleratorsAttributes struct {
// contains filtered or unexported fields
}
func (AcceleratorsAttributes) AcceleratorType ¶
func (a AcceleratorsAttributes) AcceleratorType() terra.StringValue
func (AcceleratorsAttributes) InternalRef ¶
func (a AcceleratorsAttributes) InternalRef() (terra.Reference, error)
func (AcceleratorsAttributes) InternalTokens ¶
func (a AcceleratorsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AcceleratorsAttributes) InternalWithRef ¶
func (a AcceleratorsAttributes) InternalWithRef(ref terra.Reference) AcceleratorsAttributes
func (AcceleratorsAttributes) State ¶
func (a AcceleratorsAttributes) State() terra.StringValue
type AcceleratorsState ¶
type Args ¶
type Args struct { // DataprocServiceAccount: string, optional DataprocServiceAccount terra.StringValue `hcl:"dataproc_service_account,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // EnableRbac: bool, optional EnableRbac terra.BoolValue `hcl:"enable_rbac,attr"` // EnableStackdriverLogging: bool, optional EnableStackdriverLogging terra.BoolValue `hcl:"enable_stackdriver_logging,attr"` // EnableStackdriverMonitoring: bool, optional EnableStackdriverMonitoring terra.BoolValue `hcl:"enable_stackdriver_monitoring,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Options: map of string, optional Options terra.MapValue[terra.StringValue] `hcl:"options,attr"` // PrivateInstance: bool, optional PrivateInstance terra.BoolValue `hcl:"private_instance,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Version: string, optional Version terra.StringValue `hcl:"version,attr"` // Zone: string, optional Zone terra.StringValue `hcl:"zone,attr"` // Accelerators: min=0 Accelerators []Accelerators `hcl:"accelerators,block" validate:"min=0"` // CryptoKeyConfig: optional CryptoKeyConfig *CryptoKeyConfig `hcl:"crypto_key_config,block"` // EventPublishConfig: optional EventPublishConfig *EventPublishConfig `hcl:"event_publish_config,block"` // NetworkConfig: optional NetworkConfig *NetworkConfig `hcl:"network_config,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_data_fusion_instance.
type CryptoKeyConfig ¶
type CryptoKeyConfig struct { // KeyReference: string, required KeyReference terra.StringValue `hcl:"key_reference,attr" validate:"required"` }
type CryptoKeyConfigAttributes ¶
type CryptoKeyConfigAttributes struct {
// contains filtered or unexported fields
}
func (CryptoKeyConfigAttributes) InternalRef ¶
func (ckc CryptoKeyConfigAttributes) InternalRef() (terra.Reference, error)
func (CryptoKeyConfigAttributes) InternalTokens ¶
func (ckc CryptoKeyConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CryptoKeyConfigAttributes) InternalWithRef ¶
func (ckc CryptoKeyConfigAttributes) InternalWithRef(ref terra.Reference) CryptoKeyConfigAttributes
func (CryptoKeyConfigAttributes) KeyReference ¶
func (ckc CryptoKeyConfigAttributes) KeyReference() terra.StringValue
type CryptoKeyConfigState ¶
type CryptoKeyConfigState struct {
KeyReference string `json:"key_reference"`
}
type EventPublishConfig ¶
type EventPublishConfig struct { // Enabled: bool, required Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"` // Topic: string, required Topic terra.StringValue `hcl:"topic,attr" validate:"required"` }
type EventPublishConfigAttributes ¶
type EventPublishConfigAttributes struct {
// contains filtered or unexported fields
}
func (EventPublishConfigAttributes) Enabled ¶
func (epc EventPublishConfigAttributes) Enabled() terra.BoolValue
func (EventPublishConfigAttributes) InternalRef ¶
func (epc EventPublishConfigAttributes) InternalRef() (terra.Reference, error)
func (EventPublishConfigAttributes) InternalTokens ¶
func (epc EventPublishConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EventPublishConfigAttributes) InternalWithRef ¶
func (epc EventPublishConfigAttributes) InternalWithRef(ref terra.Reference) EventPublishConfigAttributes
func (EventPublishConfigAttributes) Topic ¶
func (epc EventPublishConfigAttributes) Topic() terra.StringValue
type EventPublishConfigState ¶
type NetworkConfig ¶
type NetworkConfig struct { // IpAllocation: string, required IpAllocation terra.StringValue `hcl:"ip_allocation,attr" validate:"required"` // Network: string, required Network terra.StringValue `hcl:"network,attr" validate:"required"` }
type NetworkConfigAttributes ¶
type NetworkConfigAttributes struct {
// contains filtered or unexported fields
}
func (NetworkConfigAttributes) InternalRef ¶
func (nc NetworkConfigAttributes) InternalRef() (terra.Reference, error)
func (NetworkConfigAttributes) InternalTokens ¶
func (nc NetworkConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkConfigAttributes) InternalWithRef ¶
func (nc NetworkConfigAttributes) InternalWithRef(ref terra.Reference) NetworkConfigAttributes
func (NetworkConfigAttributes) IpAllocation ¶
func (nc NetworkConfigAttributes) IpAllocation() terra.StringValue
func (NetworkConfigAttributes) Network ¶
func (nc NetworkConfigAttributes) Network() terra.StringValue
type NetworkConfigState ¶
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_data_fusion_instance.
func (*Resource) Attributes ¶
func (gdfi *Resource) Attributes() googleDataFusionInstanceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gdfi *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gdfi *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.