v1alpha1

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=database.linode.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "database.linode.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	AccessControls_Kind             = "AccessControls"
	AccessControls_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AccessControls_Kind}.String()
	AccessControls_KindAPIVersion   = AccessControls_Kind + "." + CRDGroupVersion.String()
	AccessControls_GroupVersionKind = CRDGroupVersion.WithKind(AccessControls_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	MySQL_Kind             = "MySQL"
	MySQL_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MySQL_Kind}.String()
	MySQL_KindAPIVersion   = MySQL_Kind + "." + CRDGroupVersion.String()
	MySQL_GroupVersionKind = CRDGroupVersion.WithKind(MySQL_Kind)
)

Repository type metadata.

View Source
var (
	MySQLv2_Kind             = "MySQLv2"
	MySQLv2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MySQLv2_Kind}.String()
	MySQLv2_KindAPIVersion   = MySQLv2_Kind + "." + CRDGroupVersion.String()
	MySQLv2_GroupVersionKind = CRDGroupVersion.WithKind(MySQLv2_Kind)
)

Repository type metadata.

View Source
var (
	PostgreSQL_Kind             = "PostgreSQL"
	PostgreSQL_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PostgreSQL_Kind}.String()
	PostgreSQL_KindAPIVersion   = PostgreSQL_Kind + "." + CRDGroupVersion.String()
	PostgreSQL_GroupVersionKind = CRDGroupVersion.WithKind(PostgreSQL_Kind)
)

Repository type metadata.

View Source
var (
	PostgreSQLv2_Kind             = "PostgreSQLv2"
	PostgreSQLv2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PostgreSQLv2_Kind}.String()
	PostgreSQLv2_KindAPIVersion   = PostgreSQLv2_Kind + "." + CRDGroupVersion.String()
	PostgreSQLv2_GroupVersionKind = CRDGroupVersion.WithKind(PostgreSQLv2_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AccessControls

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

AccessControls is the Schema for the AccessControlss API. Manages the access controls for a Linode Database. +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,linode}

func (*AccessControls) DeepCopy

func (in *AccessControls) DeepCopy() *AccessControls

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

func (*AccessControls) DeepCopyInto

func (in *AccessControls) DeepCopyInto(out *AccessControls)

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

func (*AccessControls) DeepCopyObject

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

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

func (*AccessControls) GetCondition

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

GetCondition of this AccessControls.

func (*AccessControls) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AccessControls

func (*AccessControls) GetDeletionPolicy

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

GetDeletionPolicy of this AccessControls.

func (*AccessControls) GetID

func (tr *AccessControls) GetID() string

GetID returns ID of underlying Terraform resource of this AccessControls

func (*AccessControls) GetInitParameters added in v0.0.16

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

GetInitParameters of this AccessControls

func (*AccessControls) GetManagementPolicies added in v0.0.16

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

GetManagementPolicies of this AccessControls.

func (*AccessControls) GetMergedParameters added in v0.0.16

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

GetInitParameters of this AccessControls

func (*AccessControls) GetObservation

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

GetObservation of this AccessControls

func (*AccessControls) GetParameters

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

GetParameters of this AccessControls

func (*AccessControls) GetProviderConfigReference

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

GetProviderConfigReference of this AccessControls.

func (*AccessControls) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AccessControls.

func (*AccessControls) GetTerraformResourceType

func (mg *AccessControls) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AccessControls

func (*AccessControls) GetTerraformSchemaVersion

func (tr *AccessControls) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AccessControls) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AccessControls.

func (*AccessControls) Hub added in v0.0.16

func (tr *AccessControls) Hub()

Hub marks this type as a conversion hub.

func (*AccessControls) LateInitialize

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

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

func (*AccessControls) SetConditions

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

SetConditions of this AccessControls.

func (*AccessControls) SetDeletionPolicy

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

SetDeletionPolicy of this AccessControls.

func (*AccessControls) SetManagementPolicies added in v0.0.16

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

SetManagementPolicies of this AccessControls.

func (*AccessControls) SetObservation

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

SetObservation for this AccessControls

func (*AccessControls) SetParameters

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

SetParameters for this AccessControls

func (*AccessControls) SetProviderConfigReference

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

SetProviderConfigReference of this AccessControls.

func (*AccessControls) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AccessControls.

func (*AccessControls) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AccessControls.

type AccessControlsInitParameters added in v0.0.16

type AccessControlsInitParameters struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +listType=set
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The unique ID of the target database.
	// The ID of the database to manage the allow list for.
	DatabaseID *float64 `json:"databaseId,omitempty" tf:"database_id,omitempty"`

	// The unique type of the target database. (mysql, postgresql)
	// The type of the  database to manage the allow list for.
	DatabaseType *string `json:"databaseType,omitempty" tf:"database_type,omitempty"`
}

func (*AccessControlsInitParameters) DeepCopy added in v0.0.16

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

func (*AccessControlsInitParameters) DeepCopyInto added in v0.0.16

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

type AccessControlsList

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

AccessControlsList contains a list of AccessControlss

func (*AccessControlsList) DeepCopy

func (in *AccessControlsList) DeepCopy() *AccessControlsList

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

func (*AccessControlsList) DeepCopyInto

func (in *AccessControlsList) DeepCopyInto(out *AccessControlsList)

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

func (*AccessControlsList) DeepCopyObject

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

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

func (*AccessControlsList) GetItems

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

GetItems of this AccessControlsList.

type AccessControlsObservation

type AccessControlsObservation struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +listType=set
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The unique ID of the target database.
	// The ID of the database to manage the allow list for.
	DatabaseID *float64 `json:"databaseId,omitempty" tf:"database_id,omitempty"`

	// The unique type of the target database. (mysql, postgresql)
	// The type of the  database to manage the allow list for.
	DatabaseType *string `json:"databaseType,omitempty" tf:"database_type,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*AccessControlsObservation) DeepCopy

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

func (*AccessControlsObservation) DeepCopyInto

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

type AccessControlsParameters

type AccessControlsParameters struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +kubebuilder:validation:Optional
	// +listType=set
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The unique ID of the target database.
	// The ID of the database to manage the allow list for.
	// +kubebuilder:validation:Optional
	DatabaseID *float64 `json:"databaseId,omitempty" tf:"database_id,omitempty"`

	// The unique type of the target database. (mysql, postgresql)
	// The type of the  database to manage the allow list for.
	// +kubebuilder:validation:Optional
	DatabaseType *string `json:"databaseType,omitempty" tf:"database_type,omitempty"`
}

func (*AccessControlsParameters) DeepCopy

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

func (*AccessControlsParameters) DeepCopyInto

func (in *AccessControlsParameters) DeepCopyInto(out *AccessControlsParameters)

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

type AccessControlsSpec

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

AccessControlsSpec defines the desired state of AccessControls

func (*AccessControlsSpec) DeepCopy

func (in *AccessControlsSpec) DeepCopy() *AccessControlsSpec

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

func (*AccessControlsSpec) DeepCopyInto

func (in *AccessControlsSpec) DeepCopyInto(out *AccessControlsSpec)

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

type AccessControlsStatus

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

AccessControlsStatus defines the observed state of AccessControls.

func (*AccessControlsStatus) DeepCopy

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

func (*AccessControlsStatus) DeepCopyInto

func (in *AccessControlsStatus) DeepCopyInto(out *AccessControlsStatus)

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

type MySQL

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

MySQL is the Schema for the MySQLs API. Manages a Linode MySQL Database. +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,linode}

func (*MySQL) DeepCopy

func (in *MySQL) DeepCopy() *MySQL

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

func (*MySQL) DeepCopyInto

func (in *MySQL) DeepCopyInto(out *MySQL)

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

func (*MySQL) DeepCopyObject

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

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

func (*MySQL) GetCondition

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

GetCondition of this MySQL.

func (*MySQL) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MySQL

func (*MySQL) GetDeletionPolicy

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

GetDeletionPolicy of this MySQL.

func (*MySQL) GetID

func (tr *MySQL) GetID() string

GetID returns ID of underlying Terraform resource of this MySQL

func (*MySQL) GetInitParameters added in v0.0.16

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

GetInitParameters of this MySQL

func (*MySQL) GetManagementPolicies added in v0.0.16

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

GetManagementPolicies of this MySQL.

func (*MySQL) GetMergedParameters added in v0.0.16

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

GetInitParameters of this MySQL

func (*MySQL) GetObservation

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

GetObservation of this MySQL

func (*MySQL) GetParameters

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

GetParameters of this MySQL

func (*MySQL) GetProviderConfigReference

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

GetProviderConfigReference of this MySQL.

func (*MySQL) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MySQL.

func (*MySQL) GetTerraformResourceType

func (mg *MySQL) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MySQL

func (*MySQL) GetTerraformSchemaVersion

func (tr *MySQL) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MySQL) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MySQL.

func (*MySQL) Hub added in v0.0.16

func (tr *MySQL) Hub()

Hub marks this type as a conversion hub.

func (*MySQL) LateInitialize

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

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

func (*MySQL) SetConditions

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

SetConditions of this MySQL.

func (*MySQL) SetDeletionPolicy

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

SetDeletionPolicy of this MySQL.

func (*MySQL) SetManagementPolicies added in v0.0.16

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

SetManagementPolicies of this MySQL.

func (*MySQL) SetObservation

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

SetObservation for this MySQL

func (*MySQL) SetParameters

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

SetParameters for this MySQL

func (*MySQL) SetProviderConfigReference

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

SetProviderConfigReference of this MySQL.

func (*MySQL) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MySQL.

func (*MySQL) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MySQL.

type MySQLInitParameters added in v0.0.16

type MySQLInitParameters struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +listType=set
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
	// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
	ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`

	// Whether the Managed Databases is encrypted. (default false)
	// Whether the Managed Databases is encrypted.
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`

	// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
	// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
	EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`

	// A unique, user-defined string referring to the Managed Database.
	// A unique, user-defined string referring to the Managed Database.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The region to use for the Managed Database.
	// The region to use for the Managed Database.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
	// The replication method used for the Managed Database.
	ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`

	// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
	// Whether to require SSL credentials to establish a connection to the Managed Database.
	SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`

	// The Linode Instance type used for the nodes of the  Managed Database instance.
	// The Linode Instance type used by the Managed Database for its nodes.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Configuration settings for automated patch update maintenance for the Managed Database.
	Updates []UpdatesInitParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}

func (*MySQLInitParameters) DeepCopy added in v0.0.16

func (in *MySQLInitParameters) DeepCopy() *MySQLInitParameters

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

func (*MySQLInitParameters) DeepCopyInto added in v0.0.16

func (in *MySQLInitParameters) DeepCopyInto(out *MySQLInitParameters)

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

type MySQLList

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

MySQLList contains a list of MySQLs

func (*MySQLList) DeepCopy

func (in *MySQLList) DeepCopy() *MySQLList

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

func (*MySQLList) DeepCopyInto

func (in *MySQLList) DeepCopyInto(out *MySQLList)

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

func (*MySQLList) DeepCopyObject

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

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

func (*MySQLList) GetItems

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

GetItems of this MySQLList.

type MySQLObservation

type MySQLObservation struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +listType=set
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
	// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
	ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`

	// When this Managed Database was created.
	// When this Managed Database was created.
	Created *string `json:"created,omitempty" tf:"created,omitempty"`

	// Whether the Managed Databases is encrypted. (default false)
	// Whether the Managed Databases is encrypted.
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`

	// The Managed Database engine. (e.g. mysql)
	// The Managed Database engine.
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
	// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
	EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`

	// The primary host for the Managed Database.
	// The primary host for the Managed Database.
	HostPrimary *string `json:"hostPrimary,omitempty" tf:"host_primary,omitempty"`

	// The secondary/private network host for the Managed Database.
	// The secondary host for the Managed Database.
	HostSecondary *string `json:"hostSecondary,omitempty" tf:"host_secondary,omitempty"`

	// The ID of the Managed Database.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A unique, user-defined string referring to the Managed Database.
	// A unique, user-defined string referring to the Managed Database.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The region to use for the Managed Database.
	// The region to use for the Managed Database.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
	// The replication method used for the Managed Database.
	ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`

	// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
	// Whether to require SSL credentials to establish a connection to the Managed Database.
	SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`

	// The operating status of the Managed Database.
	// The operating status of the Managed Database.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The Linode Instance type used for the nodes of the  Managed Database instance.
	// The Linode Instance type used by the Managed Database for its nodes.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// When this Managed Database was last updated.
	// When this Managed Database was last updated.
	Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`

	// Configuration settings for automated patch update maintenance for the Managed Database.
	Updates []UpdatesObservation `json:"updates,omitempty" tf:"updates,omitempty"`

	// The Managed Database engine version. (e.g. v8.0.26)
	// The Managed Database engine version.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*MySQLObservation) DeepCopy

func (in *MySQLObservation) DeepCopy() *MySQLObservation

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

func (*MySQLObservation) DeepCopyInto

func (in *MySQLObservation) DeepCopyInto(out *MySQLObservation)

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

type MySQLParameters

type MySQLParameters struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +kubebuilder:validation:Optional
	// +listType=set
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
	// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
	// +kubebuilder:validation:Optional
	ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`

	// Whether the Managed Databases is encrypted. (default false)
	// Whether the Managed Databases is encrypted.
	// +kubebuilder:validation:Optional
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`

	// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
	// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
	// +kubebuilder:validation:Optional
	EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`

	// A unique, user-defined string referring to the Managed Database.
	// A unique, user-defined string referring to the Managed Database.
	// +kubebuilder:validation:Optional
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The region to use for the Managed Database.
	// The region to use for the Managed Database.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
	// The replication method used for the Managed Database.
	// +kubebuilder:validation:Optional
	ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`

	// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
	// Whether to require SSL credentials to establish a connection to the Managed Database.
	// +kubebuilder:validation:Optional
	SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`

	// The Linode Instance type used for the nodes of the  Managed Database instance.
	// The Linode Instance type used by the Managed Database for its nodes.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Configuration settings for automated patch update maintenance for the Managed Database.
	// +kubebuilder:validation:Optional
	Updates []UpdatesParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}

func (*MySQLParameters) DeepCopy

func (in *MySQLParameters) DeepCopy() *MySQLParameters

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

func (*MySQLParameters) DeepCopyInto

func (in *MySQLParameters) DeepCopyInto(out *MySQLParameters)

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

type MySQLSpec

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

MySQLSpec defines the desired state of MySQL

func (*MySQLSpec) DeepCopy

func (in *MySQLSpec) DeepCopy() *MySQLSpec

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

func (*MySQLSpec) DeepCopyInto

func (in *MySQLSpec) DeepCopyInto(out *MySQLSpec)

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

type MySQLStatus

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

MySQLStatus defines the observed state of MySQL.

func (*MySQLStatus) DeepCopy

func (in *MySQLStatus) DeepCopy() *MySQLStatus

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

func (*MySQLStatus) DeepCopyInto

func (in *MySQLStatus) DeepCopyInto(out *MySQLStatus)

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

type MySQLv2 added in v0.0.27

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

MySQLv2 is the Schema for the MySQLv2s API. Manages a Linode MySQL Database. +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,linode}

func (*MySQLv2) DeepCopy added in v0.0.27

func (in *MySQLv2) DeepCopy() *MySQLv2

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

func (*MySQLv2) DeepCopyInto added in v0.0.27

func (in *MySQLv2) DeepCopyInto(out *MySQLv2)

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

func (*MySQLv2) DeepCopyObject added in v0.0.27

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

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

func (*MySQLv2) GetCondition added in v0.0.27

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

GetCondition of this MySQLv2.

func (*MySQLv2) GetConnectionDetailsMapping added in v0.0.27

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

GetConnectionDetailsMapping for this MySQLv2

func (*MySQLv2) GetDeletionPolicy added in v0.0.27

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

GetDeletionPolicy of this MySQLv2.

func (*MySQLv2) GetID added in v0.0.27

func (tr *MySQLv2) GetID() string

GetID returns ID of underlying Terraform resource of this MySQLv2

func (*MySQLv2) GetInitParameters added in v0.0.27

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

GetInitParameters of this MySQLv2

func (*MySQLv2) GetManagementPolicies added in v0.0.27

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

GetManagementPolicies of this MySQLv2.

func (*MySQLv2) GetMergedParameters added in v0.0.27

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

GetInitParameters of this MySQLv2

func (*MySQLv2) GetObservation added in v0.0.27

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

GetObservation of this MySQLv2

func (*MySQLv2) GetParameters added in v0.0.27

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

GetParameters of this MySQLv2

func (*MySQLv2) GetProviderConfigReference added in v0.0.27

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

GetProviderConfigReference of this MySQLv2.

func (*MySQLv2) GetPublishConnectionDetailsTo added in v0.0.27

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

GetPublishConnectionDetailsTo of this MySQLv2.

func (*MySQLv2) GetTerraformResourceType added in v0.0.27

func (mg *MySQLv2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MySQLv2

func (*MySQLv2) GetTerraformSchemaVersion added in v0.0.27

func (tr *MySQLv2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MySQLv2) GetWriteConnectionSecretToReference added in v0.0.27

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

GetWriteConnectionSecretToReference of this MySQLv2.

func (*MySQLv2) Hub added in v0.0.27

func (tr *MySQLv2) Hub()

Hub marks this type as a conversion hub.

func (*MySQLv2) LateInitialize added in v0.0.27

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

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

func (*MySQLv2) SetConditions added in v0.0.27

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

SetConditions of this MySQLv2.

func (*MySQLv2) SetDeletionPolicy added in v0.0.27

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

SetDeletionPolicy of this MySQLv2.

func (*MySQLv2) SetManagementPolicies added in v0.0.27

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

SetManagementPolicies of this MySQLv2.

func (*MySQLv2) SetObservation added in v0.0.27

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

SetObservation for this MySQLv2

func (*MySQLv2) SetParameters added in v0.0.27

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

SetParameters for this MySQLv2

func (*MySQLv2) SetProviderConfigReference added in v0.0.27

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

SetProviderConfigReference of this MySQLv2.

func (*MySQLv2) SetPublishConnectionDetailsTo added in v0.0.27

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

SetPublishConnectionDetailsTo of this MySQLv2.

func (*MySQLv2) SetWriteConnectionSecretToReference added in v0.0.27

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

SetWriteConnectionSecretToReference of this MySQLv2.

type MySQLv2InitParameters added in v0.0.27

type MySQLv2InitParameters struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +listType=set
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
	// The number of Linode instance nodes deployed to the Managed Database.
	ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`

	// The Managed Database engine in engine/version format. (e.g. mysql)
	// The unique ID of the database engine and version to use. (e.g. mysql/8)
	EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`

	// The database timestamp from which it was restored.
	// The database timestamp from which it was restored.
	ForkRestoreTime *string `json:"forkRestoreTime,omitempty" tf:"fork_restore_time,omitempty"`

	// The ID of the database that was forked from.
	// The ID of the database that was forked from.
	ForkSource *float64 `json:"forkSource,omitempty" tf:"fork_source,omitempty"`

	// A unique, user-defined string referring to the Managed Database.
	// A unique, user-defined string referring to the Managed Database.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The region to use for the Managed Database.
	// The Region ID for the Managed Database.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Whether this Managed Database should be suspended.
	// Whether this database is suspended.
	Suspended *bool `json:"suspended,omitempty" tf:"suspended,omitempty"`

	// The Linode Instance type used for the nodes of the Managed Database.
	// The Linode Instance type used by the Managed Database for its nodes.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Configuration settings for automated patch update maintenance for the Managed Database.
	Updates map[string]string `json:"updates,omitempty" tf:"updates,omitempty"`
}

func (*MySQLv2InitParameters) DeepCopy added in v0.0.27

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

func (*MySQLv2InitParameters) DeepCopyInto added in v0.0.27

func (in *MySQLv2InitParameters) DeepCopyInto(out *MySQLv2InitParameters)

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

type MySQLv2List added in v0.0.27

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

MySQLv2List contains a list of MySQLv2s

func (*MySQLv2List) DeepCopy added in v0.0.27

func (in *MySQLv2List) DeepCopy() *MySQLv2List

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

func (*MySQLv2List) DeepCopyInto added in v0.0.27

func (in *MySQLv2List) DeepCopyInto(out *MySQLv2List)

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

func (*MySQLv2List) DeepCopyObject added in v0.0.27

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

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

func (*MySQLv2List) GetItems added in v0.0.27

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

GetItems of this MySQLv2List.

type MySQLv2Observation added in v0.0.27

type MySQLv2Observation struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +listType=set
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
	// The number of Linode instance nodes deployed to the Managed Database.
	ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`

	// When this Managed Database was created.
	// When this Managed Database was created.
	Created *string `json:"created,omitempty" tf:"created,omitempty"`

	// Whether the Managed Databases is encrypted.
	// Whether the Managed Databases is encrypted.
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`

	// The Managed Database engine. (e.g. mysql)
	// The Managed Database engine in engine/version format.
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// The Managed Database engine in engine/version format. (e.g. mysql)
	// The unique ID of the database engine and version to use. (e.g. mysql/8)
	EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`

	// The database timestamp from which it was restored.
	// The database timestamp from which it was restored.
	ForkRestoreTime *string `json:"forkRestoreTime,omitempty" tf:"fork_restore_time,omitempty"`

	// The ID of the database that was forked from.
	// The ID of the database that was forked from.
	ForkSource *float64 `json:"forkSource,omitempty" tf:"fork_source,omitempty"`

	// The primary host for the Managed Database.
	// The primary host for the Managed Database.
	HostPrimary *string `json:"hostPrimary,omitempty" tf:"host_primary,omitempty"`

	// The secondary/private host for the managed database.
	// The secondary/private host for the Managed Database.
	HostSecondary *string `json:"hostSecondary,omitempty" tf:"host_secondary,omitempty"`

	// The ID of the Managed Database.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A unique, user-defined string referring to the Managed Database.
	// A unique, user-defined string referring to the Managed Database.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// A mapping between IP addresses and strings designating them as primary or failover.
	// +mapType=granular
	Members map[string]*string `json:"members,omitempty" tf:"members,omitempty"`

	// The oldest time to which a database can be restored.
	OldestRestoreTime *string `json:"oldestRestoreTime,omitempty" tf:"oldest_restore_time,omitempty"`

	// A set of pending updates.
	// A set of pending updates.
	PendingUpdates []PendingUpdatesObservation `json:"pendingUpdates,omitempty" tf:"pending_updates,omitempty"`

	// The back-end platform for relational databases used by the service.
	// The back-end platform for relational databases used by the service.
	Platform *string `json:"platform,omitempty" tf:"platform,omitempty"`

	// The access port for this Managed Database.
	// The access port for this Managed Database.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// The region to use for the Managed Database.
	// The Region ID for the Managed Database.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Whether to require SSL credentials to establish a connection to the Managed Database.
	// Whether to require SSL credentials to establish a connection to the Managed Database.
	SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`

	// The operating status of the Managed Database.
	// The operating status of the Managed Database.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Whether this Managed Database should be suspended.
	// Whether this database is suspended.
	Suspended *bool `json:"suspended,omitempty" tf:"suspended,omitempty"`

	// The Linode Instance type used for the nodes of the Managed Database.
	// The Linode Instance type used by the Managed Database for its nodes.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// When this Managed Database was last updated.
	// When this Managed Database was last updated.
	Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`

	// Configuration settings for automated patch update maintenance for the Managed Database.
	Updates map[string]string `json:"updates,omitempty" tf:"updates,omitempty"`

	// The Managed Database engine version. (e.g. 13.2)
	// The Managed Database engine version.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*MySQLv2Observation) DeepCopy added in v0.0.27

func (in *MySQLv2Observation) DeepCopy() *MySQLv2Observation

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

func (*MySQLv2Observation) DeepCopyInto added in v0.0.27

func (in *MySQLv2Observation) DeepCopyInto(out *MySQLv2Observation)

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

type MySQLv2Parameters added in v0.0.27

type MySQLv2Parameters struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +kubebuilder:validation:Optional
	// +listType=set
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
	// The number of Linode instance nodes deployed to the Managed Database.
	// +kubebuilder:validation:Optional
	ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`

	// The Managed Database engine in engine/version format. (e.g. mysql)
	// The unique ID of the database engine and version to use. (e.g. mysql/8)
	// +kubebuilder:validation:Optional
	EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`

	// The database timestamp from which it was restored.
	// The database timestamp from which it was restored.
	// +kubebuilder:validation:Optional
	ForkRestoreTime *string `json:"forkRestoreTime,omitempty" tf:"fork_restore_time,omitempty"`

	// The ID of the database that was forked from.
	// The ID of the database that was forked from.
	// +kubebuilder:validation:Optional
	ForkSource *float64 `json:"forkSource,omitempty" tf:"fork_source,omitempty"`

	// A unique, user-defined string referring to the Managed Database.
	// A unique, user-defined string referring to the Managed Database.
	// +kubebuilder:validation:Optional
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The region to use for the Managed Database.
	// The Region ID for the Managed Database.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Whether this Managed Database should be suspended.
	// Whether this database is suspended.
	// +kubebuilder:validation:Optional
	Suspended *bool `json:"suspended,omitempty" tf:"suspended,omitempty"`

	// The Linode Instance type used for the nodes of the Managed Database.
	// The Linode Instance type used by the Managed Database for its nodes.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Configuration settings for automated patch update maintenance for the Managed Database.
	// +kubebuilder:validation:Optional
	Updates map[string]string `json:"updates,omitempty" tf:"updates,omitempty"`
}

func (*MySQLv2Parameters) DeepCopy added in v0.0.27

func (in *MySQLv2Parameters) DeepCopy() *MySQLv2Parameters

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

func (*MySQLv2Parameters) DeepCopyInto added in v0.0.27

func (in *MySQLv2Parameters) DeepCopyInto(out *MySQLv2Parameters)

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

type MySQLv2Spec added in v0.0.27

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

MySQLv2Spec defines the desired state of MySQLv2

func (*MySQLv2Spec) DeepCopy added in v0.0.27

func (in *MySQLv2Spec) DeepCopy() *MySQLv2Spec

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

func (*MySQLv2Spec) DeepCopyInto added in v0.0.27

func (in *MySQLv2Spec) DeepCopyInto(out *MySQLv2Spec)

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

type MySQLv2Status added in v0.0.27

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

MySQLv2Status defines the observed state of MySQLv2.

func (*MySQLv2Status) DeepCopy added in v0.0.27

func (in *MySQLv2Status) DeepCopy() *MySQLv2Status

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

func (*MySQLv2Status) DeepCopyInto added in v0.0.27

func (in *MySQLv2Status) DeepCopyInto(out *MySQLv2Status)

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

type PendingUpdatesInitParameters added in v0.0.27

type PendingUpdatesInitParameters struct {
}

func (*PendingUpdatesInitParameters) DeepCopy added in v0.0.27

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

func (*PendingUpdatesInitParameters) DeepCopyInto added in v0.0.27

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

type PendingUpdatesObservation added in v0.0.27

type PendingUpdatesObservation struct {

	// The time when a mandatory update needs to be applied.
	Deadline *string `json:"deadline,omitempty" tf:"deadline,omitempty"`

	// A description of the update.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The date and time a maintenance update will be applied.
	PlannedFor *string `json:"plannedFor,omitempty" tf:"planned_for,omitempty"`
}

func (*PendingUpdatesObservation) DeepCopy added in v0.0.27

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

func (*PendingUpdatesObservation) DeepCopyInto added in v0.0.27

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

type PendingUpdatesParameters added in v0.0.27

type PendingUpdatesParameters struct {
}

func (*PendingUpdatesParameters) DeepCopy added in v0.0.27

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

func (*PendingUpdatesParameters) DeepCopyInto added in v0.0.27

func (in *PendingUpdatesParameters) DeepCopyInto(out *PendingUpdatesParameters)

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

type PostgreSQL

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

PostgreSQL is the Schema for the PostgreSQLs API. Manages a Linode PostgreSQL Database. +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,linode}

func (*PostgreSQL) DeepCopy

func (in *PostgreSQL) DeepCopy() *PostgreSQL

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

func (*PostgreSQL) DeepCopyInto

func (in *PostgreSQL) DeepCopyInto(out *PostgreSQL)

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

func (*PostgreSQL) DeepCopyObject

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

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

func (*PostgreSQL) GetCondition

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

GetCondition of this PostgreSQL.

func (*PostgreSQL) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PostgreSQL

func (*PostgreSQL) GetDeletionPolicy

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

GetDeletionPolicy of this PostgreSQL.

func (*PostgreSQL) GetID

func (tr *PostgreSQL) GetID() string

GetID returns ID of underlying Terraform resource of this PostgreSQL

func (*PostgreSQL) GetInitParameters added in v0.0.16

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

GetInitParameters of this PostgreSQL

func (*PostgreSQL) GetManagementPolicies added in v0.0.16

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

GetManagementPolicies of this PostgreSQL.

func (*PostgreSQL) GetMergedParameters added in v0.0.16

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

GetInitParameters of this PostgreSQL

func (*PostgreSQL) GetObservation

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

GetObservation of this PostgreSQL

func (*PostgreSQL) GetParameters

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

GetParameters of this PostgreSQL

func (*PostgreSQL) GetProviderConfigReference

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

GetProviderConfigReference of this PostgreSQL.

func (*PostgreSQL) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PostgreSQL.

func (*PostgreSQL) GetTerraformResourceType

func (mg *PostgreSQL) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PostgreSQL

func (*PostgreSQL) GetTerraformSchemaVersion

func (tr *PostgreSQL) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PostgreSQL) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PostgreSQL.

func (*PostgreSQL) Hub added in v0.0.16

func (tr *PostgreSQL) Hub()

Hub marks this type as a conversion hub.

func (*PostgreSQL) LateInitialize

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

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

func (*PostgreSQL) SetConditions

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

SetConditions of this PostgreSQL.

func (*PostgreSQL) SetDeletionPolicy

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

SetDeletionPolicy of this PostgreSQL.

func (*PostgreSQL) SetManagementPolicies added in v0.0.16

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

SetManagementPolicies of this PostgreSQL.

func (*PostgreSQL) SetObservation

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

SetObservation for this PostgreSQL

func (*PostgreSQL) SetParameters

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

SetParameters for this PostgreSQL

func (*PostgreSQL) SetProviderConfigReference

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

SetProviderConfigReference of this PostgreSQL.

func (*PostgreSQL) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PostgreSQL.

func (*PostgreSQL) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PostgreSQL.

type PostgreSQLInitParameters added in v0.0.16

type PostgreSQLInitParameters struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +listType=set
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
	// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
	ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`

	// Whether the Managed Databases is encrypted. (default false)
	// Whether the Managed Databases is encrypted.
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`

	// The Managed Database engine in engine/version format. (e.g. postgresql/13.2)
	// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
	EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`

	// A unique, user-defined string referring to the Managed Database.
	// A unique, user-defined string referring to the Managed Database.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The region to use for the Managed Database.
	// The region to use for the Managed Database.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The synchronization level of the replicating server. (on, local, remote_write, remote_apply, off; default off)
	// The synchronization level of the replicating server.Must be `local` or `off` for the `asynch` replication type. Must be `on`, `remote_write`, or `remote_apply` for the `semi_synch` replication type.
	ReplicationCommitType *string `json:"replicationCommitType,omitempty" tf:"replication_commit_type,omitempty"`

	// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
	// The replication method used for the Managed Database. Must be `none` for a single node cluster. Must be `asynch` or `semi_synch` for a high availability cluster.
	ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`

	// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
	// Whether to require SSL credentials to establish a connection to the Managed Database.
	SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`

	// The Linode Instance type used for the nodes of the  Managed Database instance.
	// The Linode Instance type used by the Managed Database for its nodes.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Configuration settings for automated patch update maintenance for the Managed Database.
	Updates []PostgreSQLUpdatesInitParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}

func (*PostgreSQLInitParameters) DeepCopy added in v0.0.16

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

func (*PostgreSQLInitParameters) DeepCopyInto added in v0.0.16

func (in *PostgreSQLInitParameters) DeepCopyInto(out *PostgreSQLInitParameters)

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

type PostgreSQLList

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

PostgreSQLList contains a list of PostgreSQLs

func (*PostgreSQLList) DeepCopy

func (in *PostgreSQLList) DeepCopy() *PostgreSQLList

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

func (*PostgreSQLList) DeepCopyInto

func (in *PostgreSQLList) DeepCopyInto(out *PostgreSQLList)

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

func (*PostgreSQLList) DeepCopyObject

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

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

func (*PostgreSQLList) GetItems

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

GetItems of this PostgreSQLList.

type PostgreSQLObservation

type PostgreSQLObservation struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +listType=set
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
	// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
	ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`

	// When this Managed Database was created.
	// When this Managed Database was created.
	Created *string `json:"created,omitempty" tf:"created,omitempty"`

	// Whether the Managed Databases is encrypted. (default false)
	// Whether the Managed Databases is encrypted.
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`

	// The Managed Database engine. (e.g. postgresql)
	// The Managed Database engine.
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// The Managed Database engine in engine/version format. (e.g. postgresql/13.2)
	// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
	EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`

	// The primary host for the Managed Database.
	// The primary host for the Managed Database.
	HostPrimary *string `json:"hostPrimary,omitempty" tf:"host_primary,omitempty"`

	// The secondary/private network host for the Managed Database.
	// The secondary host for the Managed Database.
	HostSecondary *string `json:"hostSecondary,omitempty" tf:"host_secondary,omitempty"`

	// The ID of the Managed Database.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A unique, user-defined string referring to the Managed Database.
	// A unique, user-defined string referring to the Managed Database.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The access port for this Managed Database.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// The region to use for the Managed Database.
	// The region to use for the Managed Database.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The synchronization level of the replicating server. (on, local, remote_write, remote_apply, off; default off)
	// The synchronization level of the replicating server.Must be `local` or `off` for the `asynch` replication type. Must be `on`, `remote_write`, or `remote_apply` for the `semi_synch` replication type.
	ReplicationCommitType *string `json:"replicationCommitType,omitempty" tf:"replication_commit_type,omitempty"`

	// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
	// The replication method used for the Managed Database. Must be `none` for a single node cluster. Must be `asynch` or `semi_synch` for a high availability cluster.
	ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`

	// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
	// Whether to require SSL credentials to establish a connection to the Managed Database.
	SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`

	// The operating status of the Managed Database.
	// The operating status of the Managed Database.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The Linode Instance type used for the nodes of the  Managed Database instance.
	// The Linode Instance type used by the Managed Database for its nodes.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// When this Managed Database was last updated.
	// When this Managed Database was last updated.
	Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`

	// Configuration settings for automated patch update maintenance for the Managed Database.
	Updates []PostgreSQLUpdatesObservation `json:"updates,omitempty" tf:"updates,omitempty"`

	// The Managed Database engine version. (e.g. 13.2)
	// The Managed Database engine version.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*PostgreSQLObservation) DeepCopy

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

func (*PostgreSQLObservation) DeepCopyInto

func (in *PostgreSQLObservation) DeepCopyInto(out *PostgreSQLObservation)

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

type PostgreSQLParameters

type PostgreSQLParameters struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +kubebuilder:validation:Optional
	// +listType=set
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
	// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
	// +kubebuilder:validation:Optional
	ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`

	// Whether the Managed Databases is encrypted. (default false)
	// Whether the Managed Databases is encrypted.
	// +kubebuilder:validation:Optional
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`

	// The Managed Database engine in engine/version format. (e.g. postgresql/13.2)
	// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
	// +kubebuilder:validation:Optional
	EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`

	// A unique, user-defined string referring to the Managed Database.
	// A unique, user-defined string referring to the Managed Database.
	// +kubebuilder:validation:Optional
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The region to use for the Managed Database.
	// The region to use for the Managed Database.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The synchronization level of the replicating server. (on, local, remote_write, remote_apply, off; default off)
	// The synchronization level of the replicating server.Must be `local` or `off` for the `asynch` replication type. Must be `on`, `remote_write`, or `remote_apply` for the `semi_synch` replication type.
	// +kubebuilder:validation:Optional
	ReplicationCommitType *string `json:"replicationCommitType,omitempty" tf:"replication_commit_type,omitempty"`

	// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
	// The replication method used for the Managed Database. Must be `none` for a single node cluster. Must be `asynch` or `semi_synch` for a high availability cluster.
	// +kubebuilder:validation:Optional
	ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`

	// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
	// Whether to require SSL credentials to establish a connection to the Managed Database.
	// +kubebuilder:validation:Optional
	SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`

	// The Linode Instance type used for the nodes of the  Managed Database instance.
	// The Linode Instance type used by the Managed Database for its nodes.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Configuration settings for automated patch update maintenance for the Managed Database.
	// +kubebuilder:validation:Optional
	Updates []PostgreSQLUpdatesParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}

func (*PostgreSQLParameters) DeepCopy

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

func (*PostgreSQLParameters) DeepCopyInto

func (in *PostgreSQLParameters) DeepCopyInto(out *PostgreSQLParameters)

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

type PostgreSQLSpec

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

PostgreSQLSpec defines the desired state of PostgreSQL

func (*PostgreSQLSpec) DeepCopy

func (in *PostgreSQLSpec) DeepCopy() *PostgreSQLSpec

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

func (*PostgreSQLSpec) DeepCopyInto

func (in *PostgreSQLSpec) DeepCopyInto(out *PostgreSQLSpec)

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

type PostgreSQLStatus

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

PostgreSQLStatus defines the observed state of PostgreSQL.

func (*PostgreSQLStatus) DeepCopy

func (in *PostgreSQLStatus) DeepCopy() *PostgreSQLStatus

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

func (*PostgreSQLStatus) DeepCopyInto

func (in *PostgreSQLStatus) DeepCopyInto(out *PostgreSQLStatus)

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

type PostgreSQLUpdatesInitParameters added in v0.0.16

type PostgreSQLUpdatesInitParameters struct {

	// The day to perform maintenance. (monday, tuesday, ...)
	// The day to perform maintenance.
	DayOfWeek *string `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`

	// The maximum maintenance window time in hours. (1..3)
	// The maximum maintenance window time in hours.
	Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`

	// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
	// Whether maintenance occurs on a weekly or monthly basis.
	Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`

	// The hour to begin maintenance based in UTC time. (0..23)
	// The hour to begin maintenance based in UTC time.
	HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`

	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
	WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}

func (*PostgreSQLUpdatesInitParameters) DeepCopy added in v0.0.16

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

func (*PostgreSQLUpdatesInitParameters) DeepCopyInto added in v0.0.16

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

type PostgreSQLUpdatesObservation

type PostgreSQLUpdatesObservation struct {

	// The day to perform maintenance. (monday, tuesday, ...)
	// The day to perform maintenance.
	DayOfWeek *string `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`

	// The maximum maintenance window time in hours. (1..3)
	// The maximum maintenance window time in hours.
	Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`

	// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
	// Whether maintenance occurs on a weekly or monthly basis.
	Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`

	// The hour to begin maintenance based in UTC time. (0..23)
	// The hour to begin maintenance based in UTC time.
	HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`

	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
	WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}

func (*PostgreSQLUpdatesObservation) DeepCopy

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

func (*PostgreSQLUpdatesObservation) DeepCopyInto

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

type PostgreSQLUpdatesParameters

type PostgreSQLUpdatesParameters struct {

	// The day to perform maintenance. (monday, tuesday, ...)
	// The day to perform maintenance.
	// +kubebuilder:validation:Optional
	DayOfWeek *string `json:"dayOfWeek" tf:"day_of_week,omitempty"`

	// The maximum maintenance window time in hours. (1..3)
	// The maximum maintenance window time in hours.
	// +kubebuilder:validation:Optional
	Duration *float64 `json:"duration" tf:"duration,omitempty"`

	// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
	// Whether maintenance occurs on a weekly or monthly basis.
	// +kubebuilder:validation:Optional
	Frequency *string `json:"frequency" tf:"frequency,omitempty"`

	// The hour to begin maintenance based in UTC time. (0..23)
	// The hour to begin maintenance based in UTC time.
	// +kubebuilder:validation:Optional
	HourOfDay *float64 `json:"hourOfDay" tf:"hour_of_day,omitempty"`

	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
	// +kubebuilder:validation:Optional
	WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}

func (*PostgreSQLUpdatesParameters) DeepCopy

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

func (*PostgreSQLUpdatesParameters) DeepCopyInto

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

type PostgreSQLv2 added in v0.0.27

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

PostgreSQLv2 is the Schema for the PostgreSQLv2s API. Manages a Linode PostgreSQL Database. +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,linode}

func (*PostgreSQLv2) DeepCopy added in v0.0.27

func (in *PostgreSQLv2) DeepCopy() *PostgreSQLv2

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

func (*PostgreSQLv2) DeepCopyInto added in v0.0.27

func (in *PostgreSQLv2) DeepCopyInto(out *PostgreSQLv2)

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

func (*PostgreSQLv2) DeepCopyObject added in v0.0.27

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

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

func (*PostgreSQLv2) GetCondition added in v0.0.27

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

GetCondition of this PostgreSQLv2.

func (*PostgreSQLv2) GetConnectionDetailsMapping added in v0.0.27

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

GetConnectionDetailsMapping for this PostgreSQLv2

func (*PostgreSQLv2) GetDeletionPolicy added in v0.0.27

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

GetDeletionPolicy of this PostgreSQLv2.

func (*PostgreSQLv2) GetID added in v0.0.27

func (tr *PostgreSQLv2) GetID() string

GetID returns ID of underlying Terraform resource of this PostgreSQLv2

func (*PostgreSQLv2) GetInitParameters added in v0.0.27

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

GetInitParameters of this PostgreSQLv2

func (*PostgreSQLv2) GetManagementPolicies added in v0.0.27

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

GetManagementPolicies of this PostgreSQLv2.

func (*PostgreSQLv2) GetMergedParameters added in v0.0.27

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

GetInitParameters of this PostgreSQLv2

func (*PostgreSQLv2) GetObservation added in v0.0.27

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

GetObservation of this PostgreSQLv2

func (*PostgreSQLv2) GetParameters added in v0.0.27

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

GetParameters of this PostgreSQLv2

func (*PostgreSQLv2) GetProviderConfigReference added in v0.0.27

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

GetProviderConfigReference of this PostgreSQLv2.

func (*PostgreSQLv2) GetPublishConnectionDetailsTo added in v0.0.27

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

GetPublishConnectionDetailsTo of this PostgreSQLv2.

func (*PostgreSQLv2) GetTerraformResourceType added in v0.0.27

func (mg *PostgreSQLv2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PostgreSQLv2

func (*PostgreSQLv2) GetTerraformSchemaVersion added in v0.0.27

func (tr *PostgreSQLv2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PostgreSQLv2) GetWriteConnectionSecretToReference added in v0.0.27

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

GetWriteConnectionSecretToReference of this PostgreSQLv2.

func (*PostgreSQLv2) Hub added in v0.0.27

func (tr *PostgreSQLv2) Hub()

Hub marks this type as a conversion hub.

func (*PostgreSQLv2) LateInitialize added in v0.0.27

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

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

func (*PostgreSQLv2) SetConditions added in v0.0.27

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

SetConditions of this PostgreSQLv2.

func (*PostgreSQLv2) SetDeletionPolicy added in v0.0.27

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

SetDeletionPolicy of this PostgreSQLv2.

func (*PostgreSQLv2) SetManagementPolicies added in v0.0.27

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

SetManagementPolicies of this PostgreSQLv2.

func (*PostgreSQLv2) SetObservation added in v0.0.27

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

SetObservation for this PostgreSQLv2

func (*PostgreSQLv2) SetParameters added in v0.0.27

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

SetParameters for this PostgreSQLv2

func (*PostgreSQLv2) SetProviderConfigReference added in v0.0.27

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

SetProviderConfigReference of this PostgreSQLv2.

func (*PostgreSQLv2) SetPublishConnectionDetailsTo added in v0.0.27

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

SetPublishConnectionDetailsTo of this PostgreSQLv2.

func (*PostgreSQLv2) SetWriteConnectionSecretToReference added in v0.0.27

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

SetWriteConnectionSecretToReference of this PostgreSQLv2.

type PostgreSQLv2InitParameters added in v0.0.27

type PostgreSQLv2InitParameters struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +listType=set
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
	// The number of Linode instance nodes deployed to the Managed Database.
	ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`

	// The Managed Database engine in engine/version format. (e.g. postgresql/16)
	// The unique ID of the database engine and version to use. (e.g. postgresql/16)
	EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`

	// The database timestamp from which it was restored.
	// The database timestamp from which it was restored.
	ForkRestoreTime *string `json:"forkRestoreTime,omitempty" tf:"fork_restore_time,omitempty"`

	// The ID of the database that was forked from.
	// The ID of the database that was forked from.
	ForkSource *float64 `json:"forkSource,omitempty" tf:"fork_source,omitempty"`

	// A unique, user-defined string referring to the Managed Database.
	// A unique, user-defined string referring to the Managed Database.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The region to use for the Managed Database.
	// The Region ID for the Managed Database.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Whether this Managed Database should be suspended.
	// Whether this database is suspended.
	Suspended *bool `json:"suspended,omitempty" tf:"suspended,omitempty"`

	// The Linode Instance type used for the nodes of the Managed Database.
	// The Linode Instance type used by the Managed Database for its nodes.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Configuration settings for automated patch update maintenance for the Managed Database.
	Updates map[string]string `json:"updates,omitempty" tf:"updates,omitempty"`
}

func (*PostgreSQLv2InitParameters) DeepCopy added in v0.0.27

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

func (*PostgreSQLv2InitParameters) DeepCopyInto added in v0.0.27

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

type PostgreSQLv2List added in v0.0.27

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

PostgreSQLv2List contains a list of PostgreSQLv2s

func (*PostgreSQLv2List) DeepCopy added in v0.0.27

func (in *PostgreSQLv2List) DeepCopy() *PostgreSQLv2List

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

func (*PostgreSQLv2List) DeepCopyInto added in v0.0.27

func (in *PostgreSQLv2List) DeepCopyInto(out *PostgreSQLv2List)

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

func (*PostgreSQLv2List) DeepCopyObject added in v0.0.27

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

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

func (*PostgreSQLv2List) GetItems added in v0.0.27

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

GetItems of this PostgreSQLv2List.

type PostgreSQLv2Observation added in v0.0.27

type PostgreSQLv2Observation struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +listType=set
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
	// The number of Linode instance nodes deployed to the Managed Database.
	ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`

	// When this Managed Database was created.
	// When this Managed Database was created.
	Created *string `json:"created,omitempty" tf:"created,omitempty"`

	// Whether the Managed Databases is encrypted.
	// Whether the Managed Databases is encrypted.
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`

	// The Managed Database engine. (e.g. postgresql)
	// The Managed Database engine in engine/version format.
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// The Managed Database engine in engine/version format. (e.g. postgresql/16)
	// The unique ID of the database engine and version to use. (e.g. postgresql/16)
	EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`

	// The database timestamp from which it was restored.
	// The database timestamp from which it was restored.
	ForkRestoreTime *string `json:"forkRestoreTime,omitempty" tf:"fork_restore_time,omitempty"`

	// The ID of the database that was forked from.
	// The ID of the database that was forked from.
	ForkSource *float64 `json:"forkSource,omitempty" tf:"fork_source,omitempty"`

	// The primary host for the Managed Database.
	// The primary host for the Managed Database.
	HostPrimary *string `json:"hostPrimary,omitempty" tf:"host_primary,omitempty"`

	// The secondary/private host for the managed database.
	// The secondary/private host for the Managed Database.
	HostSecondary *string `json:"hostSecondary,omitempty" tf:"host_secondary,omitempty"`

	// The ID of the Managed Database.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A unique, user-defined string referring to the Managed Database.
	// A unique, user-defined string referring to the Managed Database.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// A mapping between IP addresses and strings designating them as primary or failover.
	// +mapType=granular
	Members map[string]*string `json:"members,omitempty" tf:"members,omitempty"`

	// The oldest time to which a database can be restored.
	OldestRestoreTime *string `json:"oldestRestoreTime,omitempty" tf:"oldest_restore_time,omitempty"`

	// A set of pending updates.
	// A set of pending updates.
	PendingUpdates []PostgreSQLv2PendingUpdatesObservation `json:"pendingUpdates,omitempty" tf:"pending_updates,omitempty"`

	// The back-end platform for relational databases used by the service.
	// The back-end platform for relational databases used by the service.
	Platform *string `json:"platform,omitempty" tf:"platform,omitempty"`

	// The access port for this Managed Database.
	// The access port for this Managed Database.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// The region to use for the Managed Database.
	// The Region ID for the Managed Database.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Whether to require SSL credentials to establish a connection to the Managed Database.
	// Whether to require SSL credentials to establish a connection to the Managed Database.
	SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`

	// The operating status of the Managed Database.
	// The operating status of the Managed Database.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Whether this Managed Database should be suspended.
	// Whether this database is suspended.
	Suspended *bool `json:"suspended,omitempty" tf:"suspended,omitempty"`

	// The Linode Instance type used for the nodes of the Managed Database.
	// The Linode Instance type used by the Managed Database for its nodes.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// When this Managed Database was last updated.
	// When this Managed Database was last updated.
	Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`

	// Configuration settings for automated patch update maintenance for the Managed Database.
	Updates map[string]string `json:"updates,omitempty" tf:"updates,omitempty"`

	// The Managed Database engine version. (e.g. 13.2)
	// The Managed Database engine version.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*PostgreSQLv2Observation) DeepCopy added in v0.0.27

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

func (*PostgreSQLv2Observation) DeepCopyInto added in v0.0.27

func (in *PostgreSQLv2Observation) DeepCopyInto(out *PostgreSQLv2Observation)

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

type PostgreSQLv2Parameters added in v0.0.27

type PostgreSQLv2Parameters struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +kubebuilder:validation:Optional
	// +listType=set
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
	// The number of Linode instance nodes deployed to the Managed Database.
	// +kubebuilder:validation:Optional
	ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`

	// The Managed Database engine in engine/version format. (e.g. postgresql/16)
	// The unique ID of the database engine and version to use. (e.g. postgresql/16)
	// +kubebuilder:validation:Optional
	EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`

	// The database timestamp from which it was restored.
	// The database timestamp from which it was restored.
	// +kubebuilder:validation:Optional
	ForkRestoreTime *string `json:"forkRestoreTime,omitempty" tf:"fork_restore_time,omitempty"`

	// The ID of the database that was forked from.
	// The ID of the database that was forked from.
	// +kubebuilder:validation:Optional
	ForkSource *float64 `json:"forkSource,omitempty" tf:"fork_source,omitempty"`

	// A unique, user-defined string referring to the Managed Database.
	// A unique, user-defined string referring to the Managed Database.
	// +kubebuilder:validation:Optional
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The region to use for the Managed Database.
	// The Region ID for the Managed Database.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Whether this Managed Database should be suspended.
	// Whether this database is suspended.
	// +kubebuilder:validation:Optional
	Suspended *bool `json:"suspended,omitempty" tf:"suspended,omitempty"`

	// The Linode Instance type used for the nodes of the Managed Database.
	// The Linode Instance type used by the Managed Database for its nodes.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Configuration settings for automated patch update maintenance for the Managed Database.
	// +kubebuilder:validation:Optional
	Updates map[string]string `json:"updates,omitempty" tf:"updates,omitempty"`
}

func (*PostgreSQLv2Parameters) DeepCopy added in v0.0.27

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

func (*PostgreSQLv2Parameters) DeepCopyInto added in v0.0.27

func (in *PostgreSQLv2Parameters) DeepCopyInto(out *PostgreSQLv2Parameters)

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

type PostgreSQLv2PendingUpdatesInitParameters added in v0.0.27

type PostgreSQLv2PendingUpdatesInitParameters struct {
}

func (*PostgreSQLv2PendingUpdatesInitParameters) DeepCopy added in v0.0.27

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

func (*PostgreSQLv2PendingUpdatesInitParameters) DeepCopyInto added in v0.0.27

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

type PostgreSQLv2PendingUpdatesObservation added in v0.0.27

type PostgreSQLv2PendingUpdatesObservation struct {

	// The time when a mandatory update needs to be applied.
	Deadline *string `json:"deadline,omitempty" tf:"deadline,omitempty"`

	// A description of the update.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The date and time a maintenance update will be applied.
	PlannedFor *string `json:"plannedFor,omitempty" tf:"planned_for,omitempty"`
}

func (*PostgreSQLv2PendingUpdatesObservation) DeepCopy added in v0.0.27

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

func (*PostgreSQLv2PendingUpdatesObservation) DeepCopyInto added in v0.0.27

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

type PostgreSQLv2PendingUpdatesParameters added in v0.0.27

type PostgreSQLv2PendingUpdatesParameters struct {
}

func (*PostgreSQLv2PendingUpdatesParameters) DeepCopy added in v0.0.27

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

func (*PostgreSQLv2PendingUpdatesParameters) DeepCopyInto added in v0.0.27

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

type PostgreSQLv2Spec added in v0.0.27

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

PostgreSQLv2Spec defines the desired state of PostgreSQLv2

func (*PostgreSQLv2Spec) DeepCopy added in v0.0.27

func (in *PostgreSQLv2Spec) DeepCopy() *PostgreSQLv2Spec

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

func (*PostgreSQLv2Spec) DeepCopyInto added in v0.0.27

func (in *PostgreSQLv2Spec) DeepCopyInto(out *PostgreSQLv2Spec)

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

type PostgreSQLv2Status added in v0.0.27

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

PostgreSQLv2Status defines the observed state of PostgreSQLv2.

func (*PostgreSQLv2Status) DeepCopy added in v0.0.27

func (in *PostgreSQLv2Status) DeepCopy() *PostgreSQLv2Status

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

func (*PostgreSQLv2Status) DeepCopyInto added in v0.0.27

func (in *PostgreSQLv2Status) DeepCopyInto(out *PostgreSQLv2Status)

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

type UpdatesInitParameters added in v0.0.16

type UpdatesInitParameters struct {

	// The day to perform maintenance. (monday, tuesday, ...)
	// The day to perform maintenance.
	DayOfWeek *string `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`

	// The maximum maintenance window time in hours. (1..3)
	// The maximum maintenance window time in hours.
	Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`

	// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
	// Whether maintenance occurs on a weekly or monthly basis.
	Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`

	// The hour to begin maintenance based in UTC time. (0..23)
	// The hour to begin maintenance based in UTC time.
	HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`

	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
	WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}

func (*UpdatesInitParameters) DeepCopy added in v0.0.16

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

func (*UpdatesInitParameters) DeepCopyInto added in v0.0.16

func (in *UpdatesInitParameters) DeepCopyInto(out *UpdatesInitParameters)

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

type UpdatesObservation

type UpdatesObservation struct {

	// The day to perform maintenance. (monday, tuesday, ...)
	// The day to perform maintenance.
	DayOfWeek *string `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`

	// The maximum maintenance window time in hours. (1..3)
	// The maximum maintenance window time in hours.
	Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`

	// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
	// Whether maintenance occurs on a weekly or monthly basis.
	Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`

	// The hour to begin maintenance based in UTC time. (0..23)
	// The hour to begin maintenance based in UTC time.
	HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`

	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
	WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}

func (*UpdatesObservation) DeepCopy

func (in *UpdatesObservation) DeepCopy() *UpdatesObservation

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

func (*UpdatesObservation) DeepCopyInto

func (in *UpdatesObservation) DeepCopyInto(out *UpdatesObservation)

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

type UpdatesParameters

type UpdatesParameters struct {

	// The day to perform maintenance. (monday, tuesday, ...)
	// The day to perform maintenance.
	// +kubebuilder:validation:Optional
	DayOfWeek *string `json:"dayOfWeek" tf:"day_of_week,omitempty"`

	// The maximum maintenance window time in hours. (1..3)
	// The maximum maintenance window time in hours.
	// +kubebuilder:validation:Optional
	Duration *float64 `json:"duration" tf:"duration,omitempty"`

	// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
	// Whether maintenance occurs on a weekly or monthly basis.
	// +kubebuilder:validation:Optional
	Frequency *string `json:"frequency" tf:"frequency,omitempty"`

	// The hour to begin maintenance based in UTC time. (0..23)
	// The hour to begin maintenance based in UTC time.
	// +kubebuilder:validation:Optional
	HourOfDay *float64 `json:"hourOfDay" tf:"hour_of_day,omitempty"`

	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
	// +kubebuilder:validation:Optional
	WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}

func (*UpdatesParameters) DeepCopy

func (in *UpdatesParameters) DeepCopy() *UpdatesParameters

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

func (*UpdatesParameters) DeepCopyInto

func (in *UpdatesParameters) DeepCopyInto(out *UpdatesParameters)

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

Jump to

Keyboard shortcuts

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