Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=sql.gcp.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type ActiveDirectoryConfigInitParameters
- type ActiveDirectoryConfigObservation
- type ActiveDirectoryConfigParameters
- type AdvancedMachineFeaturesInitParameters
- type AdvancedMachineFeaturesObservation
- type AdvancedMachineFeaturesParameters
- type AuthorizedNetworksInitParameters
- type AuthorizedNetworksObservation
- type AuthorizedNetworksParameters
- type BackupConfigurationInitParameters
- type BackupConfigurationObservation
- type BackupConfigurationParameters
- type BackupRetentionSettingsInitParameters
- type BackupRetentionSettingsObservation
- type BackupRetentionSettingsParameters
- type CloneInitParameters
- type CloneObservation
- type CloneParameters
- type DataCacheConfigInitParameters
- type DataCacheConfigObservation
- type DataCacheConfigParameters
- type Database
- func (in *Database) DeepCopy() *Database
- func (in *Database) DeepCopyInto(out *Database)
- func (in *Database) DeepCopyObject() runtime.Object
- func (mg *Database) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Database) GetConnectionDetailsMapping() map[string]string
- func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Database) GetID() string
- func (tr *Database) GetInitParameters() (map[string]any, error)
- func (mg *Database) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Database) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Database) GetObservation() (map[string]any, error)
- func (tr *Database) GetParameters() (map[string]any, error)
- func (mg *Database) GetProviderConfigReference() *xpv1.Reference
- func (mg *Database) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Database) GetTerraformResourceType() string
- func (tr *Database) GetTerraformSchemaVersion() int
- func (mg *Database) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Database) Hub()
- func (tr *Database) LateInitialize(attrs []byte) (bool, error)
- func (mg *Database) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Database) SetConditions(c ...xpv1.Condition)
- func (mg *Database) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Database) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Database) SetObservation(obs map[string]any) error
- func (tr *Database) SetParameters(params map[string]any) error
- func (mg *Database) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Database) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Database) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DatabaseFlagsInitParameters
- type DatabaseFlagsObservation
- type DatabaseFlagsParameters
- type DatabaseInitParameters
- type DatabaseInstance
- func (tr *DatabaseInstance) ConvertFrom(srcRaw conversion.Hub) error
- func (tr *DatabaseInstance) ConvertTo(dstRaw conversion.Hub) error
- func (in *DatabaseInstance) DeepCopy() *DatabaseInstance
- func (in *DatabaseInstance) DeepCopyInto(out *DatabaseInstance)
- func (in *DatabaseInstance) DeepCopyObject() runtime.Object
- func (mg *DatabaseInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DatabaseInstance) GetConnectionDetailsMapping() map[string]string
- func (mg *DatabaseInstance) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DatabaseInstance) GetID() string
- func (tr *DatabaseInstance) GetInitParameters() (map[string]any, error)
- func (mg *DatabaseInstance) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *DatabaseInstance) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *DatabaseInstance) GetObservation() (map[string]any, error)
- func (tr *DatabaseInstance) GetParameters() (map[string]any, error)
- func (mg *DatabaseInstance) GetProviderConfigReference() *xpv1.Reference
- func (mg *DatabaseInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DatabaseInstance) GetTerraformResourceType() string
- func (tr *DatabaseInstance) GetTerraformSchemaVersion() int
- func (mg *DatabaseInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DatabaseInstance) LateInitialize(attrs []byte) (bool, error)
- func (mg *DatabaseInstance) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *DatabaseInstance) SetConditions(c ...xpv1.Condition)
- func (mg *DatabaseInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DatabaseInstance) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *DatabaseInstance) SetObservation(obs map[string]any) error
- func (tr *DatabaseInstance) SetParameters(params map[string]any) error
- func (mg *DatabaseInstance) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DatabaseInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DatabaseInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DatabaseInstanceInitParameters
- type DatabaseInstanceList
- type DatabaseInstanceObservation
- type DatabaseInstanceParameters
- type DatabaseInstanceSpec
- type DatabaseInstanceStatus
- type DatabaseList
- type DatabaseObservation
- type DatabaseParameters
- type DatabaseSpec
- type DatabaseStatus
- type DenyMaintenancePeriodInitParameters
- type DenyMaintenancePeriodObservation
- type DenyMaintenancePeriodParameters
- type IPAddressInitParameters
- type IPAddressObservation
- type IPAddressParameters
- type IPConfigurationInitParameters
- type IPConfigurationObservation
- type IPConfigurationParameters
- type InsightsConfigInitParameters
- type InsightsConfigObservation
- type InsightsConfigParameters
- type LocationPreferenceInitParameters
- type LocationPreferenceObservation
- type LocationPreferenceParameters
- type MaintenanceWindowInitParameters
- type MaintenanceWindowObservation
- type MaintenanceWindowParameters
- type PasswordPolicyInitParameters
- type PasswordPolicyObservation
- type PasswordPolicyParameters
- type PasswordValidationPolicyInitParameters
- type PasswordValidationPolicyObservation
- type PasswordValidationPolicyParameters
- type PscConfigInitParameters
- type PscConfigObservation
- type PscConfigParameters
- type ReplicaConfigurationInitParameters
- type ReplicaConfigurationObservation
- type ReplicaConfigurationParameters
- type RestoreBackupContextInitParameters
- type RestoreBackupContextObservation
- type RestoreBackupContextParameters
- type SQLServerAuditConfigInitParameters
- type SQLServerAuditConfigObservation
- type SQLServerAuditConfigParameters
- type SQLServerUserDetailsInitParameters
- type SQLServerUserDetailsObservation
- type SQLServerUserDetailsParameters
- type SSLCert
- func (in *SSLCert) DeepCopy() *SSLCert
- func (in *SSLCert) DeepCopyInto(out *SSLCert)
- func (in *SSLCert) DeepCopyObject() runtime.Object
- func (mg *SSLCert) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SSLCert) GetConnectionDetailsMapping() map[string]string
- func (mg *SSLCert) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SSLCert) GetID() string
- func (tr *SSLCert) GetInitParameters() (map[string]any, error)
- func (mg *SSLCert) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SSLCert) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *SSLCert) GetObservation() (map[string]any, error)
- func (tr *SSLCert) GetParameters() (map[string]any, error)
- func (mg *SSLCert) GetProviderConfigReference() *xpv1.Reference
- func (mg *SSLCert) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SSLCert) GetTerraformResourceType() string
- func (tr *SSLCert) GetTerraformSchemaVersion() int
- func (mg *SSLCert) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SSLCert) Hub()
- func (tr *SSLCert) LateInitialize(attrs []byte) (bool, error)
- func (mg *SSLCert) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *SSLCert) SetConditions(c ...xpv1.Condition)
- func (mg *SSLCert) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SSLCert) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SSLCert) SetObservation(obs map[string]any) error
- func (tr *SSLCert) SetParameters(params map[string]any) error
- func (mg *SSLCert) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SSLCert) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SSLCert) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SSLCertInitParameters
- type SSLCertList
- type SSLCertObservation
- type SSLCertParameters
- type SSLCertSpec
- type SSLCertStatus
- type ServerCACertInitParameters
- type ServerCACertObservation
- type ServerCACertParameters
- type SettingsInitParameters
- type SettingsObservation
- type SettingsParameters
- type SourceRepresentationInstance
- func (in *SourceRepresentationInstance) DeepCopy() *SourceRepresentationInstance
- func (in *SourceRepresentationInstance) DeepCopyInto(out *SourceRepresentationInstance)
- func (in *SourceRepresentationInstance) DeepCopyObject() runtime.Object
- func (mg *SourceRepresentationInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SourceRepresentationInstance) GetConnectionDetailsMapping() map[string]string
- func (mg *SourceRepresentationInstance) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SourceRepresentationInstance) GetID() string
- func (tr *SourceRepresentationInstance) GetInitParameters() (map[string]any, error)
- func (mg *SourceRepresentationInstance) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SourceRepresentationInstance) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *SourceRepresentationInstance) GetObservation() (map[string]any, error)
- func (tr *SourceRepresentationInstance) GetParameters() (map[string]any, error)
- func (mg *SourceRepresentationInstance) GetProviderConfigReference() *xpv1.Reference
- func (mg *SourceRepresentationInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SourceRepresentationInstance) GetTerraformResourceType() string
- func (tr *SourceRepresentationInstance) GetTerraformSchemaVersion() int
- func (mg *SourceRepresentationInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SourceRepresentationInstance) Hub()
- func (tr *SourceRepresentationInstance) LateInitialize(attrs []byte) (bool, error)
- func (mg *SourceRepresentationInstance) SetConditions(c ...xpv1.Condition)
- func (mg *SourceRepresentationInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SourceRepresentationInstance) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SourceRepresentationInstance) SetObservation(obs map[string]any) error
- func (tr *SourceRepresentationInstance) SetParameters(params map[string]any) error
- func (mg *SourceRepresentationInstance) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SourceRepresentationInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SourceRepresentationInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SourceRepresentationInstanceInitParameters
- type SourceRepresentationInstanceList
- func (in *SourceRepresentationInstanceList) DeepCopy() *SourceRepresentationInstanceList
- func (in *SourceRepresentationInstanceList) DeepCopyInto(out *SourceRepresentationInstanceList)
- func (in *SourceRepresentationInstanceList) DeepCopyObject() runtime.Object
- func (l *SourceRepresentationInstanceList) GetItems() []resource.Managed
- type SourceRepresentationInstanceObservation
- type SourceRepresentationInstanceParameters
- type SourceRepresentationInstanceSpec
- type SourceRepresentationInstanceStatus
- type StatusInitParameters
- type StatusObservation
- type StatusParameters
- type User
- func (tr *User) ConvertFrom(srcRaw conversion.Hub) error
- func (tr *User) ConvertTo(dstRaw conversion.Hub) error
- func (in *User) DeepCopy() *User
- func (in *User) DeepCopyInto(out *User)
- func (in *User) DeepCopyObject() runtime.Object
- func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *User) GetConnectionDetailsMapping() map[string]string
- func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *User) GetID() string
- func (tr *User) GetInitParameters() (map[string]any, error)
- func (mg *User) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *User) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *User) GetObservation() (map[string]any, error)
- func (tr *User) GetParameters() (map[string]any, error)
- func (mg *User) GetProviderConfigReference() *xpv1.Reference
- func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *User) GetTerraformResourceType() string
- func (tr *User) GetTerraformSchemaVersion() int
- func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *User) LateInitialize(attrs []byte) (bool, error)
- func (mg *User) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *User) SetConditions(c ...xpv1.Condition)
- func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *User) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *User) SetObservation(obs map[string]any) error
- func (tr *User) SetParameters(params map[string]any) error
- func (mg *User) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type UserInitParameters
- type UserList
- type UserObservation
- type UserParameters
- type UserSpec
- type UserStatus
Constants ¶
const ( CRDGroup = "sql.gcp.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
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.
var ( DatabaseInstance_Kind = "DatabaseInstance" DatabaseInstance_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DatabaseInstance_Kind}.String() DatabaseInstance_KindAPIVersion = DatabaseInstance_Kind + "." + CRDGroupVersion.String() DatabaseInstance_GroupVersionKind = CRDGroupVersion.WithKind(DatabaseInstance_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( 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.
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.
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
func (in *ActiveDirectoryConfigInitParameters) DeepCopy() *ActiveDirectoryConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryConfigInitParameters.
func (*ActiveDirectoryConfigInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *ActiveDirectoryConfigInitParameters) DeepCopyInto(out *ActiveDirectoryConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActiveDirectoryConfigObservation ¶
type ActiveDirectoryConfigObservation struct { // The domain name for the active directory (e.g., mydomain.com). // Can only be used with SQL Server. Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` }
func (*ActiveDirectoryConfigObservation) DeepCopy ¶
func (in *ActiveDirectoryConfigObservation) DeepCopy() *ActiveDirectoryConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryConfigObservation.
func (*ActiveDirectoryConfigObservation) DeepCopyInto ¶
func (in *ActiveDirectoryConfigObservation) DeepCopyInto(out *ActiveDirectoryConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActiveDirectoryConfigParameters ¶
type ActiveDirectoryConfigParameters struct { // The domain name for the active directory (e.g., mydomain.com). // Can only be used with SQL Server. // +kubebuilder:validation:Optional Domain *string `json:"domain" tf:"domain,omitempty"` }
func (*ActiveDirectoryConfigParameters) DeepCopy ¶
func (in *ActiveDirectoryConfigParameters) DeepCopy() *ActiveDirectoryConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryConfigParameters.
func (*ActiveDirectoryConfigParameters) DeepCopyInto ¶
func (in *ActiveDirectoryConfigParameters) DeepCopyInto(out *ActiveDirectoryConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdvancedMachineFeaturesInitParameters ¶ 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
func (in *AdvancedMachineFeaturesInitParameters) DeepCopy() *AdvancedMachineFeaturesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedMachineFeaturesInitParameters.
func (*AdvancedMachineFeaturesInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *AdvancedMachineFeaturesInitParameters) DeepCopyInto(out *AdvancedMachineFeaturesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdvancedMachineFeaturesObservation ¶ 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
func (in *AdvancedMachineFeaturesObservation) DeepCopy() *AdvancedMachineFeaturesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedMachineFeaturesObservation.
func (*AdvancedMachineFeaturesObservation) DeepCopyInto ¶ added in v0.33.0
func (in *AdvancedMachineFeaturesObservation) DeepCopyInto(out *AdvancedMachineFeaturesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdvancedMachineFeaturesParameters ¶ 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
func (in *AdvancedMachineFeaturesParameters) DeepCopy() *AdvancedMachineFeaturesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedMachineFeaturesParameters.
func (*AdvancedMachineFeaturesParameters) DeepCopyInto ¶ added in v0.33.0
func (in *AdvancedMachineFeaturesParameters) DeepCopyInto(out *AdvancedMachineFeaturesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizedNetworksInitParameters ¶ 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
func (in *AuthorizedNetworksInitParameters) DeepCopy() *AuthorizedNetworksInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizedNetworksInitParameters.
func (*AuthorizedNetworksInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *AuthorizedNetworksInitParameters) DeepCopyInto(out *AuthorizedNetworksInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizedNetworksObservation ¶
type AuthorizedNetworksObservation struct { // The RFC 3339 // formatted date time string indicating when this whitelist expires. ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time,omitempty"` // A name for this whitelist entry. Name *string `json:"name,omitempty" tf:"name,omitempty"` // A CIDR notation IPv4 or IPv6 address that is allowed to // access this instance. Must be set even if other two attributes are not for // the whitelist to become active. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*AuthorizedNetworksObservation) DeepCopy ¶
func (in *AuthorizedNetworksObservation) DeepCopy() *AuthorizedNetworksObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizedNetworksObservation.
func (*AuthorizedNetworksObservation) DeepCopyInto ¶
func (in *AuthorizedNetworksObservation) DeepCopyInto(out *AuthorizedNetworksObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizedNetworksParameters ¶
type AuthorizedNetworksParameters struct { // The RFC 3339 // formatted date time string indicating when this whitelist expires. // +kubebuilder:validation:Optional ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time,omitempty"` // A name for this whitelist entry. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // A CIDR notation IPv4 or IPv6 address that is allowed to // access this instance. Must be set even if other two attributes are not for // the whitelist to become active. // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*AuthorizedNetworksParameters) DeepCopy ¶
func (in *AuthorizedNetworksParameters) DeepCopy() *AuthorizedNetworksParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizedNetworksParameters.
func (*AuthorizedNetworksParameters) DeepCopyInto ¶
func (in *AuthorizedNetworksParameters) DeepCopyInto(out *AuthorizedNetworksParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupConfigurationInitParameters ¶ 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
func (in *BackupConfigurationInitParameters) DeepCopy() *BackupConfigurationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationInitParameters.
func (*BackupConfigurationInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *BackupConfigurationInitParameters) DeepCopyInto(out *BackupConfigurationInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupConfigurationObservation ¶
type BackupConfigurationObservation struct { // Backup retention settings. The configuration is detailed below. BackupRetentionSettings []BackupRetentionSettingsObservation `json:"backupRetentionSettings,omitempty" tf:"backup_retention_settings,omitempty"` // True if binary logging is enabled. // Can only be used with MySQL. BinaryLogEnabled *bool `json:"binaryLogEnabled,omitempty" tf:"binary_log_enabled,omitempty"` // True if backup configuration is enabled. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // The region where the backup will be stored Location *string `json:"location,omitempty" tf:"location,omitempty"` // True if Point-in-time recovery is enabled. Will restart database if enabled after instance creation. Valid only for PostgreSQL and SQL Server instances. PointInTimeRecoveryEnabled *bool `json:"pointInTimeRecoveryEnabled,omitempty" tf:"point_in_time_recovery_enabled,omitempty"` // HH:MM format time indicating when backup // configuration starts. StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` // The number of days of transaction logs we retain for point in time restore, from 1-7. For PostgreSQL Enterprise Plus instances, the number of days of retained transaction logs can be set from 1 to 35. TransactionLogRetentionDays *float64 `json:"transactionLogRetentionDays,omitempty" tf:"transaction_log_retention_days,omitempty"` }
func (*BackupConfigurationObservation) DeepCopy ¶
func (in *BackupConfigurationObservation) DeepCopy() *BackupConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationObservation.
func (*BackupConfigurationObservation) DeepCopyInto ¶
func (in *BackupConfigurationObservation) DeepCopyInto(out *BackupConfigurationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupConfigurationParameters ¶
type BackupConfigurationParameters struct { // Backup retention settings. The configuration is detailed below. // +kubebuilder:validation:Optional BackupRetentionSettings []BackupRetentionSettingsParameters `json:"backupRetentionSettings,omitempty" tf:"backup_retention_settings,omitempty"` // True if binary logging is enabled. // Can only be used with MySQL. // +kubebuilder:validation:Optional BinaryLogEnabled *bool `json:"binaryLogEnabled,omitempty" tf:"binary_log_enabled,omitempty"` // True if backup configuration is enabled. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // The region where the backup will be stored // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // True if Point-in-time recovery is enabled. Will restart database if enabled after instance creation. Valid only for PostgreSQL and SQL Server instances. // +kubebuilder:validation:Optional PointInTimeRecoveryEnabled *bool `json:"pointInTimeRecoveryEnabled,omitempty" tf:"point_in_time_recovery_enabled,omitempty"` // HH:MM format time indicating when backup // configuration starts. // +kubebuilder:validation:Optional StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` // The number of days of transaction logs we retain for point in time restore, from 1-7. For PostgreSQL Enterprise Plus instances, the number of days of retained transaction logs can be set from 1 to 35. // +kubebuilder:validation:Optional TransactionLogRetentionDays *float64 `json:"transactionLogRetentionDays,omitempty" tf:"transaction_log_retention_days,omitempty"` }
func (*BackupConfigurationParameters) DeepCopy ¶
func (in *BackupConfigurationParameters) DeepCopy() *BackupConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationParameters.
func (*BackupConfigurationParameters) DeepCopyInto ¶
func (in *BackupConfigurationParameters) DeepCopyInto(out *BackupConfigurationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupRetentionSettingsInitParameters ¶ 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
func (in *BackupRetentionSettingsInitParameters) DeepCopy() *BackupRetentionSettingsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRetentionSettingsInitParameters.
func (*BackupRetentionSettingsInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *BackupRetentionSettingsInitParameters) DeepCopyInto(out *BackupRetentionSettingsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupRetentionSettingsObservation ¶
type BackupRetentionSettingsObservation struct { // Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit // is 'COUNT', we will retain this many backups. RetainedBackups *float64 `json:"retainedBackups,omitempty" tf:"retained_backups,omitempty"` // The unit that 'retained_backups' represents. Defaults to COUNT. RetentionUnit *string `json:"retentionUnit,omitempty" tf:"retention_unit,omitempty"` }
func (*BackupRetentionSettingsObservation) DeepCopy ¶
func (in *BackupRetentionSettingsObservation) DeepCopy() *BackupRetentionSettingsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRetentionSettingsObservation.
func (*BackupRetentionSettingsObservation) DeepCopyInto ¶
func (in *BackupRetentionSettingsObservation) DeepCopyInto(out *BackupRetentionSettingsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupRetentionSettingsParameters ¶
type BackupRetentionSettingsParameters struct { // Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit // is 'COUNT', we will retain this many backups. // +kubebuilder:validation:Optional RetainedBackups *float64 `json:"retainedBackups" tf:"retained_backups,omitempty"` // The unit that 'retained_backups' represents. Defaults to COUNT. // +kubebuilder:validation:Optional RetentionUnit *string `json:"retentionUnit,omitempty" tf:"retention_unit,omitempty"` }
func (*BackupRetentionSettingsParameters) DeepCopy ¶
func (in *BackupRetentionSettingsParameters) DeepCopy() *BackupRetentionSettingsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRetentionSettingsParameters.
func (*BackupRetentionSettingsParameters) DeepCopyInto ¶
func (in *BackupRetentionSettingsParameters) DeepCopyInto(out *BackupRetentionSettingsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloneInitParameters ¶ 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
func (in *DataCacheConfigInitParameters) DeepCopy() *DataCacheConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCacheConfigInitParameters.
func (*DataCacheConfigInitParameters) DeepCopyInto ¶ added in v0.37.0
func (in *DataCacheConfigInitParameters) DeepCopyInto(out *DataCacheConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataCacheConfigObservation ¶ 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
func (in *DataCacheConfigObservation) DeepCopy() *DataCacheConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCacheConfigObservation.
func (*DataCacheConfigObservation) DeepCopyInto ¶ added in v0.37.0
func (in *DataCacheConfigObservation) DeepCopyInto(out *DataCacheConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataCacheConfigParameters ¶ 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
func (in *DataCacheConfigParameters) DeepCopy() *DataCacheConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCacheConfigParameters.
func (*DataCacheConfigParameters) DeepCopyInto ¶ added in v0.37.0
func (in *DataCacheConfigParameters) DeepCopyInto(out *DataCacheConfigParameters)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
func (*Database) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Database) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Database
func (*Database) GetDeletionPolicy ¶
func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Database.
func (*Database) GetInitParameters ¶ added in v0.35.0
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
GetInitParameters of this Database
func (*Database) GetObservation ¶
GetObservation of this Database
func (*Database) GetParameters ¶
GetParameters of this Database
func (*Database) GetProviderConfigReference ¶
GetProviderConfigReference of this Database.
func (*Database) GetPublishConnectionDetailsTo ¶
func (mg *Database) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Database.
func (*Database) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Database
func (*Database) GetTerraformSchemaVersion ¶
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 ¶
LateInitialize this Database using its observed tfState. returns True if there are any spec changes for the resource.
func (*Database) ResolveReferences ¶
func (*Database) SetConditions ¶
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 ¶
SetObservation for this Database
func (*Database) SetParameters ¶
SetParameters for this Database
func (*Database) SetProviderConfigReference ¶
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
func (in *DatabaseFlagsInitParameters) DeepCopy() *DatabaseFlagsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseFlagsInitParameters.
func (*DatabaseFlagsInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *DatabaseFlagsInitParameters) DeepCopyInto(out *DatabaseFlagsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseFlagsObservation ¶
type DatabaseFlagsObservation struct { // A name for this whitelist entry. Name *string `json:"name,omitempty" tf:"name,omitempty"` // A CIDR notation IPv4 or IPv6 address that is allowed to // access this instance. Must be set even if other two attributes are not for // the whitelist to become active. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*DatabaseFlagsObservation) DeepCopy ¶
func (in *DatabaseFlagsObservation) DeepCopy() *DatabaseFlagsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseFlagsObservation.
func (*DatabaseFlagsObservation) DeepCopyInto ¶
func (in *DatabaseFlagsObservation) DeepCopyInto(out *DatabaseFlagsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseFlagsParameters ¶
type DatabaseFlagsParameters struct { // A name for this whitelist entry. // +kubebuilder:validation:Optional Name *string `json:"name" tf:"name,omitempty"` // A CIDR notation IPv4 or IPv6 address that is allowed to // access this instance. Must be set even if other two attributes are not for // the whitelist to become active. // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*DatabaseFlagsParameters) DeepCopy ¶
func (in *DatabaseFlagsParameters) DeepCopy() *DatabaseFlagsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseFlagsParameters.
func (*DatabaseFlagsParameters) DeepCopyInto ¶
func (in *DatabaseFlagsParameters) DeepCopyInto(out *DatabaseFlagsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type 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
func (in *DatabaseInitParameters) DeepCopy() *DatabaseInitParameters
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) ConvertFrom ¶ added in v1.2.0
func (tr *DatabaseInstance) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the hub type to the DatabaseInstance type.
func (*DatabaseInstance) ConvertTo ¶ added in v1.2.0
func (tr *DatabaseInstance) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this DatabaseInstance to the hub type.
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) 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 ¶
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"` // Initial root password. Can be updated. Required for MS SQL Server. RootPasswordSecretRef *v1.SecretKeySelector `json:"rootPasswordSecretRef,omitempty" tf:"-"` // The settings to use for the database. The // configuration is detailed below. Required if clone is not set. Settings []SettingsInitParameters `json:"settings,omitempty" tf:"settings,omitempty"` }
func (*DatabaseInstanceInitParameters) DeepCopy ¶ added in v0.35.0
func (in *DatabaseInstanceInitParameters) DeepCopy() *DatabaseInstanceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceInitParameters.
func (*DatabaseInstanceInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *DatabaseInstanceInitParameters) DeepCopyInto(out *DatabaseInstanceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceList ¶
type DatabaseInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DatabaseInstance `json:"items"` }
DatabaseInstanceList contains a list of DatabaseInstances
func (*DatabaseInstanceList) DeepCopy ¶
func (in *DatabaseInstanceList) DeepCopy() *DatabaseInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceList.
func (*DatabaseInstanceList) DeepCopyInto ¶
func (in *DatabaseInstanceList) DeepCopyInto(out *DatabaseInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseInstanceList) DeepCopyObject ¶
func (in *DatabaseInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DatabaseInstanceList) GetItems ¶
func (l *DatabaseInstanceList) GetItems() []resource.Managed
GetItems of this DatabaseInstanceList.
type DatabaseInstanceObservation ¶
type DatabaseInstanceObservation struct { // The list of all maintenance versions applicable on the instance. AvailableMaintenanceVersions []*string `json:"availableMaintenanceVersions,omitempty" tf:"available_maintenance_versions,omitempty"` // The context needed to create this instance as a clone of another instance. The // configuration is detailed below. Clone []CloneObservation `json:"clone,omitempty" tf:"clone,omitempty"` // The connection name of the instance to be used in // connection strings. For example, when connecting with Cloud SQL Proxy. ConnectionName *string `json:"connectionName,omitempty" tf:"connection_name,omitempty"` // The name of the instance. This is done because after a name is used, it cannot be reused for // up to one week. DNSName *string `json:"dnsName,omitempty" tf:"dns_name,omitempty"` // The MySQL, PostgreSQL or // SQL Server version to use. Supported values include MYSQL_5_6, // MYSQL_5_7, MYSQL_8_0, POSTGRES_9_6,POSTGRES_10, POSTGRES_11, // POSTGRES_12, POSTGRES_13, POSTGRES_14, POSTGRES_15, SQLSERVER_2017_STANDARD, // SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, SQLSERVER_2017_WEB. // SQLSERVER_2019_STANDARD, SQLSERVER_2019_ENTERPRISE, SQLSERVER_2019_EXPRESS, // SQLSERVER_2019_WEB. // Database Version Policies // includes an up-to-date reference of supported versions. DatabaseVersion *string `json:"databaseVersion,omitempty" tf:"database_version,omitempty"` // 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 ¶
func (in *DatabaseInstanceObservation) DeepCopy() *DatabaseInstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceObservation.
func (*DatabaseInstanceObservation) DeepCopyInto ¶
func (in *DatabaseInstanceObservation) DeepCopyInto(out *DatabaseInstanceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceParameters ¶
type DatabaseInstanceParameters struct { // The context needed to create this instance as a clone of another instance. The // configuration is detailed below. // +kubebuilder:validation:Optional Clone []CloneParameters `json:"clone,omitempty" tf:"clone,omitempty"` // The MySQL, PostgreSQL or // SQL Server version to use. Supported values include MYSQL_5_6, // MYSQL_5_7, MYSQL_8_0, POSTGRES_9_6,POSTGRES_10, POSTGRES_11, // POSTGRES_12, POSTGRES_13, POSTGRES_14, POSTGRES_15, SQLSERVER_2017_STANDARD, // SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, SQLSERVER_2017_WEB. // SQLSERVER_2019_STANDARD, SQLSERVER_2019_ENTERPRISE, SQLSERVER_2019_EXPRESS, // SQLSERVER_2019_WEB. // Database Version Policies // includes an up-to-date reference of supported versions. // +kubebuilder:validation:Optional DatabaseVersion *string `json:"databaseVersion,omitempty" tf:"database_version,omitempty"` // 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 ¶
func (in *DatabaseInstanceParameters) DeepCopy() *DatabaseInstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceParameters.
func (*DatabaseInstanceParameters) DeepCopyInto ¶
func (in *DatabaseInstanceParameters) DeepCopyInto(out *DatabaseInstanceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpec ¶
type DatabaseInstanceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DatabaseInstanceParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider DatabaseInstanceInitParameters `json:"initProvider,omitempty"` }
DatabaseInstanceSpec defines the desired state of DatabaseInstance
func (*DatabaseInstanceSpec) DeepCopy ¶
func (in *DatabaseInstanceSpec) DeepCopy() *DatabaseInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpec.
func (*DatabaseInstanceSpec) DeepCopyInto ¶
func (in *DatabaseInstanceSpec) DeepCopyInto(out *DatabaseInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceStatus ¶
type DatabaseInstanceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DatabaseInstanceObservation `json:"atProvider,omitempty"` }
DatabaseInstanceStatus defines the observed state of DatabaseInstance.
func (*DatabaseInstanceStatus) DeepCopy ¶
func (in *DatabaseInstanceStatus) DeepCopy() *DatabaseInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceStatus.
func (*DatabaseInstanceStatus) DeepCopyInto ¶
func (in *DatabaseInstanceStatus) DeepCopyInto(out *DatabaseInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type 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=github.com/upbound/provider-gcp/apis/sql/v1beta2.DatabaseInstance // +kubebuilder:validation:Optional Instance *string `json:"instance,omitempty" tf:"instance,omitempty"` // Reference to a DatabaseInstance in sql to populate instance. // +kubebuilder:validation:Optional InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"` // Selector for a DatabaseInstance in sql to populate instance. // +kubebuilder:validation:Optional InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"` // 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
func (in *DenyMaintenancePeriodInitParameters) DeepCopy() *DenyMaintenancePeriodInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyMaintenancePeriodInitParameters.
func (*DenyMaintenancePeriodInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *DenyMaintenancePeriodInitParameters) DeepCopyInto(out *DenyMaintenancePeriodInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DenyMaintenancePeriodObservation ¶ 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
func (in *DenyMaintenancePeriodObservation) DeepCopy() *DenyMaintenancePeriodObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyMaintenancePeriodObservation.
func (*DenyMaintenancePeriodObservation) DeepCopyInto ¶ added in v0.26.0
func (in *DenyMaintenancePeriodObservation) DeepCopyInto(out *DenyMaintenancePeriodObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DenyMaintenancePeriodParameters ¶ 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
func (in *DenyMaintenancePeriodParameters) DeepCopy() *DenyMaintenancePeriodParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyMaintenancePeriodParameters.
func (*DenyMaintenancePeriodParameters) DeepCopyInto ¶ added in v0.26.0
func (in *DenyMaintenancePeriodParameters) DeepCopyInto(out *DenyMaintenancePeriodParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPAddressInitParameters ¶ added in v0.35.0
type IPAddressInitParameters struct { }
func (*IPAddressInitParameters) DeepCopy ¶ added in v0.35.0
func (in *IPAddressInitParameters) DeepCopy() *IPAddressInitParameters
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 ¶
func (in *IPAddressObservation) DeepCopy() *IPAddressObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressObservation.
func (*IPAddressObservation) DeepCopyInto ¶
func (in *IPAddressObservation) DeepCopyInto(out *IPAddressObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPAddressParameters ¶
type IPAddressParameters struct { }
func (*IPAddressParameters) DeepCopy ¶
func (in *IPAddressParameters) DeepCopy() *IPAddressParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressParameters.
func (*IPAddressParameters) DeepCopyInto ¶
func (in *IPAddressParameters) DeepCopyInto(out *IPAddressParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPConfigurationInitParameters ¶ 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"` // Specify how the server certificate's Certificate Authority is hosted. Supported value is GOOGLE_MANAGED_INTERNAL_CA. ServerCAMode *string `json:"serverCaMode,omitempty" tf:"server_ca_mode,omitempty"` }
func (*IPConfigurationInitParameters) DeepCopy ¶ added in v0.35.0
func (in *IPConfigurationInitParameters) DeepCopy() *IPConfigurationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationInitParameters.
func (*IPConfigurationInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *IPConfigurationInitParameters) DeepCopyInto(out *IPConfigurationInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPConfigurationObservation ¶
type IPConfigurationObservation struct { // The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. AllocatedIPRange *string `json:"allocatedIpRange,omitempty" tf:"allocated_ip_range,omitempty"` AuthorizedNetworks []AuthorizedNetworksObservation `json:"authorizedNetworks,omitempty" tf:"authorized_networks,omitempty"` // Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported. EnablePrivatePathForGoogleCloudServices *bool `json:"enablePrivatePathForGoogleCloudServices,omitempty" tf:"enable_private_path_for_google_cloud_services,omitempty"` // Whether this Cloud SQL instance should be assigned // a public IPV4 address. At least ipv4_enabled must be enabled or a // private_network must be configured. IPv4Enabled *bool `json:"ipv4Enabled,omitempty" tf:"ipv4_enabled,omitempty"` // The VPC network from which the Cloud SQL // instance is accessible for private IP. For example, projects/myProject/global/networks/default. // Specifying a network enables private IP. // At least ipv4_enabled must be enabled or a private_network must be configured. // This setting can be updated, but it cannot be removed after it is set. PrivateNetwork *string `json:"privateNetwork,omitempty" tf:"private_network,omitempty"` PscConfig []PscConfigObservation `json:"pscConfig,omitempty" tf:"psc_config,omitempty"` // Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode. 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"` // Specify how the server certificate's Certificate Authority is hosted. Supported value is GOOGLE_MANAGED_INTERNAL_CA. ServerCAMode *string `json:"serverCaMode,omitempty" tf:"server_ca_mode,omitempty"` }
func (*IPConfigurationObservation) DeepCopy ¶
func (in *IPConfigurationObservation) DeepCopy() *IPConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationObservation.
func (*IPConfigurationObservation) DeepCopyInto ¶
func (in *IPConfigurationObservation) DeepCopyInto(out *IPConfigurationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPConfigurationParameters ¶
type IPConfigurationParameters struct { // The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. // +kubebuilder:validation:Optional AllocatedIPRange *string `json:"allocatedIpRange,omitempty" tf:"allocated_ip_range,omitempty"` // +kubebuilder:validation:Optional AuthorizedNetworks []AuthorizedNetworksParameters `json:"authorizedNetworks,omitempty" tf:"authorized_networks,omitempty"` // Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported. // +kubebuilder:validation:Optional EnablePrivatePathForGoogleCloudServices *bool `json:"enablePrivatePathForGoogleCloudServices,omitempty" tf:"enable_private_path_for_google_cloud_services,omitempty"` // Whether this Cloud SQL instance should be assigned // a public IPV4 address. At least ipv4_enabled must be enabled or a // private_network must be configured. // +kubebuilder:validation:Optional IPv4Enabled *bool `json:"ipv4Enabled,omitempty" tf:"ipv4_enabled,omitempty"` // The VPC network from which the Cloud SQL // instance is accessible for private IP. For example, projects/myProject/global/networks/default. // Specifying a network enables private IP. // At least ipv4_enabled must be enabled or a private_network must be configured. // This setting can be updated, but it cannot be removed after it is set. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.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"` // Specify how the server certificate's Certificate Authority is hosted. Supported value is GOOGLE_MANAGED_INTERNAL_CA. // +kubebuilder:validation:Optional ServerCAMode *string `json:"serverCaMode,omitempty" tf:"server_ca_mode,omitempty"` }
func (*IPConfigurationParameters) DeepCopy ¶
func (in *IPConfigurationParameters) DeepCopy() *IPConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationParameters.
func (*IPConfigurationParameters) DeepCopyInto ¶
func (in *IPConfigurationParameters) DeepCopyInto(out *IPConfigurationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InsightsConfigInitParameters ¶ 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
func (in *InsightsConfigInitParameters) DeepCopy() *InsightsConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsConfigInitParameters.
func (*InsightsConfigInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *InsightsConfigInitParameters) DeepCopyInto(out *InsightsConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InsightsConfigObservation ¶
type InsightsConfigObservation struct { // True if Query Insights feature is enabled. QueryInsightsEnabled *bool `json:"queryInsightsEnabled,omitempty" tf:"query_insights_enabled,omitempty"` // Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5. QueryPlansPerMinute *float64 `json:"queryPlansPerMinute,omitempty" tf:"query_plans_per_minute,omitempty"` // Maximum query length stored in bytes. Between 256 and 4500. Default to 1024. Higher query lengths are more useful for analytical queries, but they also require more memory. Changing the query length requires you to restart the instance. You can still add tags to queries that exceed the length limit. QueryStringLength *float64 `json:"queryStringLength,omitempty" tf:"query_string_length,omitempty"` // True if Query Insights will record application tags from query when enabled. RecordApplicationTags *bool `json:"recordApplicationTags,omitempty" tf:"record_application_tags,omitempty"` // True if Query Insights will record client address when enabled. RecordClientAddress *bool `json:"recordClientAddress,omitempty" tf:"record_client_address,omitempty"` }
func (*InsightsConfigObservation) DeepCopy ¶
func (in *InsightsConfigObservation) DeepCopy() *InsightsConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsConfigObservation.
func (*InsightsConfigObservation) DeepCopyInto ¶
func (in *InsightsConfigObservation) DeepCopyInto(out *InsightsConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InsightsConfigParameters ¶
type InsightsConfigParameters struct { // True if Query Insights feature is enabled. // +kubebuilder:validation:Optional QueryInsightsEnabled *bool `json:"queryInsightsEnabled,omitempty" tf:"query_insights_enabled,omitempty"` // Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5. // +kubebuilder:validation:Optional QueryPlansPerMinute *float64 `json:"queryPlansPerMinute,omitempty" tf:"query_plans_per_minute,omitempty"` // Maximum query length stored in bytes. Between 256 and 4500. Default to 1024. Higher query lengths are more useful for analytical queries, but they also require more memory. Changing the query length requires you to restart the instance. You can still add tags to queries that exceed the length limit. // +kubebuilder:validation:Optional QueryStringLength *float64 `json:"queryStringLength,omitempty" tf:"query_string_length,omitempty"` // True if Query Insights will record application tags from query when enabled. // +kubebuilder:validation:Optional RecordApplicationTags *bool `json:"recordApplicationTags,omitempty" tf:"record_application_tags,omitempty"` // True if Query Insights will record client address when enabled. // +kubebuilder:validation:Optional RecordClientAddress *bool `json:"recordClientAddress,omitempty" tf:"record_client_address,omitempty"` }
func (*InsightsConfigParameters) DeepCopy ¶
func (in *InsightsConfigParameters) DeepCopy() *InsightsConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsConfigParameters.
func (*InsightsConfigParameters) DeepCopyInto ¶
func (in *InsightsConfigParameters) DeepCopyInto(out *InsightsConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocationPreferenceInitParameters ¶ 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
func (in *LocationPreferenceInitParameters) DeepCopy() *LocationPreferenceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationPreferenceInitParameters.
func (*LocationPreferenceInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *LocationPreferenceInitParameters) DeepCopyInto(out *LocationPreferenceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocationPreferenceObservation ¶
type LocationPreferenceObservation struct { // A GAE application whose zone to remain // in. Must be in the same region as this instance. FollowGaeApplication *string `json:"followGaeApplication,omitempty" tf:"follow_gae_application,omitempty"` // The preferred Compute Engine zone for the secondary/failover. SecondaryZone *string `json:"secondaryZone,omitempty" tf:"secondary_zone,omitempty"` // The preferred compute engine // zone. Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*LocationPreferenceObservation) DeepCopy ¶
func (in *LocationPreferenceObservation) DeepCopy() *LocationPreferenceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationPreferenceObservation.
func (*LocationPreferenceObservation) DeepCopyInto ¶
func (in *LocationPreferenceObservation) DeepCopyInto(out *LocationPreferenceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocationPreferenceParameters ¶
type LocationPreferenceParameters struct { // A GAE application whose zone to remain // in. Must be in the same region as this instance. // +kubebuilder:validation:Optional FollowGaeApplication *string `json:"followGaeApplication,omitempty" tf:"follow_gae_application,omitempty"` // The preferred Compute Engine zone for the secondary/failover. // +kubebuilder:validation:Optional SecondaryZone *string `json:"secondaryZone,omitempty" tf:"secondary_zone,omitempty"` // The preferred compute engine // zone. // +kubebuilder:validation:Optional Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*LocationPreferenceParameters) DeepCopy ¶
func (in *LocationPreferenceParameters) DeepCopy() *LocationPreferenceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationPreferenceParameters.
func (*LocationPreferenceParameters) DeepCopyInto ¶
func (in *LocationPreferenceParameters) DeepCopyInto(out *LocationPreferenceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceWindowInitParameters ¶ 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
func (in *MaintenanceWindowInitParameters) DeepCopy() *MaintenanceWindowInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowInitParameters.
func (*MaintenanceWindowInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *MaintenanceWindowInitParameters) DeepCopyInto(out *MaintenanceWindowInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceWindowObservation ¶
type MaintenanceWindowObservation struct { // Day of week (1-7), starting on Monday Day *float64 `json:"day,omitempty" tf:"day,omitempty"` // Hour of day (0-23), ignored if day not set Hour *float64 `json:"hour,omitempty" tf:"hour,omitempty"` // Receive updates earlier (canary) or later // (stable) UpdateTrack *string `json:"updateTrack,omitempty" tf:"update_track,omitempty"` }
func (*MaintenanceWindowObservation) DeepCopy ¶
func (in *MaintenanceWindowObservation) DeepCopy() *MaintenanceWindowObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowObservation.
func (*MaintenanceWindowObservation) DeepCopyInto ¶
func (in *MaintenanceWindowObservation) DeepCopyInto(out *MaintenanceWindowObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceWindowParameters ¶
type MaintenanceWindowParameters struct { // Day of week (1-7), starting on Monday // +kubebuilder:validation:Optional Day *float64 `json:"day,omitempty" tf:"day,omitempty"` // Hour of day (0-23), ignored if day not set // +kubebuilder:validation:Optional Hour *float64 `json:"hour,omitempty" tf:"hour,omitempty"` // Receive updates earlier (canary) or later // (stable) // +kubebuilder:validation:Optional UpdateTrack *string `json:"updateTrack,omitempty" tf:"update_track,omitempty"` }
func (*MaintenanceWindowParameters) DeepCopy ¶
func (in *MaintenanceWindowParameters) DeepCopy() *MaintenanceWindowParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowParameters.
func (*MaintenanceWindowParameters) DeepCopyInto ¶
func (in *MaintenanceWindowParameters) DeepCopyInto(out *MaintenanceWindowParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PasswordPolicyInitParameters ¶ 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
func (in *PasswordPolicyInitParameters) DeepCopy() *PasswordPolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordPolicyInitParameters.
func (*PasswordPolicyInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *PasswordPolicyInitParameters) DeepCopyInto(out *PasswordPolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PasswordPolicyObservation ¶ 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
func (in *PasswordPolicyObservation) DeepCopy() *PasswordPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordPolicyObservation.
func (*PasswordPolicyObservation) DeepCopyInto ¶ added in v0.26.0
func (in *PasswordPolicyObservation) DeepCopyInto(out *PasswordPolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PasswordPolicyParameters ¶ 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
func (in *PasswordPolicyParameters) DeepCopy() *PasswordPolicyParameters
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
func (in *PasswordValidationPolicyInitParameters) DeepCopy() *PasswordValidationPolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordValidationPolicyInitParameters.
func (*PasswordValidationPolicyInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *PasswordValidationPolicyInitParameters) DeepCopyInto(out *PasswordValidationPolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PasswordValidationPolicyObservation ¶ 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
func (in *PasswordValidationPolicyObservation) DeepCopy() *PasswordValidationPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordValidationPolicyObservation.
func (*PasswordValidationPolicyObservation) DeepCopyInto ¶ added in v0.26.0
func (in *PasswordValidationPolicyObservation) DeepCopyInto(out *PasswordValidationPolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PasswordValidationPolicyParameters ¶ 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
func (in *PasswordValidationPolicyParameters) DeepCopy() *PasswordValidationPolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordValidationPolicyParameters.
func (*PasswordValidationPolicyParameters) DeepCopyInto ¶ added in v0.26.0
func (in *PasswordValidationPolicyParameters) DeepCopyInto(out *PasswordValidationPolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PscConfigInitParameters ¶ 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
func (in *PscConfigInitParameters) DeepCopy() *PscConfigInitParameters
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
func (in *PscConfigObservation) DeepCopy() *PscConfigObservation
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"` // Password for the replication connection. PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` // Permissible ciphers for use in SSL encryption. SSLCipher *string `json:"sslCipher,omitempty" tf:"ssl_cipher,omitempty"` // Username for replication connection. Username *string `json:"username,omitempty" tf:"username,omitempty"` // True if the master's common name // value is checked during the SSL handshake. VerifyServerCertificate *bool `json:"verifyServerCertificate,omitempty" tf:"verify_server_certificate,omitempty"` }
func (*ReplicaConfigurationInitParameters) DeepCopy ¶ added in v0.35.0
func (in *ReplicaConfigurationInitParameters) DeepCopy() *ReplicaConfigurationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaConfigurationInitParameters.
func (*ReplicaConfigurationInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *ReplicaConfigurationInitParameters) DeepCopyInto(out *ReplicaConfigurationInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicaConfigurationObservation ¶
type ReplicaConfigurationObservation struct { // PEM representation of the trusted CA's x509 // certificate. CACertificate *string `json:"caCertificate,omitempty" tf:"ca_certificate,omitempty"` // PEM representation of the replica's x509 // certificate. ClientCertificate *string `json:"clientCertificate,omitempty" tf:"client_certificate,omitempty"` // PEM representation of the replica's private key. The // corresponding public key in encoded in the client_certificate. ClientKey *string `json:"clientKey,omitempty" tf:"client_key,omitempty"` // The number of seconds // between connect retries. MySQL's default is 60 seconds. ConnectRetryInterval *float64 `json:"connectRetryInterval,omitempty" tf:"connect_retry_interval,omitempty"` // Path to a SQL file in GCS from which replica // instances are created. Format is gs://bucket/filename. DumpFilePath *string `json:"dumpFilePath,omitempty" tf:"dump_file_path,omitempty"` // Specifies if the replica is the failover target. // If the field is set to true the replica will be designated as a failover replica. // If the master instance fails, the replica instance will be promoted as // the new master instance. // ~> NOTE: Not supported for Postgres database. FailoverTarget *bool `json:"failoverTarget,omitempty" tf:"failover_target,omitempty"` // Time in ms between replication // heartbeats. MasterHeartbeatPeriod *float64 `json:"masterHeartbeatPeriod,omitempty" tf:"master_heartbeat_period,omitempty"` // Permissible ciphers for use in SSL encryption. SSLCipher *string `json:"sslCipher,omitempty" tf:"ssl_cipher,omitempty"` // Username for replication connection. Username *string `json:"username,omitempty" tf:"username,omitempty"` // True if the master's common name // value is checked during the SSL handshake. VerifyServerCertificate *bool `json:"verifyServerCertificate,omitempty" tf:"verify_server_certificate,omitempty"` }
func (*ReplicaConfigurationObservation) DeepCopy ¶
func (in *ReplicaConfigurationObservation) DeepCopy() *ReplicaConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaConfigurationObservation.
func (*ReplicaConfigurationObservation) DeepCopyInto ¶
func (in *ReplicaConfigurationObservation) DeepCopyInto(out *ReplicaConfigurationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicaConfigurationParameters ¶
type ReplicaConfigurationParameters struct { // PEM representation of the trusted CA's x509 // certificate. // +kubebuilder:validation:Optional CACertificate *string `json:"caCertificate,omitempty" tf:"ca_certificate,omitempty"` // PEM representation of the replica's x509 // certificate. // +kubebuilder:validation:Optional ClientCertificate *string `json:"clientCertificate,omitempty" tf:"client_certificate,omitempty"` // PEM representation of the replica's private key. The // corresponding public key in encoded in the client_certificate. // +kubebuilder:validation:Optional ClientKey *string `json:"clientKey,omitempty" tf:"client_key,omitempty"` // The number of seconds // between connect retries. MySQL's default is 60 seconds. // +kubebuilder:validation:Optional ConnectRetryInterval *float64 `json:"connectRetryInterval,omitempty" tf:"connect_retry_interval,omitempty"` // Path to a SQL file in GCS from which replica // instances are created. Format is gs://bucket/filename. // +kubebuilder:validation:Optional DumpFilePath *string `json:"dumpFilePath,omitempty" tf:"dump_file_path,omitempty"` // Specifies if the replica is the failover target. // If the field is set to true the replica will be designated as a failover replica. // If the master instance fails, the replica instance will be promoted as // the new master instance. // ~> NOTE: Not supported for Postgres database. // +kubebuilder:validation:Optional FailoverTarget *bool `json:"failoverTarget,omitempty" tf:"failover_target,omitempty"` // Time in ms between replication // heartbeats. // +kubebuilder:validation:Optional MasterHeartbeatPeriod *float64 `json:"masterHeartbeatPeriod,omitempty" tf:"master_heartbeat_period,omitempty"` // Password for the replication connection. // +kubebuilder:validation:Optional PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` // Permissible ciphers for use in SSL encryption. // +kubebuilder:validation:Optional SSLCipher *string `json:"sslCipher,omitempty" tf:"ssl_cipher,omitempty"` // Username for replication connection. // +kubebuilder:validation:Optional Username *string `json:"username,omitempty" tf:"username,omitempty"` // True if the master's common name // value is checked during the SSL handshake. // +kubebuilder:validation:Optional VerifyServerCertificate *bool `json:"verifyServerCertificate,omitempty" tf:"verify_server_certificate,omitempty"` }
func (*ReplicaConfigurationParameters) DeepCopy ¶
func (in *ReplicaConfigurationParameters) DeepCopy() *ReplicaConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaConfigurationParameters.
func (*ReplicaConfigurationParameters) DeepCopyInto ¶
func (in *ReplicaConfigurationParameters) DeepCopyInto(out *ReplicaConfigurationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestoreBackupContextInitParameters ¶ 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
func (in *RestoreBackupContextInitParameters) DeepCopy() *RestoreBackupContextInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreBackupContextInitParameters.
func (*RestoreBackupContextInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *RestoreBackupContextInitParameters) DeepCopyInto(out *RestoreBackupContextInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestoreBackupContextObservation ¶
type RestoreBackupContextObservation struct { // The ID of the backup run to restore from. BackupRunID *float64 `json:"backupRunId,omitempty" tf:"backup_run_id,omitempty"` // The ID of the instance that the backup was taken from. If left empty, // this instance's ID will be used. InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` // The full project ID of the source instance.` Project *string `json:"project,omitempty" tf:"project,omitempty"` }
func (*RestoreBackupContextObservation) DeepCopy ¶
func (in *RestoreBackupContextObservation) DeepCopy() *RestoreBackupContextObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreBackupContextObservation.
func (*RestoreBackupContextObservation) DeepCopyInto ¶
func (in *RestoreBackupContextObservation) DeepCopyInto(out *RestoreBackupContextObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestoreBackupContextParameters ¶
type RestoreBackupContextParameters struct { // The ID of the backup run to restore from. // +kubebuilder:validation:Optional BackupRunID *float64 `json:"backupRunId" tf:"backup_run_id,omitempty"` // The ID of the instance that the backup was taken from. If left empty, // this instance's ID will be used. // +kubebuilder:validation:Optional InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` // The full project ID of the source instance.` // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` }
func (*RestoreBackupContextParameters) DeepCopy ¶
func (in *RestoreBackupContextParameters) DeepCopy() *RestoreBackupContextParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreBackupContextParameters.
func (*RestoreBackupContextParameters) DeepCopyInto ¶
func (in *RestoreBackupContextParameters) DeepCopyInto(out *RestoreBackupContextParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLServerAuditConfigInitParameters ¶ 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
func (in *SQLServerAuditConfigInitParameters) DeepCopy() *SQLServerAuditConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerAuditConfigInitParameters.
func (*SQLServerAuditConfigInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *SQLServerAuditConfigInitParameters) DeepCopyInto(out *SQLServerAuditConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLServerAuditConfigObservation ¶ 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
func (in *SQLServerAuditConfigObservation) DeepCopy() *SQLServerAuditConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerAuditConfigObservation.
func (*SQLServerAuditConfigObservation) DeepCopyInto ¶ added in v0.26.0
func (in *SQLServerAuditConfigObservation) DeepCopyInto(out *SQLServerAuditConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLServerAuditConfigParameters ¶ 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
func (in *SQLServerAuditConfigParameters) DeepCopy() *SQLServerAuditConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerAuditConfigParameters.
func (*SQLServerAuditConfigParameters) DeepCopyInto ¶ added in v0.26.0
func (in *SQLServerAuditConfigParameters) DeepCopyInto(out *SQLServerAuditConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLServerUserDetailsInitParameters ¶ added in v0.35.0
type SQLServerUserDetailsInitParameters struct { }
func (*SQLServerUserDetailsInitParameters) DeepCopy ¶ added in v0.35.0
func (in *SQLServerUserDetailsInitParameters) DeepCopy() *SQLServerUserDetailsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerUserDetailsInitParameters.
func (*SQLServerUserDetailsInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *SQLServerUserDetailsInitParameters) DeepCopyInto(out *SQLServerUserDetailsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLServerUserDetailsObservation ¶ 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
func (in *SQLServerUserDetailsObservation) DeepCopy() *SQLServerUserDetailsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerUserDetailsObservation.
func (*SQLServerUserDetailsObservation) DeepCopyInto ¶ added in v0.26.0
func (in *SQLServerUserDetailsObservation) DeepCopyInto(out *SQLServerUserDetailsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLServerUserDetailsParameters ¶ added in v0.26.0
type SQLServerUserDetailsParameters struct { }
func (*SQLServerUserDetailsParameters) DeepCopy ¶ added in v0.26.0
func (in *SQLServerUserDetailsParameters) DeepCopy() *SQLServerUserDetailsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerUserDetailsParameters.
func (*SQLServerUserDetailsParameters) DeepCopyInto ¶ added in v0.26.0
func (in *SQLServerUserDetailsParameters) DeepCopyInto(out *SQLServerUserDetailsParameters)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLCert.
func (*SSLCert) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SSLCert) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this SSLCert
func (*SSLCert) GetDeletionPolicy ¶
func (mg *SSLCert) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SSLCert.
func (*SSLCert) GetInitParameters ¶ added in v0.35.0
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
GetInitParameters of this SSLCert
func (*SSLCert) GetObservation ¶
GetObservation of this SSLCert
func (*SSLCert) GetParameters ¶
GetParameters of this SSLCert
func (*SSLCert) GetProviderConfigReference ¶
GetProviderConfigReference of this SSLCert.
func (*SSLCert) GetPublishConnectionDetailsTo ¶
func (mg *SSLCert) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SSLCert.
func (*SSLCert) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this SSLCert
func (*SSLCert) GetTerraformSchemaVersion ¶
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 ¶
LateInitialize this SSLCert using its observed tfState. returns True if there are any spec changes for the resource.
func (*SSLCert) ResolveReferences ¶
ResolveReferences of this SSLCert.
func (*SSLCert) SetConditions ¶
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 ¶
SetObservation for this SSLCert
func (*SSLCert) SetParameters ¶
SetParameters for this SSLCert
func (*SSLCert) SetProviderConfigReference ¶
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=github.com/upbound/provider-gcp/apis/sql/v1beta2.DatabaseInstance Instance *string `json:"instance,omitempty" tf:"instance,omitempty"` // Reference to a DatabaseInstance in sql to populate instance. // +kubebuilder:validation:Optional InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"` // Selector for a DatabaseInstance in sql to populate instance. // +kubebuilder:validation:Optional InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"` // 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
func (in *SSLCertInitParameters) DeepCopy() *SSLCertInitParameters
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=github.com/upbound/provider-gcp/apis/sql/v1beta2.DatabaseInstance // +kubebuilder:validation:Optional Instance *string `json:"instance,omitempty" tf:"instance,omitempty"` // Reference to a DatabaseInstance in sql to populate instance. // +kubebuilder:validation:Optional InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"` // Selector for a DatabaseInstance in sql to populate instance. // +kubebuilder:validation:Optional InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"` // 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
func (in *ServerCACertInitParameters) DeepCopy() *ServerCACertInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerCACertInitParameters.
func (*ServerCACertInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *ServerCACertInitParameters) DeepCopyInto(out *ServerCACertInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerCACertObservation ¶
type ServerCACertObservation struct { // The CA Certificate used to connect to the SQL Instance via SSL. Cert *string `json:"cert,omitempty" tf:"cert,omitempty"` // The CN valid for the CA Cert. CommonName *string `json:"commonName,omitempty" tf:"common_name,omitempty"` // Creation time of the CA Cert. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // The RFC 3339 // formatted date time string indicating when this whitelist expires. ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time,omitempty"` // SHA Fingerprint of the CA Cert. Sha1Fingerprint *string `json:"sha1Fingerprint,omitempty" tf:"sha1_fingerprint,omitempty"` }
func (*ServerCACertObservation) DeepCopy ¶
func (in *ServerCACertObservation) DeepCopy() *ServerCACertObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerCACertObservation.
func (*ServerCACertObservation) DeepCopyInto ¶
func (in *ServerCACertObservation) DeepCopyInto(out *ServerCACertObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerCACertParameters ¶
type ServerCACertParameters struct { }
func (*ServerCACertParameters) DeepCopy ¶
func (in *ServerCACertParameters) DeepCopy() *ServerCACertParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerCACertParameters.
func (*ServerCACertParameters) DeepCopyInto ¶
func (in *ServerCACertParameters) DeepCopyInto(out *ServerCACertParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SettingsInitParameters ¶ 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"` // Enables Cloud SQL instance integration with Dataplex. MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to false. EnableDataplexIntegration *bool `json:"enableDataplexIntegration,omitempty" tf:"enable_dataplex_integration,omitempty"` // Enables Cloud SQL instances to connect to Vertex AI and pass requests for real-time predictions and insights. Defaults to false. EnableGoogleMLIntegration *bool `json:"enableGoogleMlIntegration,omitempty" tf:"enable_google_ml_integration,omitempty"` IPConfiguration []IPConfigurationInitParameters `json:"ipConfiguration,omitempty" tf:"ip_configuration,omitempty"` InsightsConfig []InsightsConfigInitParameters `json:"insightsConfig,omitempty" tf:"insights_config,omitempty"` LocationPreference []LocationPreferenceInitParameters `json:"locationPreference,omitempty" tf:"location_preference,omitempty"` MaintenanceWindow []MaintenanceWindowInitParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"` PasswordValidationPolicy []PasswordValidationPolicyInitParameters `json:"passwordValidationPolicy,omitempty" tf:"password_validation_policy,omitempty"` // Pricing plan for this instance, can only be PER_USE. PricingPlan *string `json:"pricingPlan,omitempty" tf:"pricing_plan,omitempty"` SQLServerAuditConfig []SQLServerAuditConfigInitParameters `json:"sqlServerAuditConfig,omitempty" tf:"sql_server_audit_config,omitempty"` // The machine type to use. See tiers // for more details and supported versions. Postgres supports only shared-core machine types, // and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types. Tier *string `json:"tier,omitempty" tf:"tier,omitempty"` // The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format. TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"` // A set of key/value user label pairs to assign to the instance. // +mapType=granular UserLabels map[string]*string `json:"userLabels,omitempty" tf:"user_labels,omitempty"` }
func (*SettingsInitParameters) DeepCopy ¶ added in v0.35.0
func (in *SettingsInitParameters) DeepCopy() *SettingsInitParameters
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"` // Enables Cloud SQL instance integration with Dataplex. MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to false. EnableDataplexIntegration *bool `json:"enableDataplexIntegration,omitempty" tf:"enable_dataplex_integration,omitempty"` // Enables Cloud SQL instances to connect to Vertex AI and pass requests for real-time predictions and insights. Defaults to false. EnableGoogleMLIntegration *bool `json:"enableGoogleMlIntegration,omitempty" tf:"enable_google_ml_integration,omitempty"` IPConfiguration []IPConfigurationObservation `json:"ipConfiguration,omitempty" tf:"ip_configuration,omitempty"` InsightsConfig []InsightsConfigObservation `json:"insightsConfig,omitempty" tf:"insights_config,omitempty"` LocationPreference []LocationPreferenceObservation `json:"locationPreference,omitempty" tf:"location_preference,omitempty"` MaintenanceWindow []MaintenanceWindowObservation `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"` PasswordValidationPolicy []PasswordValidationPolicyObservation `json:"passwordValidationPolicy,omitempty" tf:"password_validation_policy,omitempty"` // Pricing plan for this instance, can only be PER_USE. PricingPlan *string `json:"pricingPlan,omitempty" tf:"pricing_plan,omitempty"` SQLServerAuditConfig []SQLServerAuditConfigObservation `json:"sqlServerAuditConfig,omitempty" tf:"sql_server_audit_config,omitempty"` // The machine type to use. See tiers // for more details and supported versions. Postgres supports only shared-core machine types, // and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types. Tier *string `json:"tier,omitempty" tf:"tier,omitempty"` // The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format. TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"` // A set of key/value user label pairs to assign to the instance. // +mapType=granular UserLabels map[string]*string `json:"userLabels,omitempty" tf:"user_labels,omitempty"` // Used to make sure changes to the settings block are // atomic. Version *float64 `json:"version,omitempty" tf:"version,omitempty"` }
func (*SettingsObservation) DeepCopy ¶
func (in *SettingsObservation) DeepCopy() *SettingsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingsObservation.
func (*SettingsObservation) DeepCopyInto ¶
func (in *SettingsObservation) DeepCopyInto(out *SettingsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SettingsParameters ¶
type SettingsParameters struct { // This specifies when the instance should be // active. Can be either ALWAYS, NEVER or ON_DEMAND. // +kubebuilder:validation:Optional ActivationPolicy *string `json:"activationPolicy,omitempty" tf:"activation_policy,omitempty"` // +kubebuilder:validation:Optional ActiveDirectoryConfig []ActiveDirectoryConfigParameters `json:"activeDirectoryConfig,omitempty" tf:"active_directory_config,omitempty"` // +kubebuilder:validation:Optional AdvancedMachineFeatures []AdvancedMachineFeaturesParameters `json:"advancedMachineFeatures,omitempty" tf:"advanced_machine_features,omitempty"` // The availability type of the Cloud SQL // instance, high availability (REGIONAL) or single zone (ZONAL).' For all instances, ensure that // settings.backup_configuration.enabled is set to true. // For MySQL instances, ensure that settings.backup_configuration.binary_log_enabled is set to true. // For Postgres and SQL Server instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled // is set to true. Defaults to ZONAL. // +kubebuilder:validation:Optional AvailabilityType *string `json:"availabilityType,omitempty" tf:"availability_type,omitempty"` // +kubebuilder:validation:Optional BackupConfiguration []BackupConfigurationParameters `json:"backupConfiguration,omitempty" tf:"backup_configuration,omitempty"` // The name of server instance collation. // +kubebuilder:validation:Optional Collation *string `json:"collation,omitempty" tf:"collation,omitempty"` // 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"` // Enables Cloud SQL instance integration with Dataplex. MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to false. // +kubebuilder:validation:Optional EnableDataplexIntegration *bool `json:"enableDataplexIntegration,omitempty" tf:"enable_dataplex_integration,omitempty"` // Enables Cloud SQL instances to connect to Vertex AI and pass requests for real-time predictions and insights. Defaults to false. // +kubebuilder:validation:Optional EnableGoogleMLIntegration *bool `json:"enableGoogleMlIntegration,omitempty" tf:"enable_google_ml_integration,omitempty"` // +kubebuilder:validation:Optional IPConfiguration []IPConfigurationParameters `json:"ipConfiguration,omitempty" tf:"ip_configuration,omitempty"` // +kubebuilder:validation:Optional InsightsConfig []InsightsConfigParameters `json:"insightsConfig,omitempty" tf:"insights_config,omitempty"` // +kubebuilder:validation:Optional LocationPreference []LocationPreferenceParameters `json:"locationPreference,omitempty" tf:"location_preference,omitempty"` // +kubebuilder:validation:Optional MaintenanceWindow []MaintenanceWindowParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"` // +kubebuilder:validation:Optional PasswordValidationPolicy []PasswordValidationPolicyParameters `json:"passwordValidationPolicy,omitempty" tf:"password_validation_policy,omitempty"` // Pricing plan for this instance, can only be PER_USE. // +kubebuilder:validation:Optional PricingPlan *string `json:"pricingPlan,omitempty" tf:"pricing_plan,omitempty"` // +kubebuilder:validation:Optional SQLServerAuditConfig []SQLServerAuditConfigParameters `json:"sqlServerAuditConfig,omitempty" tf:"sql_server_audit_config,omitempty"` // The machine type to use. See tiers // for more details and supported versions. Postgres supports only shared-core machine types, // and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types. // +kubebuilder:validation:Optional Tier *string `json:"tier" tf:"tier,omitempty"` // The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format. // +kubebuilder:validation:Optional TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"` // A set of key/value user label pairs to assign to the instance. // +kubebuilder:validation:Optional // +mapType=granular UserLabels map[string]*string `json:"userLabels,omitempty" tf:"user_labels,omitempty"` }
func (*SettingsParameters) DeepCopy ¶
func (in *SettingsParameters) DeepCopy() *SettingsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingsParameters.
func (*SettingsParameters) DeepCopyInto ¶
func (in *SettingsParameters) DeepCopyInto(out *SettingsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type 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 ¶
func (in *SourceRepresentationInstance) DeepCopy() *SourceRepresentationInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstance.
func (*SourceRepresentationInstance) DeepCopyInto ¶
func (in *SourceRepresentationInstance) DeepCopyInto(out *SourceRepresentationInstance)
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 ¶
func (mg *SourceRepresentationInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
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 ¶
func (tr *SourceRepresentationInstance) GetID() string
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 password for the replication user account. // Note: This property is sensitive and will not be displayed in the plan. PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` // 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
func (in *SourceRepresentationInstanceInitParameters) DeepCopy() *SourceRepresentationInstanceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceInitParameters.
func (*SourceRepresentationInstanceInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *SourceRepresentationInstanceInitParameters) DeepCopyInto(out *SourceRepresentationInstanceInitParameters)
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 ¶
func (in *SourceRepresentationInstanceList) DeepCopy() *SourceRepresentationInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceList.
func (*SourceRepresentationInstanceList) DeepCopyInto ¶
func (in *SourceRepresentationInstanceList) DeepCopyInto(out *SourceRepresentationInstanceList)
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 ¶
func (l *SourceRepresentationInstanceList) GetItems() []resource.Managed
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 ¶
func (in *SourceRepresentationInstanceObservation) DeepCopy() *SourceRepresentationInstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceObservation.
func (*SourceRepresentationInstanceObservation) DeepCopyInto ¶
func (in *SourceRepresentationInstanceObservation) DeepCopyInto(out *SourceRepresentationInstanceObservation)
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 ¶
func (in *SourceRepresentationInstanceParameters) DeepCopy() *SourceRepresentationInstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceParameters.
func (*SourceRepresentationInstanceParameters) DeepCopyInto ¶
func (in *SourceRepresentationInstanceParameters) DeepCopyInto(out *SourceRepresentationInstanceParameters)
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 ¶
func (in *SourceRepresentationInstanceSpec) DeepCopy() *SourceRepresentationInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceSpec.
func (*SourceRepresentationInstanceSpec) DeepCopyInto ¶
func (in *SourceRepresentationInstanceSpec) DeepCopyInto(out *SourceRepresentationInstanceSpec)
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 ¶
func (in *SourceRepresentationInstanceStatus) DeepCopy() *SourceRepresentationInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepresentationInstanceStatus.
func (*SourceRepresentationInstanceStatus) DeepCopyInto ¶
func (in *SourceRepresentationInstanceStatus) DeepCopyInto(out *SourceRepresentationInstanceStatus)
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
func (in *StatusInitParameters) DeepCopy() *StatusInitParameters
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) ConvertFrom ¶ added in v1.2.0
func (tr *User) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the hub type to the User type.
func (*User) ConvertTo ¶ added in v1.2.0
func (tr *User) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this User to the hub type.
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*User) GetCondition ¶
func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this User.
func (*User) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this User
func (*User) GetDeletionPolicy ¶
func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this User.
func (*User) GetInitParameters ¶ added in v0.35.0
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
GetInitParameters of this User
func (*User) GetObservation ¶
GetObservation of this User
func (*User) GetParameters ¶
GetParameters of this User
func (*User) GetProviderConfigReference ¶
GetProviderConfigReference of this User.
func (*User) GetPublishConnectionDetailsTo ¶
func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this User.
func (*User) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this User
func (*User) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*User) GetWriteConnectionSecretToReference ¶
func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this User.
func (*User) LateInitialize ¶
LateInitialize this User using its observed tfState. returns True if there are any spec changes for the resource.
func (*User) ResolveReferences ¶
ResolveReferences of this User.
func (*User) SetConditions ¶
SetConditions of this User.
func (*User) SetDeletionPolicy ¶
func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this User.
func (*User) SetManagementPolicies ¶ added in v0.35.0
func (mg *User) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this User.
func (*User) SetObservation ¶
SetObservation for this User
func (*User) SetParameters ¶
SetParameters for this User
func (*User) SetProviderConfigReference ¶
SetProviderConfigReference of this User.
func (*User) SetPublishConnectionDetailsTo ¶
func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this User.
func (*User) SetWriteConnectionSecretToReference ¶
func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this User.
type UserInitParameters ¶ 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=github.com/upbound/provider-gcp/apis/sql/v1beta1.DatabaseInstance Instance *string `json:"instance,omitempty" tf:"instance,omitempty"` // Reference to a DatabaseInstance in sql to populate instance. // +kubebuilder:validation:Optional InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"` // Selector for a DatabaseInstance in sql to populate instance. // +kubebuilder:validation:Optional InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"` PasswordPolicy []PasswordPolicyInitParameters `json:"passwordPolicy,omitempty" tf:"password_policy,omitempty"` // The password for the user. Can be updated. For Postgres // instances this is a Required field, unless type is set to either CLOUD_IAM_USER // or CLOUD_IAM_SERVICE_ACCOUNT. Don't set this field for CLOUD_IAM_USER // and CLOUD_IAM_SERVICE_ACCOUNT user types for any Cloud SQL instance. PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // The user type. It determines the method to authenticate the // user during login. The default is the database's built-in user type. Flags // include "BUILT_IN", "CLOUD_IAM_USER", "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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserObservation ¶
type UserObservation struct { // The deletion policy for the user. // Setting ABANDON allows the resource to be abandoned rather than deleted. This is useful // for Postgres, where users cannot be deleted from the API if they have been granted SQL roles. DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"` // The host the user can connect from. This is only supported // for BUILT_IN users in MySQL instances. Don't set this field for PostgreSQL and SQL Server instances. // Can be an IP address. Changing this forces a new resource to be created. Host *string `json:"host,omitempty" tf:"host,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // The name of the Cloud SQL instance. Changing this // forces a new resource to be created. Instance *string `json:"instance,omitempty" tf:"instance,omitempty"` PasswordPolicy []PasswordPolicyObservation `json:"passwordPolicy,omitempty" tf:"password_policy,omitempty"` // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` SQLServerUserDetails []SQLServerUserDetailsObservation `json:"sqlServerUserDetails,omitempty" tf:"sql_server_user_details,omitempty"` // The user type. It determines the method to authenticate the // user during login. The default is the database's built-in user type. Flags // include "BUILT_IN", "CLOUD_IAM_USER", "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=github.com/upbound/provider-gcp/apis/sql/v1beta1.DatabaseInstance // +kubebuilder:validation:Optional Instance *string `json:"instance,omitempty" tf:"instance,omitempty"` // Reference to a DatabaseInstance in sql to populate instance. // +kubebuilder:validation:Optional InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"` // Selector for a DatabaseInstance in sql to populate instance. // +kubebuilder:validation:Optional InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional PasswordPolicy []PasswordPolicyParameters `json:"passwordPolicy,omitempty" tf:"password_policy,omitempty"` // The password for the user. Can be updated. For Postgres // instances this is a Required field, unless type is set to either CLOUD_IAM_USER // or CLOUD_IAM_SERVICE_ACCOUNT. Don't set this field for CLOUD_IAM_USER // and CLOUD_IAM_SERVICE_ACCOUNT user types for any Cloud SQL instance. // +kubebuilder:validation:Optional PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // The user type. It determines the method to authenticate the // user during login. The default is the database's built-in user type. Flags // include "BUILT_IN", "CLOUD_IAM_USER", "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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserStatus ¶
type UserStatus struct { v1.ResourceStatus `json:",inline"` AtProvider UserObservation `json:"atProvider,omitempty"` }
UserStatus defines the observed state of User.
func (*UserStatus) DeepCopy ¶
func (in *UserStatus) DeepCopy() *UserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserStatus.
func (*UserStatus) DeepCopyInto ¶
func (in *UserStatus) DeepCopyInto(out *UserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- zz_database_terraformed.go
- zz_database_types.go
- zz_databaseinstance_terraformed.go
- zz_databaseinstance_types.go
- zz_generated.conversion_hubs.go
- zz_generated.conversion_spokes.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_generated.resolvers.go
- zz_groupversion_info.go
- zz_sourcerepresentationinstance_terraformed.go
- zz_sourcerepresentationinstance_types.go
- zz_sslcert_terraformed.go
- zz_sslcert_types.go
- zz_user_terraformed.go
- zz_user_types.go