google_dataplex_zone

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 Args

type Args struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// Lake: string, required
	Lake terra.StringValue `hcl:"lake,attr" validate:"required"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// DiscoverySpec: required
	DiscoverySpec *DiscoverySpec `hcl:"discovery_spec,block" validate:"required"`
	// ResourceSpec: required
	ResourceSpec *ResourceSpec `hcl:"resource_spec,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_dataplex_zone.

type AssetStatusAttributes

type AssetStatusAttributes struct {
	// contains filtered or unexported fields
}

func (AssetStatusAttributes) ActiveAssets

func (as AssetStatusAttributes) ActiveAssets() terra.NumberValue

func (AssetStatusAttributes) InternalRef

func (as AssetStatusAttributes) InternalRef() (terra.Reference, error)

func (AssetStatusAttributes) InternalTokens

func (as AssetStatusAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AssetStatusAttributes) InternalWithRef

func (AssetStatusAttributes) SecurityPolicyApplyingAssets

func (as AssetStatusAttributes) SecurityPolicyApplyingAssets() terra.NumberValue

func (AssetStatusAttributes) UpdateTime

func (as AssetStatusAttributes) UpdateTime() terra.StringValue

type AssetStatusState

type AssetStatusState struct {
	ActiveAssets                 float64 `json:"active_assets"`
	SecurityPolicyApplyingAssets float64 `json:"security_policy_applying_assets"`
	UpdateTime                   string  `json:"update_time"`
}

type DiscoverySpec

type DiscoverySpec struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// ExcludePatterns: list of string, optional
	ExcludePatterns terra.ListValue[terra.StringValue] `hcl:"exclude_patterns,attr"`
	// IncludePatterns: list of string, optional
	IncludePatterns terra.ListValue[terra.StringValue] `hcl:"include_patterns,attr"`
	// Schedule: string, optional
	Schedule terra.StringValue `hcl:"schedule,attr"`
	// DiscoverySpecCsvOptions: optional
	CsvOptions *DiscoverySpecCsvOptions `hcl:"csv_options,block"`
	// DiscoverySpecJsonOptions: optional
	JsonOptions *DiscoverySpecJsonOptions `hcl:"json_options,block"`
}

type DiscoverySpecAttributes

type DiscoverySpecAttributes struct {
	// contains filtered or unexported fields
}

func (DiscoverySpecAttributes) CsvOptions

func (DiscoverySpecAttributes) Enabled

func (DiscoverySpecAttributes) ExcludePatterns

func (DiscoverySpecAttributes) IncludePatterns

func (DiscoverySpecAttributes) InternalRef

func (ds DiscoverySpecAttributes) InternalRef() (terra.Reference, error)

func (DiscoverySpecAttributes) InternalTokens

func (ds DiscoverySpecAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DiscoverySpecAttributes) InternalWithRef

func (DiscoverySpecAttributes) JsonOptions

func (DiscoverySpecAttributes) Schedule

type DiscoverySpecCsvOptions

type DiscoverySpecCsvOptions struct {
	// Delimiter: string, optional
	Delimiter terra.StringValue `hcl:"delimiter,attr"`
	// DisableTypeInference: bool, optional
	DisableTypeInference terra.BoolValue `hcl:"disable_type_inference,attr"`
	// Encoding: string, optional
	Encoding terra.StringValue `hcl:"encoding,attr"`
	// HeaderRows: number, optional
	HeaderRows terra.NumberValue `hcl:"header_rows,attr"`
}

type DiscoverySpecCsvOptionsAttributes

type DiscoverySpecCsvOptionsAttributes struct {
	// contains filtered or unexported fields
}

func (DiscoverySpecCsvOptionsAttributes) Delimiter

func (DiscoverySpecCsvOptionsAttributes) DisableTypeInference

func (co DiscoverySpecCsvOptionsAttributes) DisableTypeInference() terra.BoolValue

func (DiscoverySpecCsvOptionsAttributes) Encoding

func (DiscoverySpecCsvOptionsAttributes) HeaderRows

func (DiscoverySpecCsvOptionsAttributes) InternalRef

func (DiscoverySpecCsvOptionsAttributes) InternalTokens

func (co DiscoverySpecCsvOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DiscoverySpecCsvOptionsAttributes) InternalWithRef

type DiscoverySpecCsvOptionsState

type DiscoverySpecCsvOptionsState struct {
	Delimiter            string  `json:"delimiter"`
	DisableTypeInference bool    `json:"disable_type_inference"`
	Encoding             string  `json:"encoding"`
	HeaderRows           float64 `json:"header_rows"`
}

type DiscoverySpecJsonOptions

type DiscoverySpecJsonOptions struct {
	// DisableTypeInference: bool, optional
	DisableTypeInference terra.BoolValue `hcl:"disable_type_inference,attr"`
	// Encoding: string, optional
	Encoding terra.StringValue `hcl:"encoding,attr"`
}

type DiscoverySpecJsonOptionsAttributes

type DiscoverySpecJsonOptionsAttributes struct {
	// contains filtered or unexported fields
}

func (DiscoverySpecJsonOptionsAttributes) DisableTypeInference

func (jo DiscoverySpecJsonOptionsAttributes) DisableTypeInference() terra.BoolValue

func (DiscoverySpecJsonOptionsAttributes) Encoding

func (DiscoverySpecJsonOptionsAttributes) InternalRef

func (DiscoverySpecJsonOptionsAttributes) InternalTokens

func (DiscoverySpecJsonOptionsAttributes) InternalWithRef

type DiscoverySpecJsonOptionsState

type DiscoverySpecJsonOptionsState struct {
	DisableTypeInference bool   `json:"disable_type_inference"`
	Encoding             string `json:"encoding"`
}

type DiscoverySpecState

type DiscoverySpecState struct {
	Enabled         bool                            `json:"enabled"`
	ExcludePatterns []string                        `json:"exclude_patterns"`
	IncludePatterns []string                        `json:"include_patterns"`
	Schedule        string                          `json:"schedule"`
	CsvOptions      []DiscoverySpecCsvOptionsState  `json:"csv_options"`
	JsonOptions     []DiscoverySpecJsonOptionsState `json:"json_options"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gdz *Resource) Attributes() googleDataplexZoneAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gdz *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gdz *Resource) State() (*googleDataplexZoneState, bool)

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

func (*Resource) StateMust

func (gdz *Resource) StateMust() *googleDataplexZoneState

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

func (*Resource) Type

func (gdz *Resource) Type() string

Type returns the Terraform object type for Resource.

type ResourceSpec

type ResourceSpec struct {
	// LocationType: string, required
	LocationType terra.StringValue `hcl:"location_type,attr" validate:"required"`
}

type ResourceSpecAttributes

type ResourceSpecAttributes struct {
	// contains filtered or unexported fields
}

func (ResourceSpecAttributes) InternalRef

func (rs ResourceSpecAttributes) InternalRef() (terra.Reference, error)

func (ResourceSpecAttributes) InternalTokens

func (rs ResourceSpecAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ResourceSpecAttributes) InternalWithRef

func (ResourceSpecAttributes) LocationType

func (rs ResourceSpecAttributes) LocationType() terra.StringValue

type ResourceSpecState

type ResourceSpecState struct {
	LocationType string `json:"location_type"`
}

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