Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=sql.gcp.upbound.io +versionName=v1beta2
Index ¶
- Constants
- Variables
- type ActiveDirectoryConfigInitParameters
- type ActiveDirectoryConfigObservation
- type ActiveDirectoryConfigParameters
- type AdvancedMachineFeaturesInitParameters
- type AdvancedMachineFeaturesObservation
- type AdvancedMachineFeaturesParameters
- type AuthorizedNetworksInitParameters
- type AuthorizedNetworksObservation
- type AuthorizedNetworksParameters
- type BackupConfigurationInitParameters
- type BackupConfigurationObservation
- type BackupConfigurationParameters
- type BackupRetentionSettingsInitParameters
- type BackupRetentionSettingsObservation
- type BackupRetentionSettingsParameters
- type CloneInitParameters
- type CloneObservation
- type CloneParameters
- type DataCacheConfigInitParameters
- type DataCacheConfigObservation
- type DataCacheConfigParameters
- type DatabaseFlagsInitParameters
- type DatabaseFlagsObservation
- type DatabaseFlagsParameters
- type DatabaseInstance
- func (in *DatabaseInstance) DeepCopy() *DatabaseInstance
- func (in *DatabaseInstance) DeepCopyInto(out *DatabaseInstance)
- func (in *DatabaseInstance) DeepCopyObject() runtime.Object
- func (mg *DatabaseInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DatabaseInstance) GetConnectionDetailsMapping() map[string]string
- func (mg *DatabaseInstance) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DatabaseInstance) GetID() string
- func (tr *DatabaseInstance) GetInitParameters() (map[string]any, error)
- func (mg *DatabaseInstance) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *DatabaseInstance) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *DatabaseInstance) GetObservation() (map[string]any, error)
- func (tr *DatabaseInstance) GetParameters() (map[string]any, error)
- func (mg *DatabaseInstance) GetProviderConfigReference() *xpv1.Reference
- func (mg *DatabaseInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DatabaseInstance) GetTerraformResourceType() string
- func (tr *DatabaseInstance) GetTerraformSchemaVersion() int
- func (mg *DatabaseInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DatabaseInstance) Hub()
- func (tr *DatabaseInstance) LateInitialize(attrs []byte) (bool, error)
- func (mg *DatabaseInstance) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *DatabaseInstance) SetConditions(c ...xpv1.Condition)
- func (mg *DatabaseInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DatabaseInstance) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *DatabaseInstance) SetObservation(obs map[string]any) error
- func (tr *DatabaseInstance) SetParameters(params map[string]any) error
- func (mg *DatabaseInstance) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DatabaseInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DatabaseInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DatabaseInstanceInitParameters
- type DatabaseInstanceList
- type DatabaseInstanceObservation
- type DatabaseInstanceParameters
- type DatabaseInstanceSpec
- type DatabaseInstanceStatus
- type DenyMaintenancePeriodInitParameters
- type DenyMaintenancePeriodObservation
- type DenyMaintenancePeriodParameters
- type IPAddressInitParameters
- type IPAddressObservation
- type IPAddressParameters
- type IPConfigurationInitParameters
- type IPConfigurationObservation
- type IPConfigurationParameters
- type InsightsConfigInitParameters
- type InsightsConfigObservation
- type InsightsConfigParameters
- type LocationPreferenceInitParameters
- type LocationPreferenceObservation
- type LocationPreferenceParameters
- type MaintenanceWindowInitParameters
- type MaintenanceWindowObservation
- type MaintenanceWindowParameters
- type PasswordPolicyInitParameters
- type PasswordPolicyObservation
- type PasswordPolicyParameters
- type PasswordValidationPolicyInitParameters
- type PasswordValidationPolicyObservation
- type PasswordValidationPolicyParameters
- type PscConfigInitParameters
- type PscConfigObservation
- type PscConfigParameters
- type ReplicaConfigurationInitParameters
- type ReplicaConfigurationObservation
- type ReplicaConfigurationParameters
- type RestoreBackupContextInitParameters
- type RestoreBackupContextObservation
- type RestoreBackupContextParameters
- type SQLServerAuditConfigInitParameters
- type SQLServerAuditConfigObservation
- type SQLServerAuditConfigParameters
- type SQLServerUserDetailsInitParameters
- type SQLServerUserDetailsObservation
- type SQLServerUserDetailsParameters
- type ServerCACertInitParameters
- type ServerCACertObservation
- type ServerCACertParameters
- type SettingsInitParameters
- type SettingsObservation
- type SettingsParameters
- type StatusInitParameters
- type StatusObservation
- type StatusParameters
- type User
- func (in *User) DeepCopy() *User
- func (in *User) DeepCopyInto(out *User)
- func (in *User) DeepCopyObject() runtime.Object
- func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *User) GetConnectionDetailsMapping() map[string]string
- func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *User) GetID() string
- func (tr *User) GetInitParameters() (map[string]any, error)
- func (mg *User) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *User) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *User) GetObservation() (map[string]any, error)
- func (tr *User) GetParameters() (map[string]any, error)
- func (mg *User) GetProviderConfigReference() *xpv1.Reference
- func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *User) GetTerraformResourceType() string
- func (tr *User) GetTerraformSchemaVersion() int
- func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *User) Hub()
- func (tr *User) LateInitialize(attrs []byte) (bool, error)
- func (mg *User) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *User) SetConditions(c ...xpv1.Condition)
- func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *User) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *User) SetObservation(obs map[string]any) error
- func (tr *User) SetParameters(params map[string]any) error
- func (mg *User) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type UserInitParameters
- type UserList
- type UserObservation
- type UserParameters
- type UserSpec
- type UserStatus
Constants ¶
const ( CRDGroup = "sql.gcp.upbound.io" CRDVersion = "v1beta2" )
Package type metadata.
Variables ¶
var ( DatabaseInstance_Kind = "DatabaseInstance" DatabaseInstance_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DatabaseInstance_Kind}.String() DatabaseInstance_KindAPIVersion = DatabaseInstance_Kind + "." + CRDGroupVersion.String() DatabaseInstance_GroupVersionKind = CRDGroupVersion.WithKind(DatabaseInstance_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 ( User_Kind = "User" User_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: User_Kind}.String() User_KindAPIVersion = User_Kind + "." + CRDGroupVersion.String() User_GroupVersionKind = CRDGroupVersion.WithKind(User_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ActiveDirectoryConfigInitParameters ¶
type ActiveDirectoryConfigInitParameters struct { // The domain name for the active directory (e.g., mydomain.com). // Can only be used with SQL Server. Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` }
func (*ActiveDirectoryConfigInitParameters) DeepCopy ¶
func (in *ActiveDirectoryConfigInitParameters) DeepCopy() *ActiveDirectoryConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryConfigInitParameters.
func (*ActiveDirectoryConfigInitParameters) DeepCopyInto ¶
func (in *ActiveDirectoryConfigInitParameters) DeepCopyInto(out *ActiveDirectoryConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActiveDirectoryConfigObservation ¶
type ActiveDirectoryConfigObservation struct { // The domain name for the active directory (e.g., mydomain.com). // Can only be used with SQL Server. Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` }
func (*ActiveDirectoryConfigObservation) DeepCopy ¶
func (in *ActiveDirectoryConfigObservation) DeepCopy() *ActiveDirectoryConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryConfigObservation.
func (*ActiveDirectoryConfigObservation) DeepCopyInto ¶
func (in *ActiveDirectoryConfigObservation) DeepCopyInto(out *ActiveDirectoryConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActiveDirectoryConfigParameters ¶
type ActiveDirectoryConfigParameters struct { // The domain name for the active directory (e.g., mydomain.com). // Can only be used with SQL Server. // +kubebuilder:validation:Optional Domain *string `json:"domain" tf:"domain,omitempty"` }
func (*ActiveDirectoryConfigParameters) DeepCopy ¶
func (in *ActiveDirectoryConfigParameters) DeepCopy() *ActiveDirectoryConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryConfigParameters.
func (*ActiveDirectoryConfigParameters) DeepCopyInto ¶
func (in *ActiveDirectoryConfigParameters) DeepCopyInto(out *ActiveDirectoryConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdvancedMachineFeaturesInitParameters ¶
type AdvancedMachineFeaturesInitParameters struct { // The number of threads per core. The value of this flag can be 1 or 2. To disable SMT, set this flag to 1. Only available in Cloud SQL for SQL Server instances. See smt for more details. ThreadsPerCore *float64 `json:"threadsPerCore,omitempty" tf:"threads_per_core,omitempty"` }
func (*AdvancedMachineFeaturesInitParameters) DeepCopy ¶
func (in *AdvancedMachineFeaturesInitParameters) DeepCopy() *AdvancedMachineFeaturesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedMachineFeaturesInitParameters.
func (*AdvancedMachineFeaturesInitParameters) DeepCopyInto ¶
func (in *AdvancedMachineFeaturesInitParameters) DeepCopyInto(out *AdvancedMachineFeaturesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdvancedMachineFeaturesObservation ¶
type AdvancedMachineFeaturesObservation struct { // The number of threads per core. The value of this flag can be 1 or 2. To disable SMT, set this flag to 1. Only available in Cloud SQL for SQL Server instances. See smt for more details. ThreadsPerCore *float64 `json:"threadsPerCore,omitempty" tf:"threads_per_core,omitempty"` }
func (*AdvancedMachineFeaturesObservation) DeepCopy ¶
func (in *AdvancedMachineFeaturesObservation) DeepCopy() *AdvancedMachineFeaturesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedMachineFeaturesObservation.
func (*AdvancedMachineFeaturesObservation) DeepCopyInto ¶
func (in *AdvancedMachineFeaturesObservation) DeepCopyInto(out *AdvancedMachineFeaturesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdvancedMachineFeaturesParameters ¶
type AdvancedMachineFeaturesParameters struct { // The number of threads per core. The value of this flag can be 1 or 2. To disable SMT, set this flag to 1. Only available in Cloud SQL for SQL Server instances. See smt for more details. // +kubebuilder:validation:Optional ThreadsPerCore *float64 `json:"threadsPerCore,omitempty" tf:"threads_per_core,omitempty"` }
func (*AdvancedMachineFeaturesParameters) DeepCopy ¶
func (in *AdvancedMachineFeaturesParameters) DeepCopy() *AdvancedMachineFeaturesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedMachineFeaturesParameters.
func (*AdvancedMachineFeaturesParameters) DeepCopyInto ¶
func (in *AdvancedMachineFeaturesParameters) DeepCopyInto(out *AdvancedMachineFeaturesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizedNetworksInitParameters ¶
type AuthorizedNetworksInitParameters struct { // The RFC 3339 // formatted date time string indicating when this whitelist expires. ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time,omitempty"` // A name for this whitelist entry. Name *string `json:"name,omitempty" tf:"name,omitempty"` // A CIDR notation IPv4 or IPv6 address that is allowed to // access this instance. Must be set even if other two attributes are not for // the whitelist to become active. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*AuthorizedNetworksInitParameters) DeepCopy ¶
func (in *AuthorizedNetworksInitParameters) DeepCopy() *AuthorizedNetworksInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizedNetworksInitParameters.
func (*AuthorizedNetworksInitParameters) DeepCopyInto ¶
func (in *AuthorizedNetworksInitParameters) DeepCopyInto(out *AuthorizedNetworksInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizedNetworksObservation ¶
type AuthorizedNetworksObservation struct { // The RFC 3339 // formatted date time string indicating when this whitelist expires. ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time,omitempty"` // A name for this whitelist entry. Name *string `json:"name,omitempty" tf:"name,omitempty"` // A CIDR notation IPv4 or IPv6 address that is allowed to // access this instance. Must be set even if other two attributes are not for // the whitelist to become active. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*AuthorizedNetworksObservation) DeepCopy ¶
func (in *AuthorizedNetworksObservation) DeepCopy() *AuthorizedNetworksObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizedNetworksObservation.
func (*AuthorizedNetworksObservation) DeepCopyInto ¶
func (in *AuthorizedNetworksObservation) DeepCopyInto(out *AuthorizedNetworksObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizedNetworksParameters ¶
type AuthorizedNetworksParameters struct { // The RFC 3339 // formatted date time string indicating when this whitelist expires. // +kubebuilder:validation:Optional ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time,omitempty"` // A name for this whitelist entry. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // A CIDR notation IPv4 or IPv6 address that is allowed to // access this instance. Must be set even if other two attributes are not for // the whitelist to become active. // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*AuthorizedNetworksParameters) DeepCopy ¶
func (in *AuthorizedNetworksParameters) DeepCopy() *AuthorizedNetworksParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizedNetworksParameters.
func (*AuthorizedNetworksParameters) DeepCopyInto ¶
func (in *AuthorizedNetworksParameters) DeepCopyInto(out *AuthorizedNetworksParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupConfigurationInitParameters ¶
type BackupConfigurationInitParameters struct { // Backup retention settings. The configuration is detailed below. BackupRetentionSettings *BackupRetentionSettingsInitParameters `json:"backupRetentionSettings,omitempty" tf:"backup_retention_settings,omitempty"` // True if binary logging is enabled. // Can only be used with MySQL. BinaryLogEnabled *bool `json:"binaryLogEnabled,omitempty" tf:"binary_log_enabled,omitempty"` // True if backup configuration is enabled. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // The region where the backup will be stored Location *string `json:"location,omitempty" tf:"location,omitempty"` // True if Point-in-time recovery is enabled. Will restart database if enabled after instance creation. Valid only for PostgreSQL and SQL Server instances. PointInTimeRecoveryEnabled *bool `json:"pointInTimeRecoveryEnabled,omitempty" tf:"point_in_time_recovery_enabled,omitempty"` // HH:MM format time indicating when backup // configuration starts. StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` // The number of days of transaction logs we retain for point in time restore, from 1-7. For PostgreSQL Enterprise Plus instances, the number of days of retained transaction logs can be set from 1 to 35. TransactionLogRetentionDays *float64 `json:"transactionLogRetentionDays,omitempty" tf:"transaction_log_retention_days,omitempty"` }
func (*BackupConfigurationInitParameters) DeepCopy ¶
func (in *BackupConfigurationInitParameters) DeepCopy() *BackupConfigurationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationInitParameters.
func (*BackupConfigurationInitParameters) DeepCopyInto ¶
func (in *BackupConfigurationInitParameters) DeepCopyInto(out *BackupConfigurationInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupConfigurationObservation ¶
type BackupConfigurationObservation struct { // Backup retention settings. The configuration is detailed below. BackupRetentionSettings *BackupRetentionSettingsObservation `json:"backupRetentionSettings,omitempty" tf:"backup_retention_settings,omitempty"` // True if binary logging is enabled. // Can only be used with MySQL. BinaryLogEnabled *bool `json:"binaryLogEnabled,omitempty" tf:"binary_log_enabled,omitempty"` // True if backup configuration is enabled. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // The region where the backup will be stored Location *string `json:"location,omitempty" tf:"location,omitempty"` // True if Point-in-time recovery is enabled. Will restart database if enabled after instance creation. Valid only for PostgreSQL and SQL Server instances. PointInTimeRecoveryEnabled *bool `json:"pointInTimeRecoveryEnabled,omitempty" tf:"point_in_time_recovery_enabled,omitempty"` // HH:MM format time indicating when backup // configuration starts. StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` // The number of days of transaction logs we retain for point in time restore, from 1-7. For PostgreSQL Enterprise Plus instances, the number of days of retained transaction logs can be set from 1 to 35. TransactionLogRetentionDays *float64 `json:"transactionLogRetentionDays,omitempty" tf:"transaction_log_retention_days,omitempty"` }
func (*BackupConfigurationObservation) DeepCopy ¶
func (in *BackupConfigurationObservation) DeepCopy() *BackupConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationObservation.
func (*BackupConfigurationObservation) DeepCopyInto ¶
func (in *BackupConfigurationObservation) DeepCopyInto(out *BackupConfigurationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupConfigurationParameters ¶
type BackupConfigurationParameters struct { // Backup retention settings. The configuration is detailed below. // +kubebuilder:validation:Optional BackupRetentionSettings *BackupRetentionSettingsParameters `json:"backupRetentionSettings,omitempty" tf:"backup_retention_settings,omitempty"` // True if binary logging is enabled. // Can only be used with MySQL. // +kubebuilder:validation:Optional BinaryLogEnabled *bool `json:"binaryLogEnabled,omitempty" tf:"binary_log_enabled,omitempty"` // True if backup configuration is enabled. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // The region where the backup will be stored // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // True if Point-in-time recovery is enabled. Will restart database if enabled after instance creation. Valid only for PostgreSQL and SQL Server instances. // +kubebuilder:validation:Optional PointInTimeRecoveryEnabled *bool `json:"pointInTimeRecoveryEnabled,omitempty" tf:"point_in_time_recovery_enabled,omitempty"` // HH:MM format time indicating when backup // configuration starts. // +kubebuilder:validation:Optional StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` // The number of days of transaction logs we retain for point in time restore, from 1-7. For PostgreSQL Enterprise Plus instances, the number of days of retained transaction logs can be set from 1 to 35. // +kubebuilder:validation:Optional TransactionLogRetentionDays *float64 `json:"transactionLogRetentionDays,omitempty" tf:"transaction_log_retention_days,omitempty"` }
func (*BackupConfigurationParameters) DeepCopy ¶
func (in *BackupConfigurationParameters) DeepCopy() *BackupConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationParameters.
func (*BackupConfigurationParameters) DeepCopyInto ¶
func (in *BackupConfigurationParameters) DeepCopyInto(out *BackupConfigurationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupRetentionSettingsInitParameters ¶
type BackupRetentionSettingsInitParameters struct { // Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit // is 'COUNT', we will retain this many backups. RetainedBackups *float64 `json:"retainedBackups,omitempty" tf:"retained_backups,omitempty"` // The unit that 'retained_backups' represents. Defaults to COUNT. RetentionUnit *string `json:"retentionUnit,omitempty" tf:"retention_unit,omitempty"` }
func (*BackupRetentionSettingsInitParameters) DeepCopy ¶
func (in *BackupRetentionSettingsInitParameters) DeepCopy() *BackupRetentionSettingsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRetentionSettingsInitParameters.
func (*BackupRetentionSettingsInitParameters) DeepCopyInto ¶
func (in *BackupRetentionSettingsInitParameters) DeepCopyInto(out *BackupRetentionSettingsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupRetentionSettingsObservation ¶
type BackupRetentionSettingsObservation struct { // Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit // is 'COUNT', we will retain this many backups. RetainedBackups *float64 `json:"retainedBackups,omitempty" tf:"retained_backups,omitempty"` // The unit that 'retained_backups' represents. Defaults to COUNT. RetentionUnit *string `json:"retentionUnit,omitempty" tf:"retention_unit,omitempty"` }
func (*BackupRetentionSettingsObservation) DeepCopy ¶
func (in *BackupRetentionSettingsObservation) DeepCopy() *BackupRetentionSettingsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRetentionSettingsObservation.
func (*BackupRetentionSettingsObservation) DeepCopyInto ¶
func (in *BackupRetentionSettingsObservation) DeepCopyInto(out *BackupRetentionSettingsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupRetentionSettingsParameters ¶
type BackupRetentionSettingsParameters struct { // Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit // is 'COUNT', we will retain this many backups. // +kubebuilder:validation:Optional RetainedBackups *float64 `json:"retainedBackups" tf:"retained_backups,omitempty"` // The unit that 'retained_backups' represents. Defaults to COUNT. // +kubebuilder:validation:Optional RetentionUnit *string `json:"retentionUnit,omitempty" tf:"retention_unit,omitempty"` }
func (*BackupRetentionSettingsParameters) DeepCopy ¶
func (in *BackupRetentionSettingsParameters) DeepCopy() *BackupRetentionSettingsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRetentionSettingsParameters.
func (*BackupRetentionSettingsParameters) DeepCopyInto ¶
func (in *BackupRetentionSettingsParameters) DeepCopyInto(out *BackupRetentionSettingsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloneInitParameters ¶
type CloneInitParameters struct { // The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. AllocatedIPRange *string `json:"allocatedIpRange,omitempty" tf:"allocated_ip_range,omitempty"` // (SQL Server only, use with point_in_time) Clone only the specified databases from the source instance. Clone all databases if empty. DatabaseNames []*string `json:"databaseNames,omitempty" tf:"database_names,omitempty"` // The timestamp of the point in time that should be restored. PointInTime *string `json:"pointInTime,omitempty" tf:"point_in_time,omitempty"` // (Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance. clone-unavailable-instance PreferredZone *string `json:"preferredZone,omitempty" tf:"preferred_zone,omitempty"` // Name of the source instance which will be cloned. SourceInstanceName *string `json:"sourceInstanceName,omitempty" tf:"source_instance_name,omitempty"` }
func (*CloneInitParameters) DeepCopy ¶
func (in *CloneInitParameters) DeepCopy() *CloneInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneInitParameters.
func (*CloneInitParameters) DeepCopyInto ¶
func (in *CloneInitParameters) DeepCopyInto(out *CloneInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloneObservation ¶
type CloneObservation struct { // The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. AllocatedIPRange *string `json:"allocatedIpRange,omitempty" tf:"allocated_ip_range,omitempty"` // (SQL Server only, use with point_in_time) Clone only the specified databases from the source instance. Clone all databases if empty. DatabaseNames []*string `json:"databaseNames,omitempty" tf:"database_names,omitempty"` // The timestamp of the point in time that should be restored. PointInTime *string `json:"pointInTime,omitempty" tf:"point_in_time,omitempty"` // (Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance. clone-unavailable-instance PreferredZone *string `json:"preferredZone,omitempty" tf:"preferred_zone,omitempty"` // Name of the source instance which will be cloned. SourceInstanceName *string `json:"sourceInstanceName,omitempty" tf:"source_instance_name,omitempty"` }
func (*CloneObservation) DeepCopy ¶
func (in *CloneObservation) DeepCopy() *CloneObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneObservation.
func (*CloneObservation) DeepCopyInto ¶
func (in *CloneObservation) DeepCopyInto(out *CloneObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloneParameters ¶
type CloneParameters struct { // The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. // +kubebuilder:validation:Optional AllocatedIPRange *string `json:"allocatedIpRange,omitempty" tf:"allocated_ip_range,omitempty"` // (SQL Server only, use with point_in_time) Clone only the specified databases from the source instance. Clone all databases if empty. // +kubebuilder:validation:Optional DatabaseNames []*string `json:"databaseNames,omitempty" tf:"database_names,omitempty"` // The timestamp of the point in time that should be restored. // +kubebuilder:validation:Optional PointInTime *string `json:"pointInTime,omitempty" tf:"point_in_time,omitempty"` // (Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance. clone-unavailable-instance // +kubebuilder:validation:Optional PreferredZone *string `json:"preferredZone,omitempty" tf:"preferred_zone,omitempty"` // Name of the source instance which will be cloned. // +kubebuilder:validation:Optional SourceInstanceName *string `json:"sourceInstanceName" tf:"source_instance_name,omitempty"` }
func (*CloneParameters) DeepCopy ¶
func (in *CloneParameters) DeepCopy() *CloneParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneParameters.
func (*CloneParameters) DeepCopyInto ¶
func (in *CloneParameters) DeepCopyInto(out *CloneParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataCacheConfigInitParameters ¶
type DataCacheConfigInitParameters struct { // Whether data cache is enabled for the instance. Defaults to false. Can be used with MYSQL and PostgreSQL only. DataCacheEnabled *bool `json:"dataCacheEnabled,omitempty" tf:"data_cache_enabled,omitempty"` }
func (*DataCacheConfigInitParameters) DeepCopy ¶
func (in *DataCacheConfigInitParameters) DeepCopy() *DataCacheConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCacheConfigInitParameters.
func (*DataCacheConfigInitParameters) DeepCopyInto ¶
func (in *DataCacheConfigInitParameters) DeepCopyInto(out *DataCacheConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataCacheConfigObservation ¶
type DataCacheConfigObservation struct { // Whether data cache is enabled for the instance. Defaults to false. Can be used with MYSQL and PostgreSQL only. DataCacheEnabled *bool `json:"dataCacheEnabled,omitempty" tf:"data_cache_enabled,omitempty"` }
func (*DataCacheConfigObservation) DeepCopy ¶
func (in *DataCacheConfigObservation) DeepCopy() *DataCacheConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCacheConfigObservation.
func (*DataCacheConfigObservation) DeepCopyInto ¶
func (in *DataCacheConfigObservation) DeepCopyInto(out *DataCacheConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataCacheConfigParameters ¶
type DataCacheConfigParameters struct { // Whether data cache is enabled for the instance. Defaults to false. Can be used with MYSQL and PostgreSQL only. // +kubebuilder:validation:Optional DataCacheEnabled *bool `json:"dataCacheEnabled,omitempty" tf:"data_cache_enabled,omitempty"` }
func (*DataCacheConfigParameters) DeepCopy ¶
func (in *DataCacheConfigParameters) DeepCopy() *DataCacheConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCacheConfigParameters.
func (*DataCacheConfigParameters) DeepCopyInto ¶
func (in *DataCacheConfigParameters) DeepCopyInto(out *DataCacheConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseFlagsInitParameters ¶
type DatabaseFlagsInitParameters struct { // A name for this whitelist entry. Name *string `json:"name,omitempty" tf:"name,omitempty"` // A CIDR notation IPv4 or IPv6 address that is allowed to // access this instance. Must be set even if other two attributes are not for // the whitelist to become active. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*DatabaseFlagsInitParameters) DeepCopy ¶
func (in *DatabaseFlagsInitParameters) DeepCopy() *DatabaseFlagsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseFlagsInitParameters.
func (*DatabaseFlagsInitParameters) DeepCopyInto ¶
func (in *DatabaseFlagsInitParameters) DeepCopyInto(out *DatabaseFlagsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseFlagsObservation ¶
type DatabaseFlagsObservation struct { // A name for this whitelist entry. Name *string `json:"name,omitempty" tf:"name,omitempty"` // A CIDR notation IPv4 or IPv6 address that is allowed to // access this instance. Must be set even if other two attributes are not for // the whitelist to become active. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*DatabaseFlagsObservation) DeepCopy ¶
func (in *DatabaseFlagsObservation) DeepCopy() *DatabaseFlagsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseFlagsObservation.
func (*DatabaseFlagsObservation) DeepCopyInto ¶
func (in *DatabaseFlagsObservation) DeepCopyInto(out *DatabaseFlagsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseFlagsParameters ¶
type DatabaseFlagsParameters struct { // A name for this whitelist entry. // +kubebuilder:validation:Optional Name *string `json:"name" tf:"name,omitempty"` // A CIDR notation IPv4 or IPv6 address that is allowed to // access this instance. Must be set even if other two attributes are not for // the whitelist to become active. // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*DatabaseFlagsParameters) DeepCopy ¶
func (in *DatabaseFlagsParameters) DeepCopy() *DatabaseFlagsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseFlagsParameters.
func (*DatabaseFlagsParameters) DeepCopyInto ¶
func (in *DatabaseFlagsParameters) DeepCopyInto(out *DatabaseFlagsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstance ¶
type DatabaseInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.databaseVersion) || (has(self.initProvider) && has(self.initProvider.databaseVersion))",message="spec.forProvider.databaseVersion is a required parameter" Spec DatabaseInstanceSpec `json:"spec"` Status DatabaseInstanceStatus `json:"status,omitempty"` }
DatabaseInstance is the Schema for the DatabaseInstances API. Creates a new SQL database instance in Google Cloud SQL. +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 (*DatabaseInstance) DeepCopy ¶
func (in *DatabaseInstance) DeepCopy() *DatabaseInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstance.
func (*DatabaseInstance) DeepCopyInto ¶
func (in *DatabaseInstance) DeepCopyInto(out *DatabaseInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseInstance) DeepCopyObject ¶
func (in *DatabaseInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DatabaseInstance) GetCondition ¶
func (mg *DatabaseInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DatabaseInstance.
func (*DatabaseInstance) GetConnectionDetailsMapping ¶
func (tr *DatabaseInstance) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this DatabaseInstance
func (*DatabaseInstance) GetDeletionPolicy ¶
func (mg *DatabaseInstance) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DatabaseInstance.
func (*DatabaseInstance) GetID ¶
func (tr *DatabaseInstance) GetID() string
GetID returns ID of underlying Terraform resource of this DatabaseInstance
func (*DatabaseInstance) GetInitParameters ¶
func (tr *DatabaseInstance) GetInitParameters() (map[string]any, error)
GetInitParameters of this DatabaseInstance
func (*DatabaseInstance) GetManagementPolicies ¶
func (mg *DatabaseInstance) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this DatabaseInstance.
func (*DatabaseInstance) GetMergedParameters ¶
func (tr *DatabaseInstance) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this DatabaseInstance
func (*DatabaseInstance) GetObservation ¶
func (tr *DatabaseInstance) GetObservation() (map[string]any, error)
GetObservation of this DatabaseInstance
func (*DatabaseInstance) GetParameters ¶
func (tr *DatabaseInstance) GetParameters() (map[string]any, error)
GetParameters of this DatabaseInstance
func (*DatabaseInstance) GetProviderConfigReference ¶
func (mg *DatabaseInstance) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this DatabaseInstance.
func (*DatabaseInstance) GetPublishConnectionDetailsTo ¶
func (mg *DatabaseInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DatabaseInstance.
func (*DatabaseInstance) GetTerraformResourceType ¶
func (mg *DatabaseInstance) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this DatabaseInstance
func (*DatabaseInstance) GetTerraformSchemaVersion ¶
func (tr *DatabaseInstance) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*DatabaseInstance) GetWriteConnectionSecretToReference ¶
func (mg *DatabaseInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DatabaseInstance.
func (*DatabaseInstance) Hub ¶
func (tr *DatabaseInstance) Hub()
Hub marks this type as a conversion hub.
func (*DatabaseInstance) LateInitialize ¶
func (tr *DatabaseInstance) LateInitialize(attrs []byte) (bool, error)
LateInitialize this DatabaseInstance using its observed tfState. returns True if there are any spec changes for the resource.
func (*DatabaseInstance) ResolveReferences ¶
func (*DatabaseInstance) SetConditions ¶
func (mg *DatabaseInstance) SetConditions(c ...xpv1.Condition)
SetConditions of this DatabaseInstance.
func (*DatabaseInstance) SetDeletionPolicy ¶
func (mg *DatabaseInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DatabaseInstance.
func (*DatabaseInstance) SetManagementPolicies ¶
func (mg *DatabaseInstance) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this DatabaseInstance.
func (*DatabaseInstance) SetObservation ¶
func (tr *DatabaseInstance) SetObservation(obs map[string]any) error
SetObservation for this DatabaseInstance
func (*DatabaseInstance) SetParameters ¶
func (tr *DatabaseInstance) SetParameters(params map[string]any) error
SetParameters for this DatabaseInstance
func (*DatabaseInstance) SetProviderConfigReference ¶
func (mg *DatabaseInstance) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this DatabaseInstance.
func (*DatabaseInstance) SetPublishConnectionDetailsTo ¶
func (mg *DatabaseInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this DatabaseInstance.
func (*DatabaseInstance) SetWriteConnectionSecretToReference ¶
func (mg *DatabaseInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DatabaseInstance.
type DatabaseInstanceInitParameters ¶
type DatabaseInstanceInitParameters struct { // The context needed to create this instance as a clone of another instance. The // configuration is detailed below. Clone *CloneInitParameters `json:"clone,omitempty" tf:"clone,omitempty"` // The MySQL, PostgreSQL or // SQL Server version to use. Supported values include MYSQL_5_6, // MYSQL_5_7, MYSQL_8_0, POSTGRES_9_6,POSTGRES_10, POSTGRES_11, // POSTGRES_12, POSTGRES_13, POSTGRES_14, POSTGRES_15, SQLSERVER_2017_STANDARD, // SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, SQLSERVER_2017_WEB. // SQLSERVER_2019_STANDARD, SQLSERVER_2019_ENTERPRISE, SQLSERVER_2019_EXPRESS, // SQLSERVER_2019_WEB. // Database Version Policies // includes an up-to-date reference of supported versions. DatabaseVersion *string `json:"databaseVersion,omitempty" tf:"database_version,omitempty"` // When the field is set to false, deleting the instance is allowed. DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"` // The full path to the encryption key used for the CMEK disk encryption. // The provided key must be in the same region as the SQL instance. In order // to use this feature, a special kind of service account must be created and // granted permission on this key. This step can currently only be done // manually, please see this step. // That service account needs the Cloud KMS > Cloud KMS CryptoKey Encrypter/Decrypter role on your // key - please see this step. EncryptionKeyName *string `json:"encryptionKeyName,omitempty" tf:"encryption_key_name,omitempty"` // The current software version on the instance. This attribute can not be set during creation. Refer to available_maintenance_versions attribute to see what maintenance_version are available for upgrade. When this attribute gets updated, it will cause an instance restart. Setting a maintenance_version value that is older than the current one on the instance will be ignored. MaintenanceVersion *string `json:"maintenanceVersion,omitempty" tf:"maintenance_version,omitempty"` // The name of the existing instance that will // act as the master in the replication setup. Note, this requires the master to // have binary_log_enabled set, as well as existing backups. MasterInstanceName *string `json:"masterInstanceName,omitempty" tf:"master_instance_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"` // The region the instance will sit in. If a region is not provided in the resource definition, // the provider region will be used instead. Region *string `json:"region,omitempty" tf:"region,omitempty"` // The configuration for replication. The // configuration is detailed below. Valid only for MySQL instances. ReplicaConfiguration *ReplicaConfigurationInitParameters `json:"replicaConfiguration,omitempty" tf:"replica_configuration,omitempty"` // The context needed to restore the database to a backup run. The configuration is detailed below. Adding or modifying this // block during resource creation/update will trigger the restore action after the resource is created/updated. RestoreBackupContext *RestoreBackupContextInitParameters `json:"restoreBackupContext,omitempty" tf:"restore_backup_context,omitempty"` // Initial root password. Can be updated. Required for MS SQL Server. RootPasswordSecretRef *v1.SecretKeySelector `json:"rootPasswordSecretRef,omitempty" tf:"-"` // The settings to use for the database. The // configuration is detailed below. Required if clone is not set. Settings *SettingsInitParameters `json:"settings,omitempty" tf:"settings,omitempty"` }
func (*DatabaseInstanceInitParameters) DeepCopy ¶
func (in *DatabaseInstanceInitParameters) DeepCopy() *DatabaseInstanceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceInitParameters.
func (*DatabaseInstanceInitParameters) DeepCopyInto ¶
func (in *DatabaseInstanceInitParameters) DeepCopyInto(out *DatabaseInstanceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceList ¶
type DatabaseInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DatabaseInstance `json:"items"` }
DatabaseInstanceList contains a list of DatabaseInstances
func (*DatabaseInstanceList) DeepCopy ¶
func (in *DatabaseInstanceList) DeepCopy() *DatabaseInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceList.
func (*DatabaseInstanceList) DeepCopyInto ¶
func (in *DatabaseInstanceList) DeepCopyInto(out *DatabaseInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseInstanceList) DeepCopyObject ¶
func (in *DatabaseInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DatabaseInstanceList) GetItems ¶
func (l *DatabaseInstanceList) GetItems() []resource.Managed
GetItems of this DatabaseInstanceList.
type DatabaseInstanceObservation ¶
type DatabaseInstanceObservation struct { // The list of all maintenance versions applicable on the instance. AvailableMaintenanceVersions []*string `json:"availableMaintenanceVersions,omitempty" tf:"available_maintenance_versions,omitempty"` // The context needed to create this instance as a clone of another instance. The // configuration is detailed below. Clone *CloneObservation `json:"clone,omitempty" tf:"clone,omitempty"` // The connection name of the instance to be used in // connection strings. For example, when connecting with Cloud SQL Proxy. ConnectionName *string `json:"connectionName,omitempty" tf:"connection_name,omitempty"` // The name of the instance. This is done because after a name is used, it cannot be reused for // up to one week. DNSName *string `json:"dnsName,omitempty" tf:"dns_name,omitempty"` // The MySQL, PostgreSQL or // SQL Server version to use. Supported values include MYSQL_5_6, // MYSQL_5_7, MYSQL_8_0, POSTGRES_9_6,POSTGRES_10, POSTGRES_11, // POSTGRES_12, POSTGRES_13, POSTGRES_14, POSTGRES_15, SQLSERVER_2017_STANDARD, // SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, SQLSERVER_2017_WEB. // SQLSERVER_2019_STANDARD, SQLSERVER_2019_ENTERPRISE, SQLSERVER_2019_EXPRESS, // SQLSERVER_2019_WEB. // Database Version Policies // includes an up-to-date reference of supported versions. DatabaseVersion *string `json:"databaseVersion,omitempty" tf:"database_version,omitempty"` // When the field is set to false, deleting the instance is allowed. DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"` // The full path to the encryption key used for the CMEK disk encryption. // The provided key must be in the same region as the SQL instance. In order // to use this feature, a special kind of service account must be created and // granted permission on this key. This step can currently only be done // manually, please see this step. // That service account needs the Cloud KMS > Cloud KMS CryptoKey Encrypter/Decrypter role on your // key - please see this step. EncryptionKeyName *string `json:"encryptionKeyName,omitempty" tf:"encryption_key_name,omitempty"` // The first IPv4 address of any type assigned. FirstIPAddress *string `json:"firstIpAddress,omitempty" tf:"first_ip_address,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // The IPv4 address assigned. IPAddress []IPAddressObservation `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // The type of the instance. The supported values are SQL_INSTANCE_TYPE_UNSPECIFIED, CLOUD_SQL_INSTANCE, ON_PREMISES_INSTANCE and READ_REPLICA_INSTANCE. InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"` // The current software version on the instance. This attribute can not be set during creation. Refer to available_maintenance_versions attribute to see what maintenance_version are available for upgrade. When this attribute gets updated, it will cause an instance restart. Setting a maintenance_version value that is older than the current one on the instance will be ignored. MaintenanceVersion *string `json:"maintenanceVersion,omitempty" tf:"maintenance_version,omitempty"` // The name of the existing instance that will // act as the master in the replication setup. Note, this requires the master to // have binary_log_enabled set, as well as existing backups. MasterInstanceName *string `json:"masterInstanceName,omitempty" tf:"master_instance_name,omitempty"` // The first private (PRIVATE) IPv4 address assigned. PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,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 URI that points to the service attachment of the instance. PscServiceAttachmentLink *string `json:"pscServiceAttachmentLink,omitempty" tf:"psc_service_attachment_link,omitempty"` // The first public (PRIMARY) IPv4 address assigned. PublicIPAddress *string `json:"publicIpAddress,omitempty" tf:"public_ip_address,omitempty"` // The region the instance will sit in. If a region is not provided in the resource definition, // the provider region will be used instead. Region *string `json:"region,omitempty" tf:"region,omitempty"` // The configuration for replication. The // configuration is detailed below. Valid only for MySQL instances. ReplicaConfiguration *ReplicaConfigurationObservation `json:"replicaConfiguration,omitempty" tf:"replica_configuration,omitempty"` // The context needed to restore the database to a backup run. The configuration is detailed below. Adding or modifying this // block during resource creation/update will trigger the restore action after the resource is created/updated. RestoreBackupContext *RestoreBackupContextObservation `json:"restoreBackupContext,omitempty" tf:"restore_backup_context,omitempty"` // The URI of the created resource. SelfLink *string `json:"selfLink,omitempty" tf:"self_link,omitempty"` // The service account email address assigned to the // instance. ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty" tf:"service_account_email_address,omitempty"` // The settings to use for the database. The // configuration is detailed below. Required if clone is not set. Settings *SettingsObservation `json:"settings,omitempty" tf:"settings,omitempty"` }
func (*DatabaseInstanceObservation) DeepCopy ¶
func (in *DatabaseInstanceObservation) DeepCopy() *DatabaseInstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceObservation.
func (*DatabaseInstanceObservation) DeepCopyInto ¶
func (in *DatabaseInstanceObservation) DeepCopyInto(out *DatabaseInstanceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceParameters ¶
type DatabaseInstanceParameters struct { // The context needed to create this instance as a clone of another instance. The // configuration is detailed below. // +kubebuilder:validation:Optional Clone *CloneParameters `json:"clone,omitempty" tf:"clone,omitempty"` // The MySQL, PostgreSQL or // SQL Server version to use. Supported values include MYSQL_5_6, // MYSQL_5_7, MYSQL_8_0, POSTGRES_9_6,POSTGRES_10, POSTGRES_11, // POSTGRES_12, POSTGRES_13, POSTGRES_14, POSTGRES_15, SQLSERVER_2017_STANDARD, // SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, SQLSERVER_2017_WEB. // SQLSERVER_2019_STANDARD, SQLSERVER_2019_ENTERPRISE, SQLSERVER_2019_EXPRESS, // SQLSERVER_2019_WEB. // Database Version Policies // includes an up-to-date reference of supported versions. // +kubebuilder:validation:Optional DatabaseVersion *string `json:"databaseVersion,omitempty" tf:"database_version,omitempty"` // When the field is set to false, deleting the instance is allowed. // +kubebuilder:validation:Optional DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"` // The full path to the encryption key used for the CMEK disk encryption. // The provided key must be in the same region as the SQL instance. In order // to use this feature, a special kind of service account must be created and // granted permission on this key. This step can currently only be done // manually, please see this step. // That service account needs the Cloud KMS > Cloud KMS CryptoKey Encrypter/Decrypter role on your // key - please see this step. // +kubebuilder:validation:Optional EncryptionKeyName *string `json:"encryptionKeyName,omitempty" tf:"encryption_key_name,omitempty"` // The current software version on the instance. This attribute can not be set during creation. Refer to available_maintenance_versions attribute to see what maintenance_version are available for upgrade. When this attribute gets updated, it will cause an instance restart. Setting a maintenance_version value that is older than the current one on the instance will be ignored. // +kubebuilder:validation:Optional MaintenanceVersion *string `json:"maintenanceVersion,omitempty" tf:"maintenance_version,omitempty"` // The name of the existing instance that will // act as the master in the replication setup. Note, this requires the master to // have binary_log_enabled set, as well as existing backups. // +kubebuilder:validation:Optional MasterInstanceName *string `json:"masterInstanceName,omitempty" tf:"master_instance_name,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 region the instance will sit in. If a region is not provided in the resource definition, // the provider region will be used instead. // +kubebuilder:validation:Optional Region *string `json:"region,omitempty" tf:"region,omitempty"` // The configuration for replication. The // configuration is detailed below. Valid only for MySQL instances. // +kubebuilder:validation:Optional ReplicaConfiguration *ReplicaConfigurationParameters `json:"replicaConfiguration,omitempty" tf:"replica_configuration,omitempty"` // The context needed to restore the database to a backup run. The configuration is detailed below. Adding or modifying this // block during resource creation/update will trigger the restore action after the resource is created/updated. // +kubebuilder:validation:Optional RestoreBackupContext *RestoreBackupContextParameters `json:"restoreBackupContext,omitempty" tf:"restore_backup_context,omitempty"` // Initial root password. Can be updated. Required for MS SQL Server. // +kubebuilder:validation:Optional RootPasswordSecretRef *v1.SecretKeySelector `json:"rootPasswordSecretRef,omitempty" tf:"-"` // The settings to use for the database. The // configuration is detailed below. Required if clone is not set. // +kubebuilder:validation:Optional Settings *SettingsParameters `json:"settings,omitempty" tf:"settings,omitempty"` }
func (*DatabaseInstanceParameters) DeepCopy ¶
func (in *DatabaseInstanceParameters) DeepCopy() *DatabaseInstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceParameters.
func (*DatabaseInstanceParameters) DeepCopyInto ¶
func (in *DatabaseInstanceParameters) DeepCopyInto(out *DatabaseInstanceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpec ¶
type DatabaseInstanceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DatabaseInstanceParameters `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 DatabaseInstanceInitParameters `json:"initProvider,omitempty"` }
DatabaseInstanceSpec defines the desired state of DatabaseInstance
func (*DatabaseInstanceSpec) DeepCopy ¶
func (in *DatabaseInstanceSpec) DeepCopy() *DatabaseInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpec.
func (*DatabaseInstanceSpec) DeepCopyInto ¶
func (in *DatabaseInstanceSpec) DeepCopyInto(out *DatabaseInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceStatus ¶
type DatabaseInstanceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DatabaseInstanceObservation `json:"atProvider,omitempty"` }
DatabaseInstanceStatus defines the observed state of DatabaseInstance.
func (*DatabaseInstanceStatus) DeepCopy ¶
func (in *DatabaseInstanceStatus) DeepCopy() *DatabaseInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceStatus.
func (*DatabaseInstanceStatus) DeepCopyInto ¶
func (in *DatabaseInstanceStatus) DeepCopyInto(out *DatabaseInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DenyMaintenancePeriodInitParameters ¶
type DenyMaintenancePeriodInitParameters struct { // "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01 EndDate *string `json:"endDate,omitempty" tf:"end_date,omitempty"` // "deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01 StartDate *string `json:"startDate,omitempty" tf:"start_date,omitempty"` // Time in UTC when the "deny maintenance period" starts on startDate and ends on endDate. The time is in format: HH:mm:SS, i.e., 00:00:00 Time *string `json:"time,omitempty" tf:"time,omitempty"` }
func (*DenyMaintenancePeriodInitParameters) DeepCopy ¶
func (in *DenyMaintenancePeriodInitParameters) DeepCopy() *DenyMaintenancePeriodInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyMaintenancePeriodInitParameters.
func (*DenyMaintenancePeriodInitParameters) DeepCopyInto ¶
func (in *DenyMaintenancePeriodInitParameters) DeepCopyInto(out *DenyMaintenancePeriodInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DenyMaintenancePeriodObservation ¶
type DenyMaintenancePeriodObservation struct { // "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01 EndDate *string `json:"endDate,omitempty" tf:"end_date,omitempty"` // "deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01 StartDate *string `json:"startDate,omitempty" tf:"start_date,omitempty"` // Time in UTC when the "deny maintenance period" starts on startDate and ends on endDate. The time is in format: HH:mm:SS, i.e., 00:00:00 Time *string `json:"time,omitempty" tf:"time,omitempty"` }
func (*DenyMaintenancePeriodObservation) DeepCopy ¶
func (in *DenyMaintenancePeriodObservation) DeepCopy() *DenyMaintenancePeriodObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyMaintenancePeriodObservation.
func (*DenyMaintenancePeriodObservation) DeepCopyInto ¶
func (in *DenyMaintenancePeriodObservation) DeepCopyInto(out *DenyMaintenancePeriodObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DenyMaintenancePeriodParameters ¶
type DenyMaintenancePeriodParameters struct { // "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01 // +kubebuilder:validation:Optional EndDate *string `json:"endDate" tf:"end_date,omitempty"` // "deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01 // +kubebuilder:validation:Optional StartDate *string `json:"startDate" tf:"start_date,omitempty"` // Time in UTC when the "deny maintenance period" starts on startDate and ends on endDate. The time is in format: HH:mm:SS, i.e., 00:00:00 // +kubebuilder:validation:Optional Time *string `json:"time" tf:"time,omitempty"` }
func (*DenyMaintenancePeriodParameters) DeepCopy ¶
func (in *DenyMaintenancePeriodParameters) DeepCopy() *DenyMaintenancePeriodParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyMaintenancePeriodParameters.
func (*DenyMaintenancePeriodParameters) DeepCopyInto ¶
func (in *DenyMaintenancePeriodParameters) DeepCopyInto(out *DenyMaintenancePeriodParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPAddressInitParameters ¶
type IPAddressInitParameters struct { }
func (*IPAddressInitParameters) DeepCopy ¶
func (in *IPAddressInitParameters) DeepCopy() *IPAddressInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressInitParameters.
func (*IPAddressInitParameters) DeepCopyInto ¶
func (in *IPAddressInitParameters) DeepCopyInto(out *IPAddressInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPAddressObservation ¶
type IPAddressObservation struct { // The IPv4 address assigned. IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // The time this IP address will be retired, in RFC // 3339 format. TimeToRetire *string `json:"timeToRetire,omitempty" tf:"time_to_retire,omitempty"` // The type of this IP address. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*IPAddressObservation) DeepCopy ¶
func (in *IPAddressObservation) DeepCopy() *IPAddressObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressObservation.
func (*IPAddressObservation) DeepCopyInto ¶
func (in *IPAddressObservation) DeepCopyInto(out *IPAddressObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPAddressParameters ¶
type IPAddressParameters struct { }
func (*IPAddressParameters) DeepCopy ¶
func (in *IPAddressParameters) DeepCopy() *IPAddressParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressParameters.
func (*IPAddressParameters) DeepCopyInto ¶
func (in *IPAddressParameters) DeepCopyInto(out *IPAddressParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPConfigurationInitParameters ¶
type IPConfigurationInitParameters struct { // The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. AllocatedIPRange *string `json:"allocatedIpRange,omitempty" tf:"allocated_ip_range,omitempty"` AuthorizedNetworks []AuthorizedNetworksInitParameters `json:"authorizedNetworks,omitempty" tf:"authorized_networks,omitempty"` // Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported. EnablePrivatePathForGoogleCloudServices *bool `json:"enablePrivatePathForGoogleCloudServices,omitempty" tf:"enable_private_path_for_google_cloud_services,omitempty"` // Whether this Cloud SQL instance should be assigned // a public IPV4 address. At least ipv4_enabled must be enabled or a // private_network must be configured. IPv4Enabled *bool `json:"ipv4Enabled,omitempty" tf:"ipv4_enabled,omitempty"` // The VPC network from which the Cloud SQL // instance is accessible for private IP. For example, projects/myProject/global/networks/default. // Specifying a network enables private IP. // At least ipv4_enabled must be enabled or a private_network must be configured. // This setting can be updated, but it cannot be removed after it is set. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("self_link",true) PrivateNetwork *string `json:"privateNetwork,omitempty" tf:"private_network,omitempty"` // Reference to a Network in compute to populate privateNetwork. // +kubebuilder:validation:Optional PrivateNetworkRef *v1.Reference `json:"privateNetworkRef,omitempty" tf:"-"` // Selector for a Network in compute to populate privateNetwork. // +kubebuilder:validation:Optional PrivateNetworkSelector *v1.Selector `json:"privateNetworkSelector,omitempty" tf:"-"` PscConfig []PscConfigInitParameters `json:"pscConfig,omitempty" tf:"psc_config,omitempty"` // Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode. It will be fully deprecated in a future major release. For now, please use ssl_mode with a compatible require_ssl value instead. RequireSSL *bool `json:"requireSsl,omitempty" tf:"require_ssl,omitempty"` // Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to require_ssl. To change this field, also set the correspoding value in require_ssl. SSLMode *string `json:"sslMode,omitempty" tf:"ssl_mode,omitempty"` // Specify how the server certificate's Certificate Authority is hosted. Supported value is GOOGLE_MANAGED_INTERNAL_CA. ServerCAMode *string `json:"serverCaMode,omitempty" tf:"server_ca_mode,omitempty"` }
func (*IPConfigurationInitParameters) DeepCopy ¶
func (in *IPConfigurationInitParameters) DeepCopy() *IPConfigurationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationInitParameters.
func (*IPConfigurationInitParameters) DeepCopyInto ¶
func (in *IPConfigurationInitParameters) DeepCopyInto(out *IPConfigurationInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPConfigurationObservation ¶
type IPConfigurationObservation struct { // The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. AllocatedIPRange *string `json:"allocatedIpRange,omitempty" tf:"allocated_ip_range,omitempty"` AuthorizedNetworks []AuthorizedNetworksObservation `json:"authorizedNetworks,omitempty" tf:"authorized_networks,omitempty"` // Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported. EnablePrivatePathForGoogleCloudServices *bool `json:"enablePrivatePathForGoogleCloudServices,omitempty" tf:"enable_private_path_for_google_cloud_services,omitempty"` // Whether this Cloud SQL instance should be assigned // a public IPV4 address. At least ipv4_enabled must be enabled or a // private_network must be configured. IPv4Enabled *bool `json:"ipv4Enabled,omitempty" tf:"ipv4_enabled,omitempty"` // The VPC network from which the Cloud SQL // instance is accessible for private IP. For example, projects/myProject/global/networks/default. // Specifying a network enables private IP. // At least ipv4_enabled must be enabled or a private_network must be configured. // This setting can be updated, but it cannot be removed after it is set. PrivateNetwork *string `json:"privateNetwork,omitempty" tf:"private_network,omitempty"` PscConfig []PscConfigObservation `json:"pscConfig,omitempty" tf:"psc_config,omitempty"` // Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode. It will be fully deprecated in a future major release. For now, please use ssl_mode with a compatible require_ssl value instead. RequireSSL *bool `json:"requireSsl,omitempty" tf:"require_ssl,omitempty"` // Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to require_ssl. To change this field, also set the correspoding value in require_ssl. SSLMode *string `json:"sslMode,omitempty" tf:"ssl_mode,omitempty"` // Specify how the server certificate's Certificate Authority is hosted. Supported value is GOOGLE_MANAGED_INTERNAL_CA. ServerCAMode *string `json:"serverCaMode,omitempty" tf:"server_ca_mode,omitempty"` }
func (*IPConfigurationObservation) DeepCopy ¶
func (in *IPConfigurationObservation) DeepCopy() *IPConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationObservation.
func (*IPConfigurationObservation) DeepCopyInto ¶
func (in *IPConfigurationObservation) DeepCopyInto(out *IPConfigurationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPConfigurationParameters ¶
type IPConfigurationParameters struct { // The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. // +kubebuilder:validation:Optional AllocatedIPRange *string `json:"allocatedIpRange,omitempty" tf:"allocated_ip_range,omitempty"` // +kubebuilder:validation:Optional AuthorizedNetworks []AuthorizedNetworksParameters `json:"authorizedNetworks,omitempty" tf:"authorized_networks,omitempty"` // Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported. // +kubebuilder:validation:Optional EnablePrivatePathForGoogleCloudServices *bool `json:"enablePrivatePathForGoogleCloudServices,omitempty" tf:"enable_private_path_for_google_cloud_services,omitempty"` // Whether this Cloud SQL instance should be assigned // a public IPV4 address. At least ipv4_enabled must be enabled or a // private_network must be configured. // +kubebuilder:validation:Optional IPv4Enabled *bool `json:"ipv4Enabled,omitempty" tf:"ipv4_enabled,omitempty"` // The VPC network from which the Cloud SQL // instance is accessible for private IP. For example, projects/myProject/global/networks/default. // Specifying a network enables private IP. // At least ipv4_enabled must be enabled or a private_network must be configured. // This setting can be updated, but it cannot be removed after it is set. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("self_link",true) // +kubebuilder:validation:Optional PrivateNetwork *string `json:"privateNetwork,omitempty" tf:"private_network,omitempty"` // Reference to a Network in compute to populate privateNetwork. // +kubebuilder:validation:Optional PrivateNetworkRef *v1.Reference `json:"privateNetworkRef,omitempty" tf:"-"` // Selector for a Network in compute to populate privateNetwork. // +kubebuilder:validation:Optional PrivateNetworkSelector *v1.Selector `json:"privateNetworkSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional PscConfig []PscConfigParameters `json:"pscConfig,omitempty" tf:"psc_config,omitempty"` // Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode. It will be fully deprecated in a future major release. For now, please use ssl_mode with a compatible require_ssl value instead. // +kubebuilder:validation:Optional RequireSSL *bool `json:"requireSsl,omitempty" tf:"require_ssl,omitempty"` // Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to require_ssl. To change this field, also set the correspoding value in require_ssl. // +kubebuilder:validation:Optional SSLMode *string `json:"sslMode,omitempty" tf:"ssl_mode,omitempty"` // Specify how the server certificate's Certificate Authority is hosted. Supported value is GOOGLE_MANAGED_INTERNAL_CA. // +kubebuilder:validation:Optional ServerCAMode *string `json:"serverCaMode,omitempty" tf:"server_ca_mode,omitempty"` }
func (*IPConfigurationParameters) DeepCopy ¶
func (in *IPConfigurationParameters) DeepCopy() *IPConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationParameters.
func (*IPConfigurationParameters) DeepCopyInto ¶
func (in *IPConfigurationParameters) DeepCopyInto(out *IPConfigurationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InsightsConfigInitParameters ¶
type InsightsConfigInitParameters struct { // True if Query Insights feature is enabled. QueryInsightsEnabled *bool `json:"queryInsightsEnabled,omitempty" tf:"query_insights_enabled,omitempty"` // Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5. QueryPlansPerMinute *float64 `json:"queryPlansPerMinute,omitempty" tf:"query_plans_per_minute,omitempty"` // Maximum query length stored in bytes. Between 256 and 4500. Default to 1024. Higher query lengths are more useful for analytical queries, but they also require more memory. Changing the query length requires you to restart the instance. You can still add tags to queries that exceed the length limit. QueryStringLength *float64 `json:"queryStringLength,omitempty" tf:"query_string_length,omitempty"` // True if Query Insights will record application tags from query when enabled. RecordApplicationTags *bool `json:"recordApplicationTags,omitempty" tf:"record_application_tags,omitempty"` // True if Query Insights will record client address when enabled. RecordClientAddress *bool `json:"recordClientAddress,omitempty" tf:"record_client_address,omitempty"` }
func (*InsightsConfigInitParameters) DeepCopy ¶
func (in *InsightsConfigInitParameters) DeepCopy() *InsightsConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsConfigInitParameters.
func (*InsightsConfigInitParameters) DeepCopyInto ¶
func (in *InsightsConfigInitParameters) DeepCopyInto(out *InsightsConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InsightsConfigObservation ¶
type InsightsConfigObservation struct { // True if Query Insights feature is enabled. QueryInsightsEnabled *bool `json:"queryInsightsEnabled,omitempty" tf:"query_insights_enabled,omitempty"` // Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5. QueryPlansPerMinute *float64 `json:"queryPlansPerMinute,omitempty" tf:"query_plans_per_minute,omitempty"` // Maximum query length stored in bytes. Between 256 and 4500. Default to 1024. Higher query lengths are more useful for analytical queries, but they also require more memory. Changing the query length requires you to restart the instance. You can still add tags to queries that exceed the length limit. QueryStringLength *float64 `json:"queryStringLength,omitempty" tf:"query_string_length,omitempty"` // True if Query Insights will record application tags from query when enabled. RecordApplicationTags *bool `json:"recordApplicationTags,omitempty" tf:"record_application_tags,omitempty"` // True if Query Insights will record client address when enabled. RecordClientAddress *bool `json:"recordClientAddress,omitempty" tf:"record_client_address,omitempty"` }
func (*InsightsConfigObservation) DeepCopy ¶
func (in *InsightsConfigObservation) DeepCopy() *InsightsConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsConfigObservation.
func (*InsightsConfigObservation) DeepCopyInto ¶
func (in *InsightsConfigObservation) DeepCopyInto(out *InsightsConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InsightsConfigParameters ¶
type InsightsConfigParameters struct { // True if Query Insights feature is enabled. // +kubebuilder:validation:Optional QueryInsightsEnabled *bool `json:"queryInsightsEnabled,omitempty" tf:"query_insights_enabled,omitempty"` // Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5. // +kubebuilder:validation:Optional QueryPlansPerMinute *float64 `json:"queryPlansPerMinute,omitempty" tf:"query_plans_per_minute,omitempty"` // Maximum query length stored in bytes. Between 256 and 4500. Default to 1024. Higher query lengths are more useful for analytical queries, but they also require more memory. Changing the query length requires you to restart the instance. You can still add tags to queries that exceed the length limit. // +kubebuilder:validation:Optional QueryStringLength *float64 `json:"queryStringLength,omitempty" tf:"query_string_length,omitempty"` // True if Query Insights will record application tags from query when enabled. // +kubebuilder:validation:Optional RecordApplicationTags *bool `json:"recordApplicationTags,omitempty" tf:"record_application_tags,omitempty"` // True if Query Insights will record client address when enabled. // +kubebuilder:validation:Optional RecordClientAddress *bool `json:"recordClientAddress,omitempty" tf:"record_client_address,omitempty"` }
func (*InsightsConfigParameters) DeepCopy ¶
func (in *InsightsConfigParameters) DeepCopy() *InsightsConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsConfigParameters.
func (*InsightsConfigParameters) DeepCopyInto ¶
func (in *InsightsConfigParameters) DeepCopyInto(out *InsightsConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocationPreferenceInitParameters ¶
type LocationPreferenceInitParameters struct { // A GAE application whose zone to remain // in. Must be in the same region as this instance. FollowGaeApplication *string `json:"followGaeApplication,omitempty" tf:"follow_gae_application,omitempty"` // The preferred Compute Engine zone for the secondary/failover. SecondaryZone *string `json:"secondaryZone,omitempty" tf:"secondary_zone,omitempty"` // The preferred compute engine // zone. Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*LocationPreferenceInitParameters) DeepCopy ¶
func (in *LocationPreferenceInitParameters) DeepCopy() *LocationPreferenceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationPreferenceInitParameters.
func (*LocationPreferenceInitParameters) DeepCopyInto ¶
func (in *LocationPreferenceInitParameters) DeepCopyInto(out *LocationPreferenceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocationPreferenceObservation ¶
type LocationPreferenceObservation struct { // A GAE application whose zone to remain // in. Must be in the same region as this instance. FollowGaeApplication *string `json:"followGaeApplication,omitempty" tf:"follow_gae_application,omitempty"` // The preferred Compute Engine zone for the secondary/failover. SecondaryZone *string `json:"secondaryZone,omitempty" tf:"secondary_zone,omitempty"` // The preferred compute engine // zone. Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*LocationPreferenceObservation) DeepCopy ¶
func (in *LocationPreferenceObservation) DeepCopy() *LocationPreferenceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationPreferenceObservation.
func (*LocationPreferenceObservation) DeepCopyInto ¶
func (in *LocationPreferenceObservation) DeepCopyInto(out *LocationPreferenceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocationPreferenceParameters ¶
type LocationPreferenceParameters struct { // A GAE application whose zone to remain // in. Must be in the same region as this instance. // +kubebuilder:validation:Optional FollowGaeApplication *string `json:"followGaeApplication,omitempty" tf:"follow_gae_application,omitempty"` // The preferred Compute Engine zone for the secondary/failover. // +kubebuilder:validation:Optional SecondaryZone *string `json:"secondaryZone,omitempty" tf:"secondary_zone,omitempty"` // The preferred compute engine // zone. // +kubebuilder:validation:Optional Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*LocationPreferenceParameters) DeepCopy ¶
func (in *LocationPreferenceParameters) DeepCopy() *LocationPreferenceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationPreferenceParameters.
func (*LocationPreferenceParameters) DeepCopyInto ¶
func (in *LocationPreferenceParameters) DeepCopyInto(out *LocationPreferenceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceWindowInitParameters ¶
type MaintenanceWindowInitParameters struct { // Day of week (1-7), starting on Monday Day *float64 `json:"day,omitempty" tf:"day,omitempty"` // Hour of day (0-23), ignored if day not set Hour *float64 `json:"hour,omitempty" tf:"hour,omitempty"` // Receive updates after one week (canary) or after two weeks (stable) or after five weeks (week5) of notification. UpdateTrack *string `json:"updateTrack,omitempty" tf:"update_track,omitempty"` }
func (*MaintenanceWindowInitParameters) DeepCopy ¶
func (in *MaintenanceWindowInitParameters) DeepCopy() *MaintenanceWindowInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowInitParameters.
func (*MaintenanceWindowInitParameters) DeepCopyInto ¶
func (in *MaintenanceWindowInitParameters) DeepCopyInto(out *MaintenanceWindowInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceWindowObservation ¶
type MaintenanceWindowObservation struct { // Day of week (1-7), starting on Monday Day *float64 `json:"day,omitempty" tf:"day,omitempty"` // Hour of day (0-23), ignored if day not set Hour *float64 `json:"hour,omitempty" tf:"hour,omitempty"` // Receive updates after one week (canary) or after two weeks (stable) or after five weeks (week5) of notification. UpdateTrack *string `json:"updateTrack,omitempty" tf:"update_track,omitempty"` }
func (*MaintenanceWindowObservation) DeepCopy ¶
func (in *MaintenanceWindowObservation) DeepCopy() *MaintenanceWindowObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowObservation.
func (*MaintenanceWindowObservation) DeepCopyInto ¶
func (in *MaintenanceWindowObservation) DeepCopyInto(out *MaintenanceWindowObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceWindowParameters ¶
type MaintenanceWindowParameters struct { // Day of week (1-7), starting on Monday // +kubebuilder:validation:Optional Day *float64 `json:"day,omitempty" tf:"day,omitempty"` // Hour of day (0-23), ignored if day not set // +kubebuilder:validation:Optional Hour *float64 `json:"hour,omitempty" tf:"hour,omitempty"` // Receive updates after one week (canary) or after two weeks (stable) or after five weeks (week5) of notification. // +kubebuilder:validation:Optional UpdateTrack *string `json:"updateTrack,omitempty" tf:"update_track,omitempty"` }
func (*MaintenanceWindowParameters) DeepCopy ¶
func (in *MaintenanceWindowParameters) DeepCopy() *MaintenanceWindowParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowParameters.
func (*MaintenanceWindowParameters) DeepCopyInto ¶
func (in *MaintenanceWindowParameters) DeepCopyInto(out *MaintenanceWindowParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PasswordPolicyInitParameters ¶
type PasswordPolicyInitParameters struct { // Number of failed attempts allowed before the user get locked. AllowedFailedAttempts *float64 `json:"allowedFailedAttempts,omitempty" tf:"allowed_failed_attempts,omitempty"` // If true, the check that will lock user after too many failed login attempts will be enabled. EnableFailedAttemptsCheck *bool `json:"enableFailedAttemptsCheck,omitempty" tf:"enable_failed_attempts_check,omitempty"` // If true, the user must specify the current password before changing the password. This flag is supported only for MySQL. EnablePasswordVerification *bool `json:"enablePasswordVerification,omitempty" tf:"enable_password_verification,omitempty"` // Password expiration duration with one week grace period. PasswordExpirationDuration *string `json:"passwordExpirationDuration,omitempty" tf:"password_expiration_duration,omitempty"` }
func (*PasswordPolicyInitParameters) DeepCopy ¶
func (in *PasswordPolicyInitParameters) DeepCopy() *PasswordPolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordPolicyInitParameters.
func (*PasswordPolicyInitParameters) DeepCopyInto ¶
func (in *PasswordPolicyInitParameters) DeepCopyInto(out *PasswordPolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PasswordPolicyObservation ¶
type PasswordPolicyObservation struct { // Number of failed attempts allowed before the user get locked. AllowedFailedAttempts *float64 `json:"allowedFailedAttempts,omitempty" tf:"allowed_failed_attempts,omitempty"` // If true, the check that will lock user after too many failed login attempts will be enabled. EnableFailedAttemptsCheck *bool `json:"enableFailedAttemptsCheck,omitempty" tf:"enable_failed_attempts_check,omitempty"` // If true, the user must specify the current password before changing the password. This flag is supported only for MySQL. EnablePasswordVerification *bool `json:"enablePasswordVerification,omitempty" tf:"enable_password_verification,omitempty"` // Password expiration duration with one week grace period. PasswordExpirationDuration *string `json:"passwordExpirationDuration,omitempty" tf:"password_expiration_duration,omitempty"` Status []StatusObservation `json:"status,omitempty" tf:"status,omitempty"` }
func (*PasswordPolicyObservation) DeepCopy ¶
func (in *PasswordPolicyObservation) DeepCopy() *PasswordPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordPolicyObservation.
func (*PasswordPolicyObservation) DeepCopyInto ¶
func (in *PasswordPolicyObservation) DeepCopyInto(out *PasswordPolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PasswordPolicyParameters ¶
type PasswordPolicyParameters struct { // Number of failed attempts allowed before the user get locked. // +kubebuilder:validation:Optional AllowedFailedAttempts *float64 `json:"allowedFailedAttempts,omitempty" tf:"allowed_failed_attempts,omitempty"` // If true, the check that will lock user after too many failed login attempts will be enabled. // +kubebuilder:validation:Optional EnableFailedAttemptsCheck *bool `json:"enableFailedAttemptsCheck,omitempty" tf:"enable_failed_attempts_check,omitempty"` // If true, the user must specify the current password before changing the password. This flag is supported only for MySQL. // +kubebuilder:validation:Optional EnablePasswordVerification *bool `json:"enablePasswordVerification,omitempty" tf:"enable_password_verification,omitempty"` // Password expiration duration with one week grace period. // +kubebuilder:validation:Optional PasswordExpirationDuration *string `json:"passwordExpirationDuration,omitempty" tf:"password_expiration_duration,omitempty"` }
func (*PasswordPolicyParameters) DeepCopy ¶
func (in *PasswordPolicyParameters) DeepCopy() *PasswordPolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordPolicyParameters.
func (*PasswordPolicyParameters) DeepCopyInto ¶
func (in *PasswordPolicyParameters) DeepCopyInto(out *PasswordPolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PasswordValidationPolicyInitParameters ¶
type PasswordValidationPolicyInitParameters struct { // Checks if the password is a combination of lowercase, uppercase, numeric, and non-alphanumeric characters. Complexity *string `json:"complexity,omitempty" tf:"complexity,omitempty"` // Prevents the use of the username in the password. DisallowUsernameSubstring *bool `json:"disallowUsernameSubstring,omitempty" tf:"disallow_username_substring,omitempty"` // Enables or disable the password validation policy. EnablePasswordPolicy *bool `json:"enablePasswordPolicy,omitempty" tf:"enable_password_policy,omitempty"` // Specifies the minimum number of characters that the password must have. MinLength *float64 `json:"minLength,omitempty" tf:"min_length,omitempty"` // Specifies the minimum duration after which you can change the password. PasswordChangeInterval *string `json:"passwordChangeInterval,omitempty" tf:"password_change_interval,omitempty"` // Specifies the number of previous passwords that you can't reuse. ReuseInterval *float64 `json:"reuseInterval,omitempty" tf:"reuse_interval,omitempty"` }
func (*PasswordValidationPolicyInitParameters) DeepCopy ¶
func (in *PasswordValidationPolicyInitParameters) DeepCopy() *PasswordValidationPolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordValidationPolicyInitParameters.
func (*PasswordValidationPolicyInitParameters) DeepCopyInto ¶
func (in *PasswordValidationPolicyInitParameters) DeepCopyInto(out *PasswordValidationPolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PasswordValidationPolicyObservation ¶
type PasswordValidationPolicyObservation struct { // Checks if the password is a combination of lowercase, uppercase, numeric, and non-alphanumeric characters. Complexity *string `json:"complexity,omitempty" tf:"complexity,omitempty"` // Prevents the use of the username in the password. DisallowUsernameSubstring *bool `json:"disallowUsernameSubstring,omitempty" tf:"disallow_username_substring,omitempty"` // Enables or disable the password validation policy. EnablePasswordPolicy *bool `json:"enablePasswordPolicy,omitempty" tf:"enable_password_policy,omitempty"` // Specifies the minimum number of characters that the password must have. MinLength *float64 `json:"minLength,omitempty" tf:"min_length,omitempty"` // Specifies the minimum duration after which you can change the password. PasswordChangeInterval *string `json:"passwordChangeInterval,omitempty" tf:"password_change_interval,omitempty"` // Specifies the number of previous passwords that you can't reuse. ReuseInterval *float64 `json:"reuseInterval,omitempty" tf:"reuse_interval,omitempty"` }
func (*PasswordValidationPolicyObservation) DeepCopy ¶
func (in *PasswordValidationPolicyObservation) DeepCopy() *PasswordValidationPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordValidationPolicyObservation.
func (*PasswordValidationPolicyObservation) DeepCopyInto ¶
func (in *PasswordValidationPolicyObservation) DeepCopyInto(out *PasswordValidationPolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PasswordValidationPolicyParameters ¶
type PasswordValidationPolicyParameters struct { // Checks if the password is a combination of lowercase, uppercase, numeric, and non-alphanumeric characters. // +kubebuilder:validation:Optional Complexity *string `json:"complexity,omitempty" tf:"complexity,omitempty"` // Prevents the use of the username in the password. // +kubebuilder:validation:Optional DisallowUsernameSubstring *bool `json:"disallowUsernameSubstring,omitempty" tf:"disallow_username_substring,omitempty"` // Enables or disable the password validation policy. // +kubebuilder:validation:Optional EnablePasswordPolicy *bool `json:"enablePasswordPolicy" tf:"enable_password_policy,omitempty"` // Specifies the minimum number of characters that the password must have. // +kubebuilder:validation:Optional MinLength *float64 `json:"minLength,omitempty" tf:"min_length,omitempty"` // Specifies the minimum duration after which you can change the password. // +kubebuilder:validation:Optional PasswordChangeInterval *string `json:"passwordChangeInterval,omitempty" tf:"password_change_interval,omitempty"` // Specifies the number of previous passwords that you can't reuse. // +kubebuilder:validation:Optional ReuseInterval *float64 `json:"reuseInterval,omitempty" tf:"reuse_interval,omitempty"` }
func (*PasswordValidationPolicyParameters) DeepCopy ¶
func (in *PasswordValidationPolicyParameters) DeepCopy() *PasswordValidationPolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordValidationPolicyParameters.
func (*PasswordValidationPolicyParameters) DeepCopyInto ¶
func (in *PasswordValidationPolicyParameters) DeepCopyInto(out *PasswordValidationPolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PscConfigInitParameters ¶
type PscConfigInitParameters struct { // List of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric). // +listType=set AllowedConsumerProjects []*string `json:"allowedConsumerProjects,omitempty" tf:"allowed_consumer_projects,omitempty"` // Whether PSC connectivity is enabled for this instance. PscEnabled *bool `json:"pscEnabled,omitempty" tf:"psc_enabled,omitempty"` }
func (*PscConfigInitParameters) DeepCopy ¶
func (in *PscConfigInitParameters) DeepCopy() *PscConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PscConfigInitParameters.
func (*PscConfigInitParameters) DeepCopyInto ¶
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 ¶
type PscConfigObservation struct { // List of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric). // +listType=set AllowedConsumerProjects []*string `json:"allowedConsumerProjects,omitempty" tf:"allowed_consumer_projects,omitempty"` // Whether PSC connectivity is enabled for this instance. PscEnabled *bool `json:"pscEnabled,omitempty" tf:"psc_enabled,omitempty"` }
func (*PscConfigObservation) DeepCopy ¶
func (in *PscConfigObservation) DeepCopy() *PscConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PscConfigObservation.
func (*PscConfigObservation) DeepCopyInto ¶
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 ¶
type PscConfigParameters struct { // List of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric). // +kubebuilder:validation:Optional // +listType=set AllowedConsumerProjects []*string `json:"allowedConsumerProjects,omitempty" tf:"allowed_consumer_projects,omitempty"` // Whether PSC connectivity is enabled for this instance. // +kubebuilder:validation:Optional PscEnabled *bool `json:"pscEnabled,omitempty" tf:"psc_enabled,omitempty"` }
func (*PscConfigParameters) DeepCopy ¶
func (in *PscConfigParameters) DeepCopy() *PscConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PscConfigParameters.
func (*PscConfigParameters) DeepCopyInto ¶
func (in *PscConfigParameters) DeepCopyInto(out *PscConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicaConfigurationInitParameters ¶
type ReplicaConfigurationInitParameters struct { // PEM representation of the trusted CA's x509 // certificate. CACertificate *string `json:"caCertificate,omitempty" tf:"ca_certificate,omitempty"` // PEM representation of the replica's x509 // certificate. ClientCertificate *string `json:"clientCertificate,omitempty" tf:"client_certificate,omitempty"` // PEM representation of the replica's private key. The // corresponding public key in encoded in the client_certificate. ClientKey *string `json:"clientKey,omitempty" tf:"client_key,omitempty"` // The number of seconds // between connect retries. MySQL's default is 60 seconds. ConnectRetryInterval *float64 `json:"connectRetryInterval,omitempty" tf:"connect_retry_interval,omitempty"` // Path to a SQL file in GCS from which replica // instances are created. Format is gs://bucket/filename. DumpFilePath *string `json:"dumpFilePath,omitempty" tf:"dump_file_path,omitempty"` // Specifies if the replica is the failover target. // If the field is set to true the replica will be designated as a failover replica. // If the master instance fails, the replica instance will be promoted as // the new master instance. // ~> NOTE: Not supported for Postgres database. FailoverTarget *bool `json:"failoverTarget,omitempty" tf:"failover_target,omitempty"` // Time in ms between replication // heartbeats. MasterHeartbeatPeriod *float64 `json:"masterHeartbeatPeriod,omitempty" tf:"master_heartbeat_period,omitempty"` // Password for the replication connection. PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` // Permissible ciphers for use in SSL encryption. SSLCipher *string `json:"sslCipher,omitempty" tf:"ssl_cipher,omitempty"` // Username for replication connection. Username *string `json:"username,omitempty" tf:"username,omitempty"` // True if the master's common name // value is checked during the SSL handshake. VerifyServerCertificate *bool `json:"verifyServerCertificate,omitempty" tf:"verify_server_certificate,omitempty"` }
func (*ReplicaConfigurationInitParameters) DeepCopy ¶
func (in *ReplicaConfigurationInitParameters) DeepCopy() *ReplicaConfigurationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaConfigurationInitParameters.
func (*ReplicaConfigurationInitParameters) DeepCopyInto ¶
func (in *ReplicaConfigurationInitParameters) DeepCopyInto(out *ReplicaConfigurationInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicaConfigurationObservation ¶
type ReplicaConfigurationObservation struct { // PEM representation of the trusted CA's x509 // certificate. CACertificate *string `json:"caCertificate,omitempty" tf:"ca_certificate,omitempty"` // PEM representation of the replica's x509 // certificate. ClientCertificate *string `json:"clientCertificate,omitempty" tf:"client_certificate,omitempty"` // PEM representation of the replica's private key. The // corresponding public key in encoded in the client_certificate. ClientKey *string `json:"clientKey,omitempty" tf:"client_key,omitempty"` // The number of seconds // between connect retries. MySQL's default is 60 seconds. ConnectRetryInterval *float64 `json:"connectRetryInterval,omitempty" tf:"connect_retry_interval,omitempty"` // Path to a SQL file in GCS from which replica // instances are created. Format is gs://bucket/filename. DumpFilePath *string `json:"dumpFilePath,omitempty" tf:"dump_file_path,omitempty"` // Specifies if the replica is the failover target. // If the field is set to true the replica will be designated as a failover replica. // If the master instance fails, the replica instance will be promoted as // the new master instance. // ~> NOTE: Not supported for Postgres database. FailoverTarget *bool `json:"failoverTarget,omitempty" tf:"failover_target,omitempty"` // Time in ms between replication // heartbeats. MasterHeartbeatPeriod *float64 `json:"masterHeartbeatPeriod,omitempty" tf:"master_heartbeat_period,omitempty"` // Permissible ciphers for use in SSL encryption. SSLCipher *string `json:"sslCipher,omitempty" tf:"ssl_cipher,omitempty"` // Username for replication connection. Username *string `json:"username,omitempty" tf:"username,omitempty"` // True if the master's common name // value is checked during the SSL handshake. VerifyServerCertificate *bool `json:"verifyServerCertificate,omitempty" tf:"verify_server_certificate,omitempty"` }
func (*ReplicaConfigurationObservation) DeepCopy ¶
func (in *ReplicaConfigurationObservation) DeepCopy() *ReplicaConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaConfigurationObservation.
func (*ReplicaConfigurationObservation) DeepCopyInto ¶
func (in *ReplicaConfigurationObservation) DeepCopyInto(out *ReplicaConfigurationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicaConfigurationParameters ¶
type ReplicaConfigurationParameters struct { // PEM representation of the trusted CA's x509 // certificate. // +kubebuilder:validation:Optional CACertificate *string `json:"caCertificate,omitempty" tf:"ca_certificate,omitempty"` // PEM representation of the replica's x509 // certificate. // +kubebuilder:validation:Optional ClientCertificate *string `json:"clientCertificate,omitempty" tf:"client_certificate,omitempty"` // PEM representation of the replica's private key. The // corresponding public key in encoded in the client_certificate. // +kubebuilder:validation:Optional ClientKey *string `json:"clientKey,omitempty" tf:"client_key,omitempty"` // The number of seconds // between connect retries. MySQL's default is 60 seconds. // +kubebuilder:validation:Optional ConnectRetryInterval *float64 `json:"connectRetryInterval,omitempty" tf:"connect_retry_interval,omitempty"` // Path to a SQL file in GCS from which replica // instances are created. Format is gs://bucket/filename. // +kubebuilder:validation:Optional DumpFilePath *string `json:"dumpFilePath,omitempty" tf:"dump_file_path,omitempty"` // Specifies if the replica is the failover target. // If the field is set to true the replica will be designated as a failover replica. // If the master instance fails, the replica instance will be promoted as // the new master instance. // ~> NOTE: Not supported for Postgres database. // +kubebuilder:validation:Optional FailoverTarget *bool `json:"failoverTarget,omitempty" tf:"failover_target,omitempty"` // Time in ms between replication // heartbeats. // +kubebuilder:validation:Optional MasterHeartbeatPeriod *float64 `json:"masterHeartbeatPeriod,omitempty" tf:"master_heartbeat_period,omitempty"` // Password for the replication connection. // +kubebuilder:validation:Optional PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` // Permissible ciphers for use in SSL encryption. // +kubebuilder:validation:Optional SSLCipher *string `json:"sslCipher,omitempty" tf:"ssl_cipher,omitempty"` // Username for replication connection. // +kubebuilder:validation:Optional Username *string `json:"username,omitempty" tf:"username,omitempty"` // True if the master's common name // value is checked during the SSL handshake. // +kubebuilder:validation:Optional VerifyServerCertificate *bool `json:"verifyServerCertificate,omitempty" tf:"verify_server_certificate,omitempty"` }
func (*ReplicaConfigurationParameters) DeepCopy ¶
func (in *ReplicaConfigurationParameters) DeepCopy() *ReplicaConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaConfigurationParameters.
func (*ReplicaConfigurationParameters) DeepCopyInto ¶
func (in *ReplicaConfigurationParameters) DeepCopyInto(out *ReplicaConfigurationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestoreBackupContextInitParameters ¶
type RestoreBackupContextInitParameters struct { // The ID of the backup run to restore from. BackupRunID *float64 `json:"backupRunId,omitempty" tf:"backup_run_id,omitempty"` // The ID of the instance that the backup was taken from. If left empty, // this instance's ID will be used. InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` // The full project ID of the source instance.` Project *string `json:"project,omitempty" tf:"project,omitempty"` }
func (*RestoreBackupContextInitParameters) DeepCopy ¶
func (in *RestoreBackupContextInitParameters) DeepCopy() *RestoreBackupContextInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreBackupContextInitParameters.
func (*RestoreBackupContextInitParameters) DeepCopyInto ¶
func (in *RestoreBackupContextInitParameters) DeepCopyInto(out *RestoreBackupContextInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestoreBackupContextObservation ¶
type RestoreBackupContextObservation struct { // The ID of the backup run to restore from. BackupRunID *float64 `json:"backupRunId,omitempty" tf:"backup_run_id,omitempty"` // The ID of the instance that the backup was taken from. If left empty, // this instance's ID will be used. InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` // The full project ID of the source instance.` Project *string `json:"project,omitempty" tf:"project,omitempty"` }
func (*RestoreBackupContextObservation) DeepCopy ¶
func (in *RestoreBackupContextObservation) DeepCopy() *RestoreBackupContextObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreBackupContextObservation.
func (*RestoreBackupContextObservation) DeepCopyInto ¶
func (in *RestoreBackupContextObservation) DeepCopyInto(out *RestoreBackupContextObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestoreBackupContextParameters ¶
type RestoreBackupContextParameters struct { // The ID of the backup run to restore from. // +kubebuilder:validation:Optional BackupRunID *float64 `json:"backupRunId" tf:"backup_run_id,omitempty"` // The ID of the instance that the backup was taken from. If left empty, // this instance's ID will be used. // +kubebuilder:validation:Optional InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` // The full project ID of the source instance.` // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` }
func (*RestoreBackupContextParameters) DeepCopy ¶
func (in *RestoreBackupContextParameters) DeepCopy() *RestoreBackupContextParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreBackupContextParameters.
func (*RestoreBackupContextParameters) DeepCopyInto ¶
func (in *RestoreBackupContextParameters) DeepCopyInto(out *RestoreBackupContextParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLServerAuditConfigInitParameters ¶
type SQLServerAuditConfigInitParameters struct { // The name of the destination bucket (e.g., gs://mybucket). Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` // How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". RetentionInterval *string `json:"retentionInterval,omitempty" tf:"retention_interval,omitempty"` // How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". UploadInterval *string `json:"uploadInterval,omitempty" tf:"upload_interval,omitempty"` }
func (*SQLServerAuditConfigInitParameters) DeepCopy ¶
func (in *SQLServerAuditConfigInitParameters) DeepCopy() *SQLServerAuditConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerAuditConfigInitParameters.
func (*SQLServerAuditConfigInitParameters) DeepCopyInto ¶
func (in *SQLServerAuditConfigInitParameters) DeepCopyInto(out *SQLServerAuditConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLServerAuditConfigObservation ¶
type SQLServerAuditConfigObservation struct { // The name of the destination bucket (e.g., gs://mybucket). Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` // How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". RetentionInterval *string `json:"retentionInterval,omitempty" tf:"retention_interval,omitempty"` // How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". UploadInterval *string `json:"uploadInterval,omitempty" tf:"upload_interval,omitempty"` }
func (*SQLServerAuditConfigObservation) DeepCopy ¶
func (in *SQLServerAuditConfigObservation) DeepCopy() *SQLServerAuditConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerAuditConfigObservation.
func (*SQLServerAuditConfigObservation) DeepCopyInto ¶
func (in *SQLServerAuditConfigObservation) DeepCopyInto(out *SQLServerAuditConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLServerAuditConfigParameters ¶
type SQLServerAuditConfigParameters struct { // The name of the destination bucket (e.g., gs://mybucket). // +kubebuilder:validation:Optional Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` // How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". // +kubebuilder:validation:Optional RetentionInterval *string `json:"retentionInterval,omitempty" tf:"retention_interval,omitempty"` // How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". // +kubebuilder:validation:Optional UploadInterval *string `json:"uploadInterval,omitempty" tf:"upload_interval,omitempty"` }
func (*SQLServerAuditConfigParameters) DeepCopy ¶
func (in *SQLServerAuditConfigParameters) DeepCopy() *SQLServerAuditConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerAuditConfigParameters.
func (*SQLServerAuditConfigParameters) DeepCopyInto ¶
func (in *SQLServerAuditConfigParameters) DeepCopyInto(out *SQLServerAuditConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLServerUserDetailsInitParameters ¶
type SQLServerUserDetailsInitParameters struct { }
func (*SQLServerUserDetailsInitParameters) DeepCopy ¶
func (in *SQLServerUserDetailsInitParameters) DeepCopy() *SQLServerUserDetailsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerUserDetailsInitParameters.
func (*SQLServerUserDetailsInitParameters) DeepCopyInto ¶
func (in *SQLServerUserDetailsInitParameters) DeepCopyInto(out *SQLServerUserDetailsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLServerUserDetailsObservation ¶
type SQLServerUserDetailsObservation struct { Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"` ServerRoles []*string `json:"serverRoles,omitempty" tf:"server_roles,omitempty"` }
func (*SQLServerUserDetailsObservation) DeepCopy ¶
func (in *SQLServerUserDetailsObservation) DeepCopy() *SQLServerUserDetailsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerUserDetailsObservation.
func (*SQLServerUserDetailsObservation) DeepCopyInto ¶
func (in *SQLServerUserDetailsObservation) DeepCopyInto(out *SQLServerUserDetailsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLServerUserDetailsParameters ¶
type SQLServerUserDetailsParameters struct { }
func (*SQLServerUserDetailsParameters) DeepCopy ¶
func (in *SQLServerUserDetailsParameters) DeepCopy() *SQLServerUserDetailsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerUserDetailsParameters.
func (*SQLServerUserDetailsParameters) DeepCopyInto ¶
func (in *SQLServerUserDetailsParameters) DeepCopyInto(out *SQLServerUserDetailsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerCACertInitParameters ¶
type ServerCACertInitParameters struct { }
func (*ServerCACertInitParameters) DeepCopy ¶
func (in *ServerCACertInitParameters) DeepCopy() *ServerCACertInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerCACertInitParameters.
func (*ServerCACertInitParameters) DeepCopyInto ¶
func (in *ServerCACertInitParameters) DeepCopyInto(out *ServerCACertInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerCACertObservation ¶
type ServerCACertObservation struct { // The CA Certificate used to connect to the SQL Instance via SSL. Cert *string `json:"cert,omitempty" tf:"cert,omitempty"` // The CN valid for the CA Cert. CommonName *string `json:"commonName,omitempty" tf:"common_name,omitempty"` // Creation time of the CA Cert. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // The RFC 3339 // formatted date time string indicating when this whitelist expires. ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time,omitempty"` // SHA Fingerprint of the CA Cert. Sha1Fingerprint *string `json:"sha1Fingerprint,omitempty" tf:"sha1_fingerprint,omitempty"` }
func (*ServerCACertObservation) DeepCopy ¶
func (in *ServerCACertObservation) DeepCopy() *ServerCACertObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerCACertObservation.
func (*ServerCACertObservation) DeepCopyInto ¶
func (in *ServerCACertObservation) DeepCopyInto(out *ServerCACertObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerCACertParameters ¶
type ServerCACertParameters struct { }
func (*ServerCACertParameters) DeepCopy ¶
func (in *ServerCACertParameters) DeepCopy() *ServerCACertParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerCACertParameters.
func (*ServerCACertParameters) DeepCopyInto ¶
func (in *ServerCACertParameters) DeepCopyInto(out *ServerCACertParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SettingsInitParameters ¶
type SettingsInitParameters struct { // This specifies when the instance should be // active. Can be either ALWAYS, NEVER or ON_DEMAND. ActivationPolicy *string `json:"activationPolicy,omitempty" tf:"activation_policy,omitempty"` ActiveDirectoryConfig *ActiveDirectoryConfigInitParameters `json:"activeDirectoryConfig,omitempty" tf:"active_directory_config,omitempty"` AdvancedMachineFeatures *AdvancedMachineFeaturesInitParameters `json:"advancedMachineFeatures,omitempty" tf:"advanced_machine_features,omitempty"` // The availability type of the Cloud SQL // instance, high availability (REGIONAL) or single zone (ZONAL).' For all instances, ensure that // settings.backup_configuration.enabled is set to true. // For MySQL instances, ensure that settings.backup_configuration.binary_log_enabled is set to true. // For Postgres and SQL Server instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled // is set to true. Defaults to ZONAL. AvailabilityType *string `json:"availabilityType,omitempty" tf:"availability_type,omitempty"` BackupConfiguration *BackupConfigurationInitParameters `json:"backupConfiguration,omitempty" tf:"backup_configuration,omitempty"` // The name of server instance collation. Collation *string `json:"collation,omitempty" tf:"collation,omitempty"` // Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected. ConnectorEnforcement *string `json:"connectorEnforcement,omitempty" tf:"connector_enforcement,omitempty"` DataCacheConfig *DataCacheConfigInitParameters `json:"dataCacheConfig,omitempty" tf:"data_cache_config,omitempty"` DatabaseFlags []DatabaseFlagsInitParameters `json:"databaseFlags,omitempty" tf:"database_flags,omitempty"` // . DeletionProtectionEnabled *bool `json:"deletionProtectionEnabled,omitempty" tf:"deletion_protection_enabled,omitempty"` DenyMaintenancePeriod *DenyMaintenancePeriodInitParameters `json:"denyMaintenancePeriod,omitempty" tf:"deny_maintenance_period,omitempty"` // Enables auto-resizing of the storage size. Defaults to true. To avoid this, ensure that lifecycle.ignore_changes is applied to disk_size. DiskAutoresize *bool `json:"diskAutoresize,omitempty" tf:"disk_autoresize,omitempty"` // The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit. DiskAutoresizeLimit *float64 `json:"diskAutoresizeLimit,omitempty" tf:"disk_autoresize_limit,omitempty"` // The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB. Note that this value will override the resizing from disk_autoresize if that feature is enabled. To avoid this, set lifecycle.ignore_changes on this field. DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"` // The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD. DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"` // The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS. Edition *string `json:"edition,omitempty" tf:"edition,omitempty"` // Enables Cloud SQL instance integration with Dataplex. MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to false. EnableDataplexIntegration *bool `json:"enableDataplexIntegration,omitempty" tf:"enable_dataplex_integration,omitempty"` // Enables Cloud SQL instances to connect to Vertex AI and pass requests for real-time predictions and insights. Defaults to false. EnableGoogleMLIntegration *bool `json:"enableGoogleMlIntegration,omitempty" tf:"enable_google_ml_integration,omitempty"` IPConfiguration *IPConfigurationInitParameters `json:"ipConfiguration,omitempty" tf:"ip_configuration,omitempty"` InsightsConfig *InsightsConfigInitParameters `json:"insightsConfig,omitempty" tf:"insights_config,omitempty"` LocationPreference *LocationPreferenceInitParameters `json:"locationPreference,omitempty" tf:"location_preference,omitempty"` MaintenanceWindow *MaintenanceWindowInitParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"` PasswordValidationPolicy *PasswordValidationPolicyInitParameters `json:"passwordValidationPolicy,omitempty" tf:"password_validation_policy,omitempty"` // Pricing plan for this instance, can only be PER_USE. PricingPlan *string `json:"pricingPlan,omitempty" tf:"pricing_plan,omitempty"` SQLServerAuditConfig *SQLServerAuditConfigInitParameters `json:"sqlServerAuditConfig,omitempty" tf:"sql_server_audit_config,omitempty"` // The machine type to use. See tiers // for more details and supported versions. Postgres supports only shared-core machine types, // and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types. Tier *string `json:"tier,omitempty" tf:"tier,omitempty"` // The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format. TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"` // A set of key/value user label pairs to assign to the instance. // +mapType=granular UserLabels map[string]*string `json:"userLabels,omitempty" tf:"user_labels,omitempty"` }
func (*SettingsInitParameters) DeepCopy ¶
func (in *SettingsInitParameters) DeepCopy() *SettingsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingsInitParameters.
func (*SettingsInitParameters) DeepCopyInto ¶
func (in *SettingsInitParameters) DeepCopyInto(out *SettingsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SettingsObservation ¶
type SettingsObservation struct { // This specifies when the instance should be // active. Can be either ALWAYS, NEVER or ON_DEMAND. ActivationPolicy *string `json:"activationPolicy,omitempty" tf:"activation_policy,omitempty"` ActiveDirectoryConfig *ActiveDirectoryConfigObservation `json:"activeDirectoryConfig,omitempty" tf:"active_directory_config,omitempty"` AdvancedMachineFeatures *AdvancedMachineFeaturesObservation `json:"advancedMachineFeatures,omitempty" tf:"advanced_machine_features,omitempty"` // The availability type of the Cloud SQL // instance, high availability (REGIONAL) or single zone (ZONAL).' For all instances, ensure that // settings.backup_configuration.enabled is set to true. // For MySQL instances, ensure that settings.backup_configuration.binary_log_enabled is set to true. // For Postgres and SQL Server instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled // is set to true. Defaults to ZONAL. AvailabilityType *string `json:"availabilityType,omitempty" tf:"availability_type,omitempty"` BackupConfiguration *BackupConfigurationObservation `json:"backupConfiguration,omitempty" tf:"backup_configuration,omitempty"` // The name of server instance collation. Collation *string `json:"collation,omitempty" tf:"collation,omitempty"` // Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected. ConnectorEnforcement *string `json:"connectorEnforcement,omitempty" tf:"connector_enforcement,omitempty"` DataCacheConfig *DataCacheConfigObservation `json:"dataCacheConfig,omitempty" tf:"data_cache_config,omitempty"` DatabaseFlags []DatabaseFlagsObservation `json:"databaseFlags,omitempty" tf:"database_flags,omitempty"` // . DeletionProtectionEnabled *bool `json:"deletionProtectionEnabled,omitempty" tf:"deletion_protection_enabled,omitempty"` DenyMaintenancePeriod *DenyMaintenancePeriodObservation `json:"denyMaintenancePeriod,omitempty" tf:"deny_maintenance_period,omitempty"` // Enables auto-resizing of the storage size. Defaults to true. To avoid this, ensure that lifecycle.ignore_changes is applied to disk_size. DiskAutoresize *bool `json:"diskAutoresize,omitempty" tf:"disk_autoresize,omitempty"` // The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit. DiskAutoresizeLimit *float64 `json:"diskAutoresizeLimit,omitempty" tf:"disk_autoresize_limit,omitempty"` // The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB. Note that this value will override the resizing from disk_autoresize if that feature is enabled. To avoid this, set lifecycle.ignore_changes on this field. DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"` // The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD. DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"` // The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS. Edition *string `json:"edition,omitempty" tf:"edition,omitempty"` // Enables Cloud SQL instance integration with Dataplex. MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to false. EnableDataplexIntegration *bool `json:"enableDataplexIntegration,omitempty" tf:"enable_dataplex_integration,omitempty"` // Enables Cloud SQL instances to connect to Vertex AI and pass requests for real-time predictions and insights. Defaults to false. EnableGoogleMLIntegration *bool `json:"enableGoogleMlIntegration,omitempty" tf:"enable_google_ml_integration,omitempty"` IPConfiguration *IPConfigurationObservation `json:"ipConfiguration,omitempty" tf:"ip_configuration,omitempty"` InsightsConfig *InsightsConfigObservation `json:"insightsConfig,omitempty" tf:"insights_config,omitempty"` LocationPreference *LocationPreferenceObservation `json:"locationPreference,omitempty" tf:"location_preference,omitempty"` MaintenanceWindow *MaintenanceWindowObservation `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"` PasswordValidationPolicy *PasswordValidationPolicyObservation `json:"passwordValidationPolicy,omitempty" tf:"password_validation_policy,omitempty"` // Pricing plan for this instance, can only be PER_USE. PricingPlan *string `json:"pricingPlan,omitempty" tf:"pricing_plan,omitempty"` SQLServerAuditConfig *SQLServerAuditConfigObservation `json:"sqlServerAuditConfig,omitempty" tf:"sql_server_audit_config,omitempty"` // The machine type to use. See tiers // for more details and supported versions. Postgres supports only shared-core machine types, // and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types. Tier *string `json:"tier,omitempty" tf:"tier,omitempty"` // The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format. TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"` // A set of key/value user label pairs to assign to the instance. // +mapType=granular UserLabels map[string]*string `json:"userLabels,omitempty" tf:"user_labels,omitempty"` // Used to make sure changes to the settings block are // atomic. Version *float64 `json:"version,omitempty" tf:"version,omitempty"` }
func (*SettingsObservation) DeepCopy ¶
func (in *SettingsObservation) DeepCopy() *SettingsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingsObservation.
func (*SettingsObservation) DeepCopyInto ¶
func (in *SettingsObservation) DeepCopyInto(out *SettingsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SettingsParameters ¶
type SettingsParameters struct { // This specifies when the instance should be // active. Can be either ALWAYS, NEVER or ON_DEMAND. // +kubebuilder:validation:Optional ActivationPolicy *string `json:"activationPolicy,omitempty" tf:"activation_policy,omitempty"` // +kubebuilder:validation:Optional ActiveDirectoryConfig *ActiveDirectoryConfigParameters `json:"activeDirectoryConfig,omitempty" tf:"active_directory_config,omitempty"` // +kubebuilder:validation:Optional AdvancedMachineFeatures *AdvancedMachineFeaturesParameters `json:"advancedMachineFeatures,omitempty" tf:"advanced_machine_features,omitempty"` // The availability type of the Cloud SQL // instance, high availability (REGIONAL) or single zone (ZONAL).' For all instances, ensure that // settings.backup_configuration.enabled is set to true. // For MySQL instances, ensure that settings.backup_configuration.binary_log_enabled is set to true. // For Postgres and SQL Server instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled // is set to true. Defaults to ZONAL. // +kubebuilder:validation:Optional AvailabilityType *string `json:"availabilityType,omitempty" tf:"availability_type,omitempty"` // +kubebuilder:validation:Optional BackupConfiguration *BackupConfigurationParameters `json:"backupConfiguration,omitempty" tf:"backup_configuration,omitempty"` // The name of server instance collation. // +kubebuilder:validation:Optional Collation *string `json:"collation,omitempty" tf:"collation,omitempty"` // Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected. // +kubebuilder:validation:Optional ConnectorEnforcement *string `json:"connectorEnforcement,omitempty" tf:"connector_enforcement,omitempty"` // +kubebuilder:validation:Optional DataCacheConfig *DataCacheConfigParameters `json:"dataCacheConfig,omitempty" tf:"data_cache_config,omitempty"` // +kubebuilder:validation:Optional DatabaseFlags []DatabaseFlagsParameters `json:"databaseFlags,omitempty" tf:"database_flags,omitempty"` // . // +kubebuilder:validation:Optional DeletionProtectionEnabled *bool `json:"deletionProtectionEnabled,omitempty" tf:"deletion_protection_enabled,omitempty"` // +kubebuilder:validation:Optional DenyMaintenancePeriod *DenyMaintenancePeriodParameters `json:"denyMaintenancePeriod,omitempty" tf:"deny_maintenance_period,omitempty"` // Enables auto-resizing of the storage size. Defaults to true. To avoid this, ensure that lifecycle.ignore_changes is applied to disk_size. // +kubebuilder:validation:Optional DiskAutoresize *bool `json:"diskAutoresize,omitempty" tf:"disk_autoresize,omitempty"` // The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit. // +kubebuilder:validation:Optional DiskAutoresizeLimit *float64 `json:"diskAutoresizeLimit,omitempty" tf:"disk_autoresize_limit,omitempty"` // The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB. Note that this value will override the resizing from disk_autoresize if that feature is enabled. To avoid this, set lifecycle.ignore_changes on this field. // +kubebuilder:validation:Optional DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"` // The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD. // +kubebuilder:validation:Optional DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"` // The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS. // +kubebuilder:validation:Optional Edition *string `json:"edition,omitempty" tf:"edition,omitempty"` // Enables Cloud SQL instance integration with Dataplex. MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to false. // +kubebuilder:validation:Optional EnableDataplexIntegration *bool `json:"enableDataplexIntegration,omitempty" tf:"enable_dataplex_integration,omitempty"` // Enables Cloud SQL instances to connect to Vertex AI and pass requests for real-time predictions and insights. Defaults to false. // +kubebuilder:validation:Optional EnableGoogleMLIntegration *bool `json:"enableGoogleMlIntegration,omitempty" tf:"enable_google_ml_integration,omitempty"` // +kubebuilder:validation:Optional IPConfiguration *IPConfigurationParameters `json:"ipConfiguration,omitempty" tf:"ip_configuration,omitempty"` // +kubebuilder:validation:Optional InsightsConfig *InsightsConfigParameters `json:"insightsConfig,omitempty" tf:"insights_config,omitempty"` // +kubebuilder:validation:Optional LocationPreference *LocationPreferenceParameters `json:"locationPreference,omitempty" tf:"location_preference,omitempty"` // +kubebuilder:validation:Optional MaintenanceWindow *MaintenanceWindowParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"` // +kubebuilder:validation:Optional PasswordValidationPolicy *PasswordValidationPolicyParameters `json:"passwordValidationPolicy,omitempty" tf:"password_validation_policy,omitempty"` // Pricing plan for this instance, can only be PER_USE. // +kubebuilder:validation:Optional PricingPlan *string `json:"pricingPlan,omitempty" tf:"pricing_plan,omitempty"` // +kubebuilder:validation:Optional SQLServerAuditConfig *SQLServerAuditConfigParameters `json:"sqlServerAuditConfig,omitempty" tf:"sql_server_audit_config,omitempty"` // The machine type to use. See tiers // for more details and supported versions. Postgres supports only shared-core machine types, // and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types. // +kubebuilder:validation:Optional Tier *string `json:"tier" tf:"tier,omitempty"` // The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format. // +kubebuilder:validation:Optional TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"` // A set of key/value user label pairs to assign to the instance. // +kubebuilder:validation:Optional // +mapType=granular UserLabels map[string]*string `json:"userLabels,omitempty" tf:"user_labels,omitempty"` }
func (*SettingsParameters) DeepCopy ¶
func (in *SettingsParameters) DeepCopy() *SettingsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingsParameters.
func (*SettingsParameters) DeepCopyInto ¶
func (in *SettingsParameters) DeepCopyInto(out *SettingsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusInitParameters ¶
type StatusInitParameters struct { }
func (*StatusInitParameters) DeepCopy ¶
func (in *StatusInitParameters) DeepCopy() *StatusInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusInitParameters.
func (*StatusInitParameters) DeepCopyInto ¶
func (in *StatusInitParameters) DeepCopyInto(out *StatusInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusObservation ¶
type StatusObservation struct { // (read only) If true, user does not have login privileges. Locked *bool `json:"locked,omitempty" tf:"locked,omitempty"` // (read only) Password expiration duration with one week grace period. PasswordExpirationTime *string `json:"passwordExpirationTime,omitempty" tf:"password_expiration_time,omitempty"` }
func (*StatusObservation) DeepCopy ¶
func (in *StatusObservation) DeepCopy() *StatusObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusObservation.
func (*StatusObservation) DeepCopyInto ¶
func (in *StatusObservation) DeepCopyInto(out *StatusObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusParameters ¶
type StatusParameters struct { }
func (*StatusParameters) DeepCopy ¶
func (in *StatusParameters) DeepCopy() *StatusParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusParameters.
func (*StatusParameters) DeepCopyInto ¶
func (in *StatusParameters) DeepCopyInto(out *StatusParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶
type User struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UserSpec `json:"spec"` Status UserStatus `json:"status,omitempty"` }
User is the Schema for the Users API. Creates a new SQL user in Google Cloud SQL. +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 (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*User) GetCondition ¶
func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this User.
func (*User) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this User
func (*User) GetDeletionPolicy ¶
func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this User.
func (*User) GetInitParameters ¶
GetInitParameters of this User
func (*User) GetManagementPolicies ¶
func (mg *User) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this User.
func (*User) GetMergedParameters ¶
GetInitParameters of this User
func (*User) GetObservation ¶
GetObservation of this User
func (*User) GetParameters ¶
GetParameters of this User
func (*User) GetProviderConfigReference ¶
GetProviderConfigReference of this User.
func (*User) GetPublishConnectionDetailsTo ¶
func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this User.
func (*User) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this User
func (*User) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*User) GetWriteConnectionSecretToReference ¶
func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this User.
func (*User) LateInitialize ¶
LateInitialize this User using its observed tfState. returns True if there are any spec changes for the resource.
func (*User) ResolveReferences ¶
ResolveReferences of this User.
func (*User) SetConditions ¶
SetConditions of this User.
func (*User) SetDeletionPolicy ¶
func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this User.
func (*User) SetManagementPolicies ¶
func (mg *User) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this User.
func (*User) SetObservation ¶
SetObservation for this User
func (*User) SetParameters ¶
SetParameters for this User
func (*User) SetProviderConfigReference ¶
SetProviderConfigReference of this User.
func (*User) SetPublishConnectionDetailsTo ¶
func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this User.
func (*User) SetWriteConnectionSecretToReference ¶
func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this User.
type UserInitParameters ¶
type UserInitParameters struct { // The deletion policy for the user. // Setting ABANDON allows the resource to be abandoned rather than deleted. This is useful // for Postgres, where users cannot be deleted from the API if they have been granted SQL roles. DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"` // The host the user can connect from. This is only supported // for BUILT_IN users in MySQL instances. Don't set this field for PostgreSQL and SQL Server instances. // Can be an IP address. Changing this forces a new resource to be created. Host *string `json:"host,omitempty" tf:"host,omitempty"` // The name of the Cloud SQL instance. Changing this // forces a new resource to be created. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta2.DatabaseInstance Instance *string `json:"instance,omitempty" tf:"instance,omitempty"` // Reference to a DatabaseInstance in sql to populate instance. // +kubebuilder:validation:Optional InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"` // Selector for a DatabaseInstance in sql to populate instance. // +kubebuilder:validation:Optional InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"` PasswordPolicy *PasswordPolicyInitParameters `json:"passwordPolicy,omitempty" tf:"password_policy,omitempty"` // The password for the user. Can be updated. For Postgres // instances this is a Required field, unless type is set to either CLOUD_IAM_USER // or CLOUD_IAM_SERVICE_ACCOUNT. Don't set this field for CLOUD_IAM_USER // and CLOUD_IAM_SERVICE_ACCOUNT user types for any Cloud SQL instance. PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,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"` // The user type. It determines the method to authenticate the // user during login. The default is the database's built-in user type. Flags // include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both // Postgres and MySQL. // MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT". Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*UserInitParameters) DeepCopy ¶
func (in *UserInitParameters) DeepCopy() *UserInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInitParameters.
func (*UserInitParameters) DeepCopyInto ¶
func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserList ¶
type UserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []User `json:"items"` }
UserList contains a list of Users
func (*UserList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserObservation ¶
type UserObservation struct { // The deletion policy for the user. // Setting ABANDON allows the resource to be abandoned rather than deleted. This is useful // for Postgres, where users cannot be deleted from the API if they have been granted SQL roles. DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"` // The host the user can connect from. This is only supported // for BUILT_IN users in MySQL instances. Don't set this field for PostgreSQL and SQL Server instances. // Can be an IP address. Changing this forces a new resource to be created. Host *string `json:"host,omitempty" tf:"host,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // The name of the Cloud SQL instance. Changing this // forces a new resource to be created. Instance *string `json:"instance,omitempty" tf:"instance,omitempty"` PasswordPolicy *PasswordPolicyObservation `json:"passwordPolicy,omitempty" tf:"password_policy,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"` SQLServerUserDetails []SQLServerUserDetailsObservation `json:"sqlServerUserDetails,omitempty" tf:"sql_server_user_details,omitempty"` // The user type. It determines the method to authenticate the // user during login. The default is the database's built-in user type. Flags // include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both // Postgres and MySQL. // MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT". Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*UserObservation) DeepCopy ¶
func (in *UserObservation) DeepCopy() *UserObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserObservation.
func (*UserObservation) DeepCopyInto ¶
func (in *UserObservation) DeepCopyInto(out *UserObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserParameters ¶
type UserParameters struct { // The deletion policy for the user. // Setting ABANDON allows the resource to be abandoned rather than deleted. This is useful // for Postgres, where users cannot be deleted from the API if they have been granted SQL roles. // +kubebuilder:validation:Optional DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"` // The host the user can connect from. This is only supported // for BUILT_IN users in MySQL instances. Don't set this field for PostgreSQL and SQL Server instances. // Can be an IP address. Changing this forces a new resource to be created. // +kubebuilder:validation:Optional Host *string `json:"host,omitempty" tf:"host,omitempty"` // The name of the Cloud SQL instance. Changing this // forces a new resource to be created. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta2.DatabaseInstance // +kubebuilder:validation:Optional Instance *string `json:"instance,omitempty" tf:"instance,omitempty"` // Reference to a DatabaseInstance in sql to populate instance. // +kubebuilder:validation:Optional InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"` // Selector for a DatabaseInstance in sql to populate instance. // +kubebuilder:validation:Optional InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional PasswordPolicy *PasswordPolicyParameters `json:"passwordPolicy,omitempty" tf:"password_policy,omitempty"` // The password for the user. Can be updated. For Postgres // instances this is a Required field, unless type is set to either CLOUD_IAM_USER // or CLOUD_IAM_SERVICE_ACCOUNT. Don't set this field for CLOUD_IAM_USER // and CLOUD_IAM_SERVICE_ACCOUNT user types for any Cloud SQL instance. // +kubebuilder:validation:Optional PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,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"` // The user type. It determines the method to authenticate the // user during login. The default is the database's built-in user type. Flags // include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both // Postgres and MySQL. // MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT". // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*UserParameters) DeepCopy ¶
func (in *UserParameters) DeepCopy() *UserParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserParameters.
func (*UserParameters) DeepCopyInto ¶
func (in *UserParameters) DeepCopyInto(out *UserParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserSpec ¶
type UserSpec struct { v1.ResourceSpec `json:",inline"` ForProvider UserParameters `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 UserInitParameters `json:"initProvider,omitempty"` }
UserSpec defines the desired state of User
func (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserStatus ¶
type UserStatus struct { v1.ResourceStatus `json:",inline"` AtProvider UserObservation `json:"atProvider,omitempty"` }
UserStatus defines the observed state of User.
func (*UserStatus) DeepCopy ¶
func (in *UserStatus) DeepCopy() *UserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserStatus.
func (*UserStatus) DeepCopyInto ¶
func (in *UserStatus) DeepCopyInto(out *UserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.