google_data_fusion_instance

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 (AcceleratorsAttributes) State

type AcceleratorsState

type AcceleratorsState struct {
	AcceleratorType string `json:"accelerator_type"`
	State           string `json:"state"`
}

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 (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 (EventPublishConfigAttributes) InternalRef

func (epc EventPublishConfigAttributes) InternalRef() (terra.Reference, error)

func (EventPublishConfigAttributes) InternalTokens

func (epc EventPublishConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EventPublishConfigAttributes) InternalWithRef

func (EventPublishConfigAttributes) Topic

type EventPublishConfigState

type EventPublishConfigState struct {
	Enabled bool   `json:"enabled"`
	Topic   string `json:"topic"`
}

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 (NetworkConfigAttributes) IpAllocation

func (nc NetworkConfigAttributes) IpAllocation() terra.StringValue

func (NetworkConfigAttributes) Network

type NetworkConfigState

type NetworkConfigState struct {
	IpAllocation string `json:"ip_allocation"`
	Network      string `json:"network"`
}

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 New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

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) DependOn

func (gdfi *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gdfi *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gdfi *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gdfi *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gdfi *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gdfi *Resource) State() (*googleDataFusionInstanceState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gdfi *Resource) StateMust() *googleDataFusionInstanceState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gdfi *Resource) Type() string

Type returns the Terraform object type 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 (TimeoutsAttributes) Delete

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL