v1beta1

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 13 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 ActiveDirectoryConfigObservation

type ActiveDirectoryConfigObservation struct {
}

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:Required
	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 AuthorizedNetworksObservation

type AuthorizedNetworksObservation struct {
}

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

	// Name of the flag.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Value of the flag.
	// +kubebuilder:validation:Required
	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 BackupConfigurationObservation

type BackupConfigurationObservation struct {
}

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 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.
	// +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 BackupRetentionSettingsObservation

type BackupRetentionSettingsObservation struct {
}

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:Required
	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 CloneObservation

type CloneObservation struct {
}

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

	// The timestamp of the point in time that should be restored.
	// +kubebuilder:validation:Optional
	PointInTime *string `json:"pointInTime,omitempty" tf:"point_in_time,omitempty"`

	// Name of the source instance which will be cloned.
	// +kubebuilder:validation:Required
	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 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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +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) 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) GetProviderReference

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

GetProviderReference of this Database. Deprecated: Use GetProviderConfigReference.

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) 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

ResolveReferences of this Database.

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) 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) SetProviderReference

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

SetProviderReference of this Database. Deprecated: Use SetProviderConfigReference.

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 DatabaseFlagsObservation

type DatabaseFlagsObservation struct {
}

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 {

	// Name of the flag.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Value of the flag.
	// +kubebuilder:validation:Required
	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 DatabaseInstance

type DatabaseInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +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) 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) GetProviderReference

func (mg *DatabaseInstance) GetProviderReference() *xpv1.Reference

GetProviderReference of this DatabaseInstance. Deprecated: Use GetProviderConfigReference.

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) 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) 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) SetProviderReference

func (mg *DatabaseInstance) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this DatabaseInstance. Deprecated: Use SetProviderConfigReference.

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 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 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 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 first private (PRIVATE) IPv4 address assigned.
	PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"`

	// The first public (PRIMARY) IPv4 address assigned.
	PublicIPAddress *string `json:"publicIpAddress,omitempty" tf:"public_ip_address,omitempty"`

	// The URI of the created resource.
	SelfLink *string `json:"selfLink,omitempty" tf:"self_link,omitempty"`

	ServerCACert []ServerCACertObservation `json:"serverCaCert,omitempty" tf:"server_ca_cert,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.
	// +kubebuilder:validation:Optional
	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, 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:Required
	DatabaseVersion *string `json:"databaseVersion" tf:"database_version,omitempty"`

	// +kubebuilder:validation:Optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,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. Required for MS SQL Server, ignored by MySQL and PostgreSQL.
	// +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"`
}

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 {

	// an identifier for the resource with format projects/{{project}}/instances/{{instance}}/databases/{{name}}
	ID *string `json:"id,omitempty" tf:"id,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 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"`
}

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 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 IPConfigurationObservation

type IPConfigurationObservation struct {
}

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 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/upbound/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:"-"`

	// Whether SSL connections over IP are enforced or not.
	// +kubebuilder:validation:Optional
	RequireSSL *bool `json:"requireSsl,omitempty" tf:"require_ssl,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 InsightsConfigObservation

type InsightsConfigObservation struct {
}

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

	// Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.
	// +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 LocationPreferenceObservation

type LocationPreferenceObservation struct {
}

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.
	// +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 MaintenanceWindowObservation

type MaintenanceWindowObservation struct {
}

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 ReplicaConfigurationObservation

type ReplicaConfigurationObservation struct {
}

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.
	// +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.
	// +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:"-"`

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

type RestoreBackupContextObservation struct {
}

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:Required
	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 SSLCert

type SSLCert struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +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) 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) GetProviderReference

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

GetProviderReference of this SSLCert. Deprecated: Use GetProviderConfigReference.

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) 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) 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) SetProviderReference

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

SetProviderReference of this SSLCert. Deprecated: Use SetProviderConfigReference.

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 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 actual certificate data for this client certificate.
	Cert *string `json:"cert,omitempty" tf:"cert,omitempty"`

	// The serial number extracted from the certificate data.
	CertSerialNumber *string `json:"certSerialNumber,omitempty" tf:"cert_serial_number,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 CA cert of the server this client cert was generated from.
	ServerCACert *string `json:"serverCaCert,omitempty" tf:"server_ca_cert,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:Required
	CommonName *string `json:"commonName" 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"`
}

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 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 SettingsObservation

type SettingsObservation struct {

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

	// 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 instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled
	// is set to true.
	// +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"`

	// +kubebuilder:validation:Optional
	DatabaseFlags []DatabaseFlagsParameters `json:"databaseFlags,omitempty" tf:"database_flags,omitempty"`

	// Enables auto-resizing of the storage size. Set to false if you want to set disk_size.
	// +kubebuilder:validation:Optional
	DiskAutoresize *bool `json:"diskAutoresize,omitempty" tf:"disk_autoresize,omitempty"`

	// +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. If you want to set this field, set disk_autoresize to false.
	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// The type of data disk: PD_SSD or PD_HDD.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,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"`

	// Pricing plan for this instance, can only be PER_USE.
	// +kubebuilder:validation:Optional
	PricingPlan *string `json:"pricingPlan,omitempty" tf:"pricing_plan,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:Required
	Tier *string `json:"tier" tf:"tier,omitempty"`

	// A set of key/value user label pairs to assign to the instance.
	// +kubebuilder:validation:Optional
	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"`
	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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +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) 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) GetProviderReference

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

GetProviderReference of this SourceRepresentationInstance. Deprecated: Use GetProviderConfigReference.

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) 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) 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) SetProviderReference

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

SetProviderReference of this SourceRepresentationInstance. Deprecated: Use SetProviderConfigReference.

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 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 {

	// an identifier for the resource with format projects/{{project}}/instances/{{name}}
	ID *string `json:"id,omitempty" tf:"id,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 MySQL version running on your source database server.
	// Possible values are MYSQL_5_5, MYSQL_5_6, MYSQL_5_7, and MYSQL_8_0.
	// +kubebuilder:validation:Required
	DatabaseVersion *string `json:"databaseVersion" tf:"database_version,omitempty"`

	// The externally accessible IPv4 address for the source database server.
	// +kubebuilder:validation:Required
	Host *string `json:"host" tf:"host,omitempty"`

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

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

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 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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +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) 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) GetProviderReference

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

GetProviderReference of this User. Deprecated: Use GetProviderConfigReference.

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) 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) 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) SetProviderReference

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

SetProviderReference of this User. Deprecated: Use SetProviderConfigReference.

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 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 {
	ID *string `json:"id,omitempty" tf:"id,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 MySQL instances. Don't set this field for PostgreSQL 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:"-"`

	// 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.
	// +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", 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"`
}

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