Documentation ¶
Index ¶
- type Args
- 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 ExpiryQuantityAttributes
- func (eq ExpiryQuantityAttributes) InternalRef() (terra.Reference, error)
- func (eq ExpiryQuantityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (eq ExpiryQuantityAttributes) InternalWithRef(ref terra.Reference) ExpiryQuantityAttributes
- func (eq ExpiryQuantityAttributes) RetentionCount() terra.NumberValue
- func (eq ExpiryQuantityAttributes) TotalRetentionCount() terra.NumberValue
- type ExpiryQuantityState
- type Resource
- func (gab *Resource) Attributes() googleAlloydbBackupAttributes
- func (gab *Resource) Configuration() interface{}
- func (gab *Resource) DependOn() terra.Reference
- func (gab *Resource) Dependencies() terra.Dependencies
- func (gab *Resource) ImportState(state io.Reader) error
- func (gab *Resource) LifecycleManagement() *terra.Lifecycle
- func (gab *Resource) LocalName() string
- func (gab *Resource) State() (*googleAlloydbBackupState, bool)
- func (gab *Resource) StateMust() *googleAlloydbBackupState
- func (gab *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"` // BackupId: string, required BackupId terra.StringValue `hcl:"backup_id,attr" validate:"required"` // ClusterName: string, required ClusterName terra.StringValue `hcl:"cluster_name,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,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"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // EncryptionConfig: optional EncryptionConfig *EncryptionConfig `hcl:"encryption_config,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_alloydb_backup.
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 ExpiryQuantityAttributes ¶
type ExpiryQuantityAttributes struct {
// contains filtered or unexported fields
}
func (ExpiryQuantityAttributes) InternalRef ¶
func (eq ExpiryQuantityAttributes) InternalRef() (terra.Reference, error)
func (ExpiryQuantityAttributes) InternalTokens ¶
func (eq ExpiryQuantityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ExpiryQuantityAttributes) InternalWithRef ¶
func (eq ExpiryQuantityAttributes) InternalWithRef(ref terra.Reference) ExpiryQuantityAttributes
func (ExpiryQuantityAttributes) RetentionCount ¶
func (eq ExpiryQuantityAttributes) RetentionCount() terra.NumberValue
func (ExpiryQuantityAttributes) TotalRetentionCount ¶
func (eq ExpiryQuantityAttributes) TotalRetentionCount() terra.NumberValue
type ExpiryQuantityState ¶
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_backup.
func (*Resource) Attributes ¶
func (gab *Resource) Attributes() googleAlloydbBackupAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gab *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gab *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.