v1beta1

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Overview

+kubebuilder:object:generate=true +groupName=sql.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "sql.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	Database_Kind             = "Database"
	Database_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Database_Kind}.String()
	Database_KindAPIVersion   = Database_Kind + "." + CRDGroupVersion.String()
	Database_GroupVersionKind = CRDGroupVersion.WithKind(Database_Kind)
)

Repository type metadata.

View Source
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.

View Source
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
)
View Source
var (
	SourceRepresentationInstance_Kind             = "SourceRepresentationInstance"
	SourceRepresentationInstance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SourceRepresentationInstance_Kind}.String()
	SourceRepresentationInstance_KindAPIVersion   = SourceRepresentationInstance_Kind + "." + CRDGroupVersion.String()
	SourceRepresentationInstance_GroupVersionKind = CRDGroupVersion.WithKind(SourceRepresentationInstance_Kind)
)

Repository type metadata.

View Source
var (
	SSLCert_Kind             = "SSLCert"
	SSLCert_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SSLCert_Kind}.String()
	SSLCert_KindAPIVersion   = SSLCert_Kind + "." + CRDGroupVersion.String()
	SSLCert_GroupVersionKind = CRDGroupVersion.WithKind(SSLCert_Kind)
)

Repository type metadata.

View Source
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 added in v0.35.0

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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryConfigInitParameters.

func (*ActiveDirectoryConfigInitParameters) DeepCopyInto added in v0.35.0

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryConfigObservation.

func (*ActiveDirectoryConfigObservation) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryConfigParameters.

func (*ActiveDirectoryConfigParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AdvancedMachineFeaturesInitParameters added in v0.35.0

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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedMachineFeaturesInitParameters.

func (*AdvancedMachineFeaturesInitParameters) DeepCopyInto added in v0.35.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AdvancedMachineFeaturesObservation added in v0.33.0

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 added in v0.33.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedMachineFeaturesObservation.

func (*AdvancedMachineFeaturesObservation) DeepCopyInto added in v0.33.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AdvancedMachineFeaturesParameters added in v0.33.0

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 added in v0.33.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedMachineFeaturesParameters.

func (*AdvancedMachineFeaturesParameters) DeepCopyInto added in v0.33.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AuthorizedNetworksInitParameters added in v0.35.0

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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizedNetworksInitParameters.

func (*AuthorizedNetworksInitParameters) DeepCopyInto added in v0.35.0

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizedNetworksObservation.

func (*AuthorizedNetworksObservation) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizedNetworksParameters.

func (*AuthorizedNetworksParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackupConfigurationInitParameters added in v0.35.0

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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationInitParameters.

func (*BackupConfigurationInitParameters) DeepCopyInto added in v0.35.0

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationObservation.

func (*BackupConfigurationObservation) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationParameters.

func (*BackupConfigurationParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackupRetentionSettingsInitParameters added in v0.35.0

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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRetentionSettingsInitParameters.

func (*BackupRetentionSettingsInitParameters) DeepCopyInto added in v0.35.0

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRetentionSettingsObservation.

func (*BackupRetentionSettingsObservation) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRetentionSettingsParameters.

func (*BackupRetentionSettingsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloneInitParameters added in v0.35.0

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 added in v0.35.0

func (in *CloneInitParameters) DeepCopy() *CloneInitParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneInitParameters.

func (*CloneInitParameters) DeepCopyInto added in v0.35.0

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 added in v0.37.0

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 added in v0.37.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCacheConfigInitParameters.

func (*DataCacheConfigInitParameters) DeepCopyInto added in v0.37.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DataCacheConfigObservation added in v0.37.0

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 added in v0.37.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCacheConfigObservation.

func (*DataCacheConfigObservation) DeepCopyInto added in v0.37.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DataCacheConfigParameters added in v0.37.0

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 added in v0.37.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCacheConfigParameters.

func (*DataCacheConfigParameters) DeepCopyInto added in v0.37.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Database

type Database struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DatabaseSpec   `json:"spec"`
	Status            DatabaseStatus `json:"status,omitempty"`
}

Database is the Schema for the Databases API. Represents a SQL database inside the Cloud SQL instance, hosted in Google's cloud. +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 (*Database) DeepCopy

func (in *Database) DeepCopy() *Database

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.

func (*Database) DeepCopyInto

func (in *Database) DeepCopyInto(out *Database)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Database) DeepCopyObject

func (in *Database) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Database) GetCondition

func (mg *Database) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Database.

func (*Database) GetConnectionDetailsMapping

func (tr *Database) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Database

func (*Database) GetDeletionPolicy

func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Database.

func (*Database) GetID

func (tr *Database) GetID() string

GetID returns ID of underlying Terraform resource of this Database

func (*Database) GetInitParameters added in v0.35.0

func (tr *Database) GetInitParameters() (map[string]any, error)

GetInitParameters of this Database

func (*Database) GetManagementPolicies added in v0.35.0

func (mg *Database) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Database.

func (*Database) GetMergedParameters added in v0.40.0

func (tr *Database) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Database

func (*Database) GetObservation

func (tr *Database) GetObservation() (map[string]any, error)

GetObservation of this Database

func (*Database) GetParameters

func (tr *Database) GetParameters() (map[string]any, error)

GetParameters of this Database

func (*Database) GetProviderConfigReference

func (mg *Database) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Database.

func (*Database) GetPublishConnectionDetailsTo

func (mg *Database) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Database.

func (*Database) GetTerraformResourceType

func (mg *Database) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Database

func (*Database) GetTerraformSchemaVersion

func (tr *Database) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Database) GetWriteConnectionSecretToReference

func (mg *Database) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Database.

func (*Database) Hub added in v0.41.2

func (tr *Database) Hub()

Hub marks this type as a conversion hub.

func (*Database) LateInitialize

func (tr *Database) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Database using its observed tfState. returns True if there are any spec changes for the resource.

func (*Database) ResolveReferences

func (mg *Database) ResolveReferences(ctx context.Context, c client.Reader) error

func (*Database) SetConditions

func (mg *Database) SetConditions(c ...xpv1.Condition)

SetConditions of this Database.

func (*Database) SetDeletionPolicy

func (mg *Database) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Database.

func (*Database) SetManagementPolicies added in v0.35.0

func (mg *Database) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Database.

func (*Database) SetObservation

func (tr *Database) SetObservation(obs map[string]any) error

SetObservation for this Database

func (*Database) SetParameters

func (tr *Database) SetParameters(params map[string]any) error

SetParameters for this Database

func (*Database) SetProviderConfigReference

func (mg *Database) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Database.

func (*Database) SetPublishConnectionDetailsTo

func (mg *Database) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Database.

func (*Database) SetWriteConnectionSecretToReference

func (mg *Database) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Database.

type DatabaseFlagsInitParameters added in v0.35.0

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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseFlagsInitParameters.

func (*DatabaseFlagsInitParameters) DeepCopyInto added in v0.35.0

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

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

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 DatabaseInitParameters added in v0.35.0

type DatabaseInitParameters struct {

	// The charset value. See MySQL's
	// Supported Character Sets and Collations
	// and Postgres' Character Set Support
	// for more details and supported values. Postgres databases only support
	// a value of UTF8 at creation time.
	Charset *string `json:"charset,omitempty" tf:"charset,omitempty"`

	// The collation value. See MySQL's
	// Supported Character Sets and Collations
	// and Postgres' Collation Support
	// for more details and supported values. Postgres databases only support
	// a value of en_US.UTF8 at creation time.
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

	// The deletion policy for the database. Setting ABANDON allows the resource
	// to be abandoned rather than deleted. This is useful for Postgres, where databases cannot be
	// deleted from the API if there are users other than cloudsqlsuperuser with access. Possible
	// values are: "ABANDON", "DELETE". Defaults to "DELETE".
	DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_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"`
}

func (*DatabaseInitParameters) DeepCopy added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInitParameters.

func (*DatabaseInitParameters) DeepCopyInto added in v0.35.0

func (in *DatabaseInitParameters) DeepCopyInto(out *DatabaseInitParameters)

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 added in v0.35.0

func (tr *DatabaseInstance) GetInitParameters() (map[string]any, error)

GetInitParameters of this DatabaseInstance

func (*DatabaseInstance) GetManagementPolicies added in v0.35.0

func (mg *DatabaseInstance) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this DatabaseInstance.

func (*DatabaseInstance) GetMergedParameters added in v0.40.0

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 added in v0.41.2

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 (mg *DatabaseInstance) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this DatabaseInstance.

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 added in v0.35.0

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 added in v0.35.0

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"`

	// Defaults to true.
	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"`

	// 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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceInitParameters.

func (*DatabaseInstanceInitParameters) DeepCopyInto added in v0.35.0

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

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"`

	// Defaults to true.
	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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceObservation.

func (*DatabaseInstanceObservation) DeepCopyInto

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"`

	// Defaults to true.
	// +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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceParameters.

func (*DatabaseInstanceParameters) DeepCopyInto

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

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

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 DatabaseList

type DatabaseList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Database `json:"items"`
}

DatabaseList contains a list of Databases

func (*DatabaseList) DeepCopy

func (in *DatabaseList) DeepCopy() *DatabaseList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseList.

func (*DatabaseList) DeepCopyInto

func (in *DatabaseList) DeepCopyInto(out *DatabaseList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DatabaseList) DeepCopyObject

func (in *DatabaseList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DatabaseList) GetItems

func (l *DatabaseList) GetItems() []resource.Managed

GetItems of this DatabaseList.

type DatabaseObservation

type DatabaseObservation struct {

	// The charset value. See MySQL's
	// Supported Character Sets and Collations
	// and Postgres' Character Set Support
	// for more details and supported values. Postgres databases only support
	// a value of UTF8 at creation time.
	Charset *string `json:"charset,omitempty" tf:"charset,omitempty"`

	// The collation value. See MySQL's
	// Supported Character Sets and Collations
	// and Postgres' Collation Support
	// for more details and supported values. Postgres databases only support
	// a value of en_US.UTF8 at creation time.
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

	// The deletion policy for the database. Setting ABANDON allows the resource
	// to be abandoned rather than deleted. This is useful for Postgres, where databases cannot be
	// deleted from the API if there are users other than cloudsqlsuperuser with access. Possible
	// values are: "ABANDON", "DELETE". Defaults to "DELETE".
	DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"`

	// an identifier for the resource with format projects/{{project}}/instances/{{instance}}/databases/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the Cloud SQL instance. This does not include the project
	// ID.
	Instance *string `json:"instance,omitempty" tf:"instance,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 of the created resource.
	SelfLink *string `json:"selfLink,omitempty" tf:"self_link,omitempty"`
}

func (*DatabaseObservation) DeepCopy

func (in *DatabaseObservation) DeepCopy() *DatabaseObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseObservation.

func (*DatabaseObservation) DeepCopyInto

func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatabaseParameters

type DatabaseParameters struct {

	// The charset value. See MySQL's
	// Supported Character Sets and Collations
	// and Postgres' Character Set Support
	// for more details and supported values. Postgres databases only support
	// a value of UTF8 at creation time.
	// +kubebuilder:validation:Optional
	Charset *string `json:"charset,omitempty" tf:"charset,omitempty"`

	// The collation value. See MySQL's
	// Supported Character Sets and Collations
	// and Postgres' Collation Support
	// for more details and supported values. Postgres databases only support
	// a value of en_US.UTF8 at creation time.
	// +kubebuilder:validation:Optional
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

	// The deletion policy for the database. Setting ABANDON allows the resource
	// to be abandoned rather than deleted. This is useful for Postgres, where databases cannot be
	// deleted from the API if there are users other than cloudsqlsuperuser with access. Possible
	// values are: "ABANDON", "DELETE". Defaults to "DELETE".
	// +kubebuilder:validation:Optional
	DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"`

	// The name of the Cloud SQL instance. This does not include the project
	// ID.
	// +crossplane:generate:reference:type=DatabaseInstance
	// +kubebuilder:validation:Optional
	Instance *string `json:"instance,omitempty" tf:"instance,omitempty"`

	// Reference to a DatabaseInstance to populate instance.
	// +kubebuilder:validation:Optional
	InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"`

	// Selector for a DatabaseInstance to populate instance.
	// +kubebuilder:validation:Optional
	InstanceSelector *v1.Selector `json:"instanceSelector,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"`
}

func (*DatabaseParameters) DeepCopy

func (in *DatabaseParameters) DeepCopy() *DatabaseParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseParameters.

func (*DatabaseParameters) DeepCopyInto

func (in *DatabaseParameters) DeepCopyInto(out *DatabaseParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatabaseSpec

type DatabaseSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DatabaseParameters `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 DatabaseInitParameters `json:"initProvider,omitempty"`
}

DatabaseSpec defines the desired state of Database

func (*DatabaseSpec) DeepCopy

func (in *DatabaseSpec) DeepCopy() *DatabaseSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec.

func (*DatabaseSpec) DeepCopyInto

func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatabaseStatus

type DatabaseStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DatabaseObservation `json:"atProvider,omitempty"`
}

DatabaseStatus defines the observed state of Database.

func (*DatabaseStatus) DeepCopy

func (in *DatabaseStatus) DeepCopy() *DatabaseStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseStatus.

func (*DatabaseStatus) DeepCopyInto

func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DenyMaintenancePeriodInitParameters added in v0.35.0

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-mm-dd i.e., 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-mm-dd i.e., 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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyMaintenancePeriodInitParameters.

func (*DenyMaintenancePeriodInitParameters) DeepCopyInto added in v0.35.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DenyMaintenancePeriodObservation added in v0.26.0

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-mm-dd i.e., 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-mm-dd i.e., 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 added in v0.26.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyMaintenancePeriodObservation.

func (*DenyMaintenancePeriodObservation) DeepCopyInto added in v0.26.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DenyMaintenancePeriodParameters added in v0.26.0

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-mm-dd i.e., 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-mm-dd i.e., 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 added in v0.26.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyMaintenancePeriodParameters.

func (*DenyMaintenancePeriodParameters) DeepCopyInto added in v0.26.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IPAddressInitParameters added in v0.35.0

type IPAddressInitParameters struct {
}

func (*IPAddressInitParameters) DeepCopy added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressInitParameters.

func (*IPAddressInitParameters) DeepCopyInto added in v0.35.0

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

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 added in v0.35.0

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.ExtractResourceID()
	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.
	RequireSSL *bool `json:"requireSsl,omitempty" tf:"require_ssl,omitempty"`

	// Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment 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"`
}

func (*IPConfigurationInitParameters) DeepCopy added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationInitParameters.

func (*IPConfigurationInitParameters) DeepCopyInto added in v0.35.0

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.
	RequireSSL *bool `json:"requireSsl,omitempty" tf:"require_ssl,omitempty"`

	// Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment 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"`
}

func (*IPConfigurationObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationObservation.

func (*IPConfigurationObservation) DeepCopyInto

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.ExtractResourceID()
	// +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.
	// +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 enforcment 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"`
}

func (*IPConfigurationParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationParameters.

func (*IPConfigurationParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InsightsConfigInitParameters added in v0.35.0

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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsConfigInitParameters.

func (*InsightsConfigInitParameters) DeepCopyInto added in v0.35.0

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsConfigObservation.

func (*InsightsConfigObservation) DeepCopyInto

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

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 added in v0.35.0

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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationPreferenceInitParameters.

func (*LocationPreferenceInitParameters) DeepCopyInto added in v0.35.0

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationPreferenceObservation.

func (*LocationPreferenceObservation) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationPreferenceParameters.

func (*LocationPreferenceParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MaintenanceWindowInitParameters added in v0.35.0

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 earlier (canary) or later
	// (stable)
	UpdateTrack *string `json:"updateTrack,omitempty" tf:"update_track,omitempty"`
}

func (*MaintenanceWindowInitParameters) DeepCopy added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowInitParameters.

func (*MaintenanceWindowInitParameters) DeepCopyInto added in v0.35.0

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 earlier (canary) or later
	// (stable)
	UpdateTrack *string `json:"updateTrack,omitempty" tf:"update_track,omitempty"`
}

func (*MaintenanceWindowObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowObservation.

func (*MaintenanceWindowObservation) DeepCopyInto

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 earlier (canary) or later
	// (stable)
	// +kubebuilder:validation:Optional
	UpdateTrack *string `json:"updateTrack,omitempty" tf:"update_track,omitempty"`
}

func (*MaintenanceWindowParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowParameters.

func (*MaintenanceWindowParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PasswordPolicyInitParameters added in v0.35.0

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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordPolicyInitParameters.

func (*PasswordPolicyInitParameters) DeepCopyInto added in v0.35.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PasswordPolicyObservation added in v0.26.0

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 added in v0.26.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordPolicyObservation.

func (*PasswordPolicyObservation) DeepCopyInto added in v0.26.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PasswordPolicyParameters added in v0.26.0

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 added in v0.26.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordPolicyParameters.

func (*PasswordPolicyParameters) DeepCopyInto added in v0.26.0

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 added in v0.35.0

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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordValidationPolicyInitParameters.

func (*PasswordValidationPolicyInitParameters) DeepCopyInto added in v0.35.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PasswordValidationPolicyObservation added in v0.26.0

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 added in v0.26.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordValidationPolicyObservation.

func (*PasswordValidationPolicyObservation) DeepCopyInto added in v0.26.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PasswordValidationPolicyParameters added in v0.26.0

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 added in v0.26.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordValidationPolicyParameters.

func (*PasswordValidationPolicyParameters) DeepCopyInto added in v0.26.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PscConfigInitParameters added in v1.0.0

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 added in v1.0.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PscConfigInitParameters.

func (*PscConfigInitParameters) DeepCopyInto added in v1.0.0

func (in *PscConfigInitParameters) DeepCopyInto(out *PscConfigInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PscConfigObservation added in v1.0.0

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 added in v1.0.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PscConfigObservation.

func (*PscConfigObservation) DeepCopyInto added in v1.0.0

func (in *PscConfigObservation) DeepCopyInto(out *PscConfigObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PscConfigParameters added in v1.0.0

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 added in v1.0.0

func (in *PscConfigParameters) DeepCopy() *PscConfigParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PscConfigParameters.

func (*PscConfigParameters) DeepCopyInto added in v1.0.0

func (in *PscConfigParameters) DeepCopyInto(out *PscConfigParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ReplicaConfigurationInitParameters added in v0.35.0

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"`

	// 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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaConfigurationInitParameters.

func (*ReplicaConfigurationInitParameters) DeepCopyInto added in v0.35.0

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaConfigurationObservation.

func (*ReplicaConfigurationObservation) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaConfigurationParameters.

func (*ReplicaConfigurationParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RestoreBackupContextInitParameters added in v0.35.0

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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreBackupContextInitParameters.

func (*RestoreBackupContextInitParameters) DeepCopyInto added in v0.35.0

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreBackupContextObservation.

func (*RestoreBackupContextObservation) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreBackupContextParameters.

func (*RestoreBackupContextParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SQLServerAuditConfigInitParameters added in v0.35.0

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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerAuditConfigInitParameters.

func (*SQLServerAuditConfigInitParameters) DeepCopyInto added in v0.35.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SQLServerAuditConfigObservation added in v0.26.0

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 added in v0.26.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerAuditConfigObservation.

func (*SQLServerAuditConfigObservation) DeepCopyInto added in v0.26.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SQLServerAuditConfigParameters added in v0.26.0

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 added in v0.26.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerAuditConfigParameters.

func (*SQLServerAuditConfigParameters) DeepCopyInto added in v0.26.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SQLServerUserDetailsInitParameters added in v0.35.0

type SQLServerUserDetailsInitParameters struct {
}

func (*SQLServerUserDetailsInitParameters) DeepCopy added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerUserDetailsInitParameters.

func (*SQLServerUserDetailsInitParameters) DeepCopyInto added in v0.35.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SQLServerUserDetailsObservation added in v0.26.0

type SQLServerUserDetailsObservation struct {
	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

	ServerRoles []*string `json:"serverRoles,omitempty" tf:"server_roles,omitempty"`
}

func (*SQLServerUserDetailsObservation) DeepCopy added in v0.26.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerUserDetailsObservation.

func (*SQLServerUserDetailsObservation) DeepCopyInto added in v0.26.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SQLServerUserDetailsParameters added in v0.26.0

type SQLServerUserDetailsParameters struct {
}

func (*SQLServerUserDetailsParameters) DeepCopy added in v0.26.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerUserDetailsParameters.

func (*SQLServerUserDetailsParameters) DeepCopyInto added in v0.26.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SSLCert

type SSLCert 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.commonName) || (has(self.initProvider) && has(self.initProvider.commonName))",message="spec.forProvider.commonName is a required parameter"
	Spec   SSLCertSpec   `json:"spec"`
	Status SSLCertStatus `json:"status,omitempty"`
}

SSLCert is the Schema for the SSLCerts API. Creates a new SQL Ssl Cert 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 (*SSLCert) DeepCopy

func (in *SSLCert) DeepCopy() *SSLCert

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLCert.

func (*SSLCert) DeepCopyInto

func (in *SSLCert) DeepCopyInto(out *SSLCert)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SSLCert) DeepCopyObject

func (in *SSLCert) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SSLCert) GetCondition

func (mg *SSLCert) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this SSLCert.

func (*SSLCert) GetConnectionDetailsMapping

func (tr *SSLCert) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this SSLCert

func (*SSLCert) GetDeletionPolicy

func (mg *SSLCert) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this SSLCert.

func (*SSLCert) GetID

func (tr *SSLCert) GetID() string

GetID returns ID of underlying Terraform resource of this SSLCert

func (*SSLCert) GetInitParameters added in v0.35.0

func (tr *SSLCert) GetInitParameters() (map[string]any, error)

GetInitParameters of this SSLCert

func (*SSLCert) GetManagementPolicies added in v0.35.0

func (mg *SSLCert) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this SSLCert.

func (*SSLCert) GetMergedParameters added in v0.40.0

func (tr *SSLCert) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this SSLCert

func (*SSLCert) GetObservation

func (tr *SSLCert) GetObservation() (map[string]any, error)

GetObservation of this SSLCert

func (*SSLCert) GetParameters

func (tr *SSLCert) GetParameters() (map[string]any, error)

GetParameters of this SSLCert

func (*SSLCert) GetProviderConfigReference

func (mg *SSLCert) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this SSLCert.

func (*SSLCert) GetPublishConnectionDetailsTo

func (mg *SSLCert) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this SSLCert.

func (*SSLCert) GetTerraformResourceType

func (mg *SSLCert) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SSLCert

func (*SSLCert) GetTerraformSchemaVersion

func (tr *SSLCert) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SSLCert) GetWriteConnectionSecretToReference

func (mg *SSLCert) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this SSLCert.

func (*SSLCert) Hub added in v0.41.2

func (tr *SSLCert) Hub()

Hub marks this type as a conversion hub.

func (*SSLCert) LateInitialize

func (tr *SSLCert) LateInitialize(attrs []byte) (bool, error)

LateInitialize this SSLCert using its observed tfState. returns True if there are any spec changes for the resource.

func (*SSLCert) ResolveReferences

func (mg *SSLCert) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this SSLCert.

func (*SSLCert) SetConditions

func (mg *SSLCert) SetConditions(c ...xpv1.Condition)

SetConditions of this SSLCert.

func (*SSLCert) SetDeletionPolicy

func (mg *SSLCert) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this SSLCert.

func (*SSLCert) SetManagementPolicies added in v0.35.0

func (mg *SSLCert) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this SSLCert.

func (*SSLCert) SetObservation

func (tr *SSLCert) SetObservation(obs map[string]any) error

SetObservation for this SSLCert

func (*SSLCert) SetParameters

func (tr *SSLCert) SetParameters(params map[string]any) error

SetParameters for this SSLCert

func (*SSLCert) SetProviderConfigReference

func (mg *SSLCert) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this SSLCert.

func (*SSLCert) SetPublishConnectionDetailsTo

func (mg *SSLCert) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this SSLCert.

func (*SSLCert) SetWriteConnectionSecretToReference

func (mg *SSLCert) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this SSLCert.

type SSLCertInitParameters added in v0.35.0

type SSLCertInitParameters struct {

	// The common name to be used in the certificate to identify the
	// client. Constrained to [a-zA-Z.-_ ]+. Changing this forces a new resource to be created.
	CommonName *string `json:"commonName,omitempty" tf:"common_name,omitempty"`

	// The name of the Cloud SQL instance. Changing this
	// forces a new resource to be created.
	// +crossplane:generate:reference:type=DatabaseInstance
	Instance *string `json:"instance,omitempty" tf:"instance,omitempty"`

	// Reference to a DatabaseInstance to populate instance.
	// +kubebuilder:validation:Optional
	InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"`

	// Selector for a DatabaseInstance to populate instance.
	// +kubebuilder:validation:Optional
	InstanceSelector *v1.Selector `json:"instanceSelector,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"`
}

func (*SSLCertInitParameters) DeepCopy added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLCertInitParameters.

func (*SSLCertInitParameters) DeepCopyInto added in v0.35.0

func (in *SSLCertInitParameters) DeepCopyInto(out *SSLCertInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SSLCertList

type SSLCertList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SSLCert `json:"items"`
}

SSLCertList contains a list of SSLCerts

func (*SSLCertList) DeepCopy

func (in *SSLCertList) DeepCopy() *SSLCertList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLCertList.

func (*SSLCertList) DeepCopyInto

func (in *SSLCertList) DeepCopyInto(out *SSLCertList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SSLCertList) DeepCopyObject

func (in *SSLCertList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SSLCertList) GetItems

func (l *SSLCertList) GetItems() []resource.Managed

GetItems of this SSLCertList.

type SSLCertObservation

type SSLCertObservation struct {

	// The serial number extracted from the certificate data.
	CertSerialNumber *string `json:"certSerialNumber,omitempty" tf:"cert_serial_number,omitempty"`

	// The common name to be used in the certificate to identify the
	// client. Constrained to [a-zA-Z.-_ ]+. Changing this forces a new resource to be created.
	CommonName *string `json:"commonName,omitempty" tf:"common_name,omitempty"`

	// The time when the certificate was created in RFC 3339 format,
	// for example 2012-11-15T16:19:00.094Z.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// The time when the certificate expires in RFC 3339 format,
	// for example 2012-11-15T16:19:00.094Z.
	ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time,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"`

	// 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 SHA1 Fingerprint of the certificate.
	Sha1Fingerprint *string `json:"sha1Fingerprint,omitempty" tf:"sha1_fingerprint,omitempty"`
}

func (*SSLCertObservation) DeepCopy

func (in *SSLCertObservation) DeepCopy() *SSLCertObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLCertObservation.

func (*SSLCertObservation) DeepCopyInto

func (in *SSLCertObservation) DeepCopyInto(out *SSLCertObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SSLCertParameters

type SSLCertParameters struct {

	// The common name to be used in the certificate to identify the
	// client. Constrained to [a-zA-Z.-_ ]+. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	CommonName *string `json:"commonName,omitempty" tf:"common_name,omitempty"`

	// The name of the Cloud SQL instance. Changing this
	// forces a new resource to be created.
	// +crossplane:generate:reference:type=DatabaseInstance
	// +kubebuilder:validation:Optional
	Instance *string `json:"instance,omitempty" tf:"instance,omitempty"`

	// Reference to a DatabaseInstance to populate instance.
	// +kubebuilder:validation:Optional
	InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"`

	// Selector for a DatabaseInstance to populate instance.
	// +kubebuilder:validation:Optional
	InstanceSelector *v1.Selector `json:"instanceSelector,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"`
}

func (*SSLCertParameters) DeepCopy

func (in *SSLCertParameters) DeepCopy() *SSLCertParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLCertParameters.

func (*SSLCertParameters) DeepCopyInto

func (in *SSLCertParameters) DeepCopyInto(out *SSLCertParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SSLCertSpec

type SSLCertSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SSLCertParameters `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 SSLCertInitParameters `json:"initProvider,omitempty"`
}

SSLCertSpec defines the desired state of SSLCert

func (*SSLCertSpec) DeepCopy

func (in *SSLCertSpec) DeepCopy() *SSLCertSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLCertSpec.

func (*SSLCertSpec) DeepCopyInto

func (in *SSLCertSpec) DeepCopyInto(out *SSLCertSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SSLCertStatus

type SSLCertStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SSLCertObservation `json:"atProvider,omitempty"`
}

SSLCertStatus defines the observed state of SSLCert.

func (*SSLCertStatus) DeepCopy

func (in *SSLCertStatus) DeepCopy() *SSLCertStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLCertStatus.

func (*SSLCertStatus) DeepCopyInto

func (in *SSLCertStatus) DeepCopyInto(out *SSLCertStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServerCACertInitParameters added in v0.35.0

type ServerCACertInitParameters struct {
}

func (*ServerCACertInitParameters) DeepCopy added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerCACertInitParameters.

func (*ServerCACertInitParameters) DeepCopyInto added in v0.35.0

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

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

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 added in v0.35.0

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"`

	// Specifies if connections must use Cloud SQL connectors.
	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.
	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.
	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"`

	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 added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingsInitParameters.

func (*SettingsInitParameters) DeepCopyInto added in v0.35.0

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"`

	// Specifies if connections must use Cloud SQL connectors.
	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.
	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.
	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"`

	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"`

	// Specifies if connections must use Cloud SQL connectors.
	// +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.
	// +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.
	// +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"`

	// +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 SourceRepresentationInstance

type SourceRepresentationInstance 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"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.host) || (has(self.initProvider) && has(self.initProvider.host))",message="spec.forProvider.host is a required parameter"
	Spec   SourceRepresentationInstanceSpec   `json:"spec"`
	Status SourceRepresentationInstanceStatus `json:"status,omitempty"`
}

SourceRepresentationInstance is the Schema for the SourceRepresentationInstances API. A source representation instance is a Cloud SQL instance that represents the source database server to the Cloud SQL replica. +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 (*SourceRepresentationInstance) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstance.

func (*SourceRepresentationInstance) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SourceRepresentationInstance) DeepCopyObject

func (in *SourceRepresentationInstance) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SourceRepresentationInstance) GetCondition

GetCondition of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) GetConnectionDetailsMapping

func (tr *SourceRepresentationInstance) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this SourceRepresentationInstance

func (*SourceRepresentationInstance) GetDeletionPolicy

func (mg *SourceRepresentationInstance) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) GetID

GetID returns ID of underlying Terraform resource of this SourceRepresentationInstance

func (*SourceRepresentationInstance) GetInitParameters added in v0.35.0

func (tr *SourceRepresentationInstance) GetInitParameters() (map[string]any, error)

GetInitParameters of this SourceRepresentationInstance

func (*SourceRepresentationInstance) GetManagementPolicies added in v0.35.0

func (mg *SourceRepresentationInstance) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) GetMergedParameters added in v0.40.0

func (tr *SourceRepresentationInstance) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this SourceRepresentationInstance

func (*SourceRepresentationInstance) GetObservation

func (tr *SourceRepresentationInstance) GetObservation() (map[string]any, error)

GetObservation of this SourceRepresentationInstance

func (*SourceRepresentationInstance) GetParameters

func (tr *SourceRepresentationInstance) GetParameters() (map[string]any, error)

GetParameters of this SourceRepresentationInstance

func (*SourceRepresentationInstance) GetProviderConfigReference

func (mg *SourceRepresentationInstance) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) GetPublishConnectionDetailsTo

func (mg *SourceRepresentationInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) GetTerraformResourceType

func (mg *SourceRepresentationInstance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SourceRepresentationInstance

func (*SourceRepresentationInstance) GetTerraformSchemaVersion

func (tr *SourceRepresentationInstance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SourceRepresentationInstance) GetWriteConnectionSecretToReference

func (mg *SourceRepresentationInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) Hub added in v0.41.2

func (tr *SourceRepresentationInstance) Hub()

Hub marks this type as a conversion hub.

func (*SourceRepresentationInstance) LateInitialize

func (tr *SourceRepresentationInstance) LateInitialize(attrs []byte) (bool, error)

LateInitialize this SourceRepresentationInstance using its observed tfState. returns True if there are any spec changes for the resource.

func (*SourceRepresentationInstance) SetConditions

func (mg *SourceRepresentationInstance) SetConditions(c ...xpv1.Condition)

SetConditions of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) SetDeletionPolicy

func (mg *SourceRepresentationInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) SetManagementPolicies added in v0.35.0

func (mg *SourceRepresentationInstance) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) SetObservation

func (tr *SourceRepresentationInstance) SetObservation(obs map[string]any) error

SetObservation for this SourceRepresentationInstance

func (*SourceRepresentationInstance) SetParameters

func (tr *SourceRepresentationInstance) SetParameters(params map[string]any) error

SetParameters for this SourceRepresentationInstance

func (*SourceRepresentationInstance) SetProviderConfigReference

func (mg *SourceRepresentationInstance) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) SetPublishConnectionDetailsTo

func (mg *SourceRepresentationInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this SourceRepresentationInstance.

func (*SourceRepresentationInstance) SetWriteConnectionSecretToReference

func (mg *SourceRepresentationInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this SourceRepresentationInstance.

type SourceRepresentationInstanceInitParameters added in v0.35.0

type SourceRepresentationInstanceInitParameters struct {

	// The CA certificate on the external server. Include only if SSL/TLS is used on the external server.
	CACertificate *string `json:"caCertificate,omitempty" tf:"ca_certificate,omitempty"`

	// The client certificate on the external server. Required only for server-client authentication. Include only if SSL/TLS is used on the external server.
	ClientCertificate *string `json:"clientCertificate,omitempty" tf:"client_certificate,omitempty"`

	// The private key file for the client certificate on the external server. Required only for server-client authentication. Include only if SSL/TLS is used on the external server.
	ClientKey *string `json:"clientKey,omitempty" tf:"client_key,omitempty"`

	// The MySQL version running on your source database server.
	// Possible values are: MYSQL_5_6, MYSQL_5_7, MYSQL_8_0, POSTGRES_9_6, POSTGRES_10, POSTGRES_11, POSTGRES_12, POSTGRES_13, POSTGRES_14.
	DatabaseVersion *string `json:"databaseVersion,omitempty" tf:"database_version,omitempty"`

	// A file in the bucket that contains the data from the external server.
	DumpFilePath *string `json:"dumpFilePath,omitempty" tf:"dump_file_path,omitempty"`

	// The IPv4 address and port for the external server, or the the DNS address for the external server. If the external server is hosted on Cloud SQL, the port is 5432.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// The externally accessible port for the source database server.
	// Defaults to 3306.
	Port *float64 `json:"port,omitempty" tf:"port,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 in which the created instance should reside.
	// If it is not provided, the provider region is used.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The replication user account on the external server.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*SourceRepresentationInstanceInitParameters) DeepCopy added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceInitParameters.

func (*SourceRepresentationInstanceInitParameters) DeepCopyInto added in v0.35.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SourceRepresentationInstanceList

type SourceRepresentationInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SourceRepresentationInstance `json:"items"`
}

SourceRepresentationInstanceList contains a list of SourceRepresentationInstances

func (*SourceRepresentationInstanceList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceList.

func (*SourceRepresentationInstanceList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SourceRepresentationInstanceList) DeepCopyObject

func (in *SourceRepresentationInstanceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SourceRepresentationInstanceList) GetItems

GetItems of this SourceRepresentationInstanceList.

type SourceRepresentationInstanceObservation

type SourceRepresentationInstanceObservation struct {

	// The CA certificate on the external server. Include only if SSL/TLS is used on the external server.
	CACertificate *string `json:"caCertificate,omitempty" tf:"ca_certificate,omitempty"`

	// The client certificate on the external server. Required only for server-client authentication. Include only if SSL/TLS is used on the external server.
	ClientCertificate *string `json:"clientCertificate,omitempty" tf:"client_certificate,omitempty"`

	// The private key file for the client certificate on the external server. Required only for server-client authentication. Include only if SSL/TLS is used on the external server.
	ClientKey *string `json:"clientKey,omitempty" tf:"client_key,omitempty"`

	// The MySQL version running on your source database server.
	// Possible values are: MYSQL_5_6, MYSQL_5_7, MYSQL_8_0, POSTGRES_9_6, POSTGRES_10, POSTGRES_11, POSTGRES_12, POSTGRES_13, POSTGRES_14.
	DatabaseVersion *string `json:"databaseVersion,omitempty" tf:"database_version,omitempty"`

	// A file in the bucket that contains the data from the external server.
	DumpFilePath *string `json:"dumpFilePath,omitempty" tf:"dump_file_path,omitempty"`

	// The IPv4 address and port for the external server, or the the DNS address for the external server. If the external server is hosted on Cloud SQL, the port is 5432.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// an identifier for the resource with format projects/{{project}}/instances/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The externally accessible port for the source database server.
	// Defaults to 3306.
	Port *float64 `json:"port,omitempty" tf:"port,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 in which the created instance should reside.
	// If it is not provided, the provider region is used.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The replication user account on the external server.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*SourceRepresentationInstanceObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceObservation.

func (*SourceRepresentationInstanceObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SourceRepresentationInstanceParameters

type SourceRepresentationInstanceParameters struct {

	// The CA certificate on the external server. Include only if SSL/TLS is used on the external server.
	// +kubebuilder:validation:Optional
	CACertificate *string `json:"caCertificate,omitempty" tf:"ca_certificate,omitempty"`

	// The client certificate on the external server. Required only for server-client authentication. Include only if SSL/TLS is used on the external server.
	// +kubebuilder:validation:Optional
	ClientCertificate *string `json:"clientCertificate,omitempty" tf:"client_certificate,omitempty"`

	// The private key file for the client certificate on the external server. Required only for server-client authentication. Include only if SSL/TLS is used on the external server.
	// +kubebuilder:validation:Optional
	ClientKey *string `json:"clientKey,omitempty" tf:"client_key,omitempty"`

	// The MySQL version running on your source database server.
	// Possible values are: MYSQL_5_6, MYSQL_5_7, MYSQL_8_0, POSTGRES_9_6, POSTGRES_10, POSTGRES_11, POSTGRES_12, POSTGRES_13, POSTGRES_14.
	// +kubebuilder:validation:Optional
	DatabaseVersion *string `json:"databaseVersion,omitempty" tf:"database_version,omitempty"`

	// A file in the bucket that contains the data from the external server.
	// +kubebuilder:validation:Optional
	DumpFilePath *string `json:"dumpFilePath,omitempty" tf:"dump_file_path,omitempty"`

	// The IPv4 address and port for the external server, or the the DNS address for the external server. If the external server is hosted on Cloud SQL, the port is 5432.
	// +kubebuilder:validation:Optional
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// The password for the replication user account.
	// Note: This property is sensitive and will not be displayed in the plan.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// The externally accessible port for the source database server.
	// Defaults to 3306.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,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 in which the created instance should reside.
	// If it is not provided, the provider region is used.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The replication user account on the external server.
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*SourceRepresentationInstanceParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceParameters.

func (*SourceRepresentationInstanceParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SourceRepresentationInstanceSpec

type SourceRepresentationInstanceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SourceRepresentationInstanceParameters `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 SourceRepresentationInstanceInitParameters `json:"initProvider,omitempty"`
}

SourceRepresentationInstanceSpec defines the desired state of SourceRepresentationInstance

func (*SourceRepresentationInstanceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceSpec.

func (*SourceRepresentationInstanceSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SourceRepresentationInstanceStatus

type SourceRepresentationInstanceStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SourceRepresentationInstanceObservation `json:"atProvider,omitempty"`
}

SourceRepresentationInstanceStatus defines the observed state of SourceRepresentationInstance.

func (*SourceRepresentationInstanceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceStatus.

func (*SourceRepresentationInstanceStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StatusInitParameters added in v0.35.0

type StatusInitParameters struct {
}

func (*StatusInitParameters) DeepCopy added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusInitParameters.

func (*StatusInitParameters) DeepCopyInto added in v0.35.0

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 added in v0.26.0

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 added in v0.26.0

func (in *StatusObservation) DeepCopy() *StatusObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusObservation.

func (*StatusObservation) DeepCopyInto added in v0.26.0

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 added in v0.26.0

type StatusParameters struct {
}

func (*StatusParameters) DeepCopy added in v0.26.0

func (in *StatusParameters) DeepCopy() *StatusParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusParameters.

func (*StatusParameters) DeepCopyInto added in v0.26.0

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

func (in *User) DeepCopy() *User

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*User) DeepCopyObject

func (in *User) DeepCopyObject() runtime.Object

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

func (tr *User) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this User

func (*User) GetDeletionPolicy

func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this User.

func (*User) GetID

func (tr *User) GetID() string

GetID returns ID of underlying Terraform resource of this User

func (*User) GetInitParameters added in v0.35.0

func (tr *User) GetInitParameters() (map[string]any, error)

GetInitParameters of this User

func (*User) GetManagementPolicies added in v0.35.0

func (mg *User) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this User.

func (*User) GetMergedParameters added in v0.40.0

func (tr *User) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this User

func (*User) GetObservation

func (tr *User) GetObservation() (map[string]any, error)

GetObservation of this User

func (*User) GetParameters

func (tr *User) GetParameters() (map[string]any, error)

GetParameters of this User

func (*User) GetProviderConfigReference

func (mg *User) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this User.

func (*User) GetPublishConnectionDetailsTo

func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this User.

func (*User) GetTerraformResourceType

func (mg *User) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this User

func (*User) GetTerraformSchemaVersion

func (tr *User) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*User) GetWriteConnectionSecretToReference

func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this User.

func (*User) Hub added in v0.41.2

func (tr *User) Hub()

Hub marks this type as a conversion hub.

func (*User) LateInitialize

func (tr *User) LateInitialize(attrs []byte) (bool, error)

LateInitialize this User using its observed tfState. returns True if there are any spec changes for the resource.

func (*User) ResolveReferences

func (mg *User) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this User.

func (*User) SetConditions

func (mg *User) SetConditions(c ...xpv1.Condition)

SetConditions of this User.

func (*User) SetDeletionPolicy

func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this User.

func (*User) SetManagementPolicies added in v0.35.0

func (mg *User) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this User.

func (*User) SetObservation

func (tr *User) SetObservation(obs map[string]any) error

SetObservation for this User

func (*User) SetParameters

func (tr *User) SetParameters(params map[string]any) error

SetParameters for this User

func (*User) SetProviderConfigReference

func (mg *User) SetProviderConfigReference(r *xpv1.Reference)

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 added in v0.35.0

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=DatabaseInstance
	Instance *string `json:"instance,omitempty" tf:"instance,omitempty"`

	// Reference to a DatabaseInstance to populate instance.
	// +kubebuilder:validation:Optional
	InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"`

	// Selector for a DatabaseInstance to populate instance.
	// +kubebuilder:validation:Optional
	InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"`

	PasswordPolicy []PasswordPolicyInitParameters `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"`

	// 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", "CLOUD_IAM_GROUP" or "CLOUD_IAM_SERVICE_ACCOUNT".
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*UserInitParameters) DeepCopy added in v0.35.0

func (in *UserInitParameters) DeepCopy() *UserInitParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInitParameters.

func (*UserInitParameters) DeepCopyInto added in v0.35.0

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

func (in *UserList) DeepCopy() *UserList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.

func (*UserList) DeepCopyInto

func (in *UserList) DeepCopyInto(out *UserList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UserList) DeepCopyObject

func (in *UserList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*UserList) GetItems

func (l *UserList) GetItems() []resource.Managed

GetItems of this UserList.

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", "CLOUD_IAM_GROUP" or "CLOUD_IAM_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=DatabaseInstance
	// +kubebuilder:validation:Optional
	Instance *string `json:"instance,omitempty" tf:"instance,omitempty"`

	// Reference to a DatabaseInstance to populate instance.
	// +kubebuilder:validation:Optional
	InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"`

	// Selector for a DatabaseInstance 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", "CLOUD_IAM_GROUP" or "CLOUD_IAM_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

func (in *UserSpec) DeepCopy() *UserSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.

func (*UserSpec) DeepCopyInto

func (in *UserSpec) DeepCopyInto(out *UserSpec)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL