Documentation ¶
Index ¶
- type Args
- type ClientConnectionConfig
- type ClientConnectionConfigAttributes
- func (ccc ClientConnectionConfigAttributes) InternalRef() (terra.Reference, error)
- func (ccc ClientConnectionConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ccc ClientConnectionConfigAttributes) InternalWithRef(ref terra.Reference) ClientConnectionConfigAttributes
- func (ccc ClientConnectionConfigAttributes) RequireConnectors() terra.BoolValue
- func (ccc ClientConnectionConfigAttributes) SslConfig() terra.ListValue[ClientConnectionConfigSslConfigAttributes]
- type ClientConnectionConfigSslConfig
- type ClientConnectionConfigSslConfigAttributes
- func (sc ClientConnectionConfigSslConfigAttributes) InternalRef() (terra.Reference, error)
- func (sc ClientConnectionConfigSslConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc ClientConnectionConfigSslConfigAttributes) InternalWithRef(ref terra.Reference) ClientConnectionConfigSslConfigAttributes
- func (sc ClientConnectionConfigSslConfigAttributes) SslMode() terra.StringValue
- type ClientConnectionConfigSslConfigState
- type ClientConnectionConfigState
- type MachineConfig
- type MachineConfigAttributes
- func (mc MachineConfigAttributes) CpuCount() terra.NumberValue
- func (mc MachineConfigAttributes) InternalRef() (terra.Reference, error)
- func (mc MachineConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mc MachineConfigAttributes) InternalWithRef(ref terra.Reference) MachineConfigAttributes
- type MachineConfigState
- type QueryInsightsConfig
- type QueryInsightsConfigAttributes
- func (qic QueryInsightsConfigAttributes) InternalRef() (terra.Reference, error)
- func (qic QueryInsightsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (qic QueryInsightsConfigAttributes) InternalWithRef(ref terra.Reference) QueryInsightsConfigAttributes
- func (qic QueryInsightsConfigAttributes) QueryPlansPerMinute() terra.NumberValue
- func (qic QueryInsightsConfigAttributes) QueryStringLength() terra.NumberValue
- func (qic QueryInsightsConfigAttributes) RecordApplicationTags() terra.BoolValue
- func (qic QueryInsightsConfigAttributes) RecordClientAddress() terra.BoolValue
- type QueryInsightsConfigState
- type ReadPoolConfig
- type ReadPoolConfigAttributes
- func (rpc ReadPoolConfigAttributes) InternalRef() (terra.Reference, error)
- func (rpc ReadPoolConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rpc ReadPoolConfigAttributes) InternalWithRef(ref terra.Reference) ReadPoolConfigAttributes
- func (rpc ReadPoolConfigAttributes) NodeCount() terra.NumberValue
- type ReadPoolConfigState
- type Resource
- func (gai *Resource) Attributes() googleAlloydbInstanceAttributes
- func (gai *Resource) Configuration() interface{}
- func (gai *Resource) DependOn() terra.Reference
- func (gai *Resource) Dependencies() terra.Dependencies
- func (gai *Resource) ImportState(state io.Reader) error
- func (gai *Resource) LifecycleManagement() *terra.Lifecycle
- func (gai *Resource) LocalName() string
- func (gai *Resource) State() (*googleAlloydbInstanceState, bool)
- func (gai *Resource) StateMust() *googleAlloydbInstanceState
- func (gai *Resource) Type() string
- 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"` // AvailabilityType: string, optional AvailabilityType terra.StringValue `hcl:"availability_type,attr"` // Cluster: string, required Cluster terra.StringValue `hcl:"cluster,attr" validate:"required"` // DatabaseFlags: map of string, optional DatabaseFlags terra.MapValue[terra.StringValue] `hcl:"database_flags,attr"` // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // GceZone: string, optional GceZone terra.StringValue `hcl:"gce_zone,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InstanceId: string, required InstanceId terra.StringValue `hcl:"instance_id,attr" validate:"required"` // InstanceType: string, required InstanceType terra.StringValue `hcl:"instance_type,attr" validate:"required"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // ClientConnectionConfig: optional ClientConnectionConfig *ClientConnectionConfig `hcl:"client_connection_config,block"` // MachineConfig: optional MachineConfig *MachineConfig `hcl:"machine_config,block"` // QueryInsightsConfig: optional QueryInsightsConfig *QueryInsightsConfig `hcl:"query_insights_config,block"` // ReadPoolConfig: optional ReadPoolConfig *ReadPoolConfig `hcl:"read_pool_config,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_alloydb_instance.
type ClientConnectionConfig ¶
type ClientConnectionConfig struct { // RequireConnectors: bool, optional RequireConnectors terra.BoolValue `hcl:"require_connectors,attr"` // ClientConnectionConfigSslConfig: optional SslConfig *ClientConnectionConfigSslConfig `hcl:"ssl_config,block"` }
type ClientConnectionConfigAttributes ¶
type ClientConnectionConfigAttributes struct {
// contains filtered or unexported fields
}
func (ClientConnectionConfigAttributes) InternalRef ¶
func (ccc ClientConnectionConfigAttributes) InternalRef() (terra.Reference, error)
func (ClientConnectionConfigAttributes) InternalTokens ¶
func (ccc ClientConnectionConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClientConnectionConfigAttributes) InternalWithRef ¶
func (ccc ClientConnectionConfigAttributes) InternalWithRef(ref terra.Reference) ClientConnectionConfigAttributes
func (ClientConnectionConfigAttributes) RequireConnectors ¶
func (ccc ClientConnectionConfigAttributes) RequireConnectors() terra.BoolValue
func (ClientConnectionConfigAttributes) SslConfig ¶
func (ccc ClientConnectionConfigAttributes) SslConfig() terra.ListValue[ClientConnectionConfigSslConfigAttributes]
type ClientConnectionConfigSslConfig ¶
type ClientConnectionConfigSslConfig struct { // SslMode: string, optional SslMode terra.StringValue `hcl:"ssl_mode,attr"` }
type ClientConnectionConfigSslConfigAttributes ¶
type ClientConnectionConfigSslConfigAttributes struct {
// contains filtered or unexported fields
}
func (ClientConnectionConfigSslConfigAttributes) InternalRef ¶
func (sc ClientConnectionConfigSslConfigAttributes) InternalRef() (terra.Reference, error)
func (ClientConnectionConfigSslConfigAttributes) InternalTokens ¶
func (sc ClientConnectionConfigSslConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClientConnectionConfigSslConfigAttributes) InternalWithRef ¶
func (sc ClientConnectionConfigSslConfigAttributes) InternalWithRef(ref terra.Reference) ClientConnectionConfigSslConfigAttributes
func (ClientConnectionConfigSslConfigAttributes) SslMode ¶
func (sc ClientConnectionConfigSslConfigAttributes) SslMode() terra.StringValue
type ClientConnectionConfigSslConfigState ¶
type ClientConnectionConfigSslConfigState struct {
SslMode string `json:"ssl_mode"`
}
type ClientConnectionConfigState ¶
type ClientConnectionConfigState struct { RequireConnectors bool `json:"require_connectors"` SslConfig []ClientConnectionConfigSslConfigState `json:"ssl_config"` }
type MachineConfig ¶
type MachineConfig struct { // CpuCount: number, optional CpuCount terra.NumberValue `hcl:"cpu_count,attr"` }
type MachineConfigAttributes ¶
type MachineConfigAttributes struct {
// contains filtered or unexported fields
}
func (MachineConfigAttributes) CpuCount ¶
func (mc MachineConfigAttributes) CpuCount() terra.NumberValue
func (MachineConfigAttributes) InternalRef ¶
func (mc MachineConfigAttributes) InternalRef() (terra.Reference, error)
func (MachineConfigAttributes) InternalTokens ¶
func (mc MachineConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MachineConfigAttributes) InternalWithRef ¶
func (mc MachineConfigAttributes) InternalWithRef(ref terra.Reference) MachineConfigAttributes
type MachineConfigState ¶
type MachineConfigState struct {
CpuCount float64 `json:"cpu_count"`
}
type QueryInsightsConfig ¶
type QueryInsightsConfig struct { // QueryPlansPerMinute: number, optional QueryPlansPerMinute terra.NumberValue `hcl:"query_plans_per_minute,attr"` // QueryStringLength: number, optional QueryStringLength terra.NumberValue `hcl:"query_string_length,attr"` // RecordApplicationTags: bool, optional RecordApplicationTags terra.BoolValue `hcl:"record_application_tags,attr"` // RecordClientAddress: bool, optional RecordClientAddress terra.BoolValue `hcl:"record_client_address,attr"` }
type QueryInsightsConfigAttributes ¶
type QueryInsightsConfigAttributes struct {
// contains filtered or unexported fields
}
func (QueryInsightsConfigAttributes) InternalRef ¶
func (qic QueryInsightsConfigAttributes) InternalRef() (terra.Reference, error)
func (QueryInsightsConfigAttributes) InternalTokens ¶
func (qic QueryInsightsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (QueryInsightsConfigAttributes) InternalWithRef ¶
func (qic QueryInsightsConfigAttributes) InternalWithRef(ref terra.Reference) QueryInsightsConfigAttributes
func (QueryInsightsConfigAttributes) QueryPlansPerMinute ¶
func (qic QueryInsightsConfigAttributes) QueryPlansPerMinute() terra.NumberValue
func (QueryInsightsConfigAttributes) QueryStringLength ¶
func (qic QueryInsightsConfigAttributes) QueryStringLength() terra.NumberValue
func (QueryInsightsConfigAttributes) RecordApplicationTags ¶
func (qic QueryInsightsConfigAttributes) RecordApplicationTags() terra.BoolValue
func (QueryInsightsConfigAttributes) RecordClientAddress ¶
func (qic QueryInsightsConfigAttributes) RecordClientAddress() terra.BoolValue
type ReadPoolConfig ¶
type ReadPoolConfig struct { // NodeCount: number, optional NodeCount terra.NumberValue `hcl:"node_count,attr"` }
type ReadPoolConfigAttributes ¶
type ReadPoolConfigAttributes struct {
// contains filtered or unexported fields
}
func (ReadPoolConfigAttributes) InternalRef ¶
func (rpc ReadPoolConfigAttributes) InternalRef() (terra.Reference, error)
func (ReadPoolConfigAttributes) InternalTokens ¶
func (rpc ReadPoolConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReadPoolConfigAttributes) InternalWithRef ¶
func (rpc ReadPoolConfigAttributes) InternalWithRef(ref terra.Reference) ReadPoolConfigAttributes
func (ReadPoolConfigAttributes) NodeCount ¶
func (rpc ReadPoolConfigAttributes) NodeCount() terra.NumberValue
type ReadPoolConfigState ¶
type ReadPoolConfigState struct {
NodeCount float64 `json:"node_count"`
}
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_instance.
func (*Resource) Attributes ¶
func (gai *Resource) Attributes() googleAlloydbInstanceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gai *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gai *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 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.