Documentation ¶
Index ¶
- type Args
- type AutomatedBackupPolicy
- type AutomatedBackupPolicyAttributes
- func (abp AutomatedBackupPolicyAttributes) BackupWindow() terra.StringValue
- func (abp AutomatedBackupPolicyAttributes) Enabled() terra.BoolValue
- func (abp AutomatedBackupPolicyAttributes) EncryptionConfig() terra.ListValue[AutomatedBackupPolicyEncryptionConfigAttributes]
- func (abp AutomatedBackupPolicyAttributes) InternalRef() (terra.Reference, error)
- func (abp AutomatedBackupPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (abp AutomatedBackupPolicyAttributes) InternalWithRef(ref terra.Reference) AutomatedBackupPolicyAttributes
- func (abp AutomatedBackupPolicyAttributes) Labels() terra.MapValue[terra.StringValue]
- func (abp AutomatedBackupPolicyAttributes) Location() terra.StringValue
- func (abp AutomatedBackupPolicyAttributes) QuantityBasedRetention() terra.ListValue[AutomatedBackupPolicyQuantityBasedRetentionAttributes]
- func (abp AutomatedBackupPolicyAttributes) TimeBasedRetention() terra.ListValue[AutomatedBackupPolicyTimeBasedRetentionAttributes]
- func (abp AutomatedBackupPolicyAttributes) WeeklySchedule() terra.ListValue[AutomatedBackupPolicyWeeklyScheduleAttributes]
- type AutomatedBackupPolicyEncryptionConfig
- type AutomatedBackupPolicyEncryptionConfigAttributes
- func (ec AutomatedBackupPolicyEncryptionConfigAttributes) InternalRef() (terra.Reference, error)
- func (ec AutomatedBackupPolicyEncryptionConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ec AutomatedBackupPolicyEncryptionConfigAttributes) InternalWithRef(ref terra.Reference) AutomatedBackupPolicyEncryptionConfigAttributes
- func (ec AutomatedBackupPolicyEncryptionConfigAttributes) KmsKeyName() terra.StringValue
- type AutomatedBackupPolicyEncryptionConfigState
- type AutomatedBackupPolicyQuantityBasedRetention
- type AutomatedBackupPolicyQuantityBasedRetentionAttributes
- func (qbr AutomatedBackupPolicyQuantityBasedRetentionAttributes) Count() terra.NumberValue
- func (qbr AutomatedBackupPolicyQuantityBasedRetentionAttributes) InternalRef() (terra.Reference, error)
- func (qbr AutomatedBackupPolicyQuantityBasedRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (qbr AutomatedBackupPolicyQuantityBasedRetentionAttributes) InternalWithRef(ref terra.Reference) AutomatedBackupPolicyQuantityBasedRetentionAttributes
- type AutomatedBackupPolicyQuantityBasedRetentionState
- type AutomatedBackupPolicyState
- type AutomatedBackupPolicyTimeBasedRetention
- type AutomatedBackupPolicyTimeBasedRetentionAttributes
- func (tbr AutomatedBackupPolicyTimeBasedRetentionAttributes) InternalRef() (terra.Reference, error)
- func (tbr AutomatedBackupPolicyTimeBasedRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tbr AutomatedBackupPolicyTimeBasedRetentionAttributes) InternalWithRef(ref terra.Reference) AutomatedBackupPolicyTimeBasedRetentionAttributes
- func (tbr AutomatedBackupPolicyTimeBasedRetentionAttributes) RetentionPeriod() terra.StringValue
- type AutomatedBackupPolicyTimeBasedRetentionState
- type AutomatedBackupPolicyWeeklySchedule
- type AutomatedBackupPolicyWeeklyScheduleAttributes
- func (ws AutomatedBackupPolicyWeeklyScheduleAttributes) DaysOfWeek() terra.ListValue[terra.StringValue]
- func (ws AutomatedBackupPolicyWeeklyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ws AutomatedBackupPolicyWeeklyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ws AutomatedBackupPolicyWeeklyScheduleAttributes) InternalWithRef(ref terra.Reference) AutomatedBackupPolicyWeeklyScheduleAttributes
- func (ws AutomatedBackupPolicyWeeklyScheduleAttributes) StartTimes() terra.ListValue[AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes]
- type AutomatedBackupPolicyWeeklyScheduleStartTimes
- type AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes
- func (st AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) Hours() terra.NumberValue
- func (st AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) InternalRef() (terra.Reference, error)
- func (st AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (st AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) InternalWithRef(ref terra.Reference) AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes
- func (st AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) Minutes() terra.NumberValue
- func (st AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) Nanos() terra.NumberValue
- func (st AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) Seconds() terra.NumberValue
- type AutomatedBackupPolicyWeeklyScheduleStartTimesState
- type AutomatedBackupPolicyWeeklyScheduleState
- type BackupSourceAttributes
- func (bs BackupSourceAttributes) BackupName() terra.StringValue
- func (bs BackupSourceAttributes) InternalRef() (terra.Reference, error)
- func (bs BackupSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bs BackupSourceAttributes) InternalWithRef(ref terra.Reference) BackupSourceAttributes
- type BackupSourceState
- type ContinuousBackupConfig
- type ContinuousBackupConfigAttributes
- func (cbc ContinuousBackupConfigAttributes) Enabled() terra.BoolValue
- func (cbc ContinuousBackupConfigAttributes) EncryptionConfig() terra.ListValue[ContinuousBackupConfigEncryptionConfigAttributes]
- func (cbc ContinuousBackupConfigAttributes) InternalRef() (terra.Reference, error)
- func (cbc ContinuousBackupConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cbc ContinuousBackupConfigAttributes) InternalWithRef(ref terra.Reference) ContinuousBackupConfigAttributes
- func (cbc ContinuousBackupConfigAttributes) RecoveryWindowDays() terra.NumberValue
- type ContinuousBackupConfigEncryptionConfig
- type ContinuousBackupConfigEncryptionConfigAttributes
- func (ec ContinuousBackupConfigEncryptionConfigAttributes) InternalRef() (terra.Reference, error)
- func (ec ContinuousBackupConfigEncryptionConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ec ContinuousBackupConfigEncryptionConfigAttributes) InternalWithRef(ref terra.Reference) ContinuousBackupConfigEncryptionConfigAttributes
- func (ec ContinuousBackupConfigEncryptionConfigAttributes) KmsKeyName() terra.StringValue
- type ContinuousBackupConfigEncryptionConfigState
- type ContinuousBackupConfigState
- type ContinuousBackupInfoAttributes
- func (cbi ContinuousBackupInfoAttributes) EarliestRestorableTime() terra.StringValue
- func (cbi ContinuousBackupInfoAttributes) EnabledTime() terra.StringValue
- func (cbi ContinuousBackupInfoAttributes) EncryptionInfo() terra.ListValue[ContinuousBackupInfoEncryptionInfoAttributes]
- func (cbi ContinuousBackupInfoAttributes) InternalRef() (terra.Reference, error)
- func (cbi ContinuousBackupInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cbi ContinuousBackupInfoAttributes) InternalWithRef(ref terra.Reference) ContinuousBackupInfoAttributes
- func (cbi ContinuousBackupInfoAttributes) Schedule() terra.ListValue[terra.StringValue]
- type ContinuousBackupInfoEncryptionInfoAttributes
- func (ei ContinuousBackupInfoEncryptionInfoAttributes) EncryptionType() terra.StringValue
- func (ei ContinuousBackupInfoEncryptionInfoAttributes) InternalRef() (terra.Reference, error)
- func (ei ContinuousBackupInfoEncryptionInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ei ContinuousBackupInfoEncryptionInfoAttributes) InternalWithRef(ref terra.Reference) ContinuousBackupInfoEncryptionInfoAttributes
- func (ei ContinuousBackupInfoEncryptionInfoAttributes) KmsKeyVersions() terra.ListValue[terra.StringValue]
- type ContinuousBackupInfoEncryptionInfoState
- type ContinuousBackupInfoState
- type EncryptionConfig
- type EncryptionConfigAttributes
- func (ec EncryptionConfigAttributes) InternalRef() (terra.Reference, error)
- func (ec EncryptionConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ec EncryptionConfigAttributes) InternalWithRef(ref terra.Reference) EncryptionConfigAttributes
- func (ec EncryptionConfigAttributes) KmsKeyName() terra.StringValue
- type EncryptionConfigState
- type EncryptionInfoAttributes
- func (ei EncryptionInfoAttributes) EncryptionType() terra.StringValue
- func (ei EncryptionInfoAttributes) InternalRef() (terra.Reference, error)
- func (ei EncryptionInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ei EncryptionInfoAttributes) InternalWithRef(ref terra.Reference) EncryptionInfoAttributes
- func (ei EncryptionInfoAttributes) KmsKeyVersions() terra.ListValue[terra.StringValue]
- type EncryptionInfoState
- type InitialUser
- type InitialUserAttributes
- func (iu InitialUserAttributes) InternalRef() (terra.Reference, error)
- func (iu InitialUserAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (iu InitialUserAttributes) InternalWithRef(ref terra.Reference) InitialUserAttributes
- func (iu InitialUserAttributes) Password() terra.StringValue
- func (iu InitialUserAttributes) User() terra.StringValue
- type InitialUserState
- type MigrationSourceAttributes
- func (ms MigrationSourceAttributes) HostPort() terra.StringValue
- func (ms MigrationSourceAttributes) InternalRef() (terra.Reference, error)
- func (ms MigrationSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ms MigrationSourceAttributes) InternalWithRef(ref terra.Reference) MigrationSourceAttributes
- func (ms MigrationSourceAttributes) ReferenceId() terra.StringValue
- func (ms MigrationSourceAttributes) SourceType() terra.StringValue
- type MigrationSourceState
- type NetworkConfig
- type NetworkConfigAttributes
- func (nc NetworkConfigAttributes) AllocatedIpRange() terra.StringValue
- func (nc NetworkConfigAttributes) InternalRef() (terra.Reference, error)
- func (nc NetworkConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nc NetworkConfigAttributes) InternalWithRef(ref terra.Reference) NetworkConfigAttributes
- func (nc NetworkConfigAttributes) Network() terra.StringValue
- type NetworkConfigState
- type Resource
- func (gac *Resource) Attributes() googleAlloydbClusterAttributes
- func (gac *Resource) Configuration() interface{}
- func (gac *Resource) DependOn() terra.Reference
- func (gac *Resource) Dependencies() terra.Dependencies
- func (gac *Resource) ImportState(state io.Reader) error
- func (gac *Resource) LifecycleManagement() *terra.Lifecycle
- func (gac *Resource) LocalName() string
- func (gac *Resource) State() (*googleAlloydbClusterState, bool)
- func (gac *Resource) StateMust() *googleAlloydbClusterState
- func (gac *Resource) Type() string
- type RestoreBackupSource
- type RestoreBackupSourceAttributes
- func (rbs RestoreBackupSourceAttributes) BackupName() terra.StringValue
- func (rbs RestoreBackupSourceAttributes) InternalRef() (terra.Reference, error)
- func (rbs RestoreBackupSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rbs RestoreBackupSourceAttributes) InternalWithRef(ref terra.Reference) RestoreBackupSourceAttributes
- type RestoreBackupSourceState
- type RestoreContinuousBackupSource
- type RestoreContinuousBackupSourceAttributes
- func (rcbs RestoreContinuousBackupSourceAttributes) Cluster() terra.StringValue
- func (rcbs RestoreContinuousBackupSourceAttributes) InternalRef() (terra.Reference, error)
- func (rcbs RestoreContinuousBackupSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rcbs RestoreContinuousBackupSourceAttributes) InternalWithRef(ref terra.Reference) RestoreContinuousBackupSourceAttributes
- func (rcbs RestoreContinuousBackupSourceAttributes) PointInTime() terra.StringValue
- type RestoreContinuousBackupSourceState
- type SecondaryConfig
- type SecondaryConfigAttributes
- func (sc SecondaryConfigAttributes) InternalRef() (terra.Reference, error)
- func (sc SecondaryConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc SecondaryConfigAttributes) InternalWithRef(ref terra.Reference) SecondaryConfigAttributes
- func (sc SecondaryConfigAttributes) PrimaryClusterName() terra.StringValue
- type SecondaryConfigState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
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 (abp AutomatedBackupPolicyAttributes) BackupWindow() terra.StringValue
func (AutomatedBackupPolicyAttributes) Enabled ¶
func (abp AutomatedBackupPolicyAttributes) Enabled() terra.BoolValue
func (AutomatedBackupPolicyAttributes) EncryptionConfig ¶
func (abp AutomatedBackupPolicyAttributes) EncryptionConfig() terra.ListValue[AutomatedBackupPolicyEncryptionConfigAttributes]
func (AutomatedBackupPolicyAttributes) InternalRef ¶
func (abp AutomatedBackupPolicyAttributes) InternalRef() (terra.Reference, error)
func (AutomatedBackupPolicyAttributes) InternalTokens ¶
func (abp AutomatedBackupPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutomatedBackupPolicyAttributes) InternalWithRef ¶
func (abp AutomatedBackupPolicyAttributes) InternalWithRef(ref terra.Reference) AutomatedBackupPolicyAttributes
func (AutomatedBackupPolicyAttributes) Labels ¶
func (abp AutomatedBackupPolicyAttributes) Labels() terra.MapValue[terra.StringValue]
func (AutomatedBackupPolicyAttributes) Location ¶
func (abp AutomatedBackupPolicyAttributes) Location() terra.StringValue
func (AutomatedBackupPolicyAttributes) QuantityBasedRetention ¶
func (abp AutomatedBackupPolicyAttributes) QuantityBasedRetention() terra.ListValue[AutomatedBackupPolicyQuantityBasedRetentionAttributes]
func (AutomatedBackupPolicyAttributes) TimeBasedRetention ¶
func (abp AutomatedBackupPolicyAttributes) TimeBasedRetention() terra.ListValue[AutomatedBackupPolicyTimeBasedRetentionAttributes]
func (AutomatedBackupPolicyAttributes) WeeklySchedule ¶
func (abp AutomatedBackupPolicyAttributes) WeeklySchedule() terra.ListValue[AutomatedBackupPolicyWeeklyScheduleAttributes]
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 (ec AutomatedBackupPolicyEncryptionConfigAttributes) InternalRef() (terra.Reference, error)
func (AutomatedBackupPolicyEncryptionConfigAttributes) InternalTokens ¶
func (ec AutomatedBackupPolicyEncryptionConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutomatedBackupPolicyEncryptionConfigAttributes) InternalWithRef ¶
func (ec AutomatedBackupPolicyEncryptionConfigAttributes) InternalWithRef(ref terra.Reference) AutomatedBackupPolicyEncryptionConfigAttributes
func (AutomatedBackupPolicyEncryptionConfigAttributes) KmsKeyName ¶
func (ec AutomatedBackupPolicyEncryptionConfigAttributes) KmsKeyName() terra.StringValue
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 (qbr AutomatedBackupPolicyQuantityBasedRetentionAttributes) Count() terra.NumberValue
func (AutomatedBackupPolicyQuantityBasedRetentionAttributes) InternalRef ¶
func (qbr AutomatedBackupPolicyQuantityBasedRetentionAttributes) InternalRef() (terra.Reference, error)
func (AutomatedBackupPolicyQuantityBasedRetentionAttributes) InternalTokens ¶
func (qbr AutomatedBackupPolicyQuantityBasedRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutomatedBackupPolicyQuantityBasedRetentionAttributes) InternalWithRef ¶
func (qbr AutomatedBackupPolicyQuantityBasedRetentionAttributes) InternalWithRef(ref terra.Reference) AutomatedBackupPolicyQuantityBasedRetentionAttributes
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 (tbr AutomatedBackupPolicyTimeBasedRetentionAttributes) InternalRef() (terra.Reference, error)
func (AutomatedBackupPolicyTimeBasedRetentionAttributes) InternalTokens ¶
func (tbr AutomatedBackupPolicyTimeBasedRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutomatedBackupPolicyTimeBasedRetentionAttributes) InternalWithRef ¶
func (tbr AutomatedBackupPolicyTimeBasedRetentionAttributes) InternalWithRef(ref terra.Reference) AutomatedBackupPolicyTimeBasedRetentionAttributes
func (AutomatedBackupPolicyTimeBasedRetentionAttributes) RetentionPeriod ¶
func (tbr AutomatedBackupPolicyTimeBasedRetentionAttributes) RetentionPeriod() terra.StringValue
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 (ws AutomatedBackupPolicyWeeklyScheduleAttributes) DaysOfWeek() terra.ListValue[terra.StringValue]
func (AutomatedBackupPolicyWeeklyScheduleAttributes) InternalRef ¶
func (ws AutomatedBackupPolicyWeeklyScheduleAttributes) InternalRef() (terra.Reference, error)
func (AutomatedBackupPolicyWeeklyScheduleAttributes) InternalTokens ¶
func (ws AutomatedBackupPolicyWeeklyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutomatedBackupPolicyWeeklyScheduleAttributes) InternalWithRef ¶
func (ws AutomatedBackupPolicyWeeklyScheduleAttributes) InternalWithRef(ref terra.Reference) AutomatedBackupPolicyWeeklyScheduleAttributes
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 (st AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) Hours() terra.NumberValue
func (AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) InternalRef ¶
func (st AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) InternalRef() (terra.Reference, error)
func (AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) InternalTokens ¶
func (st AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) InternalWithRef ¶
func (st AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) InternalWithRef(ref terra.Reference) AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes
func (AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) Minutes ¶
func (st AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) Minutes() terra.NumberValue
func (AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) Nanos ¶
func (st AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) Nanos() terra.NumberValue
func (AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) Seconds ¶
func (st AutomatedBackupPolicyWeeklyScheduleStartTimesAttributes) Seconds() terra.NumberValue
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 ¶
func (bs BackupSourceAttributes) InternalWithRef(ref terra.Reference) BackupSourceAttributes
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 (cbc ContinuousBackupConfigAttributes) Enabled() terra.BoolValue
func (ContinuousBackupConfigAttributes) EncryptionConfig ¶
func (cbc ContinuousBackupConfigAttributes) EncryptionConfig() terra.ListValue[ContinuousBackupConfigEncryptionConfigAttributes]
func (ContinuousBackupConfigAttributes) InternalRef ¶
func (cbc ContinuousBackupConfigAttributes) InternalRef() (terra.Reference, error)
func (ContinuousBackupConfigAttributes) InternalTokens ¶
func (cbc ContinuousBackupConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContinuousBackupConfigAttributes) InternalWithRef ¶
func (cbc ContinuousBackupConfigAttributes) InternalWithRef(ref terra.Reference) ContinuousBackupConfigAttributes
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 (ec ContinuousBackupConfigEncryptionConfigAttributes) InternalRef() (terra.Reference, error)
func (ContinuousBackupConfigEncryptionConfigAttributes) InternalTokens ¶
func (ec ContinuousBackupConfigEncryptionConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContinuousBackupConfigEncryptionConfigAttributes) InternalWithRef ¶
func (ec ContinuousBackupConfigEncryptionConfigAttributes) InternalWithRef(ref terra.Reference) ContinuousBackupConfigEncryptionConfigAttributes
func (ContinuousBackupConfigEncryptionConfigAttributes) KmsKeyName ¶
func (ec ContinuousBackupConfigEncryptionConfigAttributes) KmsKeyName() terra.StringValue
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 (cbi ContinuousBackupInfoAttributes) EnabledTime() terra.StringValue
func (ContinuousBackupInfoAttributes) EncryptionInfo ¶
func (cbi ContinuousBackupInfoAttributes) EncryptionInfo() terra.ListValue[ContinuousBackupInfoEncryptionInfoAttributes]
func (ContinuousBackupInfoAttributes) InternalRef ¶
func (cbi ContinuousBackupInfoAttributes) InternalRef() (terra.Reference, error)
func (ContinuousBackupInfoAttributes) InternalTokens ¶
func (cbi ContinuousBackupInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContinuousBackupInfoAttributes) InternalWithRef ¶
func (cbi ContinuousBackupInfoAttributes) InternalWithRef(ref terra.Reference) ContinuousBackupInfoAttributes
func (ContinuousBackupInfoAttributes) Schedule ¶
func (cbi ContinuousBackupInfoAttributes) Schedule() terra.ListValue[terra.StringValue]
type ContinuousBackupInfoEncryptionInfoAttributes ¶
type ContinuousBackupInfoEncryptionInfoAttributes struct {
// contains filtered or unexported fields
}
func (ContinuousBackupInfoEncryptionInfoAttributes) EncryptionType ¶
func (ei ContinuousBackupInfoEncryptionInfoAttributes) EncryptionType() terra.StringValue
func (ContinuousBackupInfoEncryptionInfoAttributes) InternalRef ¶
func (ei ContinuousBackupInfoEncryptionInfoAttributes) InternalRef() (terra.Reference, error)
func (ContinuousBackupInfoEncryptionInfoAttributes) InternalTokens ¶
func (ei ContinuousBackupInfoEncryptionInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContinuousBackupInfoEncryptionInfoAttributes) InternalWithRef ¶
func (ei ContinuousBackupInfoEncryptionInfoAttributes) InternalWithRef(ref terra.Reference) ContinuousBackupInfoEncryptionInfoAttributes
func (ContinuousBackupInfoEncryptionInfoAttributes) KmsKeyVersions ¶
func (ei ContinuousBackupInfoEncryptionInfoAttributes) KmsKeyVersions() terra.ListValue[terra.StringValue]
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 (ec EncryptionConfigAttributes) InternalWithRef(ref terra.Reference) EncryptionConfigAttributes
func (EncryptionConfigAttributes) KmsKeyName ¶
func (ec EncryptionConfigAttributes) KmsKeyName() terra.StringValue
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 (ei EncryptionInfoAttributes) InternalWithRef(ref terra.Reference) EncryptionInfoAttributes
func (EncryptionInfoAttributes) KmsKeyVersions ¶
func (ei EncryptionInfoAttributes) KmsKeyVersions() terra.ListValue[terra.StringValue]
type EncryptionInfoState ¶
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 (iu InitialUserAttributes) InternalWithRef(ref terra.Reference) InitialUserAttributes
func (InitialUserAttributes) Password ¶
func (iu InitialUserAttributes) Password() terra.StringValue
func (InitialUserAttributes) User ¶
func (iu InitialUserAttributes) User() terra.StringValue
type InitialUserState ¶
type MigrationSourceAttributes ¶
type MigrationSourceAttributes struct {
// contains filtered or unexported fields
}
func (MigrationSourceAttributes) HostPort ¶
func (ms MigrationSourceAttributes) HostPort() terra.StringValue
func (MigrationSourceAttributes) InternalRef ¶
func (ms MigrationSourceAttributes) InternalRef() (terra.Reference, error)
func (MigrationSourceAttributes) InternalTokens ¶
func (ms MigrationSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MigrationSourceAttributes) InternalWithRef ¶
func (ms MigrationSourceAttributes) InternalWithRef(ref terra.Reference) MigrationSourceAttributes
func (MigrationSourceAttributes) ReferenceId ¶
func (ms MigrationSourceAttributes) ReferenceId() terra.StringValue
func (MigrationSourceAttributes) SourceType ¶
func (ms MigrationSourceAttributes) SourceType() terra.StringValue
type MigrationSourceState ¶
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 (nc NetworkConfigAttributes) InternalWithRef(ref terra.Reference) NetworkConfigAttributes
func (NetworkConfigAttributes) Network ¶
func (nc NetworkConfigAttributes) Network() terra.StringValue
type NetworkConfigState ¶
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 (*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) Dependencies ¶
func (gac *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block 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 (rbs RestoreBackupSourceAttributes) BackupName() terra.StringValue
func (RestoreBackupSourceAttributes) InternalRef ¶
func (rbs RestoreBackupSourceAttributes) InternalRef() (terra.Reference, error)
func (RestoreBackupSourceAttributes) InternalTokens ¶
func (rbs RestoreBackupSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestoreBackupSourceAttributes) InternalWithRef ¶
func (rbs RestoreBackupSourceAttributes) InternalWithRef(ref terra.Reference) RestoreBackupSourceAttributes
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 (rcbs RestoreContinuousBackupSourceAttributes) Cluster() terra.StringValue
func (RestoreContinuousBackupSourceAttributes) InternalRef ¶
func (rcbs RestoreContinuousBackupSourceAttributes) InternalRef() (terra.Reference, error)
func (RestoreContinuousBackupSourceAttributes) InternalTokens ¶
func (rcbs RestoreContinuousBackupSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestoreContinuousBackupSourceAttributes) InternalWithRef ¶
func (rcbs RestoreContinuousBackupSourceAttributes) InternalWithRef(ref terra.Reference) RestoreContinuousBackupSourceAttributes
func (RestoreContinuousBackupSourceAttributes) PointInTime ¶
func (rcbs RestoreContinuousBackupSourceAttributes) PointInTime() terra.StringValue
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 (sc SecondaryConfigAttributes) InternalWithRef(ref terra.Reference) SecondaryConfigAttributes
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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.