google_alloydb_cluster

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 {
	// Annotations: map of string, optional
	Annotations terra.MapValue[terra.StringValue] `hcl:"annotations,attr"`
	// ClusterId: string, required
	ClusterId terra.StringValue `hcl:"cluster_id,attr" validate:"required"`
	// ClusterType: string, optional
	ClusterType terra.StringValue `hcl:"cluster_type,attr"`
	// DatabaseVersion: string, optional
	DatabaseVersion terra.StringValue `hcl:"database_version,attr"`
	// DeletionPolicy: string, optional
	DeletionPolicy terra.StringValue `hcl:"deletion_policy,attr"`
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// Etag: string, optional
	Etag terra.StringValue `hcl:"etag,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, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Network: string, optional
	Network terra.StringValue `hcl:"network,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// AutomatedBackupPolicy: optional
	AutomatedBackupPolicy *AutomatedBackupPolicy `hcl:"automated_backup_policy,block"`
	// ContinuousBackupConfig: optional
	ContinuousBackupConfig *ContinuousBackupConfig `hcl:"continuous_backup_config,block"`
	// EncryptionConfig: optional
	EncryptionConfig *EncryptionConfig `hcl:"encryption_config,block"`
	// InitialUser: optional
	InitialUser *InitialUser `hcl:"initial_user,block"`
	// NetworkConfig: optional
	NetworkConfig *NetworkConfig `hcl:"network_config,block"`
	// RestoreBackupSource: optional
	RestoreBackupSource *RestoreBackupSource `hcl:"restore_backup_source,block"`
	// RestoreContinuousBackupSource: optional
	RestoreContinuousBackupSource *RestoreContinuousBackupSource `hcl:"restore_continuous_backup_source,block"`
	// SecondaryConfig: optional
	SecondaryConfig *SecondaryConfig `hcl:"secondary_config,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_alloydb_cluster.

type AutomatedBackupPolicy

type AutomatedBackupPolicy struct {
	// BackupWindow: string, optional
	BackupWindow terra.StringValue `hcl:"backup_window,attr"`
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// AutomatedBackupPolicyEncryptionConfig: optional
	EncryptionConfig *AutomatedBackupPolicyEncryptionConfig `hcl:"encryption_config,block"`
	// AutomatedBackupPolicyQuantityBasedRetention: optional
	QuantityBasedRetention *AutomatedBackupPolicyQuantityBasedRetention `hcl:"quantity_based_retention,block"`
	// AutomatedBackupPolicyTimeBasedRetention: optional
	TimeBasedRetention *AutomatedBackupPolicyTimeBasedRetention `hcl:"time_based_retention,block"`
	// AutomatedBackupPolicyWeeklySchedule: optional
	WeeklySchedule *AutomatedBackupPolicyWeeklySchedule `hcl:"weekly_schedule,block"`
}

type AutomatedBackupPolicyAttributes

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

func (AutomatedBackupPolicyAttributes) BackupWindow

func (AutomatedBackupPolicyAttributes) Enabled

func (AutomatedBackupPolicyAttributes) EncryptionConfig

func (AutomatedBackupPolicyAttributes) InternalRef

func (AutomatedBackupPolicyAttributes) InternalTokens

func (abp AutomatedBackupPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutomatedBackupPolicyAttributes) InternalWithRef

func (AutomatedBackupPolicyAttributes) Labels

func (AutomatedBackupPolicyAttributes) Location

func (AutomatedBackupPolicyAttributes) QuantityBasedRetention

func (AutomatedBackupPolicyAttributes) TimeBasedRetention

func (AutomatedBackupPolicyAttributes) WeeklySchedule

type AutomatedBackupPolicyEncryptionConfig

type AutomatedBackupPolicyEncryptionConfig struct {
	// KmsKeyName: string, optional
	KmsKeyName terra.StringValue `hcl:"kms_key_name,attr"`
}

type AutomatedBackupPolicyEncryptionConfigAttributes

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

func (AutomatedBackupPolicyEncryptionConfigAttributes) InternalRef

func (AutomatedBackupPolicyEncryptionConfigAttributes) InternalTokens

func (AutomatedBackupPolicyEncryptionConfigAttributes) InternalWithRef

func (AutomatedBackupPolicyEncryptionConfigAttributes) KmsKeyName

type AutomatedBackupPolicyEncryptionConfigState

type AutomatedBackupPolicyEncryptionConfigState struct {
	KmsKeyName string `json:"kms_key_name"`
}

type AutomatedBackupPolicyQuantityBasedRetention

type AutomatedBackupPolicyQuantityBasedRetention struct {
	// Count: number, optional
	Count terra.NumberValue `hcl:"count,attr"`
}

type AutomatedBackupPolicyQuantityBasedRetentionAttributes

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

func (AutomatedBackupPolicyQuantityBasedRetentionAttributes) Count

func (AutomatedBackupPolicyQuantityBasedRetentionAttributes) InternalRef

func (AutomatedBackupPolicyQuantityBasedRetentionAttributes) InternalTokens

func (AutomatedBackupPolicyQuantityBasedRetentionAttributes) InternalWithRef

type AutomatedBackupPolicyQuantityBasedRetentionState

type AutomatedBackupPolicyQuantityBasedRetentionState struct {
	Count float64 `json:"count"`
}

type AutomatedBackupPolicyState

type AutomatedBackupPolicyState struct {
	BackupWindow           string                                             `json:"backup_window"`
	Enabled                bool                                               `json:"enabled"`
	Labels                 map[string]string                                  `json:"labels"`
	Location               string                                             `json:"location"`
	EncryptionConfig       []AutomatedBackupPolicyEncryptionConfigState       `json:"encryption_config"`
	QuantityBasedRetention []AutomatedBackupPolicyQuantityBasedRetentionState `json:"quantity_based_retention"`
	TimeBasedRetention     []AutomatedBackupPolicyTimeBasedRetentionState     `json:"time_based_retention"`
	WeeklySchedule         []AutomatedBackupPolicyWeeklyScheduleState         `json:"weekly_schedule"`
}

type AutomatedBackupPolicyTimeBasedRetention

type AutomatedBackupPolicyTimeBasedRetention struct {
	// RetentionPeriod: string, optional
	RetentionPeriod terra.StringValue `hcl:"retention_period,attr"`
}

type AutomatedBackupPolicyTimeBasedRetentionAttributes

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

func (AutomatedBackupPolicyTimeBasedRetentionAttributes) InternalRef

func (AutomatedBackupPolicyTimeBasedRetentionAttributes) InternalTokens

func (AutomatedBackupPolicyTimeBasedRetentionAttributes) InternalWithRef

func (AutomatedBackupPolicyTimeBasedRetentionAttributes) RetentionPeriod

type AutomatedBackupPolicyTimeBasedRetentionState

type AutomatedBackupPolicyTimeBasedRetentionState struct {
	RetentionPeriod string `json:"retention_period"`
}

type AutomatedBackupPolicyWeeklySchedule

type AutomatedBackupPolicyWeeklySchedule struct {
	// DaysOfWeek: list of string, optional
	DaysOfWeek terra.ListValue[terra.StringValue] `hcl:"days_of_week,attr"`
	// AutomatedBackupPolicyWeeklyScheduleStartTimes: min=1
	StartTimes []AutomatedBackupPolicyWeeklyScheduleStartTimes `hcl:"start_times,block" validate:"min=1"`
}

type AutomatedBackupPolicyWeeklyScheduleAttributes

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

func (AutomatedBackupPolicyWeeklyScheduleAttributes) DaysOfWeek

func (AutomatedBackupPolicyWeeklyScheduleAttributes) InternalRef

func (AutomatedBackupPolicyWeeklyScheduleAttributes) InternalTokens

func (AutomatedBackupPolicyWeeklyScheduleAttributes) InternalWithRef

func (AutomatedBackupPolicyWeeklyScheduleAttributes) StartTimes

type AutomatedBackupPolicyWeeklyScheduleStartTimes

type AutomatedBackupPolicyWeeklyScheduleStartTimes struct {
	// Hours: number, optional
	Hours terra.NumberValue `hcl:"hours,attr"`
	// Minutes: number, optional
	Minutes terra.NumberValue `hcl:"minutes,attr"`
	// Nanos: number, optional
	Nanos terra.NumberValue `hcl:"nanos,attr"`
	// Seconds: number, optional
	Seconds terra.NumberValue `hcl:"seconds,attr"`
}

type AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes

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

func (AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) Hours

func (AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) InternalRef

func (AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) InternalTokens

func (AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) InternalWithRef

func (AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) Minutes

func (AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) Nanos

func (AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) Seconds

type AutomatedBackupPolicyWeeklyScheduleStartTimesState

type AutomatedBackupPolicyWeeklyScheduleStartTimesState struct {
	Hours   float64 `json:"hours"`
	Minutes float64 `json:"minutes"`
	Nanos   float64 `json:"nanos"`
	Seconds float64 `json:"seconds"`
}

type AutomatedBackupPolicyWeeklyScheduleState

type AutomatedBackupPolicyWeeklyScheduleState struct {
	DaysOfWeek []string                                             `json:"days_of_week"`
	StartTimes []AutomatedBackupPolicyWeeklyScheduleStartTimesState `json:"start_times"`
}

type BackupSourceAttributes

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

func (BackupSourceAttributes) BackupName

func (bs BackupSourceAttributes) BackupName() terra.StringValue

func (BackupSourceAttributes) InternalRef

func (bs BackupSourceAttributes) InternalRef() (terra.Reference, error)

func (BackupSourceAttributes) InternalTokens

func (bs BackupSourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BackupSourceAttributes) InternalWithRef

type BackupSourceState

type BackupSourceState struct {
	BackupName string `json:"backup_name"`
}

type ContinuousBackupConfig

type ContinuousBackupConfig struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// RecoveryWindowDays: number, optional
	RecoveryWindowDays terra.NumberValue `hcl:"recovery_window_days,attr"`
	// ContinuousBackupConfigEncryptionConfig: optional
	EncryptionConfig *ContinuousBackupConfigEncryptionConfig `hcl:"encryption_config,block"`
}

type ContinuousBackupConfigAttributes

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

func (ContinuousBackupConfigAttributes) Enabled

func (ContinuousBackupConfigAttributes) EncryptionConfig

func (ContinuousBackupConfigAttributes) InternalRef

func (ContinuousBackupConfigAttributes) InternalTokens

func (cbc ContinuousBackupConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContinuousBackupConfigAttributes) InternalWithRef

func (ContinuousBackupConfigAttributes) RecoveryWindowDays

func (cbc ContinuousBackupConfigAttributes) RecoveryWindowDays() terra.NumberValue

type ContinuousBackupConfigEncryptionConfig

type ContinuousBackupConfigEncryptionConfig struct {
	// KmsKeyName: string, optional
	KmsKeyName terra.StringValue `hcl:"kms_key_name,attr"`
}

type ContinuousBackupConfigEncryptionConfigAttributes

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

func (ContinuousBackupConfigEncryptionConfigAttributes) InternalRef

func (ContinuousBackupConfigEncryptionConfigAttributes) InternalTokens

func (ContinuousBackupConfigEncryptionConfigAttributes) InternalWithRef

func (ContinuousBackupConfigEncryptionConfigAttributes) KmsKeyName

type ContinuousBackupConfigEncryptionConfigState

type ContinuousBackupConfigEncryptionConfigState struct {
	KmsKeyName string `json:"kms_key_name"`
}

type ContinuousBackupConfigState

type ContinuousBackupConfigState struct {
	Enabled            bool                                          `json:"enabled"`
	RecoveryWindowDays float64                                       `json:"recovery_window_days"`
	EncryptionConfig   []ContinuousBackupConfigEncryptionConfigState `json:"encryption_config"`
}

type ContinuousBackupInfoAttributes

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

func (ContinuousBackupInfoAttributes) EarliestRestorableTime

func (cbi ContinuousBackupInfoAttributes) EarliestRestorableTime() terra.StringValue

func (ContinuousBackupInfoAttributes) EnabledTime

func (ContinuousBackupInfoAttributes) EncryptionInfo

func (ContinuousBackupInfoAttributes) InternalRef

func (cbi ContinuousBackupInfoAttributes) InternalRef() (terra.Reference, error)

func (ContinuousBackupInfoAttributes) InternalTokens

func (cbi ContinuousBackupInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContinuousBackupInfoAttributes) InternalWithRef

func (ContinuousBackupInfoAttributes) Schedule

type ContinuousBackupInfoEncryptionInfoAttributes

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

func (ContinuousBackupInfoEncryptionInfoAttributes) EncryptionType

func (ContinuousBackupInfoEncryptionInfoAttributes) InternalRef

func (ContinuousBackupInfoEncryptionInfoAttributes) InternalTokens

func (ContinuousBackupInfoEncryptionInfoAttributes) InternalWithRef

func (ContinuousBackupInfoEncryptionInfoAttributes) KmsKeyVersions

type ContinuousBackupInfoEncryptionInfoState

type ContinuousBackupInfoEncryptionInfoState struct {
	EncryptionType string   `json:"encryption_type"`
	KmsKeyVersions []string `json:"kms_key_versions"`
}

type ContinuousBackupInfoState

type ContinuousBackupInfoState struct {
	EarliestRestorableTime string                                    `json:"earliest_restorable_time"`
	EnabledTime            string                                    `json:"enabled_time"`
	Schedule               []string                                  `json:"schedule"`
	EncryptionInfo         []ContinuousBackupInfoEncryptionInfoState `json:"encryption_info"`
}

type EncryptionConfig

type EncryptionConfig struct {
	// KmsKeyName: string, optional
	KmsKeyName terra.StringValue `hcl:"kms_key_name,attr"`
}

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

type EncryptionConfigState

type EncryptionConfigState struct {
	KmsKeyName string `json:"kms_key_name"`
}

type EncryptionInfoAttributes

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

func (EncryptionInfoAttributes) EncryptionType

func (ei EncryptionInfoAttributes) EncryptionType() terra.StringValue

func (EncryptionInfoAttributes) InternalRef

func (ei EncryptionInfoAttributes) InternalRef() (terra.Reference, error)

func (EncryptionInfoAttributes) InternalTokens

func (ei EncryptionInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EncryptionInfoAttributes) InternalWithRef

func (EncryptionInfoAttributes) KmsKeyVersions

type EncryptionInfoState

type EncryptionInfoState struct {
	EncryptionType string   `json:"encryption_type"`
	KmsKeyVersions []string `json:"kms_key_versions"`
}

type InitialUser

type InitialUser struct {
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// User: string, optional
	User terra.StringValue `hcl:"user,attr"`
}

type InitialUserAttributes

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

func (InitialUserAttributes) InternalRef

func (iu InitialUserAttributes) InternalRef() (terra.Reference, error)

func (InitialUserAttributes) InternalTokens

func (iu InitialUserAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InitialUserAttributes) InternalWithRef

func (InitialUserAttributes) Password

func (iu InitialUserAttributes) Password() terra.StringValue

func (InitialUserAttributes) User

type InitialUserState

type InitialUserState struct {
	Password string `json:"password"`
	User     string `json:"user"`
}

type MigrationSourceAttributes

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

func (MigrationSourceAttributes) HostPort

func (MigrationSourceAttributes) InternalRef

func (ms MigrationSourceAttributes) InternalRef() (terra.Reference, error)

func (MigrationSourceAttributes) InternalTokens

func (ms MigrationSourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MigrationSourceAttributes) InternalWithRef

func (MigrationSourceAttributes) ReferenceId

func (ms MigrationSourceAttributes) ReferenceId() terra.StringValue

func (MigrationSourceAttributes) SourceType

type MigrationSourceState

type MigrationSourceState struct {
	HostPort    string `json:"host_port"`
	ReferenceId string `json:"reference_id"`
	SourceType  string `json:"source_type"`
}

type NetworkConfig

type NetworkConfig struct {
	// AllocatedIpRange: string, optional
	AllocatedIpRange terra.StringValue `hcl:"allocated_ip_range,attr"`
	// Network: string, optional
	Network terra.StringValue `hcl:"network,attr"`
}

type NetworkConfigAttributes

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

func (NetworkConfigAttributes) AllocatedIpRange

func (nc NetworkConfigAttributes) AllocatedIpRange() terra.StringValue

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

type NetworkConfigState

type NetworkConfigState struct {
	AllocatedIpRange string `json:"allocated_ip_range"`
	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_alloydb_cluster.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gac *Resource) Attributes() googleAlloydbClusterAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gac *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gac *Resource) State() (*googleAlloydbClusterState, bool)

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

func (*Resource) StateMust

func (gac *Resource) StateMust() *googleAlloydbClusterState

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

func (*Resource) Type

func (gac *Resource) Type() string

Type returns the Terraform object type for Resource.

type RestoreBackupSource

type RestoreBackupSource struct {
	// BackupName: string, required
	BackupName terra.StringValue `hcl:"backup_name,attr" validate:"required"`
}

type RestoreBackupSourceAttributes

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

func (RestoreBackupSourceAttributes) BackupName

func (RestoreBackupSourceAttributes) InternalRef

func (rbs RestoreBackupSourceAttributes) InternalRef() (terra.Reference, error)

func (RestoreBackupSourceAttributes) InternalTokens

func (rbs RestoreBackupSourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RestoreBackupSourceAttributes) InternalWithRef

type RestoreBackupSourceState

type RestoreBackupSourceState struct {
	BackupName string `json:"backup_name"`
}

type RestoreContinuousBackupSource

type RestoreContinuousBackupSource struct {
	// Cluster: string, required
	Cluster terra.StringValue `hcl:"cluster,attr" validate:"required"`
	// PointInTime: string, required
	PointInTime terra.StringValue `hcl:"point_in_time,attr" validate:"required"`
}

type RestoreContinuousBackupSourceAttributes

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

func (RestoreContinuousBackupSourceAttributes) Cluster

func (RestoreContinuousBackupSourceAttributes) InternalRef

func (RestoreContinuousBackupSourceAttributes) InternalTokens

func (RestoreContinuousBackupSourceAttributes) InternalWithRef

func (RestoreContinuousBackupSourceAttributes) PointInTime

type RestoreContinuousBackupSourceState

type RestoreContinuousBackupSourceState struct {
	Cluster     string `json:"cluster"`
	PointInTime string `json:"point_in_time"`
}

type SecondaryConfig

type SecondaryConfig struct {
	// PrimaryClusterName: string, required
	PrimaryClusterName terra.StringValue `hcl:"primary_cluster_name,attr" validate:"required"`
}

type SecondaryConfigAttributes

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

func (SecondaryConfigAttributes) InternalRef

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

func (SecondaryConfigAttributes) InternalTokens

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

func (SecondaryConfigAttributes) InternalWithRef

func (SecondaryConfigAttributes) PrimaryClusterName

func (sc SecondaryConfigAttributes) PrimaryClusterName() terra.StringValue

type SecondaryConfigState

type SecondaryConfigState struct {
	PrimaryClusterName string `json:"primary_cluster_name"`
}

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