google_dataflow_flex_template_job

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// AdditionalExperiments: set of string, optional
	AdditionalExperiments terra.SetValue[terra.StringValue] `hcl:"additional_experiments,attr"`
	// AutoscalingAlgorithm: string, optional
	AutoscalingAlgorithm terra.StringValue `hcl:"autoscaling_algorithm,attr"`
	// ContainerSpecGcsPath: string, required
	ContainerSpecGcsPath terra.StringValue `hcl:"container_spec_gcs_path,attr" validate:"required"`
	// EnableStreamingEngine: bool, optional
	EnableStreamingEngine terra.BoolValue `hcl:"enable_streaming_engine,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IpConfiguration: string, optional
	IpConfiguration terra.StringValue `hcl:"ip_configuration,attr"`
	// KmsKeyName: string, optional
	KmsKeyName terra.StringValue `hcl:"kms_key_name,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// LauncherMachineType: string, optional
	LauncherMachineType terra.StringValue `hcl:"launcher_machine_type,attr"`
	// MachineType: string, optional
	MachineType terra.StringValue `hcl:"machine_type,attr"`
	// MaxWorkers: number, optional
	MaxWorkers terra.NumberValue `hcl:"max_workers,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Network: string, optional
	Network terra.StringValue `hcl:"network,attr"`
	// NumWorkers: number, optional
	NumWorkers terra.NumberValue `hcl:"num_workers,attr"`
	// OnDelete: string, optional
	OnDelete terra.StringValue `hcl:"on_delete,attr"`
	// Parameters: map of string, optional
	Parameters terra.MapValue[terra.StringValue] `hcl:"parameters,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
	// SdkContainerImage: string, optional
	SdkContainerImage terra.StringValue `hcl:"sdk_container_image,attr"`
	// ServiceAccountEmail: string, optional
	ServiceAccountEmail terra.StringValue `hcl:"service_account_email,attr"`
	// SkipWaitOnJobTermination: bool, optional
	SkipWaitOnJobTermination terra.BoolValue `hcl:"skip_wait_on_job_termination,attr"`
	// StagingLocation: string, optional
	StagingLocation terra.StringValue `hcl:"staging_location,attr"`
	// Subnetwork: string, optional
	Subnetwork terra.StringValue `hcl:"subnetwork,attr"`
	// TempLocation: string, optional
	TempLocation terra.StringValue `hcl:"temp_location,attr"`
	// TransformNameMapping: map of string, optional
	TransformNameMapping terra.MapValue[terra.StringValue] `hcl:"transform_name_mapping,attr"`
}

Args contains the configurations for google_dataflow_flex_template_job.

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_dataflow_flex_template_job.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gdftj *Resource) Attributes() googleDataflowFlexTemplateJobAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gdftj *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gdftj *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gdftj *Resource) State() (*googleDataflowFlexTemplateJobState, bool)

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

func (*Resource) StateMust

func (gdftj *Resource) StateMust() *googleDataflowFlexTemplateJobState

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

func (*Resource) Type

func (gdftj *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

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