Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataMaintenancePolicyAttributes
- func (mp DataMaintenancePolicyAttributes) CreateTime() terra.StringValue
- func (mp DataMaintenancePolicyAttributes) Description() terra.StringValue
- func (mp DataMaintenancePolicyAttributes) InternalRef() (terra.Reference, error)
- func (mp DataMaintenancePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mp DataMaintenancePolicyAttributes) InternalWithRef(ref terra.Reference) DataMaintenancePolicyAttributes
- func (mp DataMaintenancePolicyAttributes) UpdateTime() terra.StringValue
- func (mp DataMaintenancePolicyAttributes) WeeklyMaintenanceWindow() terra.ListValue[DataMaintenancePolicyWeeklyMaintenanceWindowAttributes]
- type DataMaintenancePolicyState
- type DataMaintenancePolicyWeeklyMaintenanceWindowAttributes
- func (wmw DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) Day() terra.StringValue
- func (wmw DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) Duration() terra.StringValue
- func (wmw DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalRef() (terra.Reference, error)
- func (wmw DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wmw DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalWithRef(ref terra.Reference) DataMaintenancePolicyWeeklyMaintenanceWindowAttributes
- func (wmw DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) StartTime() ...
- type DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes
- func (st DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Hours() terra.NumberValue
- func (st DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalRef() (terra.Reference, error)
- func (st DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (st DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalWithRef(ref terra.Reference) DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes
- func (st DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Minutes() terra.NumberValue
- func (st DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Nanos() terra.NumberValue
- func (st DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Seconds() terra.NumberValue
- type DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeState
- type DataMaintenancePolicyWeeklyMaintenanceWindowState
- type DataMaintenanceScheduleAttributes
- func (ms DataMaintenanceScheduleAttributes) EndTime() terra.StringValue
- func (ms DataMaintenanceScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ms DataMaintenanceScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ms DataMaintenanceScheduleAttributes) InternalWithRef(ref terra.Reference) DataMaintenanceScheduleAttributes
- func (ms DataMaintenanceScheduleAttributes) ScheduleDeadlineTime() terra.StringValue
- func (ms DataMaintenanceScheduleAttributes) StartTime() terra.StringValue
- type DataMaintenanceScheduleState
- type DataNodesAttributes
- func (n DataNodesAttributes) Id() terra.StringValue
- func (n DataNodesAttributes) InternalRef() (terra.Reference, error)
- func (n DataNodesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (n DataNodesAttributes) InternalWithRef(ref terra.Reference) DataNodesAttributes
- func (n DataNodesAttributes) Zone() terra.StringValue
- type DataNodesState
- type DataPersistenceConfigAttributes
- func (pc DataPersistenceConfigAttributes) InternalRef() (terra.Reference, error)
- func (pc DataPersistenceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pc DataPersistenceConfigAttributes) InternalWithRef(ref terra.Reference) DataPersistenceConfigAttributes
- func (pc DataPersistenceConfigAttributes) PersistenceMode() terra.StringValue
- func (pc DataPersistenceConfigAttributes) RdbNextSnapshotTime() terra.StringValue
- func (pc DataPersistenceConfigAttributes) RdbSnapshotPeriod() terra.StringValue
- func (pc DataPersistenceConfigAttributes) RdbSnapshotStartTime() terra.StringValue
- type DataPersistenceConfigState
- type DataServerCaCertsAttributes
- func (scc DataServerCaCertsAttributes) Cert() terra.StringValue
- func (scc DataServerCaCertsAttributes) CreateTime() terra.StringValue
- func (scc DataServerCaCertsAttributes) ExpireTime() terra.StringValue
- func (scc DataServerCaCertsAttributes) InternalRef() (terra.Reference, error)
- func (scc DataServerCaCertsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (scc DataServerCaCertsAttributes) InternalWithRef(ref terra.Reference) DataServerCaCertsAttributes
- func (scc DataServerCaCertsAttributes) SerialNumber() terra.StringValue
- func (scc DataServerCaCertsAttributes) Sha1Fingerprint() terra.StringValue
- type DataServerCaCertsState
- type DataSource
- type MaintenancePolicy
- type MaintenancePolicyAttributes
- func (mp MaintenancePolicyAttributes) CreateTime() terra.StringValue
- func (mp MaintenancePolicyAttributes) Description() terra.StringValue
- func (mp MaintenancePolicyAttributes) InternalRef() (terra.Reference, error)
- func (mp MaintenancePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mp MaintenancePolicyAttributes) InternalWithRef(ref terra.Reference) MaintenancePolicyAttributes
- func (mp MaintenancePolicyAttributes) UpdateTime() terra.StringValue
- func (mp MaintenancePolicyAttributes) WeeklyMaintenanceWindow() terra.ListValue[MaintenancePolicyWeeklyMaintenanceWindowAttributes]
- type MaintenancePolicyState
- type MaintenancePolicyWeeklyMaintenanceWindow
- type MaintenancePolicyWeeklyMaintenanceWindowAttributes
- func (wmw MaintenancePolicyWeeklyMaintenanceWindowAttributes) Day() terra.StringValue
- func (wmw MaintenancePolicyWeeklyMaintenanceWindowAttributes) Duration() terra.StringValue
- func (wmw MaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalRef() (terra.Reference, error)
- func (wmw MaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wmw MaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalWithRef(ref terra.Reference) MaintenancePolicyWeeklyMaintenanceWindowAttributes
- func (wmw MaintenancePolicyWeeklyMaintenanceWindowAttributes) StartTime() terra.ListValue[MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes]
- type MaintenancePolicyWeeklyMaintenanceWindowStartTime
- type MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes
- func (st MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Hours() terra.NumberValue
- func (st MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalRef() (terra.Reference, error)
- func (st MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (st MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalWithRef(ref terra.Reference) MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes
- func (st MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Minutes() terra.NumberValue
- func (st MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Nanos() terra.NumberValue
- func (st MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Seconds() terra.NumberValue
- type MaintenancePolicyWeeklyMaintenanceWindowStartTimeState
- type MaintenancePolicyWeeklyMaintenanceWindowState
- type MaintenanceScheduleAttributes
- func (ms MaintenanceScheduleAttributes) EndTime() terra.StringValue
- func (ms MaintenanceScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ms MaintenanceScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ms MaintenanceScheduleAttributes) InternalWithRef(ref terra.Reference) MaintenanceScheduleAttributes
- func (ms MaintenanceScheduleAttributes) ScheduleDeadlineTime() terra.StringValue
- func (ms MaintenanceScheduleAttributes) StartTime() terra.StringValue
- type MaintenanceScheduleState
- type NodesAttributes
- func (n NodesAttributes) Id() terra.StringValue
- func (n NodesAttributes) InternalRef() (terra.Reference, error)
- func (n NodesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (n NodesAttributes) InternalWithRef(ref terra.Reference) NodesAttributes
- func (n NodesAttributes) Zone() terra.StringValue
- type NodesState
- type PersistenceConfig
- type PersistenceConfigAttributes
- func (pc PersistenceConfigAttributes) InternalRef() (terra.Reference, error)
- func (pc PersistenceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pc PersistenceConfigAttributes) InternalWithRef(ref terra.Reference) PersistenceConfigAttributes
- func (pc PersistenceConfigAttributes) PersistenceMode() terra.StringValue
- func (pc PersistenceConfigAttributes) RdbNextSnapshotTime() terra.StringValue
- func (pc PersistenceConfigAttributes) RdbSnapshotPeriod() terra.StringValue
- func (pc PersistenceConfigAttributes) RdbSnapshotStartTime() terra.StringValue
- type PersistenceConfigState
- type Resource
- func (gri *Resource) Attributes() googleRedisInstanceAttributes
- func (gri *Resource) Configuration() interface{}
- func (gri *Resource) DependOn() terra.Reference
- func (gri *Resource) Dependencies() terra.Dependencies
- func (gri *Resource) ImportState(state io.Reader) error
- func (gri *Resource) LifecycleManagement() *terra.Lifecycle
- func (gri *Resource) LocalName() string
- func (gri *Resource) State() (*googleRedisInstanceState, bool)
- func (gri *Resource) StateMust() *googleRedisInstanceState
- func (gri *Resource) Type() string
- type ServerCaCertsAttributes
- func (scc ServerCaCertsAttributes) Cert() terra.StringValue
- func (scc ServerCaCertsAttributes) CreateTime() terra.StringValue
- func (scc ServerCaCertsAttributes) ExpireTime() terra.StringValue
- func (scc ServerCaCertsAttributes) InternalRef() (terra.Reference, error)
- func (scc ServerCaCertsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (scc ServerCaCertsAttributes) InternalWithRef(ref terra.Reference) ServerCaCertsAttributes
- func (scc ServerCaCertsAttributes) SerialNumber() terra.StringValue
- func (scc ServerCaCertsAttributes) Sha1Fingerprint() terra.StringValue
- type ServerCaCertsState
- 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 { // AlternativeLocationId: string, optional AlternativeLocationId terra.StringValue `hcl:"alternative_location_id,attr"` // AuthEnabled: bool, optional AuthEnabled terra.BoolValue `hcl:"auth_enabled,attr"` // AuthorizedNetwork: string, optional AuthorizedNetwork terra.StringValue `hcl:"authorized_network,attr"` // ConnectMode: string, optional ConnectMode terra.StringValue `hcl:"connect_mode,attr"` // CustomerManagedKey: string, optional CustomerManagedKey terra.StringValue `hcl:"customer_managed_key,attr"` // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // LocationId: string, optional LocationId terra.StringValue `hcl:"location_id,attr"` // MemorySizeGb: number, required MemorySizeGb terra.NumberValue `hcl:"memory_size_gb,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // ReadReplicasMode: string, optional ReadReplicasMode terra.StringValue `hcl:"read_replicas_mode,attr"` // RedisConfigs: map of string, optional RedisConfigs terra.MapValue[terra.StringValue] `hcl:"redis_configs,attr"` // RedisVersion: string, optional RedisVersion terra.StringValue `hcl:"redis_version,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // ReplicaCount: number, optional ReplicaCount terra.NumberValue `hcl:"replica_count,attr"` // ReservedIpRange: string, optional ReservedIpRange terra.StringValue `hcl:"reserved_ip_range,attr"` // SecondaryIpRange: string, optional SecondaryIpRange terra.StringValue `hcl:"secondary_ip_range,attr"` // Tier: string, optional Tier terra.StringValue `hcl:"tier,attr"` // TransitEncryptionMode: string, optional TransitEncryptionMode terra.StringValue `hcl:"transit_encryption_mode,attr"` // MaintenancePolicy: optional MaintenancePolicy *MaintenancePolicy `hcl:"maintenance_policy,block"` // PersistenceConfig: optional PersistenceConfig *PersistenceConfig `hcl:"persistence_config,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_redis_instance.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` }
DataArgs contains the configurations for google_redis_instance.
type DataMaintenancePolicyAttributes ¶
type DataMaintenancePolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataMaintenancePolicyAttributes) CreateTime ¶
func (mp DataMaintenancePolicyAttributes) CreateTime() terra.StringValue
func (DataMaintenancePolicyAttributes) Description ¶
func (mp DataMaintenancePolicyAttributes) Description() terra.StringValue
func (DataMaintenancePolicyAttributes) InternalRef ¶
func (mp DataMaintenancePolicyAttributes) InternalRef() (terra.Reference, error)
func (DataMaintenancePolicyAttributes) InternalTokens ¶
func (mp DataMaintenancePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataMaintenancePolicyAttributes) InternalWithRef ¶
func (mp DataMaintenancePolicyAttributes) InternalWithRef(ref terra.Reference) DataMaintenancePolicyAttributes
func (DataMaintenancePolicyAttributes) UpdateTime ¶
func (mp DataMaintenancePolicyAttributes) UpdateTime() terra.StringValue
func (DataMaintenancePolicyAttributes) WeeklyMaintenanceWindow ¶
func (mp DataMaintenancePolicyAttributes) WeeklyMaintenanceWindow() terra.ListValue[DataMaintenancePolicyWeeklyMaintenanceWindowAttributes]
type DataMaintenancePolicyState ¶
type DataMaintenancePolicyState struct { CreateTime string `json:"create_time"` Description string `json:"description"` UpdateTime string `json:"update_time"` WeeklyMaintenanceWindow []DataMaintenancePolicyWeeklyMaintenanceWindowState `json:"weekly_maintenance_window"` }
type DataMaintenancePolicyWeeklyMaintenanceWindowAttributes ¶
type DataMaintenancePolicyWeeklyMaintenanceWindowAttributes struct {
// contains filtered or unexported fields
}
func (DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) Day ¶
func (wmw DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) Day() terra.StringValue
func (DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) Duration ¶
func (wmw DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) Duration() terra.StringValue
func (DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalRef ¶
func (wmw DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalRef() (terra.Reference, error)
func (DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalTokens ¶
func (wmw DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalWithRef ¶
func (wmw DataMaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalWithRef(ref terra.Reference) DataMaintenancePolicyWeeklyMaintenanceWindowAttributes
type DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes ¶
type DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes struct {
// contains filtered or unexported fields
}
func (DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Hours ¶
func (st DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Hours() terra.NumberValue
func (DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalRef ¶
func (st DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalRef() (terra.Reference, error)
func (DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalTokens ¶
func (st DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalWithRef ¶
func (DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Minutes ¶
func (st DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Minutes() terra.NumberValue
func (DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Nanos ¶
func (st DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Nanos() terra.NumberValue
func (DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Seconds ¶
func (st DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Seconds() terra.NumberValue
type DataMaintenancePolicyWeeklyMaintenanceWindowState ¶
type DataMaintenancePolicyWeeklyMaintenanceWindowState struct { Day string `json:"day"` Duration string `json:"duration"` StartTime []DataMaintenancePolicyWeeklyMaintenanceWindowStartTimeState `json:"start_time"` }
type DataMaintenanceScheduleAttributes ¶
type DataMaintenanceScheduleAttributes struct {
// contains filtered or unexported fields
}
func (DataMaintenanceScheduleAttributes) EndTime ¶
func (ms DataMaintenanceScheduleAttributes) EndTime() terra.StringValue
func (DataMaintenanceScheduleAttributes) InternalRef ¶
func (ms DataMaintenanceScheduleAttributes) InternalRef() (terra.Reference, error)
func (DataMaintenanceScheduleAttributes) InternalTokens ¶
func (ms DataMaintenanceScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataMaintenanceScheduleAttributes) InternalWithRef ¶
func (ms DataMaintenanceScheduleAttributes) InternalWithRef(ref terra.Reference) DataMaintenanceScheduleAttributes
func (DataMaintenanceScheduleAttributes) ScheduleDeadlineTime ¶
func (ms DataMaintenanceScheduleAttributes) ScheduleDeadlineTime() terra.StringValue
func (DataMaintenanceScheduleAttributes) StartTime ¶
func (ms DataMaintenanceScheduleAttributes) StartTime() terra.StringValue
type DataNodesAttributes ¶
type DataNodesAttributes struct {
// contains filtered or unexported fields
}
func (DataNodesAttributes) Id ¶
func (n DataNodesAttributes) Id() terra.StringValue
func (DataNodesAttributes) InternalRef ¶
func (n DataNodesAttributes) InternalRef() (terra.Reference, error)
func (DataNodesAttributes) InternalTokens ¶
func (n DataNodesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataNodesAttributes) InternalWithRef ¶
func (n DataNodesAttributes) InternalWithRef(ref terra.Reference) DataNodesAttributes
func (DataNodesAttributes) Zone ¶
func (n DataNodesAttributes) Zone() terra.StringValue
type DataNodesState ¶
type DataPersistenceConfigAttributes ¶
type DataPersistenceConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataPersistenceConfigAttributes) InternalRef ¶
func (pc DataPersistenceConfigAttributes) InternalRef() (terra.Reference, error)
func (DataPersistenceConfigAttributes) InternalTokens ¶
func (pc DataPersistenceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataPersistenceConfigAttributes) InternalWithRef ¶
func (pc DataPersistenceConfigAttributes) InternalWithRef(ref terra.Reference) DataPersistenceConfigAttributes
func (DataPersistenceConfigAttributes) PersistenceMode ¶
func (pc DataPersistenceConfigAttributes) PersistenceMode() terra.StringValue
func (DataPersistenceConfigAttributes) RdbNextSnapshotTime ¶
func (pc DataPersistenceConfigAttributes) RdbNextSnapshotTime() terra.StringValue
func (DataPersistenceConfigAttributes) RdbSnapshotPeriod ¶
func (pc DataPersistenceConfigAttributes) RdbSnapshotPeriod() terra.StringValue
func (DataPersistenceConfigAttributes) RdbSnapshotStartTime ¶
func (pc DataPersistenceConfigAttributes) RdbSnapshotStartTime() terra.StringValue
type DataServerCaCertsAttributes ¶
type DataServerCaCertsAttributes struct {
// contains filtered or unexported fields
}
func (DataServerCaCertsAttributes) Cert ¶
func (scc DataServerCaCertsAttributes) Cert() terra.StringValue
func (DataServerCaCertsAttributes) CreateTime ¶
func (scc DataServerCaCertsAttributes) CreateTime() terra.StringValue
func (DataServerCaCertsAttributes) ExpireTime ¶
func (scc DataServerCaCertsAttributes) ExpireTime() terra.StringValue
func (DataServerCaCertsAttributes) InternalRef ¶
func (scc DataServerCaCertsAttributes) InternalRef() (terra.Reference, error)
func (DataServerCaCertsAttributes) InternalTokens ¶
func (scc DataServerCaCertsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataServerCaCertsAttributes) InternalWithRef ¶
func (scc DataServerCaCertsAttributes) InternalWithRef(ref terra.Reference) DataServerCaCertsAttributes
func (DataServerCaCertsAttributes) SerialNumber ¶
func (scc DataServerCaCertsAttributes) SerialNumber() terra.StringValue
func (DataServerCaCertsAttributes) Sha1Fingerprint ¶
func (scc DataServerCaCertsAttributes) Sha1Fingerprint() terra.StringValue
type DataServerCaCertsState ¶
type DataSource ¶
DataSource represents the Terraform data resource google_redis_instance.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gri *DataSource) Attributes() dataGoogleRedisInstanceAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gri *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gri *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gri *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type MaintenancePolicy ¶
type MaintenancePolicy struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // MaintenancePolicyWeeklyMaintenanceWindow: min=0 WeeklyMaintenanceWindow []MaintenancePolicyWeeklyMaintenanceWindow `hcl:"weekly_maintenance_window,block" validate:"min=0"` }
type MaintenancePolicyAttributes ¶
type MaintenancePolicyAttributes struct {
// contains filtered or unexported fields
}
func (MaintenancePolicyAttributes) CreateTime ¶
func (mp MaintenancePolicyAttributes) CreateTime() terra.StringValue
func (MaintenancePolicyAttributes) Description ¶
func (mp MaintenancePolicyAttributes) Description() terra.StringValue
func (MaintenancePolicyAttributes) InternalRef ¶
func (mp MaintenancePolicyAttributes) InternalRef() (terra.Reference, error)
func (MaintenancePolicyAttributes) InternalTokens ¶
func (mp MaintenancePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaintenancePolicyAttributes) InternalWithRef ¶
func (mp MaintenancePolicyAttributes) InternalWithRef(ref terra.Reference) MaintenancePolicyAttributes
func (MaintenancePolicyAttributes) UpdateTime ¶
func (mp MaintenancePolicyAttributes) UpdateTime() terra.StringValue
func (MaintenancePolicyAttributes) WeeklyMaintenanceWindow ¶
func (mp MaintenancePolicyAttributes) WeeklyMaintenanceWindow() terra.ListValue[MaintenancePolicyWeeklyMaintenanceWindowAttributes]
type MaintenancePolicyState ¶
type MaintenancePolicyState struct { CreateTime string `json:"create_time"` Description string `json:"description"` UpdateTime string `json:"update_time"` WeeklyMaintenanceWindow []MaintenancePolicyWeeklyMaintenanceWindowState `json:"weekly_maintenance_window"` }
type MaintenancePolicyWeeklyMaintenanceWindow ¶
type MaintenancePolicyWeeklyMaintenanceWindow struct { // Day: string, required Day terra.StringValue `hcl:"day,attr" validate:"required"` // MaintenancePolicyWeeklyMaintenanceWindowStartTime: required StartTime *MaintenancePolicyWeeklyMaintenanceWindowStartTime `hcl:"start_time,block" validate:"required"` }
type MaintenancePolicyWeeklyMaintenanceWindowAttributes ¶
type MaintenancePolicyWeeklyMaintenanceWindowAttributes struct {
// contains filtered or unexported fields
}
func (MaintenancePolicyWeeklyMaintenanceWindowAttributes) Day ¶
func (wmw MaintenancePolicyWeeklyMaintenanceWindowAttributes) Day() terra.StringValue
func (MaintenancePolicyWeeklyMaintenanceWindowAttributes) Duration ¶
func (wmw MaintenancePolicyWeeklyMaintenanceWindowAttributes) Duration() terra.StringValue
func (MaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalRef ¶
func (wmw MaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalRef() (terra.Reference, error)
func (MaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalTokens ¶
func (wmw MaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalWithRef ¶
func (wmw MaintenancePolicyWeeklyMaintenanceWindowAttributes) InternalWithRef(ref terra.Reference) MaintenancePolicyWeeklyMaintenanceWindowAttributes
type MaintenancePolicyWeeklyMaintenanceWindowStartTime ¶
type MaintenancePolicyWeeklyMaintenanceWindowStartTime 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 MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes ¶
type MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes struct {
// contains filtered or unexported fields
}
func (MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Hours ¶
func (st MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Hours() terra.NumberValue
func (MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalRef ¶
func (st MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalRef() (terra.Reference, error)
func (MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalTokens ¶
func (st MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalWithRef ¶
func (st MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) InternalWithRef(ref terra.Reference) MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes
func (MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Minutes ¶
func (st MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Minutes() terra.NumberValue
func (MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Nanos ¶
func (st MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Nanos() terra.NumberValue
func (MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Seconds ¶
func (st MaintenancePolicyWeeklyMaintenanceWindowStartTimeAttributes) Seconds() terra.NumberValue
type MaintenancePolicyWeeklyMaintenanceWindowState ¶
type MaintenancePolicyWeeklyMaintenanceWindowState struct { Day string `json:"day"` Duration string `json:"duration"` StartTime []MaintenancePolicyWeeklyMaintenanceWindowStartTimeState `json:"start_time"` }
type MaintenanceScheduleAttributes ¶
type MaintenanceScheduleAttributes struct {
// contains filtered or unexported fields
}
func (MaintenanceScheduleAttributes) EndTime ¶
func (ms MaintenanceScheduleAttributes) EndTime() terra.StringValue
func (MaintenanceScheduleAttributes) InternalRef ¶
func (ms MaintenanceScheduleAttributes) InternalRef() (terra.Reference, error)
func (MaintenanceScheduleAttributes) InternalTokens ¶
func (ms MaintenanceScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaintenanceScheduleAttributes) InternalWithRef ¶
func (ms MaintenanceScheduleAttributes) InternalWithRef(ref terra.Reference) MaintenanceScheduleAttributes
func (MaintenanceScheduleAttributes) ScheduleDeadlineTime ¶
func (ms MaintenanceScheduleAttributes) ScheduleDeadlineTime() terra.StringValue
func (MaintenanceScheduleAttributes) StartTime ¶
func (ms MaintenanceScheduleAttributes) StartTime() terra.StringValue
type NodesAttributes ¶
type NodesAttributes struct {
// contains filtered or unexported fields
}
func (NodesAttributes) Id ¶
func (n NodesAttributes) Id() terra.StringValue
func (NodesAttributes) InternalRef ¶
func (n NodesAttributes) InternalRef() (terra.Reference, error)
func (NodesAttributes) InternalTokens ¶
func (n NodesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NodesAttributes) InternalWithRef ¶
func (n NodesAttributes) InternalWithRef(ref terra.Reference) NodesAttributes
func (NodesAttributes) Zone ¶
func (n NodesAttributes) Zone() terra.StringValue
type NodesState ¶
type PersistenceConfig ¶
type PersistenceConfig struct { // PersistenceMode: string, optional PersistenceMode terra.StringValue `hcl:"persistence_mode,attr"` // RdbSnapshotPeriod: string, optional RdbSnapshotPeriod terra.StringValue `hcl:"rdb_snapshot_period,attr"` // RdbSnapshotStartTime: string, optional RdbSnapshotStartTime terra.StringValue `hcl:"rdb_snapshot_start_time,attr"` }
type PersistenceConfigAttributes ¶
type PersistenceConfigAttributes struct {
// contains filtered or unexported fields
}
func (PersistenceConfigAttributes) InternalRef ¶
func (pc PersistenceConfigAttributes) InternalRef() (terra.Reference, error)
func (PersistenceConfigAttributes) InternalTokens ¶
func (pc PersistenceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PersistenceConfigAttributes) InternalWithRef ¶
func (pc PersistenceConfigAttributes) InternalWithRef(ref terra.Reference) PersistenceConfigAttributes
func (PersistenceConfigAttributes) PersistenceMode ¶
func (pc PersistenceConfigAttributes) PersistenceMode() terra.StringValue
func (PersistenceConfigAttributes) RdbNextSnapshotTime ¶
func (pc PersistenceConfigAttributes) RdbNextSnapshotTime() terra.StringValue
func (PersistenceConfigAttributes) RdbSnapshotPeriod ¶
func (pc PersistenceConfigAttributes) RdbSnapshotPeriod() terra.StringValue
func (PersistenceConfigAttributes) RdbSnapshotStartTime ¶
func (pc PersistenceConfigAttributes) RdbSnapshotStartTime() terra.StringValue
type PersistenceConfigState ¶
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_redis_instance.
func (*Resource) Attributes ¶
func (gri *Resource) Attributes() googleRedisInstanceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gri *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gri *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 ServerCaCertsAttributes ¶
type ServerCaCertsAttributes struct {
// contains filtered or unexported fields
}
func (ServerCaCertsAttributes) Cert ¶
func (scc ServerCaCertsAttributes) Cert() terra.StringValue
func (ServerCaCertsAttributes) CreateTime ¶
func (scc ServerCaCertsAttributes) CreateTime() terra.StringValue
func (ServerCaCertsAttributes) ExpireTime ¶
func (scc ServerCaCertsAttributes) ExpireTime() terra.StringValue
func (ServerCaCertsAttributes) InternalRef ¶
func (scc ServerCaCertsAttributes) InternalRef() (terra.Reference, error)
func (ServerCaCertsAttributes) InternalTokens ¶
func (scc ServerCaCertsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServerCaCertsAttributes) InternalWithRef ¶
func (scc ServerCaCertsAttributes) InternalWithRef(ref terra.Reference) ServerCaCertsAttributes
func (ServerCaCertsAttributes) SerialNumber ¶
func (scc ServerCaCertsAttributes) SerialNumber() terra.StringValue
func (ServerCaCertsAttributes) Sha1Fingerprint ¶
func (scc ServerCaCertsAttributes) Sha1Fingerprint() terra.StringValue
type ServerCaCertsState ¶
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