google_dataproc_metastore_service

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 {
	// DatabaseType: string, optional
	DatabaseType terra.StringValue `hcl:"database_type,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Network: string, optional
	Network terra.StringValue `hcl:"network,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// ReleaseChannel: string, optional
	ReleaseChannel terra.StringValue `hcl:"release_channel,attr"`
	// ServiceId: string, required
	ServiceId terra.StringValue `hcl:"service_id,attr" validate:"required"`
	// Tier: string, optional
	Tier terra.StringValue `hcl:"tier,attr"`
	// EncryptionConfig: optional
	EncryptionConfig *EncryptionConfig `hcl:"encryption_config,block"`
	// HiveMetastoreConfig: optional
	HiveMetastoreConfig *HiveMetastoreConfig `hcl:"hive_metastore_config,block"`
	// MaintenanceWindow: optional
	MaintenanceWindow *MaintenanceWindow `hcl:"maintenance_window,block"`
	// MetadataIntegration: optional
	MetadataIntegration *MetadataIntegration `hcl:"metadata_integration,block"`
	// NetworkConfig: optional
	NetworkConfig *NetworkConfig `hcl:"network_config,block"`
	// ScalingConfig: optional
	ScalingConfig *ScalingConfig `hcl:"scaling_config,block"`
	// ScheduledBackup: optional
	ScheduledBackup *ScheduledBackup `hcl:"scheduled_backup,block"`
	// TelemetryConfig: optional
	TelemetryConfig *TelemetryConfig `hcl:"telemetry_config,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_dataproc_metastore_service.

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// ServiceId: string, required
	ServiceId terra.StringValue `hcl:"service_id,attr" validate:"required"`
}

DataArgs contains the configurations for google_dataproc_metastore_service.

type DataEncryptionConfigAttributes

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

func (DataEncryptionConfigAttributes) InternalRef

func (DataEncryptionConfigAttributes) InternalTokens

func (ec DataEncryptionConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataEncryptionConfigAttributes) InternalWithRef

func (DataEncryptionConfigAttributes) KmsKey

type DataEncryptionConfigState

type DataEncryptionConfigState struct {
	KmsKey string `json:"kms_key"`
}

type DataHiveMetastoreConfigAttributes

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

func (DataHiveMetastoreConfigAttributes) AuxiliaryVersions

func (DataHiveMetastoreConfigAttributes) ConfigOverrides

func (DataHiveMetastoreConfigAttributes) EndpointProtocol

func (hmc DataHiveMetastoreConfigAttributes) EndpointProtocol() terra.StringValue

func (DataHiveMetastoreConfigAttributes) InternalRef

func (DataHiveMetastoreConfigAttributes) InternalTokens

func (hmc DataHiveMetastoreConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataHiveMetastoreConfigAttributes) InternalWithRef

func (DataHiveMetastoreConfigAttributes) KerberosConfig

func (DataHiveMetastoreConfigAttributes) Version

type DataHiveMetastoreConfigAuxiliaryVersionsAttributes

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

func (DataHiveMetastoreConfigAuxiliaryVersionsAttributes) ConfigOverrides

func (DataHiveMetastoreConfigAuxiliaryVersionsAttributes) InternalRef

func (DataHiveMetastoreConfigAuxiliaryVersionsAttributes) InternalTokens

func (DataHiveMetastoreConfigAuxiliaryVersionsAttributes) InternalWithRef

func (DataHiveMetastoreConfigAuxiliaryVersionsAttributes) Key

func (DataHiveMetastoreConfigAuxiliaryVersionsAttributes) Version

type DataHiveMetastoreConfigAuxiliaryVersionsState

type DataHiveMetastoreConfigAuxiliaryVersionsState struct {
	ConfigOverrides map[string]string `json:"config_overrides"`
	Key             string            `json:"key"`
	Version         string            `json:"version"`
}

type DataHiveMetastoreConfigKerberosConfigAttributes

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

func (DataHiveMetastoreConfigKerberosConfigAttributes) InternalRef

func (DataHiveMetastoreConfigKerberosConfigAttributes) InternalTokens

func (DataHiveMetastoreConfigKerberosConfigAttributes) InternalWithRef

func (DataHiveMetastoreConfigKerberosConfigAttributes) Keytab

func (DataHiveMetastoreConfigKerberosConfigAttributes) Krb5ConfigGcsUri

func (DataHiveMetastoreConfigKerberosConfigAttributes) Principal

type DataHiveMetastoreConfigKerberosConfigKeytabAttributes

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

func (DataHiveMetastoreConfigKerberosConfigKeytabAttributes) CloudSecret

func (DataHiveMetastoreConfigKerberosConfigKeytabAttributes) InternalRef

func (DataHiveMetastoreConfigKerberosConfigKeytabAttributes) InternalTokens

func (DataHiveMetastoreConfigKerberosConfigKeytabAttributes) InternalWithRef

type DataHiveMetastoreConfigKerberosConfigKeytabState

type DataHiveMetastoreConfigKerberosConfigKeytabState struct {
	CloudSecret string `json:"cloud_secret"`
}

type DataHiveMetastoreConfigKerberosConfigState

type DataHiveMetastoreConfigKerberosConfigState struct {
	Krb5ConfigGcsUri string                                             `json:"krb5_config_gcs_uri"`
	Principal        string                                             `json:"principal"`
	Keytab           []DataHiveMetastoreConfigKerberosConfigKeytabState `json:"keytab"`
}

type DataHiveMetastoreConfigState

type DataHiveMetastoreConfigState struct {
	ConfigOverrides   map[string]string                               `json:"config_overrides"`
	EndpointProtocol  string                                          `json:"endpoint_protocol"`
	Version           string                                          `json:"version"`
	AuxiliaryVersions []DataHiveMetastoreConfigAuxiliaryVersionsState `json:"auxiliary_versions"`
	KerberosConfig    []DataHiveMetastoreConfigKerberosConfigState    `json:"kerberos_config"`
}

type DataMaintenanceWindowAttributes

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

func (DataMaintenanceWindowAttributes) DayOfWeek

func (DataMaintenanceWindowAttributes) HourOfDay

func (DataMaintenanceWindowAttributes) InternalRef

func (DataMaintenanceWindowAttributes) InternalTokens

func (mw DataMaintenanceWindowAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataMaintenanceWindowAttributes) InternalWithRef

type DataMaintenanceWindowState

type DataMaintenanceWindowState struct {
	DayOfWeek string  `json:"day_of_week"`
	HourOfDay float64 `json:"hour_of_day"`
}

type DataMetadataIntegrationAttributes

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

func (DataMetadataIntegrationAttributes) DataCatalogConfig

func (DataMetadataIntegrationAttributes) InternalRef

func (DataMetadataIntegrationAttributes) InternalTokens

func (mi DataMetadataIntegrationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataMetadataIntegrationAttributes) InternalWithRef

type DataMetadataIntegrationDataCatalogConfigAttributes

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

func (DataMetadataIntegrationDataCatalogConfigAttributes) Enabled

func (DataMetadataIntegrationDataCatalogConfigAttributes) InternalRef

func (DataMetadataIntegrationDataCatalogConfigAttributes) InternalTokens

func (DataMetadataIntegrationDataCatalogConfigAttributes) InternalWithRef

type DataMetadataIntegrationDataCatalogConfigState

type DataMetadataIntegrationDataCatalogConfigState struct {
	Enabled bool `json:"enabled"`
}

type DataMetadataIntegrationState

type DataMetadataIntegrationState struct {
	DataCatalogConfig []DataMetadataIntegrationDataCatalogConfigState `json:"data_catalog_config"`
}

type DataNetworkConfigAttributes

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

func (DataNetworkConfigAttributes) Consumers

func (DataNetworkConfigAttributes) CustomRoutesEnabled

func (nc DataNetworkConfigAttributes) CustomRoutesEnabled() terra.BoolValue

func (DataNetworkConfigAttributes) InternalRef

func (nc DataNetworkConfigAttributes) InternalRef() (terra.Reference, error)

func (DataNetworkConfigAttributes) InternalTokens

func (nc DataNetworkConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataNetworkConfigAttributes) InternalWithRef

type DataNetworkConfigConsumersAttributes

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

func (DataNetworkConfigConsumersAttributes) EndpointUri

func (DataNetworkConfigConsumersAttributes) InternalRef

func (DataNetworkConfigConsumersAttributes) InternalTokens

func (DataNetworkConfigConsumersAttributes) InternalWithRef

func (DataNetworkConfigConsumersAttributes) Subnetwork

type DataNetworkConfigConsumersState

type DataNetworkConfigConsumersState struct {
	EndpointUri string `json:"endpoint_uri"`
	Subnetwork  string `json:"subnetwork"`
}

type DataNetworkConfigState

type DataNetworkConfigState struct {
	CustomRoutesEnabled bool                              `json:"custom_routes_enabled"`
	Consumers           []DataNetworkConfigConsumersState `json:"consumers"`
}

type DataScalingConfigAttributes

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

func (DataScalingConfigAttributes) InstanceSize

func (sc DataScalingConfigAttributes) InstanceSize() terra.StringValue

func (DataScalingConfigAttributes) InternalRef

func (sc DataScalingConfigAttributes) InternalRef() (terra.Reference, error)

func (DataScalingConfigAttributes) InternalTokens

func (sc DataScalingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataScalingConfigAttributes) InternalWithRef

func (DataScalingConfigAttributes) ScalingFactor

func (sc DataScalingConfigAttributes) ScalingFactor() terra.NumberValue

type DataScalingConfigState

type DataScalingConfigState struct {
	InstanceSize  string  `json:"instance_size"`
	ScalingFactor float64 `json:"scaling_factor"`
}

type DataScheduledBackupAttributes

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

func (DataScheduledBackupAttributes) BackupLocation

func (sb DataScheduledBackupAttributes) BackupLocation() terra.StringValue

func (DataScheduledBackupAttributes) CronSchedule

func (DataScheduledBackupAttributes) Enabled

func (DataScheduledBackupAttributes) InternalRef

func (sb DataScheduledBackupAttributes) InternalRef() (terra.Reference, error)

func (DataScheduledBackupAttributes) InternalTokens

func (sb DataScheduledBackupAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataScheduledBackupAttributes) InternalWithRef

func (DataScheduledBackupAttributes) TimeZone

type DataScheduledBackupState

type DataScheduledBackupState struct {
	BackupLocation string `json:"backup_location"`
	CronSchedule   string `json:"cron_schedule"`
	Enabled        bool   `json:"enabled"`
	TimeZone       string `json:"time_zone"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_dataproc_metastore_service.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gdms *DataSource) Attributes() dataGoogleDataprocMetastoreServiceAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (gdms *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gdms *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gdms *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataTelemetryConfigAttributes

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

func (DataTelemetryConfigAttributes) InternalRef

func (tc DataTelemetryConfigAttributes) InternalRef() (terra.Reference, error)

func (DataTelemetryConfigAttributes) InternalTokens

func (tc DataTelemetryConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTelemetryConfigAttributes) InternalWithRef

func (DataTelemetryConfigAttributes) LogFormat

type DataTelemetryConfigState

type DataTelemetryConfigState struct {
	LogFormat string `json:"log_format"`
}

type EncryptionConfig

type EncryptionConfig struct {
	// KmsKey: string, required
	KmsKey terra.StringValue `hcl:"kms_key,attr" validate:"required"`
}

type EncryptionConfigAttributes

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

func (EncryptionConfigAttributes) InternalRef

func (ec EncryptionConfigAttributes) InternalRef() (terra.Reference, error)

func (EncryptionConfigAttributes) InternalTokens

func (ec EncryptionConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EncryptionConfigAttributes) InternalWithRef

func (EncryptionConfigAttributes) KmsKey

type EncryptionConfigState

type EncryptionConfigState struct {
	KmsKey string `json:"kms_key"`
}

type HiveMetastoreConfig

type HiveMetastoreConfig struct {
	// ConfigOverrides: map of string, optional
	ConfigOverrides terra.MapValue[terra.StringValue] `hcl:"config_overrides,attr"`
	// EndpointProtocol: string, optional
	EndpointProtocol terra.StringValue `hcl:"endpoint_protocol,attr"`
	// Version: string, required
	Version terra.StringValue `hcl:"version,attr" validate:"required"`
	// HiveMetastoreConfigAuxiliaryVersions: min=0
	AuxiliaryVersions []HiveMetastoreConfigAuxiliaryVersions `hcl:"auxiliary_versions,block" validate:"min=0"`
	// HiveMetastoreConfigKerberosConfig: optional
	KerberosConfig *HiveMetastoreConfigKerberosConfig `hcl:"kerberos_config,block"`
}

type HiveMetastoreConfigAttributes

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

func (HiveMetastoreConfigAttributes) AuxiliaryVersions

func (HiveMetastoreConfigAttributes) ConfigOverrides

func (HiveMetastoreConfigAttributes) EndpointProtocol

func (hmc HiveMetastoreConfigAttributes) EndpointProtocol() terra.StringValue

func (HiveMetastoreConfigAttributes) InternalRef

func (hmc HiveMetastoreConfigAttributes) InternalRef() (terra.Reference, error)

func (HiveMetastoreConfigAttributes) InternalTokens

func (hmc HiveMetastoreConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HiveMetastoreConfigAttributes) InternalWithRef

func (HiveMetastoreConfigAttributes) KerberosConfig

func (HiveMetastoreConfigAttributes) Version

type HiveMetastoreConfigAuxiliaryVersions

type HiveMetastoreConfigAuxiliaryVersions struct {
	// ConfigOverrides: map of string, optional
	ConfigOverrides terra.MapValue[terra.StringValue] `hcl:"config_overrides,attr"`
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Version: string, required
	Version terra.StringValue `hcl:"version,attr" validate:"required"`
}

type HiveMetastoreConfigAuxiliaryVersionsAttributes

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

func (HiveMetastoreConfigAuxiliaryVersionsAttributes) ConfigOverrides

func (HiveMetastoreConfigAuxiliaryVersionsAttributes) InternalRef

func (HiveMetastoreConfigAuxiliaryVersionsAttributes) InternalTokens

func (HiveMetastoreConfigAuxiliaryVersionsAttributes) InternalWithRef

func (HiveMetastoreConfigAuxiliaryVersionsAttributes) Key

func (HiveMetastoreConfigAuxiliaryVersionsAttributes) Version

type HiveMetastoreConfigAuxiliaryVersionsState

type HiveMetastoreConfigAuxiliaryVersionsState struct {
	ConfigOverrides map[string]string `json:"config_overrides"`
	Key             string            `json:"key"`
	Version         string            `json:"version"`
}

type HiveMetastoreConfigKerberosConfig

type HiveMetastoreConfigKerberosConfig struct {
	// Krb5ConfigGcsUri: string, required
	Krb5ConfigGcsUri terra.StringValue `hcl:"krb5_config_gcs_uri,attr" validate:"required"`
	// Principal: string, required
	Principal terra.StringValue `hcl:"principal,attr" validate:"required"`
	// HiveMetastoreConfigKerberosConfigKeytab: required
	Keytab *HiveMetastoreConfigKerberosConfigKeytab `hcl:"keytab,block" validate:"required"`
}

type HiveMetastoreConfigKerberosConfigAttributes

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

func (HiveMetastoreConfigKerberosConfigAttributes) InternalRef

func (HiveMetastoreConfigKerberosConfigAttributes) InternalTokens

func (HiveMetastoreConfigKerberosConfigAttributes) InternalWithRef

func (HiveMetastoreConfigKerberosConfigAttributes) Keytab

func (HiveMetastoreConfigKerberosConfigAttributes) Krb5ConfigGcsUri

func (HiveMetastoreConfigKerberosConfigAttributes) Principal

type HiveMetastoreConfigKerberosConfigKeytab

type HiveMetastoreConfigKerberosConfigKeytab struct {
	// CloudSecret: string, required
	CloudSecret terra.StringValue `hcl:"cloud_secret,attr" validate:"required"`
}

type HiveMetastoreConfigKerberosConfigKeytabAttributes

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

func (HiveMetastoreConfigKerberosConfigKeytabAttributes) CloudSecret

func (HiveMetastoreConfigKerberosConfigKeytabAttributes) InternalRef

func (HiveMetastoreConfigKerberosConfigKeytabAttributes) InternalTokens

func (HiveMetastoreConfigKerberosConfigKeytabAttributes) InternalWithRef

type HiveMetastoreConfigKerberosConfigKeytabState

type HiveMetastoreConfigKerberosConfigKeytabState struct {
	CloudSecret string `json:"cloud_secret"`
}

type HiveMetastoreConfigKerberosConfigState

type HiveMetastoreConfigKerberosConfigState struct {
	Krb5ConfigGcsUri string                                         `json:"krb5_config_gcs_uri"`
	Principal        string                                         `json:"principal"`
	Keytab           []HiveMetastoreConfigKerberosConfigKeytabState `json:"keytab"`
}

type HiveMetastoreConfigState

type HiveMetastoreConfigState struct {
	ConfigOverrides   map[string]string                           `json:"config_overrides"`
	EndpointProtocol  string                                      `json:"endpoint_protocol"`
	Version           string                                      `json:"version"`
	AuxiliaryVersions []HiveMetastoreConfigAuxiliaryVersionsState `json:"auxiliary_versions"`
	KerberosConfig    []HiveMetastoreConfigKerberosConfigState    `json:"kerberos_config"`
}

type MaintenanceWindow

type MaintenanceWindow struct {
	// DayOfWeek: string, required
	DayOfWeek terra.StringValue `hcl:"day_of_week,attr" validate:"required"`
	// HourOfDay: number, required
	HourOfDay terra.NumberValue `hcl:"hour_of_day,attr" validate:"required"`
}

type MaintenanceWindowAttributes

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

func (MaintenanceWindowAttributes) DayOfWeek

func (MaintenanceWindowAttributes) HourOfDay

func (MaintenanceWindowAttributes) InternalRef

func (mw MaintenanceWindowAttributes) InternalRef() (terra.Reference, error)

func (MaintenanceWindowAttributes) InternalTokens

func (mw MaintenanceWindowAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MaintenanceWindowAttributes) InternalWithRef

type MaintenanceWindowState

type MaintenanceWindowState struct {
	DayOfWeek string  `json:"day_of_week"`
	HourOfDay float64 `json:"hour_of_day"`
}

type MetadataIntegration

type MetadataIntegration struct {
	// MetadataIntegrationDataCatalogConfig: required
	DataCatalogConfig *MetadataIntegrationDataCatalogConfig `hcl:"data_catalog_config,block" validate:"required"`
}

type MetadataIntegrationAttributes

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

func (MetadataIntegrationAttributes) DataCatalogConfig

func (MetadataIntegrationAttributes) InternalRef

func (mi MetadataIntegrationAttributes) InternalRef() (terra.Reference, error)

func (MetadataIntegrationAttributes) InternalTokens

func (mi MetadataIntegrationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MetadataIntegrationAttributes) InternalWithRef

type MetadataIntegrationDataCatalogConfig

type MetadataIntegrationDataCatalogConfig struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
}

type MetadataIntegrationDataCatalogConfigAttributes

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

func (MetadataIntegrationDataCatalogConfigAttributes) Enabled

func (MetadataIntegrationDataCatalogConfigAttributes) InternalRef

func (MetadataIntegrationDataCatalogConfigAttributes) InternalTokens

func (MetadataIntegrationDataCatalogConfigAttributes) InternalWithRef

type MetadataIntegrationDataCatalogConfigState

type MetadataIntegrationDataCatalogConfigState struct {
	Enabled bool `json:"enabled"`
}

type MetadataIntegrationState

type MetadataIntegrationState struct {
	DataCatalogConfig []MetadataIntegrationDataCatalogConfigState `json:"data_catalog_config"`
}

type NetworkConfig

type NetworkConfig struct {
	// CustomRoutesEnabled: bool, optional
	CustomRoutesEnabled terra.BoolValue `hcl:"custom_routes_enabled,attr"`
	// NetworkConfigConsumers: min=1
	Consumers []NetworkConfigConsumers `hcl:"consumers,block" validate:"min=1"`
}

type NetworkConfigAttributes

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

func (NetworkConfigAttributes) Consumers

func (NetworkConfigAttributes) CustomRoutesEnabled

func (nc NetworkConfigAttributes) CustomRoutesEnabled() terra.BoolValue

func (NetworkConfigAttributes) InternalRef

func (nc NetworkConfigAttributes) InternalRef() (terra.Reference, error)

func (NetworkConfigAttributes) InternalTokens

func (nc NetworkConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkConfigAttributes) InternalWithRef

type NetworkConfigConsumers

type NetworkConfigConsumers struct {
	// Subnetwork: string, required
	Subnetwork terra.StringValue `hcl:"subnetwork,attr" validate:"required"`
}

type NetworkConfigConsumersAttributes

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

func (NetworkConfigConsumersAttributes) EndpointUri

func (NetworkConfigConsumersAttributes) InternalRef

func (NetworkConfigConsumersAttributes) InternalTokens

func (c NetworkConfigConsumersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkConfigConsumersAttributes) InternalWithRef

func (NetworkConfigConsumersAttributes) Subnetwork

type NetworkConfigConsumersState

type NetworkConfigConsumersState struct {
	EndpointUri string `json:"endpoint_uri"`
	Subnetwork  string `json:"subnetwork"`
}

type NetworkConfigState

type NetworkConfigState struct {
	CustomRoutesEnabled bool                          `json:"custom_routes_enabled"`
	Consumers           []NetworkConfigConsumersState `json:"consumers"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gdms *Resource) Attributes() googleDataprocMetastoreServiceAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gdms *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gdms *Resource) State() (*googleDataprocMetastoreServiceState, bool)

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

func (*Resource) StateMust

func (gdms *Resource) StateMust() *googleDataprocMetastoreServiceState

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

func (*Resource) Type

func (gdms *Resource) Type() string

Type returns the Terraform object type for Resource.

type ScalingConfig

type ScalingConfig struct {
	// InstanceSize: string, optional
	InstanceSize terra.StringValue `hcl:"instance_size,attr"`
	// ScalingFactor: number, optional
	ScalingFactor terra.NumberValue `hcl:"scaling_factor,attr"`
}

type ScalingConfigAttributes

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

func (ScalingConfigAttributes) InstanceSize

func (sc ScalingConfigAttributes) InstanceSize() terra.StringValue

func (ScalingConfigAttributes) InternalRef

func (sc ScalingConfigAttributes) InternalRef() (terra.Reference, error)

func (ScalingConfigAttributes) InternalTokens

func (sc ScalingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScalingConfigAttributes) InternalWithRef

func (ScalingConfigAttributes) ScalingFactor

func (sc ScalingConfigAttributes) ScalingFactor() terra.NumberValue

type ScalingConfigState

type ScalingConfigState struct {
	InstanceSize  string  `json:"instance_size"`
	ScalingFactor float64 `json:"scaling_factor"`
}

type ScheduledBackup

type ScheduledBackup struct {
	// BackupLocation: string, required
	BackupLocation terra.StringValue `hcl:"backup_location,attr" validate:"required"`
	// CronSchedule: string, optional
	CronSchedule terra.StringValue `hcl:"cron_schedule,attr"`
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// TimeZone: string, optional
	TimeZone terra.StringValue `hcl:"time_zone,attr"`
}

type ScheduledBackupAttributes

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

func (ScheduledBackupAttributes) BackupLocation

func (sb ScheduledBackupAttributes) BackupLocation() terra.StringValue

func (ScheduledBackupAttributes) CronSchedule

func (sb ScheduledBackupAttributes) CronSchedule() terra.StringValue

func (ScheduledBackupAttributes) Enabled

func (ScheduledBackupAttributes) InternalRef

func (sb ScheduledBackupAttributes) InternalRef() (terra.Reference, error)

func (ScheduledBackupAttributes) InternalTokens

func (sb ScheduledBackupAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScheduledBackupAttributes) InternalWithRef

func (ScheduledBackupAttributes) TimeZone

type ScheduledBackupState

type ScheduledBackupState struct {
	BackupLocation string `json:"backup_location"`
	CronSchedule   string `json:"cron_schedule"`
	Enabled        bool   `json:"enabled"`
	TimeZone       string `json:"time_zone"`
}

type TelemetryConfig

type TelemetryConfig struct {
	// LogFormat: string, optional
	LogFormat terra.StringValue `hcl:"log_format,attr"`
}

type TelemetryConfigAttributes

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

func (TelemetryConfigAttributes) InternalRef

func (tc TelemetryConfigAttributes) InternalRef() (terra.Reference, error)

func (TelemetryConfigAttributes) InternalTokens

func (tc TelemetryConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TelemetryConfigAttributes) InternalWithRef

func (TelemetryConfigAttributes) LogFormat

type TelemetryConfigState

type TelemetryConfigState struct {
	LogFormat string `json:"log_format"`
}

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