Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=alloydb.gcp.upbound.io +versionName=v1beta2
Index ¶
- Constants
- Variables
- type AuthorizedExternalNetworksInitParameters
- type AuthorizedExternalNetworksObservation
- type AuthorizedExternalNetworksParameters
- type AutomatedBackupPolicyEncryptionConfigInitParameters
- type AutomatedBackupPolicyEncryptionConfigObservation
- type AutomatedBackupPolicyEncryptionConfigParameters
- type AutomatedBackupPolicyInitParameters
- type AutomatedBackupPolicyObservation
- type AutomatedBackupPolicyParameters
- type Backup
- func (in *Backup) DeepCopy() *Backup
- func (in *Backup) DeepCopyInto(out *Backup)
- func (in *Backup) DeepCopyObject() runtime.Object
- func (mg *Backup) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Backup) GetConnectionDetailsMapping() map[string]string
- func (mg *Backup) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Backup) GetID() string
- func (tr *Backup) GetInitParameters() (map[string]any, error)
- func (mg *Backup) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Backup) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Backup) GetObservation() (map[string]any, error)
- func (tr *Backup) GetParameters() (map[string]any, error)
- func (mg *Backup) GetProviderConfigReference() *xpv1.Reference
- func (mg *Backup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Backup) GetTerraformResourceType() string
- func (tr *Backup) GetTerraformSchemaVersion() int
- func (mg *Backup) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Backup) Hub()
- func (tr *Backup) LateInitialize(attrs []byte) (bool, error)
- func (mg *Backup) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Backup) SetConditions(c ...xpv1.Condition)
- func (mg *Backup) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Backup) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Backup) SetObservation(obs map[string]any) error
- func (tr *Backup) SetParameters(params map[string]any) error
- func (mg *Backup) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Backup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Backup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type BackupInitParameters
- type BackupList
- type BackupObservation
- type BackupParameters
- type BackupSourceInitParameters
- type BackupSourceObservation
- type BackupSourceParameters
- type BackupSpec
- type BackupStatus
- type ClientConnectionConfigInitParameters
- type ClientConnectionConfigObservation
- type ClientConnectionConfigParameters
- type Cluster
- func (in *Cluster) DeepCopy() *Cluster
- func (in *Cluster) DeepCopyInto(out *Cluster)
- func (in *Cluster) DeepCopyObject() runtime.Object
- func (mg *Cluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Cluster) GetConnectionDetailsMapping() map[string]string
- func (mg *Cluster) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Cluster) GetID() string
- func (tr *Cluster) GetInitParameters() (map[string]any, error)
- func (mg *Cluster) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Cluster) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Cluster) GetObservation() (map[string]any, error)
- func (tr *Cluster) GetParameters() (map[string]any, error)
- func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference
- func (mg *Cluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Cluster) GetTerraformResourceType() string
- func (tr *Cluster) GetTerraformSchemaVersion() int
- func (mg *Cluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Cluster) Hub()
- func (tr *Cluster) LateInitialize(attrs []byte) (bool, error)
- func (mg *Cluster) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Cluster) SetConditions(c ...xpv1.Condition)
- func (mg *Cluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Cluster) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Cluster) SetObservation(obs map[string]any) error
- func (tr *Cluster) SetParameters(params map[string]any) error
- func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Cluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Cluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ClusterEncryptionConfigInitParameters
- type ClusterEncryptionConfigObservation
- type ClusterEncryptionConfigParameters
- type ClusterEncryptionInfoInitParameters
- type ClusterEncryptionInfoObservation
- type ClusterEncryptionInfoParameters
- type ClusterInitParameters
- type ClusterList
- type ClusterObservation
- type ClusterParameters
- type ClusterSpec
- type ClusterStatus
- type ContinuousBackupConfigEncryptionConfigInitParameters
- type ContinuousBackupConfigEncryptionConfigObservation
- type ContinuousBackupConfigEncryptionConfigParameters
- type ContinuousBackupConfigInitParameters
- type ContinuousBackupConfigObservation
- type ContinuousBackupConfigParameters
- type ContinuousBackupInfoEncryptionInfoInitParameters
- type ContinuousBackupInfoEncryptionInfoObservation
- type ContinuousBackupInfoEncryptionInfoParameters
- type ContinuousBackupInfoInitParameters
- type ContinuousBackupInfoObservation
- type ContinuousBackupInfoParameters
- type EncryptionConfigInitParameters
- type EncryptionConfigObservation
- type EncryptionConfigParameters
- type EncryptionInfoInitParameters
- type EncryptionInfoObservation
- type EncryptionInfoParameters
- type ExpiryQuantityInitParameters
- type ExpiryQuantityObservation
- type ExpiryQuantityParameters
- type InitialUserInitParameters
- type InitialUserObservation
- type InitialUserParameters
- type Instance
- func (in *Instance) DeepCopy() *Instance
- func (in *Instance) DeepCopyInto(out *Instance)
- func (in *Instance) DeepCopyObject() runtime.Object
- func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Instance) GetConnectionDetailsMapping() map[string]string
- func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Instance) GetID() string
- func (tr *Instance) GetInitParameters() (map[string]any, error)
- func (mg *Instance) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Instance) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Instance) GetObservation() (map[string]any, error)
- func (tr *Instance) GetParameters() (map[string]any, error)
- func (mg *Instance) GetProviderConfigReference() *xpv1.Reference
- func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Instance) GetTerraformResourceType() string
- func (tr *Instance) GetTerraformSchemaVersion() int
- func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Instance) Hub()
- func (tr *Instance) LateInitialize(attrs []byte) (bool, error)
- func (mg *Instance) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Instance) SetConditions(c ...xpv1.Condition)
- func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Instance) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Instance) SetObservation(obs map[string]any) error
- func (tr *Instance) SetParameters(params map[string]any) error
- func (mg *Instance) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type InstanceInitParameters
- type InstanceList
- type InstanceNetworkConfigInitParameters
- type InstanceNetworkConfigObservation
- type InstanceNetworkConfigParameters
- type InstanceObservation
- type InstanceParameters
- type InstanceSpec
- type InstanceStatus
- type MachineConfigInitParameters
- type MachineConfigObservation
- type MachineConfigParameters
- type MaintenanceUpdatePolicyInitParameters
- type MaintenanceUpdatePolicyObservation
- type MaintenanceUpdatePolicyParameters
- type MaintenanceWindowsInitParameters
- type MaintenanceWindowsObservation
- type MaintenanceWindowsParameters
- type MigrationSourceInitParameters
- type MigrationSourceObservation
- type MigrationSourceParameters
- type NetworkConfigInitParameters
- type NetworkConfigObservation
- type NetworkConfigParameters
- type PscConfigInitParameters
- type PscConfigObservation
- type PscConfigParameters
- type PscInstanceConfigInitParameters
- type PscInstanceConfigObservation
- type PscInstanceConfigParameters
- type QuantityBasedRetentionInitParameters
- type QuantityBasedRetentionObservation
- type QuantityBasedRetentionParameters
- type QueryInsightsConfigInitParameters
- type QueryInsightsConfigObservation
- type QueryInsightsConfigParameters
- type ReadPoolConfigInitParameters
- type ReadPoolConfigObservation
- type ReadPoolConfigParameters
- type RestoreBackupSourceInitParameters
- type RestoreBackupSourceObservation
- type RestoreBackupSourceParameters
- type RestoreContinuousBackupSourceInitParameters
- type RestoreContinuousBackupSourceObservation
- type RestoreContinuousBackupSourceParameters
- type SSLConfigInitParameters
- type SSLConfigObservation
- type SSLConfigParameters
- type SecondaryConfigInitParameters
- type SecondaryConfigObservation
- type SecondaryConfigParameters
- type StartTimeInitParameters
- type StartTimeObservation
- type StartTimeParameters
- type StartTimesInitParameters
- type StartTimesObservation
- type StartTimesParameters
- type TimeBasedRetentionInitParameters
- type TimeBasedRetentionObservation
- type TimeBasedRetentionParameters
- type WeeklyScheduleInitParameters
- type WeeklyScheduleObservation
- type WeeklyScheduleParameters
Constants ¶
const ( CRDGroup = "alloydb.gcp.upbound.io" CRDVersion = "v1beta2" )
Package type metadata.
Variables ¶
var ( Backup_Kind = "Backup" Backup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Backup_Kind}.String() Backup_KindAPIVersion = Backup_Kind + "." + CRDGroupVersion.String() Backup_GroupVersionKind = CRDGroupVersion.WithKind(Backup_Kind) )
Repository type metadata.
var ( Cluster_Kind = "Cluster" Cluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Cluster_Kind}.String() Cluster_KindAPIVersion = Cluster_Kind + "." + CRDGroupVersion.String() Cluster_GroupVersionKind = CRDGroupVersion.WithKind(Cluster_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Instance_Kind = "Instance" Instance_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Instance_Kind}.String() Instance_KindAPIVersion = Instance_Kind + "." + CRDGroupVersion.String() Instance_GroupVersionKind = CRDGroupVersion.WithKind(Instance_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type AuthorizedExternalNetworksInitParameters ¶ added in v1.5.0
type AuthorizedExternalNetworksInitParameters struct { // CIDR range for one authorized network of the instance. CidrRange *string `json:"cidrRange,omitempty" tf:"cidr_range,omitempty"` }
func (*AuthorizedExternalNetworksInitParameters) DeepCopy ¶ added in v1.5.0
func (in *AuthorizedExternalNetworksInitParameters) DeepCopy() *AuthorizedExternalNetworksInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizedExternalNetworksInitParameters.
func (*AuthorizedExternalNetworksInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *AuthorizedExternalNetworksInitParameters) DeepCopyInto(out *AuthorizedExternalNetworksInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizedExternalNetworksObservation ¶ added in v1.5.0
type AuthorizedExternalNetworksObservation struct { // CIDR range for one authorized network of the instance. CidrRange *string `json:"cidrRange,omitempty" tf:"cidr_range,omitempty"` }
func (*AuthorizedExternalNetworksObservation) DeepCopy ¶ added in v1.5.0
func (in *AuthorizedExternalNetworksObservation) DeepCopy() *AuthorizedExternalNetworksObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizedExternalNetworksObservation.
func (*AuthorizedExternalNetworksObservation) DeepCopyInto ¶ added in v1.5.0
func (in *AuthorizedExternalNetworksObservation) DeepCopyInto(out *AuthorizedExternalNetworksObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizedExternalNetworksParameters ¶ added in v1.5.0
type AuthorizedExternalNetworksParameters struct { // CIDR range for one authorized network of the instance. // +kubebuilder:validation:Optional CidrRange *string `json:"cidrRange,omitempty" tf:"cidr_range,omitempty"` }
func (*AuthorizedExternalNetworksParameters) DeepCopy ¶ added in v1.5.0
func (in *AuthorizedExternalNetworksParameters) DeepCopy() *AuthorizedExternalNetworksParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizedExternalNetworksParameters.
func (*AuthorizedExternalNetworksParameters) DeepCopyInto ¶ added in v1.5.0
func (in *AuthorizedExternalNetworksParameters) DeepCopyInto(out *AuthorizedExternalNetworksParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutomatedBackupPolicyEncryptionConfigInitParameters ¶
type AutomatedBackupPolicyEncryptionConfigInitParameters struct { // The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]. KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` }
func (*AutomatedBackupPolicyEncryptionConfigInitParameters) DeepCopy ¶
func (in *AutomatedBackupPolicyEncryptionConfigInitParameters) DeepCopy() *AutomatedBackupPolicyEncryptionConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomatedBackupPolicyEncryptionConfigInitParameters.
func (*AutomatedBackupPolicyEncryptionConfigInitParameters) DeepCopyInto ¶
func (in *AutomatedBackupPolicyEncryptionConfigInitParameters) DeepCopyInto(out *AutomatedBackupPolicyEncryptionConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutomatedBackupPolicyEncryptionConfigObservation ¶
type AutomatedBackupPolicyEncryptionConfigObservation struct { // The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]. KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` }
func (*AutomatedBackupPolicyEncryptionConfigObservation) DeepCopy ¶
func (in *AutomatedBackupPolicyEncryptionConfigObservation) DeepCopy() *AutomatedBackupPolicyEncryptionConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomatedBackupPolicyEncryptionConfigObservation.
func (*AutomatedBackupPolicyEncryptionConfigObservation) DeepCopyInto ¶
func (in *AutomatedBackupPolicyEncryptionConfigObservation) DeepCopyInto(out *AutomatedBackupPolicyEncryptionConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutomatedBackupPolicyEncryptionConfigParameters ¶
type AutomatedBackupPolicyEncryptionConfigParameters struct { // The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]. // +kubebuilder:validation:Optional KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` }
func (*AutomatedBackupPolicyEncryptionConfigParameters) DeepCopy ¶
func (in *AutomatedBackupPolicyEncryptionConfigParameters) DeepCopy() *AutomatedBackupPolicyEncryptionConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomatedBackupPolicyEncryptionConfigParameters.
func (*AutomatedBackupPolicyEncryptionConfigParameters) DeepCopyInto ¶
func (in *AutomatedBackupPolicyEncryptionConfigParameters) DeepCopyInto(out *AutomatedBackupPolicyEncryptionConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutomatedBackupPolicyInitParameters ¶
type AutomatedBackupPolicyInitParameters struct { // The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. // The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". BackupWindow *string `json:"backupWindow,omitempty" tf:"backup_window,omitempty"` // Whether automated backups are enabled. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). // Structure is documented below. EncryptionConfig *AutomatedBackupPolicyEncryptionConfigInitParameters `json:"encryptionConfig,omitempty" tf:"encryption_config,omitempty"` // Labels to apply to backups created using this configuration. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // Quantity-based Backup retention policy to retain recent backups. Conflicts with 'time_based_retention', both can't be set together. // Structure is documented below. QuantityBasedRetention *QuantityBasedRetentionInitParameters `json:"quantityBasedRetention,omitempty" tf:"quantity_based_retention,omitempty"` // Time-based Backup retention policy. Conflicts with 'quantity_based_retention', both can't be set together. // Structure is documented below. TimeBasedRetention *TimeBasedRetentionInitParameters `json:"timeBasedRetention,omitempty" tf:"time_based_retention,omitempty"` // Weekly schedule for the Backup. // Structure is documented below. WeeklySchedule *WeeklyScheduleInitParameters `json:"weeklySchedule,omitempty" tf:"weekly_schedule,omitempty"` }
func (*AutomatedBackupPolicyInitParameters) DeepCopy ¶
func (in *AutomatedBackupPolicyInitParameters) DeepCopy() *AutomatedBackupPolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomatedBackupPolicyInitParameters.
func (*AutomatedBackupPolicyInitParameters) DeepCopyInto ¶
func (in *AutomatedBackupPolicyInitParameters) DeepCopyInto(out *AutomatedBackupPolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutomatedBackupPolicyObservation ¶
type AutomatedBackupPolicyObservation struct { // The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. // The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". BackupWindow *string `json:"backupWindow,omitempty" tf:"backup_window,omitempty"` // Whether automated backups are enabled. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). // Structure is documented below. EncryptionConfig *AutomatedBackupPolicyEncryptionConfigObservation `json:"encryptionConfig,omitempty" tf:"encryption_config,omitempty"` // Labels to apply to backups created using this configuration. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. Location *string `json:"location,omitempty" tf:"location,omitempty"` // Quantity-based Backup retention policy to retain recent backups. Conflicts with 'time_based_retention', both can't be set together. // Structure is documented below. QuantityBasedRetention *QuantityBasedRetentionObservation `json:"quantityBasedRetention,omitempty" tf:"quantity_based_retention,omitempty"` // Time-based Backup retention policy. Conflicts with 'quantity_based_retention', both can't be set together. // Structure is documented below. TimeBasedRetention *TimeBasedRetentionObservation `json:"timeBasedRetention,omitempty" tf:"time_based_retention,omitempty"` // Weekly schedule for the Backup. // Structure is documented below. WeeklySchedule *WeeklyScheduleObservation `json:"weeklySchedule,omitempty" tf:"weekly_schedule,omitempty"` }
func (*AutomatedBackupPolicyObservation) DeepCopy ¶
func (in *AutomatedBackupPolicyObservation) DeepCopy() *AutomatedBackupPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomatedBackupPolicyObservation.
func (*AutomatedBackupPolicyObservation) DeepCopyInto ¶
func (in *AutomatedBackupPolicyObservation) DeepCopyInto(out *AutomatedBackupPolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutomatedBackupPolicyParameters ¶
type AutomatedBackupPolicyParameters struct { // The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. // The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". // +kubebuilder:validation:Optional BackupWindow *string `json:"backupWindow,omitempty" tf:"backup_window,omitempty"` // Whether automated backups are enabled. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). // Structure is documented below. // +kubebuilder:validation:Optional EncryptionConfig *AutomatedBackupPolicyEncryptionConfigParameters `json:"encryptionConfig,omitempty" tf:"encryption_config,omitempty"` // Labels to apply to backups created using this configuration. // +kubebuilder:validation:Optional // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // Quantity-based Backup retention policy to retain recent backups. Conflicts with 'time_based_retention', both can't be set together. // Structure is documented below. // +kubebuilder:validation:Optional QuantityBasedRetention *QuantityBasedRetentionParameters `json:"quantityBasedRetention,omitempty" tf:"quantity_based_retention,omitempty"` // Time-based Backup retention policy. Conflicts with 'quantity_based_retention', both can't be set together. // Structure is documented below. // +kubebuilder:validation:Optional TimeBasedRetention *TimeBasedRetentionParameters `json:"timeBasedRetention,omitempty" tf:"time_based_retention,omitempty"` // Weekly schedule for the Backup. // Structure is documented below. // +kubebuilder:validation:Optional WeeklySchedule *WeeklyScheduleParameters `json:"weeklySchedule,omitempty" tf:"weekly_schedule,omitempty"` }
func (*AutomatedBackupPolicyParameters) DeepCopy ¶
func (in *AutomatedBackupPolicyParameters) DeepCopy() *AutomatedBackupPolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomatedBackupPolicyParameters.
func (*AutomatedBackupPolicyParameters) DeepCopyInto ¶
func (in *AutomatedBackupPolicyParameters) DeepCopyInto(out *AutomatedBackupPolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Backup ¶
type Backup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BackupSpec `json:"spec"` Status BackupStatus `json:"status,omitempty"` }
Backup is the Schema for the Backups API. An AlloyDB Backup. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}
func (*Backup) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backup.
func (*Backup) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Backup) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Backup) GetCondition ¶
func (mg *Backup) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Backup.
func (*Backup) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Backup
func (*Backup) GetDeletionPolicy ¶
func (mg *Backup) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Backup.
func (*Backup) GetInitParameters ¶
GetInitParameters of this Backup
func (*Backup) GetManagementPolicies ¶
func (mg *Backup) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Backup.
func (*Backup) GetMergedParameters ¶
GetInitParameters of this Backup
func (*Backup) GetObservation ¶
GetObservation of this Backup
func (*Backup) GetParameters ¶
GetParameters of this Backup
func (*Backup) GetProviderConfigReference ¶
GetProviderConfigReference of this Backup.
func (*Backup) GetPublishConnectionDetailsTo ¶
func (mg *Backup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Backup.
func (*Backup) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Backup
func (*Backup) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Backup) GetWriteConnectionSecretToReference ¶
func (mg *Backup) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Backup.
func (*Backup) LateInitialize ¶
LateInitialize this Backup using its observed tfState. returns True if there are any spec changes for the resource.
func (*Backup) ResolveReferences ¶
func (*Backup) SetConditions ¶
SetConditions of this Backup.
func (*Backup) SetDeletionPolicy ¶
func (mg *Backup) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Backup.
func (*Backup) SetManagementPolicies ¶
func (mg *Backup) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Backup.
func (*Backup) SetObservation ¶
SetObservation for this Backup
func (*Backup) SetParameters ¶
SetParameters for this Backup
func (*Backup) SetProviderConfigReference ¶
SetProviderConfigReference of this Backup.
func (*Backup) SetPublishConnectionDetailsTo ¶
func (mg *Backup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Backup.
func (*Backup) SetWriteConnectionSecretToReference ¶
func (mg *Backup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Backup.
type BackupInitParameters ¶
type BackupInitParameters struct { // Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128 // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // +mapType=granular Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` // The full resource name of the backup source cluster (e.g., projects/{project}/locations/{location}/clusters/{clusterId}). // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/alloydb/v1beta2.Cluster // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",true) ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"` // Reference to a Cluster in alloydb to populate clusterName. // +kubebuilder:validation:Optional ClusterNameRef *v1.Reference `json:"clusterNameRef,omitempty" tf:"-"` // Selector for a Cluster in alloydb to populate clusterName. // +kubebuilder:validation:Optional ClusterNameSelector *v1.Selector `json:"clusterNameSelector,omitempty" tf:"-"` // User-provided description of the backup. Description *string `json:"description,omitempty" tf:"description,omitempty"` // User-settable and human-readable display name for the Backup. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). // Structure is documented below. EncryptionConfig *EncryptionConfigInitParameters `json:"encryptionConfig,omitempty" tf:"encryption_config,omitempty"` // User-defined labels for the alloydb backup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // The backup type, which suggests the trigger for the backup. // Possible values are: TYPE_UNSPECIFIED, ON_DEMAND, AUTOMATED, CONTINUOUS. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*BackupInitParameters) DeepCopy ¶
func (in *BackupInitParameters) DeepCopy() *BackupInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupInitParameters.
func (*BackupInitParameters) DeepCopyInto ¶
func (in *BackupInitParameters) DeepCopyInto(out *BackupInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupList ¶
type BackupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Backup `json:"items"` }
BackupList contains a list of Backups
func (*BackupList) DeepCopy ¶
func (in *BackupList) DeepCopy() *BackupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupList.
func (*BackupList) DeepCopyInto ¶
func (in *BackupList) DeepCopyInto(out *BackupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupList) DeepCopyObject ¶
func (in *BackupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupList) GetItems ¶
func (l *BackupList) GetItems() []resource.Managed
GetItems of this BackupList.
type BackupObservation ¶
type BackupObservation struct { // Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128 // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // +mapType=granular Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` // The full resource name of the backup source cluster (e.g., projects/{project}/locations/{location}/clusters/{clusterId}). ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"` // Output only. The system-generated UID of the cluster which was used to create this resource. ClusterUID *string `json:"clusterUid,omitempty" tf:"cluster_uid,omitempty"` // Output only. Create time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. // Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // Output only. Delete time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. // Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". DeleteTime *string `json:"deleteTime,omitempty" tf:"delete_time,omitempty"` // User-provided description of the backup. Description *string `json:"description,omitempty" tf:"description,omitempty"` // User-settable and human-readable display name for the Backup. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // for all of the annotations present on the resource. // +mapType=granular EffectiveAnnotations map[string]*string `json:"effectiveAnnotations,omitempty" tf:"effective_annotations,omitempty"` // for all of the labels present on the resource. // +mapType=granular EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,omitempty"` // EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). // Structure is documented below. EncryptionConfig *EncryptionConfigObservation `json:"encryptionConfig,omitempty" tf:"encryption_config,omitempty"` // EncryptionInfo describes the encryption information of a cluster or a backup. // Structure is documented below. EncryptionInfo []EncryptionInfoObservation `json:"encryptionInfo,omitempty" tf:"encryption_info,omitempty"` // For Resource freshness validation (https://google.aip.dev/154) Etag *string `json:"etag,omitempty" tf:"etag,omitempty"` // Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy. // Once the expiry quantity is over retention, the backup is eligible to be garbage collected. // Structure is documented below. ExpiryQuantity []ExpiryQuantityObservation `json:"expiryQuantity,omitempty" tf:"expiry_quantity,omitempty"` // Output only. The time at which after the backup is eligible to be garbage collected. // It is the duration specified by the backup's retention policy, added to the backup's createTime. ExpiryTime *string `json:"expiryTime,omitempty" tf:"expiry_time,omitempty"` // an identifier for the resource with format projects/{{project}}/locations/{{location}}/backups/{{backup_id}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // User-defined labels for the alloydb backup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // The location where the alloydb backup should reside. Location *string `json:"location,omitempty" tf:"location,omitempty"` // Output only. The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backupId} Name *string `json:"name,omitempty" tf:"name,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // Output only. Reconciling (https://google.aip.dev/128#reconciliation), if true, indicates that the service is actively updating the resource. // This can happen due to user-triggered updates or system actions like failover or maintenance. Reconciling *bool `json:"reconciling,omitempty" tf:"reconciling,omitempty"` // Output only. The size of the backup in bytes. SizeBytes *string `json:"sizeBytes,omitempty" tf:"size_bytes,omitempty"` // Output only. The current state of the backup. State *string `json:"state,omitempty" tf:"state,omitempty"` // The combination of labels configured directly on the resource // and default labels configured on the provider. // +mapType=granular TerraformLabels map[string]*string `json:"terraformLabels,omitempty" tf:"terraform_labels,omitempty"` // The backup type, which suggests the trigger for the backup. // Possible values are: TYPE_UNSPECIFIED, ON_DEMAND, AUTOMATED, CONTINUOUS. Type *string `json:"type,omitempty" tf:"type,omitempty"` // Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // Output only. Update time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. // Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"` }
func (*BackupObservation) DeepCopy ¶
func (in *BackupObservation) DeepCopy() *BackupObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupObservation.
func (*BackupObservation) DeepCopyInto ¶
func (in *BackupObservation) DeepCopyInto(out *BackupObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupParameters ¶
type BackupParameters struct { // Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128 // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // +kubebuilder:validation:Optional // +mapType=granular Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` // The full resource name of the backup source cluster (e.g., projects/{project}/locations/{location}/clusters/{clusterId}). // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/alloydb/v1beta2.Cluster // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",true) // +kubebuilder:validation:Optional ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"` // Reference to a Cluster in alloydb to populate clusterName. // +kubebuilder:validation:Optional ClusterNameRef *v1.Reference `json:"clusterNameRef,omitempty" tf:"-"` // Selector for a Cluster in alloydb to populate clusterName. // +kubebuilder:validation:Optional ClusterNameSelector *v1.Selector `json:"clusterNameSelector,omitempty" tf:"-"` // User-provided description of the backup. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // User-settable and human-readable display name for the Backup. // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). // Structure is documented below. // +kubebuilder:validation:Optional EncryptionConfig *EncryptionConfigParameters `json:"encryptionConfig,omitempty" tf:"encryption_config,omitempty"` // User-defined labels for the alloydb backup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // +kubebuilder:validation:Optional // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // The location where the alloydb backup should reside. // +kubebuilder:validation:Required Location *string `json:"location" tf:"location,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // The backup type, which suggests the trigger for the backup. // Possible values are: TYPE_UNSPECIFIED, ON_DEMAND, AUTOMATED, CONTINUOUS. // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*BackupParameters) DeepCopy ¶
func (in *BackupParameters) DeepCopy() *BackupParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupParameters.
func (*BackupParameters) DeepCopyInto ¶
func (in *BackupParameters) DeepCopyInto(out *BackupParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupSourceInitParameters ¶
type BackupSourceInitParameters struct { }
func (*BackupSourceInitParameters) DeepCopy ¶
func (in *BackupSourceInitParameters) DeepCopy() *BackupSourceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSourceInitParameters.
func (*BackupSourceInitParameters) DeepCopyInto ¶
func (in *BackupSourceInitParameters) DeepCopyInto(out *BackupSourceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupSourceObservation ¶
type BackupSourceObservation struct { // The name of the backup resource. BackupName *string `json:"backupName,omitempty" tf:"backup_name,omitempty"` }
func (*BackupSourceObservation) DeepCopy ¶
func (in *BackupSourceObservation) DeepCopy() *BackupSourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSourceObservation.
func (*BackupSourceObservation) DeepCopyInto ¶
func (in *BackupSourceObservation) DeepCopyInto(out *BackupSourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupSourceParameters ¶
type BackupSourceParameters struct { }
func (*BackupSourceParameters) DeepCopy ¶
func (in *BackupSourceParameters) DeepCopy() *BackupSourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSourceParameters.
func (*BackupSourceParameters) DeepCopyInto ¶
func (in *BackupSourceParameters) DeepCopyInto(out *BackupSourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupSpec ¶
type BackupSpec struct { v1.ResourceSpec `json:",inline"` ForProvider BackupParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider BackupInitParameters `json:"initProvider,omitempty"` }
BackupSpec defines the desired state of Backup
func (*BackupSpec) DeepCopy ¶
func (in *BackupSpec) DeepCopy() *BackupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSpec.
func (*BackupSpec) DeepCopyInto ¶
func (in *BackupSpec) DeepCopyInto(out *BackupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupStatus ¶
type BackupStatus struct { v1.ResourceStatus `json:",inline"` AtProvider BackupObservation `json:"atProvider,omitempty"` }
BackupStatus defines the observed state of Backup.
func (*BackupStatus) DeepCopy ¶
func (in *BackupStatus) DeepCopy() *BackupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStatus.
func (*BackupStatus) DeepCopyInto ¶
func (in *BackupStatus) DeepCopyInto(out *BackupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClientConnectionConfigInitParameters ¶
type ClientConnectionConfigInitParameters struct { // Configuration to enforce connectors only (ex: AuthProxy) connections to the database. RequireConnectors *bool `json:"requireConnectors,omitempty" tf:"require_connectors,omitempty"` // SSL config option for this instance. // Structure is documented below. SSLConfig *SSLConfigInitParameters `json:"sslConfig,omitempty" tf:"ssl_config,omitempty"` }
func (*ClientConnectionConfigInitParameters) DeepCopy ¶
func (in *ClientConnectionConfigInitParameters) DeepCopy() *ClientConnectionConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfigInitParameters.
func (*ClientConnectionConfigInitParameters) DeepCopyInto ¶
func (in *ClientConnectionConfigInitParameters) DeepCopyInto(out *ClientConnectionConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClientConnectionConfigObservation ¶
type ClientConnectionConfigObservation struct { // Configuration to enforce connectors only (ex: AuthProxy) connections to the database. RequireConnectors *bool `json:"requireConnectors,omitempty" tf:"require_connectors,omitempty"` // SSL config option for this instance. // Structure is documented below. SSLConfig *SSLConfigObservation `json:"sslConfig,omitempty" tf:"ssl_config,omitempty"` }
func (*ClientConnectionConfigObservation) DeepCopy ¶
func (in *ClientConnectionConfigObservation) DeepCopy() *ClientConnectionConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfigObservation.
func (*ClientConnectionConfigObservation) DeepCopyInto ¶
func (in *ClientConnectionConfigObservation) DeepCopyInto(out *ClientConnectionConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClientConnectionConfigParameters ¶
type ClientConnectionConfigParameters struct { // Configuration to enforce connectors only (ex: AuthProxy) connections to the database. // +kubebuilder:validation:Optional RequireConnectors *bool `json:"requireConnectors,omitempty" tf:"require_connectors,omitempty"` // SSL config option for this instance. // Structure is documented below. // +kubebuilder:validation:Optional SSLConfig *SSLConfigParameters `json:"sslConfig,omitempty" tf:"ssl_config,omitempty"` }
func (*ClientConnectionConfigParameters) DeepCopy ¶
func (in *ClientConnectionConfigParameters) DeepCopy() *ClientConnectionConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfigParameters.
func (*ClientConnectionConfigParameters) DeepCopyInto ¶
func (in *ClientConnectionConfigParameters) DeepCopyInto(out *ClientConnectionConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cluster ¶
type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSpec `json:"spec"` Status ClusterStatus `json:"status,omitempty"` }
Cluster is the Schema for the Clusters API. A managed alloydb cluster. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Cluster) GetCondition ¶
func (mg *Cluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Cluster.
func (*Cluster) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Cluster
func (*Cluster) GetDeletionPolicy ¶
func (mg *Cluster) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Cluster.
func (*Cluster) GetInitParameters ¶
GetInitParameters of this Cluster
func (*Cluster) GetManagementPolicies ¶
func (mg *Cluster) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Cluster.
func (*Cluster) GetMergedParameters ¶
GetInitParameters of this Cluster
func (*Cluster) GetObservation ¶
GetObservation of this Cluster
func (*Cluster) GetParameters ¶
GetParameters of this Cluster
func (*Cluster) GetProviderConfigReference ¶
GetProviderConfigReference of this Cluster.
func (*Cluster) GetPublishConnectionDetailsTo ¶
func (mg *Cluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Cluster.
func (*Cluster) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Cluster
func (*Cluster) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Cluster) GetWriteConnectionSecretToReference ¶
func (mg *Cluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Cluster.
func (*Cluster) LateInitialize ¶
LateInitialize this Cluster using its observed tfState. returns True if there are any spec changes for the resource.
func (*Cluster) ResolveReferences ¶
ResolveReferences of this Cluster.
func (*Cluster) SetConditions ¶
SetConditions of this Cluster.
func (*Cluster) SetDeletionPolicy ¶
func (mg *Cluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Cluster.
func (*Cluster) SetManagementPolicies ¶
func (mg *Cluster) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Cluster.
func (*Cluster) SetObservation ¶
SetObservation for this Cluster
func (*Cluster) SetParameters ¶
SetParameters for this Cluster
func (*Cluster) SetProviderConfigReference ¶
SetProviderConfigReference of this Cluster.
func (*Cluster) SetPublishConnectionDetailsTo ¶
func (mg *Cluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Cluster.
func (*Cluster) SetWriteConnectionSecretToReference ¶
func (mg *Cluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Cluster.
type ClusterEncryptionConfigInitParameters ¶
type ClusterEncryptionConfigInitParameters struct { // The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]. KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` }
func (*ClusterEncryptionConfigInitParameters) DeepCopy ¶
func (in *ClusterEncryptionConfigInitParameters) DeepCopy() *ClusterEncryptionConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEncryptionConfigInitParameters.
func (*ClusterEncryptionConfigInitParameters) DeepCopyInto ¶
func (in *ClusterEncryptionConfigInitParameters) DeepCopyInto(out *ClusterEncryptionConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterEncryptionConfigObservation ¶
type ClusterEncryptionConfigObservation struct { // The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]. KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` }
func (*ClusterEncryptionConfigObservation) DeepCopy ¶
func (in *ClusterEncryptionConfigObservation) DeepCopy() *ClusterEncryptionConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEncryptionConfigObservation.
func (*ClusterEncryptionConfigObservation) DeepCopyInto ¶
func (in *ClusterEncryptionConfigObservation) DeepCopyInto(out *ClusterEncryptionConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterEncryptionConfigParameters ¶
type ClusterEncryptionConfigParameters struct { // The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]. // +kubebuilder:validation:Optional KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` }
func (*ClusterEncryptionConfigParameters) DeepCopy ¶
func (in *ClusterEncryptionConfigParameters) DeepCopy() *ClusterEncryptionConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEncryptionConfigParameters.
func (*ClusterEncryptionConfigParameters) DeepCopyInto ¶
func (in *ClusterEncryptionConfigParameters) DeepCopyInto(out *ClusterEncryptionConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterEncryptionInfoInitParameters ¶
type ClusterEncryptionInfoInitParameters struct { }
func (*ClusterEncryptionInfoInitParameters) DeepCopy ¶
func (in *ClusterEncryptionInfoInitParameters) DeepCopy() *ClusterEncryptionInfoInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEncryptionInfoInitParameters.
func (*ClusterEncryptionInfoInitParameters) DeepCopyInto ¶
func (in *ClusterEncryptionInfoInitParameters) DeepCopyInto(out *ClusterEncryptionInfoInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterEncryptionInfoObservation ¶
type ClusterEncryptionInfoObservation struct { // (Output) // Output only. Type of encryption. EncryptionType *string `json:"encryptionType,omitempty" tf:"encryption_type,omitempty"` // (Output) // Output only. Cloud KMS key versions that are being used to protect the database or the backup. KMSKeyVersions []*string `json:"kmsKeyVersions,omitempty" tf:"kms_key_versions,omitempty"` }
func (*ClusterEncryptionInfoObservation) DeepCopy ¶
func (in *ClusterEncryptionInfoObservation) DeepCopy() *ClusterEncryptionInfoObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEncryptionInfoObservation.
func (*ClusterEncryptionInfoObservation) DeepCopyInto ¶
func (in *ClusterEncryptionInfoObservation) DeepCopyInto(out *ClusterEncryptionInfoObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterEncryptionInfoParameters ¶
type ClusterEncryptionInfoParameters struct { }
func (*ClusterEncryptionInfoParameters) DeepCopy ¶
func (in *ClusterEncryptionInfoParameters) DeepCopy() *ClusterEncryptionInfoParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEncryptionInfoParameters.
func (*ClusterEncryptionInfoParameters) DeepCopyInto ¶
func (in *ClusterEncryptionInfoParameters) DeepCopyInto(out *ClusterEncryptionInfoParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterInitParameters ¶
type ClusterInitParameters struct { // Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128 // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // +mapType=granular Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` // The automated backup policy for this cluster. AutomatedBackupPolicy is disabled by default. // Structure is documented below. AutomatedBackupPolicy *AutomatedBackupPolicyInitParameters `json:"automatedBackupPolicy,omitempty" tf:"automated_backup_policy,omitempty"` // The type of cluster. If not set, defaults to PRIMARY. // Default value is PRIMARY. // Possible values are: PRIMARY, SECONDARY. ClusterType *string `json:"clusterType,omitempty" tf:"cluster_type,omitempty"` // The continuous backup config for this cluster. // If no policy is provided then the default policy will be used. The default policy takes one backup a day and retains backups for 14 days. // Structure is documented below. ContinuousBackupConfig *ContinuousBackupConfigInitParameters `json:"continuousBackupConfig,omitempty" tf:"continuous_backup_config,omitempty"` // The database engine major version. This is an optional field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation. DatabaseVersion *string `json:"databaseVersion,omitempty" tf:"database_version,omitempty"` // Policy to determine if the cluster should be deleted forcefully. // Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster. // Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance. DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"` // User-settable and human-readable display name for the Cluster. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). // Structure is documented below. EncryptionConfig *ClusterEncryptionConfigInitParameters `json:"encryptionConfig,omitempty" tf:"encryption_config,omitempty"` // For Resource freshness validation (https://google.aip.dev/154) Etag *string `json:"etag,omitempty" tf:"etag,omitempty"` // Initial user to setup during cluster creation. // Structure is documented below. InitialUser *InitialUserInitParameters `json:"initialUser,omitempty" tf:"initial_user,omitempty"` // User-defined labels for the alloydb cluster. // Note: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field effective_labels for all of the labels present on the resource. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // MaintenanceUpdatePolicy defines the policy for system updates. // Structure is documented below. MaintenanceUpdatePolicy *MaintenanceUpdatePolicyInitParameters `json:"maintenanceUpdatePolicy,omitempty" tf:"maintenance_update_policy,omitempty"` // The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form: // "projects/{projectNumber}/global/networks/{network_id}". // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() Network *string `json:"network,omitempty" tf:"network,omitempty"` // Metadata related to network configuration. // Structure is documented below. NetworkConfig *NetworkConfigInitParameters `json:"networkConfig,omitempty" tf:"network_config,omitempty"` // Reference to a Network in compute to populate network. // +kubebuilder:validation:Optional NetworkRef *v1.Reference `json:"networkRef,omitempty" tf:"-"` // Selector for a Network in compute to populate network. // +kubebuilder:validation:Optional NetworkSelector *v1.Selector `json:"networkSelector,omitempty" tf:"-"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // Configuration for Private Service Connect (PSC) for the cluster. // Structure is documented below. PscConfig *PscConfigInitParameters `json:"pscConfig,omitempty" tf:"psc_config,omitempty"` // The source when restoring from a backup. Conflicts with 'restore_continuous_backup_source', both can't be set together. // Structure is documented below. RestoreBackupSource *RestoreBackupSourceInitParameters `json:"restoreBackupSource,omitempty" tf:"restore_backup_source,omitempty"` // The source when restoring via point in time recovery (PITR). Conflicts with 'restore_backup_source', both can't be set together. // Structure is documented below. RestoreContinuousBackupSource *RestoreContinuousBackupSourceInitParameters `json:"restoreContinuousBackupSource,omitempty" tf:"restore_continuous_backup_source,omitempty"` // Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY. // Structure is documented below. SecondaryConfig *SecondaryConfigInitParameters `json:"secondaryConfig,omitempty" tf:"secondary_config,omitempty"` }
func (*ClusterInitParameters) DeepCopy ¶
func (in *ClusterInitParameters) DeepCopy() *ClusterInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInitParameters.
func (*ClusterInitParameters) DeepCopyInto ¶
func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterList ¶
type ClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Cluster `json:"items"` }
ClusterList contains a list of Clusters
func (*ClusterList) DeepCopy ¶
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶
func (in *ClusterList) DeepCopyInto(out *ClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterList) DeepCopyObject ¶
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterList) GetItems ¶
func (l *ClusterList) GetItems() []resource.Managed
GetItems of this ClusterList.
type ClusterObservation ¶
type ClusterObservation struct { // Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128 // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // +mapType=granular Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` // The automated backup policy for this cluster. AutomatedBackupPolicy is disabled by default. // Structure is documented below. AutomatedBackupPolicy *AutomatedBackupPolicyObservation `json:"automatedBackupPolicy,omitempty" tf:"automated_backup_policy,omitempty"` // Cluster created from backup. // Structure is documented below. BackupSource []BackupSourceObservation `json:"backupSource,omitempty" tf:"backup_source,omitempty"` // The type of cluster. If not set, defaults to PRIMARY. // Default value is PRIMARY. // Possible values are: PRIMARY, SECONDARY. ClusterType *string `json:"clusterType,omitempty" tf:"cluster_type,omitempty"` // The continuous backup config for this cluster. // If no policy is provided then the default policy will be used. The default policy takes one backup a day and retains backups for 14 days. // Structure is documented below. ContinuousBackupConfig *ContinuousBackupConfigObservation `json:"continuousBackupConfig,omitempty" tf:"continuous_backup_config,omitempty"` // ContinuousBackupInfo describes the continuous backup properties of a cluster. // Structure is documented below. ContinuousBackupInfo []ContinuousBackupInfoObservation `json:"continuousBackupInfo,omitempty" tf:"continuous_backup_info,omitempty"` // The database engine major version. This is an optional field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation. DatabaseVersion *string `json:"databaseVersion,omitempty" tf:"database_version,omitempty"` // Policy to determine if the cluster should be deleted forcefully. // Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster. // Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance. DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"` // User-settable and human-readable display name for the Cluster. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // for all of the annotations present on the resource. // +mapType=granular EffectiveAnnotations map[string]*string `json:"effectiveAnnotations,omitempty" tf:"effective_annotations,omitempty"` // +mapType=granular EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,omitempty"` // EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). // Structure is documented below. EncryptionConfig *ClusterEncryptionConfigObservation `json:"encryptionConfig,omitempty" tf:"encryption_config,omitempty"` // EncryptionInfo describes the encryption information of a cluster or a backup. // Structure is documented below. EncryptionInfo []ClusterEncryptionInfoObservation `json:"encryptionInfo,omitempty" tf:"encryption_info,omitempty"` // For Resource freshness validation (https://google.aip.dev/154) Etag *string `json:"etag,omitempty" tf:"etag,omitempty"` // an identifier for the resource with format projects/{{project}}/locations/{{location}}/clusters/{{cluster_id}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // Initial user to setup during cluster creation. // Structure is documented below. InitialUser *InitialUserObservation `json:"initialUser,omitempty" tf:"initial_user,omitempty"` // User-defined labels for the alloydb cluster. // Note: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field effective_labels for all of the labels present on the resource. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // The location where the alloydb cluster should reside. Location *string `json:"location,omitempty" tf:"location,omitempty"` // MaintenanceUpdatePolicy defines the policy for system updates. // Structure is documented below. MaintenanceUpdatePolicy *MaintenanceUpdatePolicyObservation `json:"maintenanceUpdatePolicy,omitempty" tf:"maintenance_update_policy,omitempty"` // Cluster created via DMS migration. // Structure is documented below. MigrationSource []MigrationSourceObservation `json:"migrationSource,omitempty" tf:"migration_source,omitempty"` // The name of the cluster resource. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form: // "projects/{projectNumber}/global/networks/{network_id}". Network *string `json:"network,omitempty" tf:"network,omitempty"` // Metadata related to network configuration. // Structure is documented below. NetworkConfig *NetworkConfigObservation `json:"networkConfig,omitempty" tf:"network_config,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // Configuration for Private Service Connect (PSC) for the cluster. // Structure is documented below. PscConfig *PscConfigObservation `json:"pscConfig,omitempty" tf:"psc_config,omitempty"` // Output only. Reconciling (https://google.aip.dev/128#reconciliation). // Set to true if the current state of Cluster does not match the user's intended state, and the service is actively updating the resource to reconcile them. // This can happen due to user-triggered updates or system actions like failover or maintenance. Reconciling *bool `json:"reconciling,omitempty" tf:"reconciling,omitempty"` // The source when restoring from a backup. Conflicts with 'restore_continuous_backup_source', both can't be set together. // Structure is documented below. RestoreBackupSource *RestoreBackupSourceObservation `json:"restoreBackupSource,omitempty" tf:"restore_backup_source,omitempty"` // The source when restoring via point in time recovery (PITR). Conflicts with 'restore_backup_source', both can't be set together. // Structure is documented below. RestoreContinuousBackupSource *RestoreContinuousBackupSourceObservation `json:"restoreContinuousBackupSource,omitempty" tf:"restore_continuous_backup_source,omitempty"` // Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY. // Structure is documented below. SecondaryConfig *SecondaryConfigObservation `json:"secondaryConfig,omitempty" tf:"secondary_config,omitempty"` // Output only. The current serving state of the cluster. State *string `json:"state,omitempty" tf:"state,omitempty"` // The combination of labels configured directly on the resource // and default labels configured on the provider. // +mapType=granular TerraformLabels map[string]*string `json:"terraformLabels,omitempty" tf:"terraform_labels,omitempty"` // The system-generated UID of the resource. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*ClusterObservation) DeepCopy ¶
func (in *ClusterObservation) DeepCopy() *ClusterObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObservation.
func (*ClusterObservation) DeepCopyInto ¶
func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterParameters ¶
type ClusterParameters struct { // Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128 // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // +kubebuilder:validation:Optional // +mapType=granular Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` // The automated backup policy for this cluster. AutomatedBackupPolicy is disabled by default. // Structure is documented below. // +kubebuilder:validation:Optional AutomatedBackupPolicy *AutomatedBackupPolicyParameters `json:"automatedBackupPolicy,omitempty" tf:"automated_backup_policy,omitempty"` // The type of cluster. If not set, defaults to PRIMARY. // Default value is PRIMARY. // Possible values are: PRIMARY, SECONDARY. // +kubebuilder:validation:Optional ClusterType *string `json:"clusterType,omitempty" tf:"cluster_type,omitempty"` // The continuous backup config for this cluster. // If no policy is provided then the default policy will be used. The default policy takes one backup a day and retains backups for 14 days. // Structure is documented below. // +kubebuilder:validation:Optional ContinuousBackupConfig *ContinuousBackupConfigParameters `json:"continuousBackupConfig,omitempty" tf:"continuous_backup_config,omitempty"` // The database engine major version. This is an optional field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation. // +kubebuilder:validation:Optional DatabaseVersion *string `json:"databaseVersion,omitempty" tf:"database_version,omitempty"` // Policy to determine if the cluster should be deleted forcefully. // Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster. // Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance. // +kubebuilder:validation:Optional DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"` // User-settable and human-readable display name for the Cluster. // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). // Structure is documented below. // +kubebuilder:validation:Optional EncryptionConfig *ClusterEncryptionConfigParameters `json:"encryptionConfig,omitempty" tf:"encryption_config,omitempty"` // For Resource freshness validation (https://google.aip.dev/154) // +kubebuilder:validation:Optional Etag *string `json:"etag,omitempty" tf:"etag,omitempty"` // Initial user to setup during cluster creation. // Structure is documented below. // +kubebuilder:validation:Optional InitialUser *InitialUserParameters `json:"initialUser,omitempty" tf:"initial_user,omitempty"` // User-defined labels for the alloydb cluster. // Note: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field effective_labels for all of the labels present on the resource. // +kubebuilder:validation:Optional // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // The location where the alloydb cluster should reside. // +kubebuilder:validation:Required Location *string `json:"location" tf:"location,omitempty"` // MaintenanceUpdatePolicy defines the policy for system updates. // Structure is documented below. // +kubebuilder:validation:Optional MaintenanceUpdatePolicy *MaintenanceUpdatePolicyParameters `json:"maintenanceUpdatePolicy,omitempty" tf:"maintenance_update_policy,omitempty"` // The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form: // "projects/{projectNumber}/global/networks/{network_id}". // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional Network *string `json:"network,omitempty" tf:"network,omitempty"` // Metadata related to network configuration. // Structure is documented below. // +kubebuilder:validation:Optional NetworkConfig *NetworkConfigParameters `json:"networkConfig,omitempty" tf:"network_config,omitempty"` // Reference to a Network in compute to populate network. // +kubebuilder:validation:Optional NetworkRef *v1.Reference `json:"networkRef,omitempty" tf:"-"` // Selector for a Network in compute to populate network. // +kubebuilder:validation:Optional NetworkSelector *v1.Selector `json:"networkSelector,omitempty" tf:"-"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // Configuration for Private Service Connect (PSC) for the cluster. // Structure is documented below. // +kubebuilder:validation:Optional PscConfig *PscConfigParameters `json:"pscConfig,omitempty" tf:"psc_config,omitempty"` // The source when restoring from a backup. Conflicts with 'restore_continuous_backup_source', both can't be set together. // Structure is documented below. // +kubebuilder:validation:Optional RestoreBackupSource *RestoreBackupSourceParameters `json:"restoreBackupSource,omitempty" tf:"restore_backup_source,omitempty"` // The source when restoring via point in time recovery (PITR). Conflicts with 'restore_backup_source', both can't be set together. // Structure is documented below. // +kubebuilder:validation:Optional RestoreContinuousBackupSource *RestoreContinuousBackupSourceParameters `json:"restoreContinuousBackupSource,omitempty" tf:"restore_continuous_backup_source,omitempty"` // Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY. // Structure is documented below. // +kubebuilder:validation:Optional SecondaryConfig *SecondaryConfigParameters `json:"secondaryConfig,omitempty" tf:"secondary_config,omitempty"` }
func (*ClusterParameters) DeepCopy ¶
func (in *ClusterParameters) DeepCopy() *ClusterParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterParameters.
func (*ClusterParameters) DeepCopyInto ¶
func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpec ¶
type ClusterSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ClusterParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider ClusterInitParameters `json:"initProvider,omitempty"` }
ClusterSpec defines the desired state of Cluster
func (*ClusterSpec) DeepCopy ¶
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterStatus ¶
type ClusterStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ClusterObservation `json:"atProvider,omitempty"` }
ClusterStatus defines the observed state of Cluster.
func (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContinuousBackupConfigEncryptionConfigInitParameters ¶
type ContinuousBackupConfigEncryptionConfigInitParameters struct { // The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]. KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` }
func (*ContinuousBackupConfigEncryptionConfigInitParameters) DeepCopy ¶
func (in *ContinuousBackupConfigEncryptionConfigInitParameters) DeepCopy() *ContinuousBackupConfigEncryptionConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousBackupConfigEncryptionConfigInitParameters.
func (*ContinuousBackupConfigEncryptionConfigInitParameters) DeepCopyInto ¶
func (in *ContinuousBackupConfigEncryptionConfigInitParameters) DeepCopyInto(out *ContinuousBackupConfigEncryptionConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContinuousBackupConfigEncryptionConfigObservation ¶
type ContinuousBackupConfigEncryptionConfigObservation struct { // The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]. KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` }
func (*ContinuousBackupConfigEncryptionConfigObservation) DeepCopy ¶
func (in *ContinuousBackupConfigEncryptionConfigObservation) DeepCopy() *ContinuousBackupConfigEncryptionConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousBackupConfigEncryptionConfigObservation.
func (*ContinuousBackupConfigEncryptionConfigObservation) DeepCopyInto ¶
func (in *ContinuousBackupConfigEncryptionConfigObservation) DeepCopyInto(out *ContinuousBackupConfigEncryptionConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContinuousBackupConfigEncryptionConfigParameters ¶
type ContinuousBackupConfigEncryptionConfigParameters struct { // The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]. // +kubebuilder:validation:Optional KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` }
func (*ContinuousBackupConfigEncryptionConfigParameters) DeepCopy ¶
func (in *ContinuousBackupConfigEncryptionConfigParameters) DeepCopy() *ContinuousBackupConfigEncryptionConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousBackupConfigEncryptionConfigParameters.
func (*ContinuousBackupConfigEncryptionConfigParameters) DeepCopyInto ¶
func (in *ContinuousBackupConfigEncryptionConfigParameters) DeepCopyInto(out *ContinuousBackupConfigEncryptionConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContinuousBackupConfigInitParameters ¶
type ContinuousBackupConfigInitParameters struct { // Whether continuous backup recovery is enabled. If not set, defaults to true. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). // Structure is documented below. EncryptionConfig *ContinuousBackupConfigEncryptionConfigInitParameters `json:"encryptionConfig,omitempty" tf:"encryption_config,omitempty"` // The numbers of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window. // If not set, defaults to 14 days. RecoveryWindowDays *float64 `json:"recoveryWindowDays,omitempty" tf:"recovery_window_days,omitempty"` }
func (*ContinuousBackupConfigInitParameters) DeepCopy ¶
func (in *ContinuousBackupConfigInitParameters) DeepCopy() *ContinuousBackupConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousBackupConfigInitParameters.
func (*ContinuousBackupConfigInitParameters) DeepCopyInto ¶
func (in *ContinuousBackupConfigInitParameters) DeepCopyInto(out *ContinuousBackupConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContinuousBackupConfigObservation ¶
type ContinuousBackupConfigObservation struct { // Whether continuous backup recovery is enabled. If not set, defaults to true. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). // Structure is documented below. EncryptionConfig *ContinuousBackupConfigEncryptionConfigObservation `json:"encryptionConfig,omitempty" tf:"encryption_config,omitempty"` // The numbers of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window. // If not set, defaults to 14 days. RecoveryWindowDays *float64 `json:"recoveryWindowDays,omitempty" tf:"recovery_window_days,omitempty"` }
func (*ContinuousBackupConfigObservation) DeepCopy ¶
func (in *ContinuousBackupConfigObservation) DeepCopy() *ContinuousBackupConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousBackupConfigObservation.
func (*ContinuousBackupConfigObservation) DeepCopyInto ¶
func (in *ContinuousBackupConfigObservation) DeepCopyInto(out *ContinuousBackupConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContinuousBackupConfigParameters ¶
type ContinuousBackupConfigParameters struct { // Whether continuous backup recovery is enabled. If not set, defaults to true. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). // Structure is documented below. // +kubebuilder:validation:Optional EncryptionConfig *ContinuousBackupConfigEncryptionConfigParameters `json:"encryptionConfig,omitempty" tf:"encryption_config,omitempty"` // The numbers of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window. // If not set, defaults to 14 days. // +kubebuilder:validation:Optional RecoveryWindowDays *float64 `json:"recoveryWindowDays,omitempty" tf:"recovery_window_days,omitempty"` }
func (*ContinuousBackupConfigParameters) DeepCopy ¶
func (in *ContinuousBackupConfigParameters) DeepCopy() *ContinuousBackupConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousBackupConfigParameters.
func (*ContinuousBackupConfigParameters) DeepCopyInto ¶
func (in *ContinuousBackupConfigParameters) DeepCopyInto(out *ContinuousBackupConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContinuousBackupInfoEncryptionInfoInitParameters ¶
type ContinuousBackupInfoEncryptionInfoInitParameters struct { }
func (*ContinuousBackupInfoEncryptionInfoInitParameters) DeepCopy ¶
func (in *ContinuousBackupInfoEncryptionInfoInitParameters) DeepCopy() *ContinuousBackupInfoEncryptionInfoInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousBackupInfoEncryptionInfoInitParameters.
func (*ContinuousBackupInfoEncryptionInfoInitParameters) DeepCopyInto ¶
func (in *ContinuousBackupInfoEncryptionInfoInitParameters) DeepCopyInto(out *ContinuousBackupInfoEncryptionInfoInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContinuousBackupInfoEncryptionInfoObservation ¶
type ContinuousBackupInfoEncryptionInfoObservation struct { // (Output) // Output only. Type of encryption. EncryptionType *string `json:"encryptionType,omitempty" tf:"encryption_type,omitempty"` // (Output) // Output only. Cloud KMS key versions that are being used to protect the database or the backup. KMSKeyVersions []*string `json:"kmsKeyVersions,omitempty" tf:"kms_key_versions,omitempty"` }
func (*ContinuousBackupInfoEncryptionInfoObservation) DeepCopy ¶
func (in *ContinuousBackupInfoEncryptionInfoObservation) DeepCopy() *ContinuousBackupInfoEncryptionInfoObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousBackupInfoEncryptionInfoObservation.
func (*ContinuousBackupInfoEncryptionInfoObservation) DeepCopyInto ¶
func (in *ContinuousBackupInfoEncryptionInfoObservation) DeepCopyInto(out *ContinuousBackupInfoEncryptionInfoObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContinuousBackupInfoEncryptionInfoParameters ¶
type ContinuousBackupInfoEncryptionInfoParameters struct { }
func (*ContinuousBackupInfoEncryptionInfoParameters) DeepCopy ¶
func (in *ContinuousBackupInfoEncryptionInfoParameters) DeepCopy() *ContinuousBackupInfoEncryptionInfoParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousBackupInfoEncryptionInfoParameters.
func (*ContinuousBackupInfoEncryptionInfoParameters) DeepCopyInto ¶
func (in *ContinuousBackupInfoEncryptionInfoParameters) DeepCopyInto(out *ContinuousBackupInfoEncryptionInfoParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContinuousBackupInfoInitParameters ¶
type ContinuousBackupInfoInitParameters struct { }
func (*ContinuousBackupInfoInitParameters) DeepCopy ¶
func (in *ContinuousBackupInfoInitParameters) DeepCopy() *ContinuousBackupInfoInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousBackupInfoInitParameters.
func (*ContinuousBackupInfoInitParameters) DeepCopyInto ¶
func (in *ContinuousBackupInfoInitParameters) DeepCopyInto(out *ContinuousBackupInfoInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContinuousBackupInfoObservation ¶
type ContinuousBackupInfoObservation struct { // (Output) // The earliest restorable time that can be restored to. Output only field. EarliestRestorableTime *string `json:"earliestRestorableTime,omitempty" tf:"earliest_restorable_time,omitempty"` // (Output) // When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled. EnabledTime *string `json:"enabledTime,omitempty" tf:"enabled_time,omitempty"` // (Output) // Output only. The encryption information for the WALs and backups required for ContinuousBackup. // Structure is documented below. EncryptionInfo []ContinuousBackupInfoEncryptionInfoObservation `json:"encryptionInfo,omitempty" tf:"encryption_info,omitempty"` // (Output) // Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request. Schedule []*string `json:"schedule,omitempty" tf:"schedule,omitempty"` }
func (*ContinuousBackupInfoObservation) DeepCopy ¶
func (in *ContinuousBackupInfoObservation) DeepCopy() *ContinuousBackupInfoObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousBackupInfoObservation.
func (*ContinuousBackupInfoObservation) DeepCopyInto ¶
func (in *ContinuousBackupInfoObservation) DeepCopyInto(out *ContinuousBackupInfoObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContinuousBackupInfoParameters ¶
type ContinuousBackupInfoParameters struct { }
func (*ContinuousBackupInfoParameters) DeepCopy ¶
func (in *ContinuousBackupInfoParameters) DeepCopy() *ContinuousBackupInfoParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousBackupInfoParameters.
func (*ContinuousBackupInfoParameters) DeepCopyInto ¶
func (in *ContinuousBackupInfoParameters) DeepCopyInto(out *ContinuousBackupInfoParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EncryptionConfigInitParameters ¶
type EncryptionConfigInitParameters struct { // The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]. KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` }
func (*EncryptionConfigInitParameters) DeepCopy ¶
func (in *EncryptionConfigInitParameters) DeepCopy() *EncryptionConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfigInitParameters.
func (*EncryptionConfigInitParameters) DeepCopyInto ¶
func (in *EncryptionConfigInitParameters) DeepCopyInto(out *EncryptionConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EncryptionConfigObservation ¶
type EncryptionConfigObservation struct { // The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]. KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` }
func (*EncryptionConfigObservation) DeepCopy ¶
func (in *EncryptionConfigObservation) DeepCopy() *EncryptionConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfigObservation.
func (*EncryptionConfigObservation) DeepCopyInto ¶
func (in *EncryptionConfigObservation) DeepCopyInto(out *EncryptionConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EncryptionConfigParameters ¶
type EncryptionConfigParameters struct { // The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]. // +kubebuilder:validation:Optional KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` }
func (*EncryptionConfigParameters) DeepCopy ¶
func (in *EncryptionConfigParameters) DeepCopy() *EncryptionConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfigParameters.
func (*EncryptionConfigParameters) DeepCopyInto ¶
func (in *EncryptionConfigParameters) DeepCopyInto(out *EncryptionConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EncryptionInfoInitParameters ¶
type EncryptionInfoInitParameters struct { }
func (*EncryptionInfoInitParameters) DeepCopy ¶
func (in *EncryptionInfoInitParameters) DeepCopy() *EncryptionInfoInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionInfoInitParameters.
func (*EncryptionInfoInitParameters) DeepCopyInto ¶
func (in *EncryptionInfoInitParameters) DeepCopyInto(out *EncryptionInfoInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EncryptionInfoObservation ¶
type EncryptionInfoObservation struct { // (Output) // Output only. Type of encryption. EncryptionType *string `json:"encryptionType,omitempty" tf:"encryption_type,omitempty"` // (Output) // Output only. Cloud KMS key versions that are being used to protect the database or the backup. KMSKeyVersions []*string `json:"kmsKeyVersions,omitempty" tf:"kms_key_versions,omitempty"` }
func (*EncryptionInfoObservation) DeepCopy ¶
func (in *EncryptionInfoObservation) DeepCopy() *EncryptionInfoObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionInfoObservation.
func (*EncryptionInfoObservation) DeepCopyInto ¶
func (in *EncryptionInfoObservation) DeepCopyInto(out *EncryptionInfoObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EncryptionInfoParameters ¶
type EncryptionInfoParameters struct { }
func (*EncryptionInfoParameters) DeepCopy ¶
func (in *EncryptionInfoParameters) DeepCopy() *EncryptionInfoParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionInfoParameters.
func (*EncryptionInfoParameters) DeepCopyInto ¶
func (in *EncryptionInfoParameters) DeepCopyInto(out *EncryptionInfoParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExpiryQuantityInitParameters ¶
type ExpiryQuantityInitParameters struct { }
func (*ExpiryQuantityInitParameters) DeepCopy ¶
func (in *ExpiryQuantityInitParameters) DeepCopy() *ExpiryQuantityInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpiryQuantityInitParameters.
func (*ExpiryQuantityInitParameters) DeepCopyInto ¶
func (in *ExpiryQuantityInitParameters) DeepCopyInto(out *ExpiryQuantityInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExpiryQuantityObservation ¶
type ExpiryQuantityObservation struct { // (Output) // Output only. The backup's position among its backups with the same source cluster and type, by descending chronological order create time (i.e. newest first). RetentionCount *float64 `json:"retentionCount,omitempty" tf:"retention_count,omitempty"` // (Output) // Output only. The length of the quantity-based queue, specified by the backup's retention policy. TotalRetentionCount *float64 `json:"totalRetentionCount,omitempty" tf:"total_retention_count,omitempty"` }
func (*ExpiryQuantityObservation) DeepCopy ¶
func (in *ExpiryQuantityObservation) DeepCopy() *ExpiryQuantityObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpiryQuantityObservation.
func (*ExpiryQuantityObservation) DeepCopyInto ¶
func (in *ExpiryQuantityObservation) DeepCopyInto(out *ExpiryQuantityObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExpiryQuantityParameters ¶
type ExpiryQuantityParameters struct { }
func (*ExpiryQuantityParameters) DeepCopy ¶
func (in *ExpiryQuantityParameters) DeepCopy() *ExpiryQuantityParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpiryQuantityParameters.
func (*ExpiryQuantityParameters) DeepCopyInto ¶
func (in *ExpiryQuantityParameters) DeepCopyInto(out *ExpiryQuantityParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InitialUserInitParameters ¶
type InitialUserInitParameters struct { // The initial password for the user. // Note: This property is sensitive and will not be displayed in the plan. PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` // The database username. User *string `json:"user,omitempty" tf:"user,omitempty"` }
func (*InitialUserInitParameters) DeepCopy ¶
func (in *InitialUserInitParameters) DeepCopy() *InitialUserInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitialUserInitParameters.
func (*InitialUserInitParameters) DeepCopyInto ¶
func (in *InitialUserInitParameters) DeepCopyInto(out *InitialUserInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InitialUserObservation ¶
type InitialUserObservation struct { // The database username. User *string `json:"user,omitempty" tf:"user,omitempty"` }
func (*InitialUserObservation) DeepCopy ¶
func (in *InitialUserObservation) DeepCopy() *InitialUserObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitialUserObservation.
func (*InitialUserObservation) DeepCopyInto ¶
func (in *InitialUserObservation) DeepCopyInto(out *InitialUserObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InitialUserParameters ¶
type InitialUserParameters struct { // The initial password for the user. // Note: This property is sensitive and will not be displayed in the plan. // +kubebuilder:validation:Optional PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` // The database username. // +kubebuilder:validation:Optional User *string `json:"user,omitempty" tf:"user,omitempty"` }
func (*InitialUserParameters) DeepCopy ¶
func (in *InitialUserParameters) DeepCopy() *InitialUserParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitialUserParameters.
func (*InitialUserParameters) DeepCopyInto ¶
func (in *InitialUserParameters) DeepCopyInto(out *InitialUserParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstanceSpec `json:"spec"` Status InstanceStatus `json:"status,omitempty"` }
Instance is the Schema for the Instances API. A managed alloydb cluster instance. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}
func (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Instance) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Instance) GetCondition ¶
func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Instance.
func (*Instance) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Instance
func (*Instance) GetDeletionPolicy ¶
func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Instance.
func (*Instance) GetInitParameters ¶
GetInitParameters of this Instance
func (*Instance) GetManagementPolicies ¶
func (mg *Instance) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Instance.
func (*Instance) GetMergedParameters ¶
GetInitParameters of this Instance
func (*Instance) GetObservation ¶
GetObservation of this Instance
func (*Instance) GetParameters ¶
GetParameters of this Instance
func (*Instance) GetProviderConfigReference ¶
GetProviderConfigReference of this Instance.
func (*Instance) GetPublishConnectionDetailsTo ¶
func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Instance.
func (*Instance) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Instance
func (*Instance) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Instance) GetWriteConnectionSecretToReference ¶
func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Instance.
func (*Instance) LateInitialize ¶
LateInitialize this Instance using its observed tfState. returns True if there are any spec changes for the resource.
func (*Instance) ResolveReferences ¶
ResolveReferences of this Instance.
func (*Instance) SetConditions ¶
SetConditions of this Instance.
func (*Instance) SetDeletionPolicy ¶
func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Instance.
func (*Instance) SetManagementPolicies ¶
func (mg *Instance) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Instance.
func (*Instance) SetObservation ¶
SetObservation for this Instance
func (*Instance) SetParameters ¶
SetParameters for this Instance
func (*Instance) SetProviderConfigReference ¶
SetProviderConfigReference of this Instance.
func (*Instance) SetPublishConnectionDetailsTo ¶
func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Instance.
func (*Instance) SetWriteConnectionSecretToReference ¶
func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Instance.
type InstanceInitParameters ¶
type InstanceInitParameters struct { // Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. // Note: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field effective_annotations for all of the annotations present on the resource. // +mapType=granular Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` // 'Availability type of an Instance. Defaults to REGIONAL for both primary and read instances. // Note that primary and read instances can have different availability types. // Only READ_POOL instance supports ZONAL type. Users can't specify the zone for READ_POOL instance. // Zone is automatically chosen from the list of zones in the region specified. // Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more // can have regional availability (nodes are present in 2 or more zones in a region).' // Possible values are: AVAILABILITY_TYPE_UNSPECIFIED, ZONAL, REGIONAL. AvailabilityType *string `json:"availabilityType,omitempty" tf:"availability_type,omitempty"` // Client connection specific configurations. // Structure is documented below. ClientConnectionConfig *ClientConnectionConfigInitParameters `json:"clientConnectionConfig,omitempty" tf:"client_connection_config,omitempty"` // Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. // +mapType=granular DatabaseFlags map[string]*string `json:"databaseFlags,omitempty" tf:"database_flags,omitempty"` // User-settable and human-readable display name for the Instance. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity. GceZone *string `json:"gceZone,omitempty" tf:"gce_zone,omitempty"` // The type of the instance. // If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the depends_on meta-data attribute. // If the instance type is SECONDARY, point to the cluster_type of the associated secondary cluster instead of mentioning SECONDARY. // Example: {instance_type = google_alloydb_cluster.<secondary_cluster_name>. // Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete the secondary cluster as well its associated secondary instance. // Possible values are: PRIMARY, READ_POOL, SECONDARY. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/alloydb/v1beta2.Cluster // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("cluster_type",false) InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"` // Reference to a Cluster in alloydb to populate instanceType. // +kubebuilder:validation:Optional InstanceTypeRef *v1.Reference `json:"instanceTypeRef,omitempty" tf:"-"` // Selector for a Cluster in alloydb to populate instanceType. // +kubebuilder:validation:Optional InstanceTypeSelector *v1.Selector `json:"instanceTypeSelector,omitempty" tf:"-"` // User-defined labels for the alloydb instance. // Note: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field effective_labels for all of the labels present on the resource. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // Configurations for the machines that host the underlying database engine. // Structure is documented below. MachineConfig *MachineConfigInitParameters `json:"machineConfig,omitempty" tf:"machine_config,omitempty"` // Instance level network configuration. // Structure is documented below. NetworkConfig *InstanceNetworkConfigInitParameters `json:"networkConfig,omitempty" tf:"network_config,omitempty"` // Configuration for Private Service Connect (PSC) for the instance. // Structure is documented below. PscInstanceConfig *PscInstanceConfigInitParameters `json:"pscInstanceConfig,omitempty" tf:"psc_instance_config,omitempty"` // Configuration for query insights. // Structure is documented below. QueryInsightsConfig *QueryInsightsConfigInitParameters `json:"queryInsightsConfig,omitempty" tf:"query_insights_config,omitempty"` // Read pool specific config. If the instance type is READ_POOL, this configuration must be provided. // Structure is documented below. ReadPoolConfig *ReadPoolConfigInitParameters `json:"readPoolConfig,omitempty" tf:"read_pool_config,omitempty"` }
func (*InstanceInitParameters) DeepCopy ¶
func (in *InstanceInitParameters) DeepCopy() *InstanceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceInitParameters.
func (*InstanceInitParameters) DeepCopyInto ¶
func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Instance `json:"items"` }
InstanceList contains a list of Instances
func (*InstanceList) DeepCopy ¶
func (in *InstanceList) DeepCopy() *InstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList.
func (*InstanceList) DeepCopyInto ¶
func (in *InstanceList) DeepCopyInto(out *InstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceList) DeepCopyObject ¶
func (in *InstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InstanceList) GetItems ¶
func (l *InstanceList) GetItems() []resource.Managed
GetItems of this InstanceList.
type InstanceNetworkConfigInitParameters ¶ added in v1.5.0
type InstanceNetworkConfigInitParameters struct { // A list of external networks authorized to access this instance. This // field is only allowed to be set when enable_public_ip is set to // true. // Structure is documented below. AuthorizedExternalNetworks []AuthorizedExternalNetworksInitParameters `json:"authorizedExternalNetworks,omitempty" tf:"authorized_external_networks,omitempty"` // Enabling public ip for the instance. If a user wishes to disable this, // please also clear the list of the authorized external networks set on // the same instance. EnablePublicIP *bool `json:"enablePublicIp,omitempty" tf:"enable_public_ip,omitempty"` }
func (*InstanceNetworkConfigInitParameters) DeepCopy ¶ added in v1.5.0
func (in *InstanceNetworkConfigInitParameters) DeepCopy() *InstanceNetworkConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceNetworkConfigInitParameters.
func (*InstanceNetworkConfigInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *InstanceNetworkConfigInitParameters) DeepCopyInto(out *InstanceNetworkConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceNetworkConfigObservation ¶ added in v1.5.0
type InstanceNetworkConfigObservation struct { // A list of external networks authorized to access this instance. This // field is only allowed to be set when enable_public_ip is set to // true. // Structure is documented below. AuthorizedExternalNetworks []AuthorizedExternalNetworksObservation `json:"authorizedExternalNetworks,omitempty" tf:"authorized_external_networks,omitempty"` // Enabling public ip for the instance. If a user wishes to disable this, // please also clear the list of the authorized external networks set on // the same instance. EnablePublicIP *bool `json:"enablePublicIp,omitempty" tf:"enable_public_ip,omitempty"` }
func (*InstanceNetworkConfigObservation) DeepCopy ¶ added in v1.5.0
func (in *InstanceNetworkConfigObservation) DeepCopy() *InstanceNetworkConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceNetworkConfigObservation.
func (*InstanceNetworkConfigObservation) DeepCopyInto ¶ added in v1.5.0
func (in *InstanceNetworkConfigObservation) DeepCopyInto(out *InstanceNetworkConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceNetworkConfigParameters ¶ added in v1.5.0
type InstanceNetworkConfigParameters struct { // A list of external networks authorized to access this instance. This // field is only allowed to be set when enable_public_ip is set to // true. // Structure is documented below. // +kubebuilder:validation:Optional AuthorizedExternalNetworks []AuthorizedExternalNetworksParameters `json:"authorizedExternalNetworks,omitempty" tf:"authorized_external_networks,omitempty"` // Enabling public ip for the instance. If a user wishes to disable this, // please also clear the list of the authorized external networks set on // the same instance. // +kubebuilder:validation:Optional EnablePublicIP *bool `json:"enablePublicIp,omitempty" tf:"enable_public_ip,omitempty"` }
func (*InstanceNetworkConfigParameters) DeepCopy ¶ added in v1.5.0
func (in *InstanceNetworkConfigParameters) DeepCopy() *InstanceNetworkConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceNetworkConfigParameters.
func (*InstanceNetworkConfigParameters) DeepCopyInto ¶ added in v1.5.0
func (in *InstanceNetworkConfigParameters) DeepCopyInto(out *InstanceNetworkConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceObservation ¶
type InstanceObservation struct { // Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. // Note: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field effective_annotations for all of the annotations present on the resource. // +mapType=granular Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` // 'Availability type of an Instance. Defaults to REGIONAL for both primary and read instances. // Note that primary and read instances can have different availability types. // Only READ_POOL instance supports ZONAL type. Users can't specify the zone for READ_POOL instance. // Zone is automatically chosen from the list of zones in the region specified. // Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more // can have regional availability (nodes are present in 2 or more zones in a region).' // Possible values are: AVAILABILITY_TYPE_UNSPECIFIED, ZONAL, REGIONAL. AvailabilityType *string `json:"availabilityType,omitempty" tf:"availability_type,omitempty"` // Client connection specific configurations. // Structure is documented below. ClientConnectionConfig *ClientConnectionConfigObservation `json:"clientConnectionConfig,omitempty" tf:"client_connection_config,omitempty"` // Identifies the alloydb cluster. Must be in the format // 'projects/{project}/locations/{location}/clusters/{cluster_id}' Cluster *string `json:"cluster,omitempty" tf:"cluster,omitempty"` // Time the Instance was created in UTC. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. // +mapType=granular DatabaseFlags map[string]*string `json:"databaseFlags,omitempty" tf:"database_flags,omitempty"` // User-settable and human-readable display name for the Instance. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // +mapType=granular EffectiveAnnotations map[string]*string `json:"effectiveAnnotations,omitempty" tf:"effective_annotations,omitempty"` // +mapType=granular EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,omitempty"` // The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity. GceZone *string `json:"gceZone,omitempty" tf:"gce_zone,omitempty"` // an identifier for the resource with format {{cluster}}/instances/{{instance_id}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // The IP address for the Instance. This is the connection endpoint for an end-user application. IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // The type of the instance. // If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the depends_on meta-data attribute. // If the instance type is SECONDARY, point to the cluster_type of the associated secondary cluster instead of mentioning SECONDARY. // Example: {instance_type = google_alloydb_cluster.<secondary_cluster_name>. // Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete the secondary cluster as well its associated secondary instance. // Possible values are: PRIMARY, READ_POOL, SECONDARY. InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"` // User-defined labels for the alloydb instance. // Note: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field effective_labels for all of the labels present on the resource. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // Configurations for the machines that host the underlying database engine. // Structure is documented below. MachineConfig *MachineConfigObservation `json:"machineConfig,omitempty" tf:"machine_config,omitempty"` // The name of the instance resource. Name *string `json:"name,omitempty" tf:"name,omitempty"` // Instance level network configuration. // Structure is documented below. NetworkConfig *InstanceNetworkConfigObservation `json:"networkConfig,omitempty" tf:"network_config,omitempty"` // Configuration for Private Service Connect (PSC) for the instance. // Structure is documented below. PscInstanceConfig *PscInstanceConfigObservation `json:"pscInstanceConfig,omitempty" tf:"psc_instance_config,omitempty"` // The public IP addresses for the Instance. This is available ONLY when // networkConfig.enablePublicIp is set to true. This is the connection // endpoint for an end-user application. PublicIPAddress *string `json:"publicIpAddress,omitempty" tf:"public_ip_address,omitempty"` // Configuration for query insights. // Structure is documented below. QueryInsightsConfig *QueryInsightsConfigObservation `json:"queryInsightsConfig,omitempty" tf:"query_insights_config,omitempty"` // Read pool specific config. If the instance type is READ_POOL, this configuration must be provided. // Structure is documented below. ReadPoolConfig *ReadPoolConfigObservation `json:"readPoolConfig,omitempty" tf:"read_pool_config,omitempty"` // Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance. Reconciling *bool `json:"reconciling,omitempty" tf:"reconciling,omitempty"` // The current state of the alloydb instance. State *string `json:"state,omitempty" tf:"state,omitempty"` // The combination of labels configured directly on the resource // and default labels configured on the provider. // +mapType=granular TerraformLabels map[string]*string `json:"terraformLabels,omitempty" tf:"terraform_labels,omitempty"` // The system-generated UID of the resource. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // Time the Instance was updated in UTC. UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"` }
func (*InstanceObservation) DeepCopy ¶
func (in *InstanceObservation) DeepCopy() *InstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceObservation.
func (*InstanceObservation) DeepCopyInto ¶
func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceParameters ¶
type InstanceParameters struct { // Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. // Note: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field effective_annotations for all of the annotations present on the resource. // +kubebuilder:validation:Optional // +mapType=granular Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` // 'Availability type of an Instance. Defaults to REGIONAL for both primary and read instances. // Note that primary and read instances can have different availability types. // Only READ_POOL instance supports ZONAL type. Users can't specify the zone for READ_POOL instance. // Zone is automatically chosen from the list of zones in the region specified. // Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more // can have regional availability (nodes are present in 2 or more zones in a region).' // Possible values are: AVAILABILITY_TYPE_UNSPECIFIED, ZONAL, REGIONAL. // +kubebuilder:validation:Optional AvailabilityType *string `json:"availabilityType,omitempty" tf:"availability_type,omitempty"` // Client connection specific configurations. // Structure is documented below. // +kubebuilder:validation:Optional ClientConnectionConfig *ClientConnectionConfigParameters `json:"clientConnectionConfig,omitempty" tf:"client_connection_config,omitempty"` // Identifies the alloydb cluster. Must be in the format // 'projects/{project}/locations/{location}/clusters/{cluster_id}' // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/alloydb/v1beta2.Cluster // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",true) // +kubebuilder:validation:Optional Cluster *string `json:"cluster,omitempty" tf:"cluster,omitempty"` // Reference to a Cluster in alloydb to populate cluster. // +kubebuilder:validation:Optional ClusterRef *v1.Reference `json:"clusterRef,omitempty" tf:"-"` // Selector for a Cluster in alloydb to populate cluster. // +kubebuilder:validation:Optional ClusterSelector *v1.Selector `json:"clusterSelector,omitempty" tf:"-"` // Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. // +kubebuilder:validation:Optional // +mapType=granular DatabaseFlags map[string]*string `json:"databaseFlags,omitempty" tf:"database_flags,omitempty"` // User-settable and human-readable display name for the Instance. // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity. // +kubebuilder:validation:Optional GceZone *string `json:"gceZone,omitempty" tf:"gce_zone,omitempty"` // The type of the instance. // If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the depends_on meta-data attribute. // If the instance type is SECONDARY, point to the cluster_type of the associated secondary cluster instead of mentioning SECONDARY. // Example: {instance_type = google_alloydb_cluster.<secondary_cluster_name>. // Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete the secondary cluster as well its associated secondary instance. // Possible values are: PRIMARY, READ_POOL, SECONDARY. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/alloydb/v1beta2.Cluster // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("cluster_type",false) // +kubebuilder:validation:Optional InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"` // Reference to a Cluster in alloydb to populate instanceType. // +kubebuilder:validation:Optional InstanceTypeRef *v1.Reference `json:"instanceTypeRef,omitempty" tf:"-"` // Selector for a Cluster in alloydb to populate instanceType. // +kubebuilder:validation:Optional InstanceTypeSelector *v1.Selector `json:"instanceTypeSelector,omitempty" tf:"-"` // User-defined labels for the alloydb instance. // Note: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field effective_labels for all of the labels present on the resource. // +kubebuilder:validation:Optional // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // Configurations for the machines that host the underlying database engine. // Structure is documented below. // +kubebuilder:validation:Optional MachineConfig *MachineConfigParameters `json:"machineConfig,omitempty" tf:"machine_config,omitempty"` // Instance level network configuration. // Structure is documented below. // +kubebuilder:validation:Optional NetworkConfig *InstanceNetworkConfigParameters `json:"networkConfig,omitempty" tf:"network_config,omitempty"` // Configuration for Private Service Connect (PSC) for the instance. // Structure is documented below. // +kubebuilder:validation:Optional PscInstanceConfig *PscInstanceConfigParameters `json:"pscInstanceConfig,omitempty" tf:"psc_instance_config,omitempty"` // Configuration for query insights. // Structure is documented below. // +kubebuilder:validation:Optional QueryInsightsConfig *QueryInsightsConfigParameters `json:"queryInsightsConfig,omitempty" tf:"query_insights_config,omitempty"` // Read pool specific config. If the instance type is READ_POOL, this configuration must be provided. // Structure is documented below. // +kubebuilder:validation:Optional ReadPoolConfig *ReadPoolConfigParameters `json:"readPoolConfig,omitempty" tf:"read_pool_config,omitempty"` }
func (*InstanceParameters) DeepCopy ¶
func (in *InstanceParameters) DeepCopy() *InstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceParameters.
func (*InstanceParameters) DeepCopyInto ¶
func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpec ¶
type InstanceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider InstanceParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider InstanceInitParameters `json:"initProvider,omitempty"` }
InstanceSpec defines the desired state of Instance
func (*InstanceSpec) DeepCopy ¶
func (in *InstanceSpec) DeepCopy() *InstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec.
func (*InstanceSpec) DeepCopyInto ¶
func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider InstanceObservation `json:"atProvider,omitempty"` }
InstanceStatus defines the observed state of Instance.
func (*InstanceStatus) DeepCopy ¶
func (in *InstanceStatus) DeepCopy() *InstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus.
func (*InstanceStatus) DeepCopyInto ¶
func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineConfigInitParameters ¶
type MachineConfigInitParameters struct { // The number of CPU's in the VM instance. CPUCount *float64 `json:"cpuCount,omitempty" tf:"cpu_count,omitempty"` }
func (*MachineConfigInitParameters) DeepCopy ¶
func (in *MachineConfigInitParameters) DeepCopy() *MachineConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineConfigInitParameters.
func (*MachineConfigInitParameters) DeepCopyInto ¶
func (in *MachineConfigInitParameters) DeepCopyInto(out *MachineConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineConfigObservation ¶
type MachineConfigObservation struct { // The number of CPU's in the VM instance. CPUCount *float64 `json:"cpuCount,omitempty" tf:"cpu_count,omitempty"` }
func (*MachineConfigObservation) DeepCopy ¶
func (in *MachineConfigObservation) DeepCopy() *MachineConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineConfigObservation.
func (*MachineConfigObservation) DeepCopyInto ¶
func (in *MachineConfigObservation) DeepCopyInto(out *MachineConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineConfigParameters ¶
type MachineConfigParameters struct { // The number of CPU's in the VM instance. // +kubebuilder:validation:Optional CPUCount *float64 `json:"cpuCount,omitempty" tf:"cpu_count,omitempty"` }
func (*MachineConfigParameters) DeepCopy ¶
func (in *MachineConfigParameters) DeepCopy() *MachineConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineConfigParameters.
func (*MachineConfigParameters) DeepCopyInto ¶
func (in *MachineConfigParameters) DeepCopyInto(out *MachineConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceUpdatePolicyInitParameters ¶ added in v1.5.0
type MaintenanceUpdatePolicyInitParameters struct { // Preferred windows to perform maintenance. Currently limited to 1. // Structure is documented below. MaintenanceWindows []MaintenanceWindowsInitParameters `json:"maintenanceWindows,omitempty" tf:"maintenance_windows,omitempty"` }
func (*MaintenanceUpdatePolicyInitParameters) DeepCopy ¶ added in v1.5.0
func (in *MaintenanceUpdatePolicyInitParameters) DeepCopy() *MaintenanceUpdatePolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceUpdatePolicyInitParameters.
func (*MaintenanceUpdatePolicyInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *MaintenanceUpdatePolicyInitParameters) DeepCopyInto(out *MaintenanceUpdatePolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceUpdatePolicyObservation ¶ added in v1.5.0
type MaintenanceUpdatePolicyObservation struct { // Preferred windows to perform maintenance. Currently limited to 1. // Structure is documented below. MaintenanceWindows []MaintenanceWindowsObservation `json:"maintenanceWindows,omitempty" tf:"maintenance_windows,omitempty"` }
func (*MaintenanceUpdatePolicyObservation) DeepCopy ¶ added in v1.5.0
func (in *MaintenanceUpdatePolicyObservation) DeepCopy() *MaintenanceUpdatePolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceUpdatePolicyObservation.
func (*MaintenanceUpdatePolicyObservation) DeepCopyInto ¶ added in v1.5.0
func (in *MaintenanceUpdatePolicyObservation) DeepCopyInto(out *MaintenanceUpdatePolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceUpdatePolicyParameters ¶ added in v1.5.0
type MaintenanceUpdatePolicyParameters struct { // Preferred windows to perform maintenance. Currently limited to 1. // Structure is documented below. // +kubebuilder:validation:Optional MaintenanceWindows []MaintenanceWindowsParameters `json:"maintenanceWindows,omitempty" tf:"maintenance_windows,omitempty"` }
func (*MaintenanceUpdatePolicyParameters) DeepCopy ¶ added in v1.5.0
func (in *MaintenanceUpdatePolicyParameters) DeepCopy() *MaintenanceUpdatePolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceUpdatePolicyParameters.
func (*MaintenanceUpdatePolicyParameters) DeepCopyInto ¶ added in v1.5.0
func (in *MaintenanceUpdatePolicyParameters) DeepCopyInto(out *MaintenanceUpdatePolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceWindowsInitParameters ¶ added in v1.5.0
type MaintenanceWindowsInitParameters struct { // Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc. // Possible values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. Day *string `json:"day,omitempty" tf:"day,omitempty"` // Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time. // Structure is documented below. StartTime *StartTimeInitParameters `json:"startTime,omitempty" tf:"start_time,omitempty"` }
func (*MaintenanceWindowsInitParameters) DeepCopy ¶ added in v1.5.0
func (in *MaintenanceWindowsInitParameters) DeepCopy() *MaintenanceWindowsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowsInitParameters.
func (*MaintenanceWindowsInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *MaintenanceWindowsInitParameters) DeepCopyInto(out *MaintenanceWindowsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceWindowsObservation ¶ added in v1.5.0
type MaintenanceWindowsObservation struct { // Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc. // Possible values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. Day *string `json:"day,omitempty" tf:"day,omitempty"` // Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time. // Structure is documented below. StartTime *StartTimeObservation `json:"startTime,omitempty" tf:"start_time,omitempty"` }
func (*MaintenanceWindowsObservation) DeepCopy ¶ added in v1.5.0
func (in *MaintenanceWindowsObservation) DeepCopy() *MaintenanceWindowsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowsObservation.
func (*MaintenanceWindowsObservation) DeepCopyInto ¶ added in v1.5.0
func (in *MaintenanceWindowsObservation) DeepCopyInto(out *MaintenanceWindowsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceWindowsParameters ¶ added in v1.5.0
type MaintenanceWindowsParameters struct { // Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc. // Possible values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. // +kubebuilder:validation:Optional Day *string `json:"day" tf:"day,omitempty"` // Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time. // Structure is documented below. // +kubebuilder:validation:Optional StartTime *StartTimeParameters `json:"startTime" tf:"start_time,omitempty"` }
func (*MaintenanceWindowsParameters) DeepCopy ¶ added in v1.5.0
func (in *MaintenanceWindowsParameters) DeepCopy() *MaintenanceWindowsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowsParameters.
func (*MaintenanceWindowsParameters) DeepCopyInto ¶ added in v1.5.0
func (in *MaintenanceWindowsParameters) DeepCopyInto(out *MaintenanceWindowsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MigrationSourceInitParameters ¶
type MigrationSourceInitParameters struct { }
func (*MigrationSourceInitParameters) DeepCopy ¶
func (in *MigrationSourceInitParameters) DeepCopy() *MigrationSourceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationSourceInitParameters.
func (*MigrationSourceInitParameters) DeepCopyInto ¶
func (in *MigrationSourceInitParameters) DeepCopyInto(out *MigrationSourceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MigrationSourceObservation ¶
type MigrationSourceObservation struct { // The host and port of the on-premises instance in host:port format HostPort *string `json:"hostPort,omitempty" tf:"host_port,omitempty"` // Place holder for the external source identifier(e.g DMS job name) that created the cluster. ReferenceID *string `json:"referenceId,omitempty" tf:"reference_id,omitempty"` // Type of migration source. SourceType *string `json:"sourceType,omitempty" tf:"source_type,omitempty"` }
func (*MigrationSourceObservation) DeepCopy ¶
func (in *MigrationSourceObservation) DeepCopy() *MigrationSourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationSourceObservation.
func (*MigrationSourceObservation) DeepCopyInto ¶
func (in *MigrationSourceObservation) DeepCopyInto(out *MigrationSourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MigrationSourceParameters ¶
type MigrationSourceParameters struct { }
func (*MigrationSourceParameters) DeepCopy ¶
func (in *MigrationSourceParameters) DeepCopy() *MigrationSourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationSourceParameters.
func (*MigrationSourceParameters) DeepCopyInto ¶
func (in *MigrationSourceParameters) DeepCopyInto(out *MigrationSourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkConfigInitParameters ¶
type NetworkConfigInitParameters struct { // The name of the allocated IP range for the private IP AlloyDB cluster. For example: "google-managed-services-default". // If set, the instance IPs for this cluster will be created in the allocated range. AllocatedIPRange *string `json:"allocatedIpRange,omitempty" tf:"allocated_ip_range,omitempty"` // The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. // It is specified in the form: "projects/{projectNumber}/global/networks/{network_id}". // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() Network *string `json:"network,omitempty" tf:"network,omitempty"` // Reference to a Network in compute to populate network. // +kubebuilder:validation:Optional NetworkRef *v1.Reference `json:"networkRef,omitempty" tf:"-"` // Selector for a Network in compute to populate network. // +kubebuilder:validation:Optional NetworkSelector *v1.Selector `json:"networkSelector,omitempty" tf:"-"` }
func (*NetworkConfigInitParameters) DeepCopy ¶
func (in *NetworkConfigInitParameters) DeepCopy() *NetworkConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigInitParameters.
func (*NetworkConfigInitParameters) DeepCopyInto ¶
func (in *NetworkConfigInitParameters) DeepCopyInto(out *NetworkConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkConfigObservation ¶
type NetworkConfigObservation struct { // The name of the allocated IP range for the private IP AlloyDB cluster. For example: "google-managed-services-default". // If set, the instance IPs for this cluster will be created in the allocated range. AllocatedIPRange *string `json:"allocatedIpRange,omitempty" tf:"allocated_ip_range,omitempty"` // The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. // It is specified in the form: "projects/{projectNumber}/global/networks/{network_id}". Network *string `json:"network,omitempty" tf:"network,omitempty"` }
func (*NetworkConfigObservation) DeepCopy ¶
func (in *NetworkConfigObservation) DeepCopy() *NetworkConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigObservation.
func (*NetworkConfigObservation) DeepCopyInto ¶
func (in *NetworkConfigObservation) DeepCopyInto(out *NetworkConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkConfigParameters ¶
type NetworkConfigParameters struct { // The name of the allocated IP range for the private IP AlloyDB cluster. For example: "google-managed-services-default". // If set, the instance IPs for this cluster will be created in the allocated range. // +kubebuilder:validation:Optional AllocatedIPRange *string `json:"allocatedIpRange,omitempty" tf:"allocated_ip_range,omitempty"` // The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. // It is specified in the form: "projects/{projectNumber}/global/networks/{network_id}". // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional Network *string `json:"network,omitempty" tf:"network,omitempty"` // Reference to a Network in compute to populate network. // +kubebuilder:validation:Optional NetworkRef *v1.Reference `json:"networkRef,omitempty" tf:"-"` // Selector for a Network in compute to populate network. // +kubebuilder:validation:Optional NetworkSelector *v1.Selector `json:"networkSelector,omitempty" tf:"-"` }
func (*NetworkConfigParameters) DeepCopy ¶
func (in *NetworkConfigParameters) DeepCopy() *NetworkConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigParameters.
func (*NetworkConfigParameters) DeepCopyInto ¶
func (in *NetworkConfigParameters) DeepCopyInto(out *NetworkConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PscConfigInitParameters ¶ added in v1.7.0
type PscConfigInitParameters struct { // Create an instance that allows connections from Private Service Connect endpoints to the instance. PscEnabled *bool `json:"pscEnabled,omitempty" tf:"psc_enabled,omitempty"` }
func (*PscConfigInitParameters) DeepCopy ¶ added in v1.7.0
func (in *PscConfigInitParameters) DeepCopy() *PscConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PscConfigInitParameters.
func (*PscConfigInitParameters) DeepCopyInto ¶ added in v1.7.0
func (in *PscConfigInitParameters) DeepCopyInto(out *PscConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PscConfigObservation ¶ added in v1.7.0
type PscConfigObservation struct { // Create an instance that allows connections from Private Service Connect endpoints to the instance. PscEnabled *bool `json:"pscEnabled,omitempty" tf:"psc_enabled,omitempty"` }
func (*PscConfigObservation) DeepCopy ¶ added in v1.7.0
func (in *PscConfigObservation) DeepCopy() *PscConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PscConfigObservation.
func (*PscConfigObservation) DeepCopyInto ¶ added in v1.7.0
func (in *PscConfigObservation) DeepCopyInto(out *PscConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PscConfigParameters ¶ added in v1.7.0
type PscConfigParameters struct { // Create an instance that allows connections from Private Service Connect endpoints to the instance. // +kubebuilder:validation:Optional PscEnabled *bool `json:"pscEnabled,omitempty" tf:"psc_enabled,omitempty"` }
func (*PscConfigParameters) DeepCopy ¶ added in v1.7.0
func (in *PscConfigParameters) DeepCopy() *PscConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PscConfigParameters.
func (*PscConfigParameters) DeepCopyInto ¶ added in v1.7.0
func (in *PscConfigParameters) DeepCopyInto(out *PscConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PscInstanceConfigInitParameters ¶ added in v1.7.0
type PscInstanceConfigInitParameters struct { // List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance. // These should be specified as project numbers only. AllowedConsumerProjects []*string `json:"allowedConsumerProjects,omitempty" tf:"allowed_consumer_projects,omitempty"` }
func (*PscInstanceConfigInitParameters) DeepCopy ¶ added in v1.7.0
func (in *PscInstanceConfigInitParameters) DeepCopy() *PscInstanceConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PscInstanceConfigInitParameters.
func (*PscInstanceConfigInitParameters) DeepCopyInto ¶ added in v1.7.0
func (in *PscInstanceConfigInitParameters) DeepCopyInto(out *PscInstanceConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PscInstanceConfigObservation ¶ added in v1.7.0
type PscInstanceConfigObservation struct { // List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance. // These should be specified as project numbers only. AllowedConsumerProjects []*string `json:"allowedConsumerProjects,omitempty" tf:"allowed_consumer_projects,omitempty"` // (Output) // The DNS name of the instance for PSC connectivity. // Name convention: ...alloydb-psc.goog PscDNSName *string `json:"pscDnsName,omitempty" tf:"psc_dns_name,omitempty"` // (Output) // The service attachment created when Private Service Connect (PSC) is enabled for the instance. // The name of the resource will be in the format of // projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name> ServiceAttachmentLink *string `json:"serviceAttachmentLink,omitempty" tf:"service_attachment_link,omitempty"` }
func (*PscInstanceConfigObservation) DeepCopy ¶ added in v1.7.0
func (in *PscInstanceConfigObservation) DeepCopy() *PscInstanceConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PscInstanceConfigObservation.
func (*PscInstanceConfigObservation) DeepCopyInto ¶ added in v1.7.0
func (in *PscInstanceConfigObservation) DeepCopyInto(out *PscInstanceConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PscInstanceConfigParameters ¶ added in v1.7.0
type PscInstanceConfigParameters struct { // List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance. // These should be specified as project numbers only. // +kubebuilder:validation:Optional AllowedConsumerProjects []*string `json:"allowedConsumerProjects,omitempty" tf:"allowed_consumer_projects,omitempty"` }
func (*PscInstanceConfigParameters) DeepCopy ¶ added in v1.7.0
func (in *PscInstanceConfigParameters) DeepCopy() *PscInstanceConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PscInstanceConfigParameters.
func (*PscInstanceConfigParameters) DeepCopyInto ¶ added in v1.7.0
func (in *PscInstanceConfigParameters) DeepCopyInto(out *PscInstanceConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QuantityBasedRetentionInitParameters ¶
type QuantityBasedRetentionInitParameters struct { // The number of backups to retain. Count *float64 `json:"count,omitempty" tf:"count,omitempty"` }
func (*QuantityBasedRetentionInitParameters) DeepCopy ¶
func (in *QuantityBasedRetentionInitParameters) DeepCopy() *QuantityBasedRetentionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuantityBasedRetentionInitParameters.
func (*QuantityBasedRetentionInitParameters) DeepCopyInto ¶
func (in *QuantityBasedRetentionInitParameters) DeepCopyInto(out *QuantityBasedRetentionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QuantityBasedRetentionObservation ¶
type QuantityBasedRetentionObservation struct { // The number of backups to retain. Count *float64 `json:"count,omitempty" tf:"count,omitempty"` }
func (*QuantityBasedRetentionObservation) DeepCopy ¶
func (in *QuantityBasedRetentionObservation) DeepCopy() *QuantityBasedRetentionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuantityBasedRetentionObservation.
func (*QuantityBasedRetentionObservation) DeepCopyInto ¶
func (in *QuantityBasedRetentionObservation) DeepCopyInto(out *QuantityBasedRetentionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QuantityBasedRetentionParameters ¶
type QuantityBasedRetentionParameters struct { // The number of backups to retain. // +kubebuilder:validation:Optional Count *float64 `json:"count,omitempty" tf:"count,omitempty"` }
func (*QuantityBasedRetentionParameters) DeepCopy ¶
func (in *QuantityBasedRetentionParameters) DeepCopy() *QuantityBasedRetentionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuantityBasedRetentionParameters.
func (*QuantityBasedRetentionParameters) DeepCopyInto ¶
func (in *QuantityBasedRetentionParameters) DeepCopyInto(out *QuantityBasedRetentionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueryInsightsConfigInitParameters ¶
type QueryInsightsConfigInitParameters struct { // Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid. QueryPlansPerMinute *float64 `json:"queryPlansPerMinute,omitempty" tf:"query_plans_per_minute,omitempty"` // Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid. QueryStringLength *float64 `json:"queryStringLength,omitempty" tf:"query_string_length,omitempty"` // Record application tags for an instance. This flag is turned "on" by default. RecordApplicationTags *bool `json:"recordApplicationTags,omitempty" tf:"record_application_tags,omitempty"` // Record client address for an instance. Client address is PII information. This flag is turned "on" by default. RecordClientAddress *bool `json:"recordClientAddress,omitempty" tf:"record_client_address,omitempty"` }
func (*QueryInsightsConfigInitParameters) DeepCopy ¶
func (in *QueryInsightsConfigInitParameters) DeepCopy() *QueryInsightsConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryInsightsConfigInitParameters.
func (*QueryInsightsConfigInitParameters) DeepCopyInto ¶
func (in *QueryInsightsConfigInitParameters) DeepCopyInto(out *QueryInsightsConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueryInsightsConfigObservation ¶
type QueryInsightsConfigObservation struct { // Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid. QueryPlansPerMinute *float64 `json:"queryPlansPerMinute,omitempty" tf:"query_plans_per_minute,omitempty"` // Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid. QueryStringLength *float64 `json:"queryStringLength,omitempty" tf:"query_string_length,omitempty"` // Record application tags for an instance. This flag is turned "on" by default. RecordApplicationTags *bool `json:"recordApplicationTags,omitempty" tf:"record_application_tags,omitempty"` // Record client address for an instance. Client address is PII information. This flag is turned "on" by default. RecordClientAddress *bool `json:"recordClientAddress,omitempty" tf:"record_client_address,omitempty"` }
func (*QueryInsightsConfigObservation) DeepCopy ¶
func (in *QueryInsightsConfigObservation) DeepCopy() *QueryInsightsConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryInsightsConfigObservation.
func (*QueryInsightsConfigObservation) DeepCopyInto ¶
func (in *QueryInsightsConfigObservation) DeepCopyInto(out *QueryInsightsConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueryInsightsConfigParameters ¶
type QueryInsightsConfigParameters struct { // Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid. // +kubebuilder:validation:Optional QueryPlansPerMinute *float64 `json:"queryPlansPerMinute,omitempty" tf:"query_plans_per_minute,omitempty"` // Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid. // +kubebuilder:validation:Optional QueryStringLength *float64 `json:"queryStringLength,omitempty" tf:"query_string_length,omitempty"` // Record application tags for an instance. This flag is turned "on" by default. // +kubebuilder:validation:Optional RecordApplicationTags *bool `json:"recordApplicationTags,omitempty" tf:"record_application_tags,omitempty"` // Record client address for an instance. Client address is PII information. This flag is turned "on" by default. // +kubebuilder:validation:Optional RecordClientAddress *bool `json:"recordClientAddress,omitempty" tf:"record_client_address,omitempty"` }
func (*QueryInsightsConfigParameters) DeepCopy ¶
func (in *QueryInsightsConfigParameters) DeepCopy() *QueryInsightsConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryInsightsConfigParameters.
func (*QueryInsightsConfigParameters) DeepCopyInto ¶
func (in *QueryInsightsConfigParameters) DeepCopyInto(out *QueryInsightsConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReadPoolConfigInitParameters ¶
type ReadPoolConfigInitParameters struct { // Read capacity, i.e. number of nodes in a read pool instance. NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"` }
func (*ReadPoolConfigInitParameters) DeepCopy ¶
func (in *ReadPoolConfigInitParameters) DeepCopy() *ReadPoolConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadPoolConfigInitParameters.
func (*ReadPoolConfigInitParameters) DeepCopyInto ¶
func (in *ReadPoolConfigInitParameters) DeepCopyInto(out *ReadPoolConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReadPoolConfigObservation ¶
type ReadPoolConfigObservation struct { // Read capacity, i.e. number of nodes in a read pool instance. NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"` }
func (*ReadPoolConfigObservation) DeepCopy ¶
func (in *ReadPoolConfigObservation) DeepCopy() *ReadPoolConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadPoolConfigObservation.
func (*ReadPoolConfigObservation) DeepCopyInto ¶
func (in *ReadPoolConfigObservation) DeepCopyInto(out *ReadPoolConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReadPoolConfigParameters ¶
type ReadPoolConfigParameters struct { // Read capacity, i.e. number of nodes in a read pool instance. // +kubebuilder:validation:Optional NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"` }
func (*ReadPoolConfigParameters) DeepCopy ¶
func (in *ReadPoolConfigParameters) DeepCopy() *ReadPoolConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadPoolConfigParameters.
func (*ReadPoolConfigParameters) DeepCopyInto ¶
func (in *ReadPoolConfigParameters) DeepCopyInto(out *ReadPoolConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestoreBackupSourceInitParameters ¶
type RestoreBackupSourceInitParameters struct { // The name of the backup that this cluster is restored from. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/alloydb/v1beta2.Backup // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",true) BackupName *string `json:"backupName,omitempty" tf:"backup_name,omitempty"` // Reference to a Backup in alloydb to populate backupName. // +kubebuilder:validation:Optional BackupNameRef *v1.Reference `json:"backupNameRef,omitempty" tf:"-"` // Selector for a Backup in alloydb to populate backupName. // +kubebuilder:validation:Optional BackupNameSelector *v1.Selector `json:"backupNameSelector,omitempty" tf:"-"` }
func (*RestoreBackupSourceInitParameters) DeepCopy ¶
func (in *RestoreBackupSourceInitParameters) DeepCopy() *RestoreBackupSourceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreBackupSourceInitParameters.
func (*RestoreBackupSourceInitParameters) DeepCopyInto ¶
func (in *RestoreBackupSourceInitParameters) DeepCopyInto(out *RestoreBackupSourceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestoreBackupSourceObservation ¶
type RestoreBackupSourceObservation struct { // The name of the backup that this cluster is restored from. BackupName *string `json:"backupName,omitempty" tf:"backup_name,omitempty"` }
func (*RestoreBackupSourceObservation) DeepCopy ¶
func (in *RestoreBackupSourceObservation) DeepCopy() *RestoreBackupSourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreBackupSourceObservation.
func (*RestoreBackupSourceObservation) DeepCopyInto ¶
func (in *RestoreBackupSourceObservation) DeepCopyInto(out *RestoreBackupSourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestoreBackupSourceParameters ¶
type RestoreBackupSourceParameters struct { // The name of the backup that this cluster is restored from. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/alloydb/v1beta2.Backup // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",true) // +kubebuilder:validation:Optional BackupName *string `json:"backupName,omitempty" tf:"backup_name,omitempty"` // Reference to a Backup in alloydb to populate backupName. // +kubebuilder:validation:Optional BackupNameRef *v1.Reference `json:"backupNameRef,omitempty" tf:"-"` // Selector for a Backup in alloydb to populate backupName. // +kubebuilder:validation:Optional BackupNameSelector *v1.Selector `json:"backupNameSelector,omitempty" tf:"-"` }
func (*RestoreBackupSourceParameters) DeepCopy ¶
func (in *RestoreBackupSourceParameters) DeepCopy() *RestoreBackupSourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreBackupSourceParameters.
func (*RestoreBackupSourceParameters) DeepCopyInto ¶
func (in *RestoreBackupSourceParameters) DeepCopyInto(out *RestoreBackupSourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestoreContinuousBackupSourceInitParameters ¶
type RestoreContinuousBackupSourceInitParameters struct { // The name of the source cluster that this cluster is restored from. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/alloydb/v1beta2.Cluster // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",true) Cluster *string `json:"cluster,omitempty" tf:"cluster,omitempty"` // Reference to a Cluster in alloydb to populate cluster. // +kubebuilder:validation:Optional ClusterRef *v1.Reference `json:"clusterRef,omitempty" tf:"-"` // Selector for a Cluster in alloydb to populate cluster. // +kubebuilder:validation:Optional ClusterSelector *v1.Selector `json:"clusterSelector,omitempty" tf:"-"` // The point in time that this cluster is restored to, in RFC 3339 format. PointInTime *string `json:"pointInTime,omitempty" tf:"point_in_time,omitempty"` }
func (*RestoreContinuousBackupSourceInitParameters) DeepCopy ¶
func (in *RestoreContinuousBackupSourceInitParameters) DeepCopy() *RestoreContinuousBackupSourceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreContinuousBackupSourceInitParameters.
func (*RestoreContinuousBackupSourceInitParameters) DeepCopyInto ¶
func (in *RestoreContinuousBackupSourceInitParameters) DeepCopyInto(out *RestoreContinuousBackupSourceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestoreContinuousBackupSourceObservation ¶
type RestoreContinuousBackupSourceObservation struct { // The name of the source cluster that this cluster is restored from. Cluster *string `json:"cluster,omitempty" tf:"cluster,omitempty"` // The point in time that this cluster is restored to, in RFC 3339 format. PointInTime *string `json:"pointInTime,omitempty" tf:"point_in_time,omitempty"` }
func (*RestoreContinuousBackupSourceObservation) DeepCopy ¶
func (in *RestoreContinuousBackupSourceObservation) DeepCopy() *RestoreContinuousBackupSourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreContinuousBackupSourceObservation.
func (*RestoreContinuousBackupSourceObservation) DeepCopyInto ¶
func (in *RestoreContinuousBackupSourceObservation) DeepCopyInto(out *RestoreContinuousBackupSourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestoreContinuousBackupSourceParameters ¶
type RestoreContinuousBackupSourceParameters struct { // The name of the source cluster that this cluster is restored from. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/alloydb/v1beta2.Cluster // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",true) // +kubebuilder:validation:Optional Cluster *string `json:"cluster,omitempty" tf:"cluster,omitempty"` // Reference to a Cluster in alloydb to populate cluster. // +kubebuilder:validation:Optional ClusterRef *v1.Reference `json:"clusterRef,omitempty" tf:"-"` // Selector for a Cluster in alloydb to populate cluster. // +kubebuilder:validation:Optional ClusterSelector *v1.Selector `json:"clusterSelector,omitempty" tf:"-"` // The point in time that this cluster is restored to, in RFC 3339 format. // +kubebuilder:validation:Optional PointInTime *string `json:"pointInTime" tf:"point_in_time,omitempty"` }
func (*RestoreContinuousBackupSourceParameters) DeepCopy ¶
func (in *RestoreContinuousBackupSourceParameters) DeepCopy() *RestoreContinuousBackupSourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreContinuousBackupSourceParameters.
func (*RestoreContinuousBackupSourceParameters) DeepCopyInto ¶
func (in *RestoreContinuousBackupSourceParameters) DeepCopyInto(out *RestoreContinuousBackupSourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSLConfigInitParameters ¶
type SSLConfigInitParameters struct { // SSL mode. Specifies client-server SSL/TLS connection behavior. // Possible values are: ENCRYPTED_ONLY, ALLOW_UNENCRYPTED_AND_ENCRYPTED. SSLMode *string `json:"sslMode,omitempty" tf:"ssl_mode,omitempty"` }
func (*SSLConfigInitParameters) DeepCopy ¶
func (in *SSLConfigInitParameters) DeepCopy() *SSLConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLConfigInitParameters.
func (*SSLConfigInitParameters) DeepCopyInto ¶
func (in *SSLConfigInitParameters) DeepCopyInto(out *SSLConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSLConfigObservation ¶
type SSLConfigObservation struct { // SSL mode. Specifies client-server SSL/TLS connection behavior. // Possible values are: ENCRYPTED_ONLY, ALLOW_UNENCRYPTED_AND_ENCRYPTED. SSLMode *string `json:"sslMode,omitempty" tf:"ssl_mode,omitempty"` }
func (*SSLConfigObservation) DeepCopy ¶
func (in *SSLConfigObservation) DeepCopy() *SSLConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLConfigObservation.
func (*SSLConfigObservation) DeepCopyInto ¶
func (in *SSLConfigObservation) DeepCopyInto(out *SSLConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSLConfigParameters ¶
type SSLConfigParameters struct { // SSL mode. Specifies client-server SSL/TLS connection behavior. // Possible values are: ENCRYPTED_ONLY, ALLOW_UNENCRYPTED_AND_ENCRYPTED. // +kubebuilder:validation:Optional SSLMode *string `json:"sslMode,omitempty" tf:"ssl_mode,omitempty"` }
func (*SSLConfigParameters) DeepCopy ¶
func (in *SSLConfigParameters) DeepCopy() *SSLConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLConfigParameters.
func (*SSLConfigParameters) DeepCopyInto ¶
func (in *SSLConfigParameters) DeepCopyInto(out *SSLConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecondaryConfigInitParameters ¶
type SecondaryConfigInitParameters struct { // Name of the primary cluster must be in the format // 'projects/{project}/locations/{location}/clusters/{cluster_id}' // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/alloydb/v1beta2.Cluster // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",true) PrimaryClusterName *string `json:"primaryClusterName,omitempty" tf:"primary_cluster_name,omitempty"` // Reference to a Cluster in alloydb to populate primaryClusterName. // +kubebuilder:validation:Optional PrimaryClusterNameRef *v1.Reference `json:"primaryClusterNameRef,omitempty" tf:"-"` // Selector for a Cluster in alloydb to populate primaryClusterName. // +kubebuilder:validation:Optional PrimaryClusterNameSelector *v1.Selector `json:"primaryClusterNameSelector,omitempty" tf:"-"` }
func (*SecondaryConfigInitParameters) DeepCopy ¶
func (in *SecondaryConfigInitParameters) DeepCopy() *SecondaryConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecondaryConfigInitParameters.
func (*SecondaryConfigInitParameters) DeepCopyInto ¶
func (in *SecondaryConfigInitParameters) DeepCopyInto(out *SecondaryConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecondaryConfigObservation ¶
type SecondaryConfigObservation struct { // Name of the primary cluster must be in the format // 'projects/{project}/locations/{location}/clusters/{cluster_id}' PrimaryClusterName *string `json:"primaryClusterName,omitempty" tf:"primary_cluster_name,omitempty"` }
func (*SecondaryConfigObservation) DeepCopy ¶
func (in *SecondaryConfigObservation) DeepCopy() *SecondaryConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecondaryConfigObservation.
func (*SecondaryConfigObservation) DeepCopyInto ¶
func (in *SecondaryConfigObservation) DeepCopyInto(out *SecondaryConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecondaryConfigParameters ¶
type SecondaryConfigParameters struct { // Name of the primary cluster must be in the format // 'projects/{project}/locations/{location}/clusters/{cluster_id}' // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/alloydb/v1beta2.Cluster // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",true) // +kubebuilder:validation:Optional PrimaryClusterName *string `json:"primaryClusterName,omitempty" tf:"primary_cluster_name,omitempty"` // Reference to a Cluster in alloydb to populate primaryClusterName. // +kubebuilder:validation:Optional PrimaryClusterNameRef *v1.Reference `json:"primaryClusterNameRef,omitempty" tf:"-"` // Selector for a Cluster in alloydb to populate primaryClusterName. // +kubebuilder:validation:Optional PrimaryClusterNameSelector *v1.Selector `json:"primaryClusterNameSelector,omitempty" tf:"-"` }
func (*SecondaryConfigParameters) DeepCopy ¶
func (in *SecondaryConfigParameters) DeepCopy() *SecondaryConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecondaryConfigParameters.
func (*SecondaryConfigParameters) DeepCopyInto ¶
func (in *SecondaryConfigParameters) DeepCopyInto(out *SecondaryConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StartTimeInitParameters ¶ added in v1.5.0
type StartTimeInitParameters struct { // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. Hours *float64 `json:"hours,omitempty" tf:"hours,omitempty"` // Minutes of hour of day. Currently, only the value 0 is supported. Minutes *float64 `json:"minutes,omitempty" tf:"minutes,omitempty"` // Fractions of seconds in nanoseconds. Currently, only the value 0 is supported. Nanos *float64 `json:"nanos,omitempty" tf:"nanos,omitempty"` // Seconds of minutes of the time. Currently, only the value 0 is supported. Seconds *float64 `json:"seconds,omitempty" tf:"seconds,omitempty"` }
func (*StartTimeInitParameters) DeepCopy ¶ added in v1.5.0
func (in *StartTimeInitParameters) DeepCopy() *StartTimeInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StartTimeInitParameters.
func (*StartTimeInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *StartTimeInitParameters) DeepCopyInto(out *StartTimeInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StartTimeObservation ¶ added in v1.5.0
type StartTimeObservation struct { // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. Hours *float64 `json:"hours,omitempty" tf:"hours,omitempty"` // Minutes of hour of day. Currently, only the value 0 is supported. Minutes *float64 `json:"minutes,omitempty" tf:"minutes,omitempty"` // Fractions of seconds in nanoseconds. Currently, only the value 0 is supported. Nanos *float64 `json:"nanos,omitempty" tf:"nanos,omitempty"` // Seconds of minutes of the time. Currently, only the value 0 is supported. Seconds *float64 `json:"seconds,omitempty" tf:"seconds,omitempty"` }
func (*StartTimeObservation) DeepCopy ¶ added in v1.5.0
func (in *StartTimeObservation) DeepCopy() *StartTimeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StartTimeObservation.
func (*StartTimeObservation) DeepCopyInto ¶ added in v1.5.0
func (in *StartTimeObservation) DeepCopyInto(out *StartTimeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StartTimeParameters ¶ added in v1.5.0
type StartTimeParameters struct { // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. // +kubebuilder:validation:Optional Hours *float64 `json:"hours" tf:"hours,omitempty"` // Minutes of hour of day. Currently, only the value 0 is supported. // +kubebuilder:validation:Optional Minutes *float64 `json:"minutes,omitempty" tf:"minutes,omitempty"` // Fractions of seconds in nanoseconds. Currently, only the value 0 is supported. // +kubebuilder:validation:Optional Nanos *float64 `json:"nanos,omitempty" tf:"nanos,omitempty"` // Seconds of minutes of the time. Currently, only the value 0 is supported. // +kubebuilder:validation:Optional Seconds *float64 `json:"seconds,omitempty" tf:"seconds,omitempty"` }
func (*StartTimeParameters) DeepCopy ¶ added in v1.5.0
func (in *StartTimeParameters) DeepCopy() *StartTimeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StartTimeParameters.
func (*StartTimeParameters) DeepCopyInto ¶ added in v1.5.0
func (in *StartTimeParameters) DeepCopyInto(out *StartTimeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StartTimesInitParameters ¶
type StartTimesInitParameters struct { // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. Hours *float64 `json:"hours,omitempty" tf:"hours,omitempty"` // Minutes of hour of day. Currently, only the value 0 is supported. Minutes *float64 `json:"minutes,omitempty" tf:"minutes,omitempty"` // Fractions of seconds in nanoseconds. Currently, only the value 0 is supported. Nanos *float64 `json:"nanos,omitempty" tf:"nanos,omitempty"` // Seconds of minutes of the time. Currently, only the value 0 is supported. Seconds *float64 `json:"seconds,omitempty" tf:"seconds,omitempty"` }
func (*StartTimesInitParameters) DeepCopy ¶
func (in *StartTimesInitParameters) DeepCopy() *StartTimesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StartTimesInitParameters.
func (*StartTimesInitParameters) DeepCopyInto ¶
func (in *StartTimesInitParameters) DeepCopyInto(out *StartTimesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StartTimesObservation ¶
type StartTimesObservation struct { // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. Hours *float64 `json:"hours,omitempty" tf:"hours,omitempty"` // Minutes of hour of day. Currently, only the value 0 is supported. Minutes *float64 `json:"minutes,omitempty" tf:"minutes,omitempty"` // Fractions of seconds in nanoseconds. Currently, only the value 0 is supported. Nanos *float64 `json:"nanos,omitempty" tf:"nanos,omitempty"` // Seconds of minutes of the time. Currently, only the value 0 is supported. Seconds *float64 `json:"seconds,omitempty" tf:"seconds,omitempty"` }
func (*StartTimesObservation) DeepCopy ¶
func (in *StartTimesObservation) DeepCopy() *StartTimesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StartTimesObservation.
func (*StartTimesObservation) DeepCopyInto ¶
func (in *StartTimesObservation) DeepCopyInto(out *StartTimesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StartTimesParameters ¶
type StartTimesParameters struct { // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. // +kubebuilder:validation:Optional Hours *float64 `json:"hours,omitempty" tf:"hours,omitempty"` // Minutes of hour of day. Currently, only the value 0 is supported. // +kubebuilder:validation:Optional Minutes *float64 `json:"minutes,omitempty" tf:"minutes,omitempty"` // Fractions of seconds in nanoseconds. Currently, only the value 0 is supported. // +kubebuilder:validation:Optional Nanos *float64 `json:"nanos,omitempty" tf:"nanos,omitempty"` // Seconds of minutes of the time. Currently, only the value 0 is supported. // +kubebuilder:validation:Optional Seconds *float64 `json:"seconds,omitempty" tf:"seconds,omitempty"` }
func (*StartTimesParameters) DeepCopy ¶
func (in *StartTimesParameters) DeepCopy() *StartTimesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StartTimesParameters.
func (*StartTimesParameters) DeepCopyInto ¶
func (in *StartTimesParameters) DeepCopyInto(out *StartTimesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeBasedRetentionInitParameters ¶
type TimeBasedRetentionInitParameters struct { // The retention period. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". RetentionPeriod *string `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"` }
func (*TimeBasedRetentionInitParameters) DeepCopy ¶
func (in *TimeBasedRetentionInitParameters) DeepCopy() *TimeBasedRetentionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeBasedRetentionInitParameters.
func (*TimeBasedRetentionInitParameters) DeepCopyInto ¶
func (in *TimeBasedRetentionInitParameters) DeepCopyInto(out *TimeBasedRetentionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeBasedRetentionObservation ¶
type TimeBasedRetentionObservation struct { // The retention period. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". RetentionPeriod *string `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"` }
func (*TimeBasedRetentionObservation) DeepCopy ¶
func (in *TimeBasedRetentionObservation) DeepCopy() *TimeBasedRetentionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeBasedRetentionObservation.
func (*TimeBasedRetentionObservation) DeepCopyInto ¶
func (in *TimeBasedRetentionObservation) DeepCopyInto(out *TimeBasedRetentionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeBasedRetentionParameters ¶
type TimeBasedRetentionParameters struct { // The retention period. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". // +kubebuilder:validation:Optional RetentionPeriod *string `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"` }
func (*TimeBasedRetentionParameters) DeepCopy ¶
func (in *TimeBasedRetentionParameters) DeepCopy() *TimeBasedRetentionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeBasedRetentionParameters.
func (*TimeBasedRetentionParameters) DeepCopyInto ¶
func (in *TimeBasedRetentionParameters) DeepCopyInto(out *TimeBasedRetentionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WeeklyScheduleInitParameters ¶
type WeeklyScheduleInitParameters struct { // The days of the week to perform a backup. At least one day of the week must be provided. // Each value may be one of: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. DaysOfWeek []*string `json:"daysOfWeek,omitempty" tf:"days_of_week,omitempty"` // The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). // Structure is documented below. StartTimes []StartTimesInitParameters `json:"startTimes,omitempty" tf:"start_times,omitempty"` }
func (*WeeklyScheduleInitParameters) DeepCopy ¶
func (in *WeeklyScheduleInitParameters) DeepCopy() *WeeklyScheduleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeeklyScheduleInitParameters.
func (*WeeklyScheduleInitParameters) DeepCopyInto ¶
func (in *WeeklyScheduleInitParameters) DeepCopyInto(out *WeeklyScheduleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WeeklyScheduleObservation ¶
type WeeklyScheduleObservation struct { // The days of the week to perform a backup. At least one day of the week must be provided. // Each value may be one of: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. DaysOfWeek []*string `json:"daysOfWeek,omitempty" tf:"days_of_week,omitempty"` // The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). // Structure is documented below. StartTimes []StartTimesObservation `json:"startTimes,omitempty" tf:"start_times,omitempty"` }
func (*WeeklyScheduleObservation) DeepCopy ¶
func (in *WeeklyScheduleObservation) DeepCopy() *WeeklyScheduleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeeklyScheduleObservation.
func (*WeeklyScheduleObservation) DeepCopyInto ¶
func (in *WeeklyScheduleObservation) DeepCopyInto(out *WeeklyScheduleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WeeklyScheduleParameters ¶
type WeeklyScheduleParameters struct { // The days of the week to perform a backup. At least one day of the week must be provided. // Each value may be one of: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. // +kubebuilder:validation:Optional DaysOfWeek []*string `json:"daysOfWeek,omitempty" tf:"days_of_week,omitempty"` // The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). // Structure is documented below. // +kubebuilder:validation:Optional StartTimes []StartTimesParameters `json:"startTimes" tf:"start_times,omitempty"` }
func (*WeeklyScheduleParameters) DeepCopy ¶
func (in *WeeklyScheduleParameters) DeepCopy() *WeeklyScheduleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeeklyScheduleParameters.
func (*WeeklyScheduleParameters) DeepCopyInto ¶
func (in *WeeklyScheduleParameters) DeepCopyInto(out *WeeklyScheduleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.