v1alpha1

package
v0.0.0-...-1cb00b6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the mdb resources of the yandex-cloud jet provider. +kubebuilder:object:generate=true +groupName=mdb.yandex-cloud.jet.crossplane.io +versionName=v1alpha1

+kubebuilder:object:generate=true +groupName=mdb.yandex-cloud.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "mdb.yandex-cloud.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	ElasticsearchCluster_Kind             = "ElasticsearchCluster"
	ElasticsearchCluster_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ElasticsearchCluster_Kind}.String()
	ElasticsearchCluster_KindAPIVersion   = ElasticsearchCluster_Kind + "." + CRDGroupVersion.String()
	ElasticsearchCluster_GroupVersionKind = CRDGroupVersion.WithKind(ElasticsearchCluster_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 (
	MongodbCluster_Kind             = "MongodbCluster"
	MongodbCluster_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MongodbCluster_Kind}.String()
	MongodbCluster_KindAPIVersion   = MongodbCluster_Kind + "." + CRDGroupVersion.String()
	MongodbCluster_GroupVersionKind = CRDGroupVersion.WithKind(MongodbCluster_Kind)
)

Repository type metadata.

View Source
var (
	MySQLCluster_Kind             = "MySQLCluster"
	MySQLCluster_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MySQLCluster_Kind}.String()
	MySQLCluster_KindAPIVersion   = MySQLCluster_Kind + "." + CRDGroupVersion.String()
	MySQLCluster_GroupVersionKind = CRDGroupVersion.WithKind(MySQLCluster_Kind)
)

Repository type metadata.

View Source
var (
	MySQLDatabase_Kind             = "MySQLDatabase"
	MySQLDatabase_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MySQLDatabase_Kind}.String()
	MySQLDatabase_KindAPIVersion   = MySQLDatabase_Kind + "." + CRDGroupVersion.String()
	MySQLDatabase_GroupVersionKind = CRDGroupVersion.WithKind(MySQLDatabase_Kind)
)

Repository type metadata.

View Source
var (
	MySQLUser_Kind             = "MySQLUser"
	MySQLUser_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MySQLUser_Kind}.String()
	MySQLUser_KindAPIVersion   = MySQLUser_Kind + "." + CRDGroupVersion.String()
	MySQLUser_GroupVersionKind = CRDGroupVersion.WithKind(MySQLUser_Kind)
)

Repository type metadata.

View Source
var (
	PostgresqlCluster_Kind             = "PostgresqlCluster"
	PostgresqlCluster_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PostgresqlCluster_Kind}.String()
	PostgresqlCluster_KindAPIVersion   = PostgresqlCluster_Kind + "." + CRDGroupVersion.String()
	PostgresqlCluster_GroupVersionKind = CRDGroupVersion.WithKind(PostgresqlCluster_Kind)
)

Repository type metadata.

View Source
var (
	PostgresqlDatabase_Kind             = "PostgresqlDatabase"
	PostgresqlDatabase_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PostgresqlDatabase_Kind}.String()
	PostgresqlDatabase_KindAPIVersion   = PostgresqlDatabase_Kind + "." + CRDGroupVersion.String()
	PostgresqlDatabase_GroupVersionKind = CRDGroupVersion.WithKind(PostgresqlDatabase_Kind)
)

Repository type metadata.

View Source
var (
	PostgresqlUser_Kind             = "PostgresqlUser"
	PostgresqlUser_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PostgresqlUser_Kind}.String()
	PostgresqlUser_KindAPIVersion   = PostgresqlUser_Kind + "." + CRDGroupVersion.String()
	PostgresqlUser_GroupVersionKind = CRDGroupVersion.WithKind(PostgresqlUser_Kind)
)

Repository type metadata.

View Source
var (
	RedisCluster_Kind             = "RedisCluster"
	RedisCluster_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RedisCluster_Kind}.String()
	RedisCluster_KindAPIVersion   = RedisCluster_Kind + "." + CRDGroupVersion.String()
	RedisCluster_GroupVersionKind = CRDGroupVersion.WithKind(RedisCluster_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AccessObservation

type AccessObservation struct {
	// (Optional) Allow access for DataLens.
	DataLens *bool `json:"dataLens,omitempty" tf:"data_lens,omitempty"`
}

func (*AccessObservation) DeepCopy

func (in *AccessObservation) DeepCopy() *AccessObservation

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

func (*AccessObservation) DeepCopyInto

func (in *AccessObservation) DeepCopyInto(out *AccessObservation)

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

type AccessParameters

type AccessParameters struct {
}

func (*AccessParameters) DeepCopy

func (in *AccessParameters) DeepCopy() *AccessParameters

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

func (*AccessParameters) DeepCopyInto

func (in *AccessParameters) DeepCopyInto(out *AccessParameters)

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

type AuditLogObservation

type AuditLogObservation struct {
}

func (*AuditLogObservation) DeepCopy

func (in *AuditLogObservation) DeepCopy() *AuditLogObservation

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

func (*AuditLogObservation) DeepCopyInto

func (in *AuditLogObservation) DeepCopyInto(out *AuditLogObservation)

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

type AuditLogParameters

type AuditLogParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Configuration of the audit log filter in JSON format.
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// +kubebuilder:validation:Optional
	RuntimeConfiguration *bool `json:"runtimeConfiguration,omitempty" tf:"runtime_configuration,omitempty"`
}

func (*AuditLogParameters) DeepCopy

func (in *AuditLogParameters) DeepCopy() *AuditLogParameters

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

func (*AuditLogParameters) DeepCopyInto

func (in *AuditLogParameters) DeepCopyInto(out *AuditLogParameters)

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

type BackupWindowStartObservation

type BackupWindowStartObservation struct {
}

func (*BackupWindowStartObservation) DeepCopy

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

func (*BackupWindowStartObservation) DeepCopyInto

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

type BackupWindowStartParameters

type BackupWindowStartParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) The hour at which backup will be started.
	Hours *float64 `json:"hours,omitempty" tf:"hours,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) The minute at which backup will be started.
	Minutes *float64 `json:"minutes,omitempty" tf:"minutes,omitempty"`
}

func (*BackupWindowStartParameters) DeepCopy

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

func (*BackupWindowStartParameters) DeepCopyInto

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

type ClusterConfigObservation

type ClusterConfigObservation struct {
	// (Optional) Access policy to the MongoDB cluster. The structure is documented below.
	Access []AccessObservation `json:"access,omitempty" tf:"access,omitempty"`
}

func (*ClusterConfigObservation) DeepCopy

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

func (*ClusterConfigObservation) DeepCopyInto

func (in *ClusterConfigObservation) DeepCopyInto(out *ClusterConfigObservation)

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

type ClusterConfigParameters

type ClusterConfigParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Access policy to the MongoDB cluster. The structure is documented below.
	Access []AccessParameters `json:"access,omitempty" tf:"access,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Time to start the daily backup, in the UTC timezone. The structure is documented below.
	BackupWindowStart []BackupWindowStartParameters `json:"backupWindowStart,omitempty" tf:"backup_window_start,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Feature compatibility version of MongoDB. If not provided version is taken. Can be either `5.0`, `4.4`, `4.2` and `4.0`.
	FeatureCompatibilityVersion *string `json:"featureCompatibilityVersion,omitempty" tf:"feature_compatibility_version,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Configuration of the mongod service. The structure is documented below.
	Mongod []MongodParameters `json:"mongod,omitempty" tf:"mongod,omitempty"`

	// +kubebuilder:validation:Required
	// (Optional) Version of the MongoDB server software. Can be either `4.0`, `4.2`, `4.4`, `4.4-enterprise`, `5.0` and `5.0-enterprise`.
	Version *string `json:"version" tf:"version,omitempty"`
}

func (*ClusterConfigParameters) DeepCopy

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

func (*ClusterConfigParameters) DeepCopyInto

func (in *ClusterConfigParameters) DeepCopyInto(out *ClusterConfigParameters)

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

type ConfigAccessObservation

type ConfigAccessObservation struct {
}

func (*ConfigAccessObservation) DeepCopy

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

func (*ConfigAccessObservation) DeepCopyInto

func (in *ConfigAccessObservation) DeepCopyInto(out *ConfigAccessObservation)

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

type ConfigAccessParameters

type ConfigAccessParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Allow access for [Yandex DataLens](https://cloud.yandex.com/services/datalens).
	DataLens *bool `json:"dataLens,omitempty" tf:"data_lens,omitempty"`

	// +kubebuilder:validation:Optional
	// Allow access for [connection to managed databases from functions](https://cloud.yandex.com/docs/functions/operations/database-connection)
	Serverless *bool `json:"serverless,omitempty" tf:"serverless,omitempty"`

	// +kubebuilder:validation:Optional
	// Allow access for [SQL queries in the management console](https://cloud.yandex.com/docs/managed-postgresql/operations/web-sql-query)
	WebSQL *bool `json:"webSql,omitempty" tf:"web_sql,omitempty"`
}

func (*ConfigAccessParameters) DeepCopy

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

func (*ConfigAccessParameters) DeepCopyInto

func (in *ConfigAccessParameters) DeepCopyInto(out *ConfigAccessParameters)

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

type ConfigBackupWindowStartObservation

type ConfigBackupWindowStartObservation struct {
}

func (*ConfigBackupWindowStartObservation) DeepCopy

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

func (*ConfigBackupWindowStartObservation) DeepCopyInto

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

type ConfigBackupWindowStartParameters

type ConfigBackupWindowStartParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) The hour at which backup will be started (UTC).
	Hours *float64 `json:"hours,omitempty" tf:"hours,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) The minute at which backup will be started (UTC).
	Minutes *float64 `json:"minutes,omitempty" tf:"minutes,omitempty"`
}

func (*ConfigBackupWindowStartParameters) DeepCopy

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

func (*ConfigBackupWindowStartParameters) DeepCopyInto

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

type ConfigObservation

type ConfigObservation struct {
}

func (*ConfigObservation) DeepCopy

func (in *ConfigObservation) DeepCopy() *ConfigObservation

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

func (*ConfigObservation) DeepCopyInto

func (in *ConfigObservation) DeepCopyInto(out *ConfigObservation)

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

type ConfigParameters

type ConfigParameters struct {

	// +kubebuilder:validation:Required
	AdminPasswordSecretRef v1.SecretKeySelector `json:"adminPasswordSecretRef" tf:"-"`

	// +kubebuilder:validation:Required
	// (Required) Configuration for Elasticsearch data nodes subcluster. The structure is documented below.
	DataNode []DataNodeParameters `json:"dataNode" tf:"data_node,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Edition of Elasticsearch. For more information, see [the official documentation](https://cloud.yandex.com/en-ru/docs/managed-elasticsearch/concepts/es-editions).
	Edition *string `json:"edition,omitempty" tf:"edition,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Configuration for Elasticsearch master nodes subcluster. The structure is documented below.
	MasterNode []MasterNodeParameters `json:"masterNode,omitempty" tf:"master_node,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) A set of Elasticsearch plugins to install.
	Plugins []*string `json:"plugins,omitempty" tf:"plugins,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Version of Elasticsearch.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*ConfigParameters) DeepCopy

func (in *ConfigParameters) DeepCopy() *ConfigParameters

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

func (*ConfigParameters) DeepCopyInto

func (in *ConfigParameters) DeepCopyInto(out *ConfigParameters)

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

type ConfigPerformanceDiagnosticsObservation

type ConfigPerformanceDiagnosticsObservation struct {
}

func (*ConfigPerformanceDiagnosticsObservation) DeepCopy

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

func (*ConfigPerformanceDiagnosticsObservation) DeepCopyInto

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

type ConfigPerformanceDiagnosticsParameters

type ConfigPerformanceDiagnosticsParameters struct {

	// +kubebuilder:validation:Optional
	// Enable performance diagnostics
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// +kubebuilder:validation:Required
	// Interval (in seconds) for pg_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
	SessionsSamplingInterval *float64 `json:"sessionsSamplingInterval" tf:"sessions_sampling_interval,omitempty"`

	// +kubebuilder:validation:Required
	// Interval (in seconds) for pg_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
	StatementsSamplingInterval *float64 `json:"statementsSamplingInterval" tf:"statements_sampling_interval,omitempty"`
}

func (*ConfigPerformanceDiagnosticsParameters) DeepCopy

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

func (*ConfigPerformanceDiagnosticsParameters) DeepCopyInto

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

type ConfigResourcesObservation

type ConfigResourcesObservation struct {
}

func (*ConfigResourcesObservation) DeepCopy

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

func (*ConfigResourcesObservation) DeepCopyInto

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

type ConfigResourcesParameters

type ConfigResourcesParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Volume of the storage available to a PostgreSQL host, in gigabytes.
	DiskSize *float64 `json:"diskSize" tf:"disk_size,omitempty"`

	// +kubebuilder:validation:Optional
	// (Required) Type of the storage of PostgreSQL hosts.
	DiskTypeID *string `json:"diskTypeId,omitempty" tf:"disk_type_id,omitempty"`

	// +kubebuilder:validation:Required
	ResourcePresetID *string `json:"resourcePresetId" tf:"resource_preset_id,omitempty"`
}

func (*ConfigResourcesParameters) DeepCopy

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

func (*ConfigResourcesParameters) DeepCopyInto

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

type ConnectionLimitsObservation

type ConnectionLimitsObservation struct {
}

func (*ConnectionLimitsObservation) DeepCopy

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

func (*ConnectionLimitsObservation) DeepCopyInto

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

type ConnectionLimitsParameters

type ConnectionLimitsParameters struct {

	// +kubebuilder:validation:Optional
	// Max connections per hour.
	MaxConnectionsPerHour *float64 `json:"maxConnectionsPerHour,omitempty" tf:"max_connections_per_hour,omitempty"`

	// +kubebuilder:validation:Optional
	// Max questions per hour.
	MaxQuestionsPerHour *float64 `json:"maxQuestionsPerHour,omitempty" tf:"max_questions_per_hour,omitempty"`

	// +kubebuilder:validation:Optional
	// Max updates per hour.
	MaxUpdatesPerHour *float64 `json:"maxUpdatesPerHour,omitempty" tf:"max_updates_per_hour,omitempty"`

	// +kubebuilder:validation:Optional
	// Max user connections.
	MaxUserConnections *float64 `json:"maxUserConnections,omitempty" tf:"max_user_connections,omitempty"`
}

func (*ConnectionLimitsParameters) DeepCopy

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

func (*ConnectionLimitsParameters) DeepCopyInto

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

type DataNodeObservation

type DataNodeObservation struct {
}

func (*DataNodeObservation) DeepCopy

func (in *DataNodeObservation) DeepCopy() *DataNodeObservation

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

func (*DataNodeObservation) DeepCopyInto

func (in *DataNodeObservation) DeepCopyInto(out *DataNodeObservation)

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

type DataNodeParameters

type DataNodeParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Resources allocated to hosts of the Elasticsearch data nodes subcluster. The structure is documented below.
	Resources []ResourcesParameters `json:"resources" tf:"resources,omitempty"`
}

func (*DataNodeParameters) DeepCopy

func (in *DataNodeParameters) DeepCopy() *DataNodeParameters

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

func (*DataNodeParameters) DeepCopyInto

func (in *DataNodeParameters) DeepCopyInto(out *DataNodeParameters)

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

type DatabaseObservation

type DatabaseObservation struct {
}

func (*DatabaseObservation) DeepCopy

func (in *DatabaseObservation) DeepCopy() *DatabaseObservation

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

func (*DatabaseObservation) DeepCopyInto

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

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

type DatabaseParameters

type DatabaseParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Name of the MongoDB cluster. Provided by the client when the cluster is created.
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*DatabaseParameters) DeepCopy

func (in *DatabaseParameters) DeepCopy() *DatabaseParameters

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

func (*DatabaseParameters) DeepCopyInto

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

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

type ElasticsearchCluster

type ElasticsearchCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ElasticsearchClusterSpec   `json:"spec"`
	Status            ElasticsearchClusterStatus `json:"status,omitempty"`
}

ElasticsearchCluster is the Schema for the ElasticsearchClusters API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,yandex-cloud}

func (*ElasticsearchCluster) DeepCopy

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

func (*ElasticsearchCluster) DeepCopyInto

func (in *ElasticsearchCluster) DeepCopyInto(out *ElasticsearchCluster)

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

func (*ElasticsearchCluster) DeepCopyObject

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

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

func (*ElasticsearchCluster) GetCondition

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

GetCondition of this ElasticsearchCluster.

func (*ElasticsearchCluster) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ElasticsearchCluster

func (*ElasticsearchCluster) GetDeletionPolicy

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

GetDeletionPolicy of this ElasticsearchCluster.

func (*ElasticsearchCluster) GetID

func (tr *ElasticsearchCluster) GetID() string

GetID returns ID of underlying Terraform resource of this ElasticsearchCluster

func (*ElasticsearchCluster) GetObservation

func (tr *ElasticsearchCluster) GetObservation() (map[string]interface{}, error)

GetObservation of this ElasticsearchCluster

func (*ElasticsearchCluster) GetParameters

func (tr *ElasticsearchCluster) GetParameters() (map[string]interface{}, error)

GetParameters of this ElasticsearchCluster

func (*ElasticsearchCluster) GetProviderConfigReference

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

GetProviderConfigReference of this ElasticsearchCluster.

func (*ElasticsearchCluster) GetProviderReference

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

GetProviderReference of this ElasticsearchCluster. Deprecated: Use GetProviderConfigReference.

func (*ElasticsearchCluster) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ElasticsearchCluster.

func (*ElasticsearchCluster) GetTerraformResourceType

func (mg *ElasticsearchCluster) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ElasticsearchCluster

func (*ElasticsearchCluster) GetTerraformSchemaVersion

func (tr *ElasticsearchCluster) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ElasticsearchCluster) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ElasticsearchCluster.

func (*ElasticsearchCluster) LateInitialize

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

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

func (*ElasticsearchCluster) ResolveReferences

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

ResolveReferences of this ElasticsearchCluster.

func (*ElasticsearchCluster) SetConditions

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

SetConditions of this ElasticsearchCluster.

func (*ElasticsearchCluster) SetDeletionPolicy

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

SetDeletionPolicy of this ElasticsearchCluster.

func (*ElasticsearchCluster) SetObservation

func (tr *ElasticsearchCluster) SetObservation(obs map[string]interface{}) error

SetObservation for this ElasticsearchCluster

func (*ElasticsearchCluster) SetParameters

func (tr *ElasticsearchCluster) SetParameters(params map[string]interface{}) error

SetParameters for this ElasticsearchCluster

func (*ElasticsearchCluster) SetProviderConfigReference

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

SetProviderConfigReference of this ElasticsearchCluster.

func (*ElasticsearchCluster) SetProviderReference

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

SetProviderReference of this ElasticsearchCluster. Deprecated: Use SetProviderConfigReference.

func (*ElasticsearchCluster) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ElasticsearchCluster.

func (*ElasticsearchCluster) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ElasticsearchCluster.

type ElasticsearchClusterList

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

ElasticsearchClusterList contains a list of ElasticsearchClusters

func (*ElasticsearchClusterList) DeepCopy

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

func (*ElasticsearchClusterList) DeepCopyInto

func (in *ElasticsearchClusterList) DeepCopyInto(out *ElasticsearchClusterList)

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

func (*ElasticsearchClusterList) DeepCopyObject

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

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

func (*ElasticsearchClusterList) GetItems

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

GetItems of this ElasticsearchClusterList.

type ElasticsearchClusterObservation

type ElasticsearchClusterObservation struct {
	// Creation timestamp of the key.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Aggregated health of the cluster. Can be either `ALIVE`, `DEGRADED`, `DEAD` or `HEALTH_UNKNOWN`.
	Health *string `json:"health,omitempty" tf:"health,omitempty"`

	// (Required) A host of the Elasticsearch cluster. The structure is documented below.
	Host []HostObservation `json:"host,omitempty" tf:"host,omitempty"`

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

	// Status of the cluster. Can be either `CREATING`, `STARTING`, `RUNNING`, `UPDATING`, `STOPPING`, `STOPPED`, `ERROR` or `STATUS_UNKNOWN`.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ElasticsearchClusterObservation) DeepCopy

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

func (*ElasticsearchClusterObservation) DeepCopyInto

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

type ElasticsearchClusterParameters

type ElasticsearchClusterParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Configuration of the Elasticsearch cluster. The structure is documented below.
	Config []ConfigParameters `json:"config" tf:"config,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Inhibits deletion of the cluster.  Can be either `true` or `false`.
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Description of the Elasticsearch cluster.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Deployment environment of the Elasticsearch cluster. Can be either `PRESTABLE` or `PRODUCTION`.
	Environment *string `json:"environment" tf:"environment,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	// (Optional) The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Required) A host of the Elasticsearch cluster. The structure is documented below.
	Host []HostParameters `json:"host,omitempty" tf:"host,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) A set of key/value label pairs to assign to the Elasticsearch cluster.
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// +kubebuilder:validation:Optional
	MaintenanceWindow []MaintenanceWindowParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Name of the Elasticsearch cluster. Provided by the client when the cluster is created.
	Name *string `json:"name" tf:"name,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.Network
	// +kubebuilder:validation:Optional
	// (Required) ID of the network, to which the Elasticsearch cluster belongs.
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// +kubebuilder:validation:Optional
	NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.SecurityGroup
	// +kubebuilder:validation:Optional
	// (Optional) A set of ids of security groups assigned to hosts of the cluster.
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// +kubebuilder:validation:Optional
	SecurityGroupIdsRefs []v1.Reference `json:"securityGroupIdsRefs,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SecurityGroupIdsSelector *v1.Selector `json:"securityGroupIdsSelector,omitempty" tf:"-"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/iam/v1alpha1.ServiceAccount
	// +kubebuilder:validation:Optional
	// (Optional) ID of the service account authorized for this cluster.
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// +kubebuilder:validation:Optional
	ServiceAccountIDRef *v1.Reference `json:"serviceAccountIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ServiceAccountIDSelector *v1.Selector `json:"serviceAccountIdSelector,omitempty" tf:"-"`
}

func (*ElasticsearchClusterParameters) DeepCopy

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

func (*ElasticsearchClusterParameters) DeepCopyInto

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

type ElasticsearchClusterSpec

type ElasticsearchClusterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ElasticsearchClusterParameters `json:"forProvider"`
}

ElasticsearchClusterSpec defines the desired state of ElasticsearchCluster

func (*ElasticsearchClusterSpec) DeepCopy

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

func (*ElasticsearchClusterSpec) DeepCopyInto

func (in *ElasticsearchClusterSpec) DeepCopyInto(out *ElasticsearchClusterSpec)

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

type ElasticsearchClusterStatus

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

ElasticsearchClusterStatus defines the observed state of ElasticsearchCluster.

func (*ElasticsearchClusterStatus) DeepCopy

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

func (*ElasticsearchClusterStatus) DeepCopyInto

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

type ExtensionObservation

type ExtensionObservation struct {
}

func (*ExtensionObservation) DeepCopy

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

func (*ExtensionObservation) DeepCopyInto

func (in *ExtensionObservation) DeepCopyInto(out *ExtensionObservation)

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

type ExtensionParameters

type ExtensionParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Name of the PostgreSQL cluster. Provided by the client when the cluster is created.
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	// (Required) Version of the PostgreSQL cluster. (allowed versions are: 10, 10-1c, 11, 11-1c, 12, 12-1c, 13, 14)
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*ExtensionParameters) DeepCopy

func (in *ExtensionParameters) DeepCopy() *ExtensionParameters

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

func (*ExtensionParameters) DeepCopyInto

func (in *ExtensionParameters) DeepCopyInto(out *ExtensionParameters)

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

type HostObservation

type HostObservation struct {
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`
}

func (*HostObservation) DeepCopy

func (in *HostObservation) DeepCopy() *HostObservation

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

func (*HostObservation) DeepCopyInto

func (in *HostObservation) DeepCopyInto(out *HostObservation)

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

type HostParameters

type HostParameters struct {

	// +kubebuilder:validation:Optional
	AssignPublicIP *bool `json:"assignPublicIp,omitempty" tf:"assign_public_ip,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Name of the Elasticsearch cluster. Provided by the client when the cluster is created.
	Name *string `json:"name" tf:"name,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	// (Required) The type of the host to be deployed. Can be either `DATA_NODE` or `MASTER_NODE`.
	Type *string `json:"type" tf:"type,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) The availability zone where the Elasticsearch host will be created.
	Zone *string `json:"zone" tf:"zone,omitempty"`
}

func (*HostParameters) DeepCopy

func (in *HostParameters) DeepCopy() *HostParameters

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

func (*HostParameters) DeepCopyInto

func (in *HostParameters) DeepCopyInto(out *HostParameters)

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

type KmipObservation

type KmipObservation struct {
}

func (*KmipObservation) DeepCopy

func (in *KmipObservation) DeepCopy() *KmipObservation

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

func (*KmipObservation) DeepCopyInto

func (in *KmipObservation) DeepCopyInto(out *KmipObservation)

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

type KmipParameters

type KmipParameters struct {

	// +kubebuilder:validation:Optional
	// (Required) String containing the client certificate used for authenticating MongoDB to the KMIP server.
	ClientCertificate *string `json:"clientCertificate,omitempty" tf:"client_certificate,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Unique KMIP identifier for an existing key within the KMIP server.
	KeyIdentifier *string `json:"keyIdentifier,omitempty" tf:"key_identifier,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Port number to use to communicate with the KMIP server. Default: 5696
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// +kubebuilder:validation:Optional
	// (Required) Path to CA File. Used for validating secure client connection to KMIP server.
	ServerCA *string `json:"serverCa,omitempty" tf:"server_ca,omitempty"`

	// +kubebuilder:validation:Optional
	// (Required) Hostname or IP address of the KMIP server to connect to.
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`
}

func (*KmipParameters) DeepCopy

func (in *KmipParameters) DeepCopy() *KmipParameters

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

func (*KmipParameters) DeepCopyInto

func (in *KmipParameters) DeepCopyInto(out *KmipParameters)

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

type MaintenanceWindowObservation

type MaintenanceWindowObservation struct {
}

func (*MaintenanceWindowObservation) DeepCopy

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

func (*MaintenanceWindowObservation) DeepCopyInto

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

type MaintenanceWindowParameters

type MaintenanceWindowParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Day of week for maintenance window if window type is weekly. Possible values: `MON`, `TUE`, `WED`, `THU`, `FRI`, `SAT`, `SUN`.
	Day *string `json:"day,omitempty" tf:"day,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
	Hour *float64 `json:"hour,omitempty" tf:"hour,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) The type of the host to be deployed. Can be either `DATA_NODE` or `MASTER_NODE`.
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*MaintenanceWindowParameters) DeepCopy

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

func (*MaintenanceWindowParameters) DeepCopyInto

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

type MasterNodeObservation

type MasterNodeObservation struct {
}

func (*MasterNodeObservation) DeepCopy

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

func (*MasterNodeObservation) DeepCopyInto

func (in *MasterNodeObservation) DeepCopyInto(out *MasterNodeObservation)

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

type MasterNodeParameters

type MasterNodeParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Resources allocated to hosts of the Elasticsearch data nodes subcluster. The structure is documented below.
	Resources []MasterNodeResourcesParameters `json:"resources" tf:"resources,omitempty"`
}

func (*MasterNodeParameters) DeepCopy

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

func (*MasterNodeParameters) DeepCopyInto

func (in *MasterNodeParameters) DeepCopyInto(out *MasterNodeParameters)

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

type MasterNodeResourcesObservation

type MasterNodeResourcesObservation struct {
}

func (*MasterNodeResourcesObservation) DeepCopy

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

func (*MasterNodeResourcesObservation) DeepCopyInto

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

type MasterNodeResourcesParameters

type MasterNodeResourcesParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Volume of the storage available to a host, in gigabytes.
	DiskSize *float64 `json:"diskSize" tf:"disk_size,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Type of the storage of Elasticsearch hosts.
	DiskTypeID *string `json:"diskTypeId" tf:"disk_type_id,omitempty"`

	// +kubebuilder:validation:Required
	ResourcePresetID *string `json:"resourcePresetId" tf:"resource_preset_id,omitempty"`
}

func (*MasterNodeResourcesParameters) DeepCopy

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

func (*MasterNodeResourcesParameters) DeepCopyInto

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

type MongodObservation

type MongodObservation struct {
}

func (*MongodObservation) DeepCopy

func (in *MongodObservation) DeepCopy() *MongodObservation

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

func (*MongodObservation) DeepCopyInto

func (in *MongodObservation) DeepCopyInto(out *MongodObservation)

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

type MongodParameters

type MongodParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) A set of audit log settings
	AuditLog []AuditLogParameters `json:"auditLog,omitempty" tf:"audit_log,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) A set of MongoDB Security settings
	Security []SecurityParameters `json:"security,omitempty" tf:"security,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) A set of MongoDB Server Parameters
	SetParameter []SetParameterParameters `json:"setParameter,omitempty" tf:"set_parameter,omitempty"`
}

func (*MongodParameters) DeepCopy

func (in *MongodParameters) DeepCopy() *MongodParameters

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

func (*MongodParameters) DeepCopyInto

func (in *MongodParameters) DeepCopyInto(out *MongodParameters)

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

type MongodbCluster

type MongodbCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MongodbClusterSpec   `json:"spec"`
	Status            MongodbClusterStatus `json:"status,omitempty"`
}

MongodbCluster is the Schema for the MongodbClusters API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,yandex-cloud}

func (*MongodbCluster) DeepCopy

func (in *MongodbCluster) DeepCopy() *MongodbCluster

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

func (*MongodbCluster) DeepCopyInto

func (in *MongodbCluster) DeepCopyInto(out *MongodbCluster)

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

func (*MongodbCluster) DeepCopyObject

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

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

func (*MongodbCluster) GetCondition

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

GetCondition of this MongodbCluster.

func (*MongodbCluster) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MongodbCluster

func (*MongodbCluster) GetDeletionPolicy

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

GetDeletionPolicy of this MongodbCluster.

func (*MongodbCluster) GetID

func (tr *MongodbCluster) GetID() string

GetID returns ID of underlying Terraform resource of this MongodbCluster

func (*MongodbCluster) GetObservation

func (tr *MongodbCluster) GetObservation() (map[string]interface{}, error)

GetObservation of this MongodbCluster

func (*MongodbCluster) GetParameters

func (tr *MongodbCluster) GetParameters() (map[string]interface{}, error)

GetParameters of this MongodbCluster

func (*MongodbCluster) GetProviderConfigReference

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

GetProviderConfigReference of this MongodbCluster.

func (*MongodbCluster) GetProviderReference

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

GetProviderReference of this MongodbCluster. Deprecated: Use GetProviderConfigReference.

func (*MongodbCluster) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MongodbCluster.

func (*MongodbCluster) GetTerraformResourceType

func (mg *MongodbCluster) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MongodbCluster

func (*MongodbCluster) GetTerraformSchemaVersion

func (tr *MongodbCluster) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MongodbCluster) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MongodbCluster.

func (*MongodbCluster) LateInitialize

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

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

func (*MongodbCluster) ResolveReferences

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

ResolveReferences of this MongodbCluster.

func (*MongodbCluster) SetConditions

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

SetConditions of this MongodbCluster.

func (*MongodbCluster) SetDeletionPolicy

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

SetDeletionPolicy of this MongodbCluster.

func (*MongodbCluster) SetObservation

func (tr *MongodbCluster) SetObservation(obs map[string]interface{}) error

SetObservation for this MongodbCluster

func (*MongodbCluster) SetParameters

func (tr *MongodbCluster) SetParameters(params map[string]interface{}) error

SetParameters for this MongodbCluster

func (*MongodbCluster) SetProviderConfigReference

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

SetProviderConfigReference of this MongodbCluster.

func (*MongodbCluster) SetProviderReference

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

SetProviderReference of this MongodbCluster. Deprecated: Use SetProviderConfigReference.

func (*MongodbCluster) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MongodbCluster.

func (*MongodbCluster) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MongodbCluster.

type MongodbClusterHostObservation

type MongodbClusterHostObservation struct {
	// (Computed) The health of the host.
	Health *string `json:"health,omitempty" tf:"health,omitempty"`

	// (Required) Name of the MongoDB cluster. Provided by the client when the cluster is created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*MongodbClusterHostObservation) DeepCopy

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

func (*MongodbClusterHostObservation) DeepCopyInto

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

type MongodbClusterHostParameters

type MongodbClusterHostParameters struct {

	// +kubebuilder:validation:Optional
	AssignPublicIP *bool `json:"assignPublicIp,omitempty" tf:"assign_public_ip,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) The role of the cluster (either PRIMARY or SECONDARY).
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) The name of the shard to which the host belongs.
	ShardName *string `json:"shardName,omitempty" tf:"shard_name,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	// (Required) The ID of the subnet, to which the host belongs. The subnet must
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional) type of mongo daemon which runs on this host (mongod, mongos or monogcfg). Defaults to mongod.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) The availability zone where the MongoDB host will be created.
	ZoneID *string `json:"zoneId" tf:"zone_id,omitempty"`
}

func (*MongodbClusterHostParameters) DeepCopy

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

func (*MongodbClusterHostParameters) DeepCopyInto

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

type MongodbClusterList

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

MongodbClusterList contains a list of MongodbClusters

func (*MongodbClusterList) DeepCopy

func (in *MongodbClusterList) DeepCopy() *MongodbClusterList

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

func (*MongodbClusterList) DeepCopyInto

func (in *MongodbClusterList) DeepCopyInto(out *MongodbClusterList)

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

func (*MongodbClusterList) DeepCopyObject

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

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

func (*MongodbClusterList) GetItems

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

GetItems of this MongodbClusterList.

type MongodbClusterMaintenanceWindowObservation

type MongodbClusterMaintenanceWindowObservation struct {
}

func (*MongodbClusterMaintenanceWindowObservation) DeepCopy

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

func (*MongodbClusterMaintenanceWindowObservation) DeepCopyInto

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

type MongodbClusterMaintenanceWindowParameters

type MongodbClusterMaintenanceWindowParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Day of week for maintenance window if window type is weekly. Possible values: `MON`, `TUE`, `WED`, `THU`, `FRI`, `SAT`, `SUN`.
	Day *string `json:"day,omitempty" tf:"day,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
	Hour *float64 `json:"hour,omitempty" tf:"hour,omitempty"`

	// +kubebuilder:validation:Required
	// (Optional) type of mongo daemon which runs on this host (mongod, mongos or monogcfg). Defaults to mongod.
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*MongodbClusterMaintenanceWindowParameters) DeepCopy

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

func (*MongodbClusterMaintenanceWindowParameters) DeepCopyInto

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

type MongodbClusterObservation

type MongodbClusterObservation struct {
	// (Required) Configuration of the MongoDB subcluster. The structure is documented below.
	ClusterConfig []ClusterConfigObservation `json:"clusterConfig,omitempty" tf:"cluster_config,omitempty"`

	// Creation timestamp of the key.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// (Computed) The health of the host.
	Health *string `json:"health,omitempty" tf:"health,omitempty"`

	// (Required) A host of the MongoDB cluster. The structure is documented below.
	Host []MongodbClusterHostObservation `json:"host,omitempty" tf:"host,omitempty"`

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

	// MongoDB Cluster mode enabled/disabled.
	Sharded *bool `json:"sharded,omitempty" tf:"sharded,omitempty"`

	// Status of the cluster. Can be either `CREATING`, `STARTING`, `RUNNING`, `UPDATING`, `STOPPING`, `STOPPED`, `ERROR` or `STATUS_UNKNOWN`.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*MongodbClusterObservation) DeepCopy

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

func (*MongodbClusterObservation) DeepCopyInto

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

type MongodbClusterParameters

type MongodbClusterParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Configuration of the MongoDB subcluster. The structure is documented below.
	ClusterConfig []ClusterConfigParameters `json:"clusterConfig" tf:"cluster_config,omitempty"`

	// +kubebuilder:validation:Optional
	// The ID of the cluster.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) A database of the MongoDB cluster. The structure is documented below.
	Database []DatabaseParameters `json:"database" tf:"database,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Inhibits deletion of the cluster.  Can be either `true` or `false`.
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Description of the MongoDB cluster.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Deployment environment of the MongoDB cluster. Can be either `PRESTABLE` or `PRODUCTION`.
	Environment *string `json:"environment" tf:"environment,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	// (Optional) The ID of the folder that the resource belongs to. If it
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	// (Required) A host of the MongoDB cluster. The structure is documented below.
	Host []MongodbClusterHostParameters `json:"host" tf:"host,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) A set of key/value label pairs to assign to the MongoDB cluster.
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// +kubebuilder:validation:Optional
	MaintenanceWindow []MongodbClusterMaintenanceWindowParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Name of the MongoDB cluster. Provided by the client when the cluster is created.
	Name *string `json:"name" tf:"name,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.Network
	// +kubebuilder:validation:Optional
	// (Required) ID of the network, to which the MongoDB cluster belongs.
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// +kubebuilder:validation:Optional
	NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	// (Required) Resources allocated to hosts of the MongoDB cluster. The structure is documented below.
	Resources []MongodbClusterResourcesParameters `json:"resources" tf:"resources,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.SecurityGroup
	// +kubebuilder:validation:Optional
	// (Optional) A set of ids of security groups assigned to hosts of the cluster.
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// +kubebuilder:validation:Optional
	SecurityGroupIdsRefs []v1.Reference `json:"securityGroupIdsRefs,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SecurityGroupIdsSelector *v1.Selector `json:"securityGroupIdsSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	// (Required) A user of the MongoDB cluster. The structure is documented below.
	User []UserParameters `json:"user" tf:"user,omitempty"`
}

func (*MongodbClusterParameters) DeepCopy

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

func (*MongodbClusterParameters) DeepCopyInto

func (in *MongodbClusterParameters) DeepCopyInto(out *MongodbClusterParameters)

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

type MongodbClusterResourcesObservation

type MongodbClusterResourcesObservation struct {
}

func (*MongodbClusterResourcesObservation) DeepCopy

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

func (*MongodbClusterResourcesObservation) DeepCopyInto

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

type MongodbClusterResourcesParameters

type MongodbClusterResourcesParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Volume of the storage available to a MongoDB host, in gigabytes.
	DiskSize *float64 `json:"diskSize" tf:"disk_size,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Type of the storage of MongoDB hosts.
	DiskTypeID *string `json:"diskTypeId" tf:"disk_type_id,omitempty"`

	// +kubebuilder:validation:Required
	ResourcePresetID *string `json:"resourcePresetId" tf:"resource_preset_id,omitempty"`
}

func (*MongodbClusterResourcesParameters) DeepCopy

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

func (*MongodbClusterResourcesParameters) DeepCopyInto

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

type MongodbClusterSpec

type MongodbClusterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MongodbClusterParameters `json:"forProvider"`
}

MongodbClusterSpec defines the desired state of MongodbCluster

func (*MongodbClusterSpec) DeepCopy

func (in *MongodbClusterSpec) DeepCopy() *MongodbClusterSpec

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

func (*MongodbClusterSpec) DeepCopyInto

func (in *MongodbClusterSpec) DeepCopyInto(out *MongodbClusterSpec)

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

type MongodbClusterStatus

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

MongodbClusterStatus defines the observed state of MongodbCluster.

func (*MongodbClusterStatus) DeepCopy

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

func (*MongodbClusterStatus) DeepCopyInto

func (in *MongodbClusterStatus) DeepCopyInto(out *MongodbClusterStatus)

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

type MySQLCluster

type MySQLCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MySQLClusterSpec   `json:"spec"`
	Status            MySQLClusterStatus `json:"status,omitempty"`
}

MySQLCluster is the Schema for the MySQLClusters API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,yandex-cloud}

func (*MySQLCluster) DeepCopy

func (in *MySQLCluster) DeepCopy() *MySQLCluster

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

func (*MySQLCluster) DeepCopyInto

func (in *MySQLCluster) DeepCopyInto(out *MySQLCluster)

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

func (*MySQLCluster) DeepCopyObject

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

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

func (*MySQLCluster) GetCondition

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

GetCondition of this MySQLCluster.

func (*MySQLCluster) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MySQLCluster

func (*MySQLCluster) GetDeletionPolicy

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

GetDeletionPolicy of this MySQLCluster.

func (*MySQLCluster) GetID

func (tr *MySQLCluster) GetID() string

GetID returns ID of underlying Terraform resource of this MySQLCluster

func (*MySQLCluster) GetObservation

func (tr *MySQLCluster) GetObservation() (map[string]interface{}, error)

GetObservation of this MySQLCluster

func (*MySQLCluster) GetParameters

func (tr *MySQLCluster) GetParameters() (map[string]interface{}, error)

GetParameters of this MySQLCluster

func (*MySQLCluster) GetProviderConfigReference

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

GetProviderConfigReference of this MySQLCluster.

func (*MySQLCluster) GetProviderReference

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

GetProviderReference of this MySQLCluster. Deprecated: Use GetProviderConfigReference.

func (*MySQLCluster) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MySQLCluster.

func (*MySQLCluster) GetTerraformResourceType

func (mg *MySQLCluster) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MySQLCluster

func (*MySQLCluster) GetTerraformSchemaVersion

func (tr *MySQLCluster) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MySQLCluster) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MySQLCluster.

func (*MySQLCluster) LateInitialize

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

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

func (*MySQLCluster) ResolveReferences

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

ResolveReferences of this MySQLCluster.

func (*MySQLCluster) SetConditions

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

SetConditions of this MySQLCluster.

func (*MySQLCluster) SetDeletionPolicy

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

SetDeletionPolicy of this MySQLCluster.

func (*MySQLCluster) SetObservation

func (tr *MySQLCluster) SetObservation(obs map[string]interface{}) error

SetObservation for this MySQLCluster

func (*MySQLCluster) SetParameters

func (tr *MySQLCluster) SetParameters(params map[string]interface{}) error

SetParameters for this MySQLCluster

func (*MySQLCluster) SetProviderConfigReference

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

SetProviderConfigReference of this MySQLCluster.

func (*MySQLCluster) SetProviderReference

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

SetProviderReference of this MySQLCluster. Deprecated: Use SetProviderConfigReference.

func (*MySQLCluster) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MySQLCluster.

func (*MySQLCluster) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MySQLCluster.

type MySQLClusterAccessObservation

type MySQLClusterAccessObservation struct {
}

func (*MySQLClusterAccessObservation) DeepCopy

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

func (*MySQLClusterAccessObservation) DeepCopyInto

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

type MySQLClusterAccessParameters

type MySQLClusterAccessParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Allow access for [Yandex DataLens](https://cloud.yandex.com/services/datalens).
	DataLens *bool `json:"dataLens,omitempty" tf:"data_lens,omitempty"`

	// +kubebuilder:validation:Optional
	// Allows access for [SQL queries in the management console](https://cloud.yandex.com/docs/managed-mysql/operations/web-sql-query).
	WebSQL *bool `json:"webSql,omitempty" tf:"web_sql,omitempty"`
}

func (*MySQLClusterAccessParameters) DeepCopy

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

func (*MySQLClusterAccessParameters) DeepCopyInto

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

type MySQLClusterBackupWindowStartObservation

type MySQLClusterBackupWindowStartObservation struct {
}

func (*MySQLClusterBackupWindowStartObservation) DeepCopy

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

func (*MySQLClusterBackupWindowStartObservation) DeepCopyInto

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

type MySQLClusterBackupWindowStartParameters

type MySQLClusterBackupWindowStartParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) The hour at which backup will be started.
	Hours *float64 `json:"hours,omitempty" tf:"hours,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) The minute at which backup will be started.
	Minutes *float64 `json:"minutes,omitempty" tf:"minutes,omitempty"`
}

func (*MySQLClusterBackupWindowStartParameters) DeepCopy

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

func (*MySQLClusterBackupWindowStartParameters) DeepCopyInto

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

type MySQLClusterDatabaseObservation

type MySQLClusterDatabaseObservation struct {
}

func (*MySQLClusterDatabaseObservation) DeepCopy

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

func (*MySQLClusterDatabaseObservation) DeepCopyInto

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

type MySQLClusterDatabaseParameters

type MySQLClusterDatabaseParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Name of the MySQL cluster. Provided by the client when the cluster is created.
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*MySQLClusterDatabaseParameters) DeepCopy

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

func (*MySQLClusterDatabaseParameters) DeepCopyInto

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

type MySQLClusterHostObservation

type MySQLClusterHostObservation struct {
	// (Computed) The fully qualified domain name of the host.
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// (Computed) Host replication source (fqdn), when replication_source is empty then host is in HA group.
	ReplicationSource *string `json:"replicationSource,omitempty" tf:"replication_source,omitempty"`
}

func (*MySQLClusterHostObservation) DeepCopy

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

func (*MySQLClusterHostObservation) DeepCopyInto

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

type MySQLClusterHostParameters

type MySQLClusterHostParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Sets whether the host should get a public IP address. It can be changed on the fly only when `name` is set.
	AssignPublicIP *bool `json:"assignPublicIp,omitempty" tf:"assign_public_ip,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Host backup priority. Value is between 0 and 100, default is 0.
	BackupPriority *float64 `json:"backupPriority,omitempty" tf:"backup_priority,omitempty"`

	// +kubebuilder:validation:Optional
	// (Required) Name of the MySQL cluster. Provided by the client when the cluster is created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Host master promotion priority. Value is between 0 and 100, default is 0.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Host replication source name points to host's `name` from which this host should replicate. When not set then host in HA group. It works only when `name` is set.
	ReplicationSourceName *string `json:"replicationSourceName,omitempty" tf:"replication_source_name,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	// (Optional) The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	// (Required) The availability zone where the MySQL host will be created.
	Zone *string `json:"zone" tf:"zone,omitempty"`
}

func (*MySQLClusterHostParameters) DeepCopy

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

func (*MySQLClusterHostParameters) DeepCopyInto

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

type MySQLClusterList

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

MySQLClusterList contains a list of MySQLClusters

func (*MySQLClusterList) DeepCopy

func (in *MySQLClusterList) DeepCopy() *MySQLClusterList

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

func (*MySQLClusterList) DeepCopyInto

func (in *MySQLClusterList) DeepCopyInto(out *MySQLClusterList)

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

func (*MySQLClusterList) DeepCopyObject

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

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

func (*MySQLClusterList) GetItems

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

GetItems of this MySQLClusterList.

type MySQLClusterMaintenanceWindowObservation

type MySQLClusterMaintenanceWindowObservation struct {
}

func (*MySQLClusterMaintenanceWindowObservation) DeepCopy

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

func (*MySQLClusterMaintenanceWindowObservation) DeepCopyInto

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

type MySQLClusterMaintenanceWindowParameters

type MySQLClusterMaintenanceWindowParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Day of the week (in `DDD` format). Allowed values: "MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"
	Day *string `json:"day,omitempty" tf:"day,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Hour of the day in UTC (in `HH` format). Allowed value is between 0 and 23.
	Hour *float64 `json:"hour,omitempty" tf:"hour,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Type of maintenance window. Can be either `ANYTIME` or `WEEKLY`. A day and hour of window need to be specified with weekly window.
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*MySQLClusterMaintenanceWindowParameters) DeepCopy

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

func (*MySQLClusterMaintenanceWindowParameters) DeepCopyInto

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

type MySQLClusterObservation

type MySQLClusterObservation struct {
	// Creation timestamp of the cluster.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Aggregated health of the cluster.
	Health *string `json:"health,omitempty" tf:"health,omitempty"`

	// (Required) A host of the MySQL cluster. The structure is documented below.
	Host []MySQLClusterHostObservation `json:"host,omitempty" tf:"host,omitempty"`

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

	// Status of the cluster.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*MySQLClusterObservation) DeepCopy

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

func (*MySQLClusterObservation) DeepCopyInto

func (in *MySQLClusterObservation) DeepCopyInto(out *MySQLClusterObservation)

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

type MySQLClusterParameters

type MySQLClusterParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Access policy to the MySQL cluster. The structure is documented below.
	Access []MySQLClusterAccessParameters `json:"access,omitempty" tf:"access,omitempty"`

	// +kubebuilder:validation:Optional
	AllowRegenerationHost *bool `json:"allowRegenerationHost,omitempty" tf:"allow_regeneration_host,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Time to start the daily backup, in the UTC. The structure is documented below.
	BackupWindowStart []MySQLClusterBackupWindowStartParameters `json:"backupWindowStart,omitempty" tf:"backup_window_start,omitempty"`

	// +kubebuilder:validation:Optional
	// (Deprecated) To manage databases, please switch to using a separate resource type `yandex_mdb_mysql_databases`.
	Database []MySQLClusterDatabaseParameters `json:"database,omitempty" tf:"database,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Inhibits deletion of the cluster.  Can be either `true` or `false`.
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Description of the MySQL cluster.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Deployment environment of the MySQL cluster.
	Environment *string `json:"environment" tf:"environment,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	// (Optional) The ID of the folder that the resource belongs to. If it
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	// (Required) A host of the MySQL cluster. The structure is documented below.
	Host []MySQLClusterHostParameters `json:"host" tf:"host,omitempty"`

	// +kubebuilder:validation:Optional
	HostGroupIds []*string `json:"hostGroupIds,omitempty" tf:"host_group_ids,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) A set of key/value label pairs to assign to the MySQL cluster.
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Maintenance policy of the MySQL cluster. The structure is documented below.
	MaintenanceWindow []MySQLClusterMaintenanceWindowParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) MySQL cluster config. Detail info in "MySQL config" section (documented below).
	MySQLConfig map[string]*string `json:"mysqlConfig,omitempty" tf:"mysql_config,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Name of the MySQL cluster. Provided by the client when the cluster is created.
	Name *string `json:"name" tf:"name,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.Network
	// +kubebuilder:validation:Optional
	// (Required) ID of the network, to which the MySQL cluster uses.
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// +kubebuilder:validation:Optional
	NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional) Cluster performance diagnostics settings. The structure is documented below. [YC Documentation](https://cloud.yandex.com/en-ru/docs/managed-mysql/api-ref/grpc/cluster_service#PerformanceDiagnostics)
	PerformanceDiagnostics []PerformanceDiagnosticsParameters `json:"performanceDiagnostics,omitempty" tf:"performance_diagnostics,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Resources allocated to hosts of the MySQL cluster. The structure is documented below.
	Resources []MySQLClusterResourcesParameters `json:"resources" tf:"resources,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional, ForceNew) The cluster will be created from the specified backup. The structure is documented below.
	Restore []RestoreParameters `json:"restore,omitempty" tf:"restore,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.SecurityGroup
	// +kubebuilder:validation:Optional
	// (Optional) A set of ids of security groups assigned to hosts of the cluster.
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// +kubebuilder:validation:Optional
	SecurityGroupIdsRefs []v1.Reference `json:"securityGroupIdsRefs,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SecurityGroupIdsSelector *v1.Selector `json:"securityGroupIdsSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Deprecated) To manage users, please switch to using a separate resource type `yandex_mdb_mysql_user`.
	User []MySQLClusterUserParameters `json:"user,omitempty" tf:"user,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Version of the MySQL cluster. (allowed versions are: 5.7, 8.0)
	Version *string `json:"version" tf:"version,omitempty"`
}

func (*MySQLClusterParameters) DeepCopy

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

func (*MySQLClusterParameters) DeepCopyInto

func (in *MySQLClusterParameters) DeepCopyInto(out *MySQLClusterParameters)

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

type MySQLClusterResourcesObservation

type MySQLClusterResourcesObservation struct {
}

func (*MySQLClusterResourcesObservation) DeepCopy

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

func (*MySQLClusterResourcesObservation) DeepCopyInto

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

type MySQLClusterResourcesParameters

type MySQLClusterResourcesParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Volume of the storage available to a MySQL host, in gigabytes.
	DiskSize *float64 `json:"diskSize" tf:"disk_size,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Type of the storage of MySQL hosts.
	DiskTypeID *string `json:"diskTypeId" tf:"disk_type_id,omitempty"`

	// +kubebuilder:validation:Required
	ResourcePresetID *string `json:"resourcePresetId" tf:"resource_preset_id,omitempty"`
}

func (*MySQLClusterResourcesParameters) DeepCopy

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

func (*MySQLClusterResourcesParameters) DeepCopyInto

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

type MySQLClusterSpec

type MySQLClusterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MySQLClusterParameters `json:"forProvider"`
}

MySQLClusterSpec defines the desired state of MySQLCluster

func (*MySQLClusterSpec) DeepCopy

func (in *MySQLClusterSpec) DeepCopy() *MySQLClusterSpec

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

func (*MySQLClusterSpec) DeepCopyInto

func (in *MySQLClusterSpec) DeepCopyInto(out *MySQLClusterSpec)

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

type MySQLClusterStatus

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

MySQLClusterStatus defines the observed state of MySQLCluster.

func (*MySQLClusterStatus) DeepCopy

func (in *MySQLClusterStatus) DeepCopy() *MySQLClusterStatus

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

func (*MySQLClusterStatus) DeepCopyInto

func (in *MySQLClusterStatus) DeepCopyInto(out *MySQLClusterStatus)

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

type MySQLClusterUserObservation

type MySQLClusterUserObservation struct {
}

func (*MySQLClusterUserObservation) DeepCopy

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

func (*MySQLClusterUserObservation) DeepCopyInto

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

type MySQLClusterUserParameters

type MySQLClusterUserParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Authentication plugin. Allowed values: `MYSQL_NATIVE_PASSWORD`, `CACHING_SHA2_PASSWORD`, `SHA256_PASSWORD` (for version 5.7 `MYSQL_NATIVE_PASSWORD`, `SHA256_PASSWORD`)
	AuthenticationPlugin *string `json:"authenticationPlugin,omitempty" tf:"authentication_plugin,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) User's connection limits. The structure is documented below.
	ConnectionLimits []ConnectionLimitsParameters `json:"connectionLimits,omitempty" tf:"connection_limits,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) List user's global permissions
	GlobalPermissions []*string `json:"globalPermissions,omitempty" tf:"global_permissions,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Name of the MySQL cluster. Provided by the client when the cluster is created.
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional) Set of permissions granted to the user. The structure is documented below.
	Permission []UserPermissionParameters `json:"permission,omitempty" tf:"permission,omitempty"`
}

func (*MySQLClusterUserParameters) DeepCopy

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

func (*MySQLClusterUserParameters) DeepCopyInto

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

type MySQLDatabase

type MySQLDatabase struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MySQLDatabaseSpec   `json:"spec"`
	Status            MySQLDatabaseStatus `json:"status,omitempty"`
}

MySQLDatabase is the Schema for the MySQLDatabases API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,yandex-cloud}

func (*MySQLDatabase) DeepCopy

func (in *MySQLDatabase) DeepCopy() *MySQLDatabase

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

func (*MySQLDatabase) DeepCopyInto

func (in *MySQLDatabase) DeepCopyInto(out *MySQLDatabase)

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

func (*MySQLDatabase) DeepCopyObject

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

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

func (*MySQLDatabase) GetCondition

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

GetCondition of this MySQLDatabase.

func (*MySQLDatabase) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MySQLDatabase

func (*MySQLDatabase) GetDeletionPolicy

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

GetDeletionPolicy of this MySQLDatabase.

func (*MySQLDatabase) GetID

func (tr *MySQLDatabase) GetID() string

GetID returns ID of underlying Terraform resource of this MySQLDatabase

func (*MySQLDatabase) GetObservation

func (tr *MySQLDatabase) GetObservation() (map[string]interface{}, error)

GetObservation of this MySQLDatabase

func (*MySQLDatabase) GetParameters

func (tr *MySQLDatabase) GetParameters() (map[string]interface{}, error)

GetParameters of this MySQLDatabase

func (*MySQLDatabase) GetProviderConfigReference

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

GetProviderConfigReference of this MySQLDatabase.

func (*MySQLDatabase) GetProviderReference

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

GetProviderReference of this MySQLDatabase. Deprecated: Use GetProviderConfigReference.

func (*MySQLDatabase) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MySQLDatabase.

func (*MySQLDatabase) GetTerraformResourceType

func (mg *MySQLDatabase) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MySQLDatabase

func (*MySQLDatabase) GetTerraformSchemaVersion

func (tr *MySQLDatabase) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MySQLDatabase) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MySQLDatabase.

func (*MySQLDatabase) LateInitialize

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

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

func (*MySQLDatabase) ResolveReferences

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

ResolveReferences of this MySQLDatabase.

func (*MySQLDatabase) SetConditions

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

SetConditions of this MySQLDatabase.

func (*MySQLDatabase) SetDeletionPolicy

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

SetDeletionPolicy of this MySQLDatabase.

func (*MySQLDatabase) SetObservation

func (tr *MySQLDatabase) SetObservation(obs map[string]interface{}) error

SetObservation for this MySQLDatabase

func (*MySQLDatabase) SetParameters

func (tr *MySQLDatabase) SetParameters(params map[string]interface{}) error

SetParameters for this MySQLDatabase

func (*MySQLDatabase) SetProviderConfigReference

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

SetProviderConfigReference of this MySQLDatabase.

func (*MySQLDatabase) SetProviderReference

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

SetProviderReference of this MySQLDatabase. Deprecated: Use SetProviderConfigReference.

func (*MySQLDatabase) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MySQLDatabase.

func (*MySQLDatabase) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MySQLDatabase.

type MySQLDatabaseList

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

MySQLDatabaseList contains a list of MySQLDatabases

func (*MySQLDatabaseList) DeepCopy

func (in *MySQLDatabaseList) DeepCopy() *MySQLDatabaseList

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

func (*MySQLDatabaseList) DeepCopyInto

func (in *MySQLDatabaseList) DeepCopyInto(out *MySQLDatabaseList)

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

func (*MySQLDatabaseList) DeepCopyObject

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

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

func (*MySQLDatabaseList) GetItems

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

GetItems of this MySQLDatabaseList.

type MySQLDatabaseObservation

type MySQLDatabaseObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*MySQLDatabaseObservation) DeepCopy

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

func (*MySQLDatabaseObservation) DeepCopyInto

func (in *MySQLDatabaseObservation) DeepCopyInto(out *MySQLDatabaseObservation)

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

type MySQLDatabaseParameters

type MySQLDatabaseParameters struct {

	// +crossplane:generate:reference:type=MySQLCluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	// (Required) The name of the database.
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*MySQLDatabaseParameters) DeepCopy

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

func (*MySQLDatabaseParameters) DeepCopyInto

func (in *MySQLDatabaseParameters) DeepCopyInto(out *MySQLDatabaseParameters)

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

type MySQLDatabaseSpec

type MySQLDatabaseSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MySQLDatabaseParameters `json:"forProvider"`
}

MySQLDatabaseSpec defines the desired state of MySQLDatabase

func (*MySQLDatabaseSpec) DeepCopy

func (in *MySQLDatabaseSpec) DeepCopy() *MySQLDatabaseSpec

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

func (*MySQLDatabaseSpec) DeepCopyInto

func (in *MySQLDatabaseSpec) DeepCopyInto(out *MySQLDatabaseSpec)

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

type MySQLDatabaseStatus

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

MySQLDatabaseStatus defines the observed state of MySQLDatabase.

func (*MySQLDatabaseStatus) DeepCopy

func (in *MySQLDatabaseStatus) DeepCopy() *MySQLDatabaseStatus

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

func (*MySQLDatabaseStatus) DeepCopyInto

func (in *MySQLDatabaseStatus) DeepCopyInto(out *MySQLDatabaseStatus)

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

type MySQLUser

type MySQLUser struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MySQLUserSpec   `json:"spec"`
	Status            MySQLUserStatus `json:"status,omitempty"`
}

MySQLUser is the Schema for the MySQLUsers API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,yandex-cloud}

func (*MySQLUser) DeepCopy

func (in *MySQLUser) DeepCopy() *MySQLUser

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

func (*MySQLUser) DeepCopyInto

func (in *MySQLUser) DeepCopyInto(out *MySQLUser)

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

func (*MySQLUser) DeepCopyObject

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

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

func (*MySQLUser) GetCondition

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

GetCondition of this MySQLUser.

func (*MySQLUser) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MySQLUser

func (*MySQLUser) GetDeletionPolicy

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

GetDeletionPolicy of this MySQLUser.

func (*MySQLUser) GetID

func (tr *MySQLUser) GetID() string

GetID returns ID of underlying Terraform resource of this MySQLUser

func (*MySQLUser) GetObservation

func (tr *MySQLUser) GetObservation() (map[string]interface{}, error)

GetObservation of this MySQLUser

func (*MySQLUser) GetParameters

func (tr *MySQLUser) GetParameters() (map[string]interface{}, error)

GetParameters of this MySQLUser

func (*MySQLUser) GetProviderConfigReference

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

GetProviderConfigReference of this MySQLUser.

func (*MySQLUser) GetProviderReference

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

GetProviderReference of this MySQLUser. Deprecated: Use GetProviderConfigReference.

func (*MySQLUser) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MySQLUser.

func (*MySQLUser) GetTerraformResourceType

func (mg *MySQLUser) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MySQLUser

func (*MySQLUser) GetTerraformSchemaVersion

func (tr *MySQLUser) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MySQLUser) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MySQLUser.

func (*MySQLUser) LateInitialize

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

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

func (*MySQLUser) ResolveReferences

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

ResolveReferences of this MySQLUser.

func (*MySQLUser) SetConditions

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

SetConditions of this MySQLUser.

func (*MySQLUser) SetDeletionPolicy

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

SetDeletionPolicy of this MySQLUser.

func (*MySQLUser) SetObservation

func (tr *MySQLUser) SetObservation(obs map[string]interface{}) error

SetObservation for this MySQLUser

func (*MySQLUser) SetParameters

func (tr *MySQLUser) SetParameters(params map[string]interface{}) error

SetParameters for this MySQLUser

func (*MySQLUser) SetProviderConfigReference

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

SetProviderConfigReference of this MySQLUser.

func (*MySQLUser) SetProviderReference

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

SetProviderReference of this MySQLUser. Deprecated: Use SetProviderConfigReference.

func (*MySQLUser) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MySQLUser.

func (*MySQLUser) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MySQLUser.

type MySQLUserConnectionLimitsObservation

type MySQLUserConnectionLimitsObservation struct {
}

func (*MySQLUserConnectionLimitsObservation) DeepCopy

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

func (*MySQLUserConnectionLimitsObservation) DeepCopyInto

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

type MySQLUserConnectionLimitsParameters

type MySQLUserConnectionLimitsParameters struct {

	// +kubebuilder:validation:Optional
	// Max connections per hour.
	MaxConnectionsPerHour *float64 `json:"maxConnectionsPerHour,omitempty" tf:"max_connections_per_hour,omitempty"`

	// +kubebuilder:validation:Optional
	// Max questions per hour.
	MaxQuestionsPerHour *float64 `json:"maxQuestionsPerHour,omitempty" tf:"max_questions_per_hour,omitempty"`

	// +kubebuilder:validation:Optional
	// Max updates per hour.
	MaxUpdatesPerHour *float64 `json:"maxUpdatesPerHour,omitempty" tf:"max_updates_per_hour,omitempty"`

	// +kubebuilder:validation:Optional
	// Max user connections.
	MaxUserConnections *float64 `json:"maxUserConnections,omitempty" tf:"max_user_connections,omitempty"`
}

func (*MySQLUserConnectionLimitsParameters) DeepCopy

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

func (*MySQLUserConnectionLimitsParameters) DeepCopyInto

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

type MySQLUserList

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

MySQLUserList contains a list of MySQLUsers

func (*MySQLUserList) DeepCopy

func (in *MySQLUserList) DeepCopy() *MySQLUserList

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

func (*MySQLUserList) DeepCopyInto

func (in *MySQLUserList) DeepCopyInto(out *MySQLUserList)

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

func (*MySQLUserList) DeepCopyObject

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

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

func (*MySQLUserList) GetItems

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

GetItems of this MySQLUserList.

type MySQLUserObservation

type MySQLUserObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*MySQLUserObservation) DeepCopy

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

func (*MySQLUserObservation) DeepCopyInto

func (in *MySQLUserObservation) DeepCopyInto(out *MySQLUserObservation)

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

type MySQLUserParameters

type MySQLUserParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Authentication plugin. Allowed values: `MYSQL_NATIVE_PASSWORD`, `CACHING_SHA2_PASSWORD`, `SHA256_PASSWORD` (for version 5.7 `MYSQL_NATIVE_PASSWORD`, `SHA256_PASSWORD`)
	AuthenticationPlugin *string `json:"authenticationPlugin,omitempty" tf:"authentication_plugin,omitempty"`

	// +crossplane:generate:reference:type=MySQLCluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional) User's connection limits. The structure is documented below.
	ConnectionLimits []MySQLUserConnectionLimitsParameters `json:"connectionLimits,omitempty" tf:"connection_limits,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) List user's global permissions
	GlobalPermissions []*string `json:"globalPermissions,omitempty" tf:"global_permissions,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) The name of the user.
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional) Set of permissions granted to the user. The structure is documented below.
	Permission []MySQLUserPermissionParameters `json:"permission,omitempty" tf:"permission,omitempty"`
}

func (*MySQLUserParameters) DeepCopy

func (in *MySQLUserParameters) DeepCopy() *MySQLUserParameters

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

func (*MySQLUserParameters) DeepCopyInto

func (in *MySQLUserParameters) DeepCopyInto(out *MySQLUserParameters)

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

type MySQLUserPermissionObservation

type MySQLUserPermissionObservation struct {
}

func (*MySQLUserPermissionObservation) DeepCopy

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

func (*MySQLUserPermissionObservation) DeepCopyInto

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

type MySQLUserPermissionParameters

type MySQLUserPermissionParameters struct {

	// +kubebuilder:validation:Required
	// (Required) The name of the database that the permission grants access to.
	DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) List user's roles in the database.
	Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"`
}

func (*MySQLUserPermissionParameters) DeepCopy

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

func (*MySQLUserPermissionParameters) DeepCopyInto

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

type MySQLUserSpec

type MySQLUserSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MySQLUserParameters `json:"forProvider"`
}

MySQLUserSpec defines the desired state of MySQLUser

func (*MySQLUserSpec) DeepCopy

func (in *MySQLUserSpec) DeepCopy() *MySQLUserSpec

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

func (*MySQLUserSpec) DeepCopyInto

func (in *MySQLUserSpec) DeepCopyInto(out *MySQLUserSpec)

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

type MySQLUserStatus

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

MySQLUserStatus defines the observed state of MySQLUser.

func (*MySQLUserStatus) DeepCopy

func (in *MySQLUserStatus) DeepCopy() *MySQLUserStatus

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

func (*MySQLUserStatus) DeepCopyInto

func (in *MySQLUserStatus) DeepCopyInto(out *MySQLUserStatus)

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

type PerformanceDiagnosticsObservation

type PerformanceDiagnosticsObservation struct {
}

func (*PerformanceDiagnosticsObservation) DeepCopy

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

func (*PerformanceDiagnosticsObservation) DeepCopyInto

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

type PerformanceDiagnosticsParameters

type PerformanceDiagnosticsParameters struct {

	// +kubebuilder:validation:Optional
	// Enable performance diagnostics
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// +kubebuilder:validation:Required
	// Interval (in seconds) for my_stat_activity sampling Acceptable values are 1 to 86400, inclusive.
	SessionsSamplingInterval *float64 `json:"sessionsSamplingInterval" tf:"sessions_sampling_interval,omitempty"`

	// +kubebuilder:validation:Required
	// Interval (in seconds) for my_stat_statements sampling Acceptable values are 1 to 86400, inclusive.
	StatementsSamplingInterval *float64 `json:"statementsSamplingInterval" tf:"statements_sampling_interval,omitempty"`
}

func (*PerformanceDiagnosticsParameters) DeepCopy

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

func (*PerformanceDiagnosticsParameters) DeepCopyInto

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

type PermissionObservation

type PermissionObservation struct {
}

func (*PermissionObservation) DeepCopy

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

func (*PermissionObservation) DeepCopyInto

func (in *PermissionObservation) DeepCopyInto(out *PermissionObservation)

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

type PermissionParameters

type PermissionParameters struct {

	// +kubebuilder:validation:Required
	// (Required) The name of the database that the permission grants access to.
	DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) The roles of the user in this database. For more information see [the official documentation](https://cloud.yandex.com/docs/managed-mongodb/concepts/users-and-roles).
	Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"`
}

func (*PermissionParameters) DeepCopy

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

func (*PermissionParameters) DeepCopyInto

func (in *PermissionParameters) DeepCopyInto(out *PermissionParameters)

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

type PoolerConfigObservation

type PoolerConfigObservation struct {
}

func (*PoolerConfigObservation) DeepCopy

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

func (*PoolerConfigObservation) DeepCopyInto

func (in *PoolerConfigObservation) DeepCopyInto(out *PoolerConfigObservation)

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

type PoolerConfigParameters

type PoolerConfigParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Setting `pool_discard` [parameter in Odyssey](https://github.com/yandex/odyssey/blob/master/documentation/configuration.md#pool_discard-yesno).
	PoolDiscard *bool `json:"poolDiscard,omitempty" tf:"pool_discard,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Mode that the connection pooler is working in. See descriptions of all modes in the [documentation for Odyssey](https://github.com/yandex/odyssey/blob/master/documentation/configuration.md#pool-string.
	PoolingMode *string `json:"poolingMode,omitempty" tf:"pooling_mode,omitempty"`
}

func (*PoolerConfigParameters) DeepCopy

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

func (*PoolerConfigParameters) DeepCopyInto

func (in *PoolerConfigParameters) DeepCopyInto(out *PoolerConfigParameters)

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

type PostgresqlCluster

type PostgresqlCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PostgresqlClusterSpec   `json:"spec"`
	Status            PostgresqlClusterStatus `json:"status,omitempty"`
}

PostgresqlCluster is the Schema for the PostgresqlClusters API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,yandex-cloud}

func (*PostgresqlCluster) DeepCopy

func (in *PostgresqlCluster) DeepCopy() *PostgresqlCluster

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

func (*PostgresqlCluster) DeepCopyInto

func (in *PostgresqlCluster) DeepCopyInto(out *PostgresqlCluster)

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

func (*PostgresqlCluster) DeepCopyObject

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

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

func (*PostgresqlCluster) GetCondition

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

GetCondition of this PostgresqlCluster.

func (*PostgresqlCluster) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PostgresqlCluster

func (*PostgresqlCluster) GetDeletionPolicy

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

GetDeletionPolicy of this PostgresqlCluster.

func (*PostgresqlCluster) GetID

func (tr *PostgresqlCluster) GetID() string

GetID returns ID of underlying Terraform resource of this PostgresqlCluster

func (*PostgresqlCluster) GetObservation

func (tr *PostgresqlCluster) GetObservation() (map[string]interface{}, error)

GetObservation of this PostgresqlCluster

func (*PostgresqlCluster) GetParameters

func (tr *PostgresqlCluster) GetParameters() (map[string]interface{}, error)

GetParameters of this PostgresqlCluster

func (*PostgresqlCluster) GetProviderConfigReference

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

GetProviderConfigReference of this PostgresqlCluster.

func (*PostgresqlCluster) GetProviderReference

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

GetProviderReference of this PostgresqlCluster. Deprecated: Use GetProviderConfigReference.

func (*PostgresqlCluster) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PostgresqlCluster.

func (*PostgresqlCluster) GetTerraformResourceType

func (mg *PostgresqlCluster) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PostgresqlCluster

func (*PostgresqlCluster) GetTerraformSchemaVersion

func (tr *PostgresqlCluster) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PostgresqlCluster) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PostgresqlCluster.

func (*PostgresqlCluster) LateInitialize

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

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

func (*PostgresqlCluster) ResolveReferences

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

ResolveReferences of this PostgresqlCluster.

func (*PostgresqlCluster) SetConditions

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

SetConditions of this PostgresqlCluster.

func (*PostgresqlCluster) SetDeletionPolicy

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

SetDeletionPolicy of this PostgresqlCluster.

func (*PostgresqlCluster) SetObservation

func (tr *PostgresqlCluster) SetObservation(obs map[string]interface{}) error

SetObservation for this PostgresqlCluster

func (*PostgresqlCluster) SetParameters

func (tr *PostgresqlCluster) SetParameters(params map[string]interface{}) error

SetParameters for this PostgresqlCluster

func (*PostgresqlCluster) SetProviderConfigReference

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

SetProviderConfigReference of this PostgresqlCluster.

func (*PostgresqlCluster) SetProviderReference

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

SetProviderReference of this PostgresqlCluster. Deprecated: Use SetProviderConfigReference.

func (*PostgresqlCluster) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PostgresqlCluster.

func (*PostgresqlCluster) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PostgresqlCluster.

type PostgresqlClusterConfigObservation

type PostgresqlClusterConfigObservation struct {
}

func (*PostgresqlClusterConfigObservation) DeepCopy

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

func (*PostgresqlClusterConfigObservation) DeepCopyInto

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

type PostgresqlClusterConfigParameters

type PostgresqlClusterConfigParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Access policy to the PostgreSQL cluster. The structure is documented below.
	Access []ConfigAccessParameters `json:"access,omitempty" tf:"access,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Configuration setting which enables/disables autofailover in cluster.
	Autofailover *bool `json:"autofailover,omitempty" tf:"autofailover,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) The period in days during which backups are stored.
	BackupRetainPeriodDays *float64 `json:"backupRetainPeriodDays,omitempty" tf:"backup_retain_period_days,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Time to start the daily backup, in the UTC timezone. The structure is documented below.
	BackupWindowStart []ConfigBackupWindowStartParameters `json:"backupWindowStart,omitempty" tf:"backup_window_start,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Cluster performance diagnostics settings. The structure is documented below. [YC Documentation](https://cloud.yandex.com/en-ru/docs/managed-postgresql/api-ref/grpc/cluster_service#PerformanceDiagnostics)
	PerformanceDiagnostics []ConfigPerformanceDiagnosticsParameters `json:"performanceDiagnostics,omitempty" tf:"performance_diagnostics,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Configuration of the connection pooler. The structure is documented below.
	PoolerConfig []PoolerConfigParameters `json:"poolerConfig,omitempty" tf:"pooler_config,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) PostgreSQL cluster config. Detail info in "postresql config" section (documented below).
	PostgresqlConfig map[string]*string `json:"postgresqlConfig,omitempty" tf:"postgresql_config,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Resources allocated to hosts of the PostgreSQL cluster. The structure is documented below.
	Resources []ConfigResourcesParameters `json:"resources" tf:"resources,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Version of the PostgreSQL cluster. (allowed versions are: 10, 10-1c, 11, 11-1c, 12, 12-1c, 13, 14)
	Version *string `json:"version" tf:"version,omitempty"`
}

func (*PostgresqlClusterConfigParameters) DeepCopy

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

func (*PostgresqlClusterConfigParameters) DeepCopyInto

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

type PostgresqlClusterDatabaseObservation

type PostgresqlClusterDatabaseObservation struct {
}

func (*PostgresqlClusterDatabaseObservation) DeepCopy

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

func (*PostgresqlClusterDatabaseObservation) DeepCopyInto

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

type PostgresqlClusterDatabaseParameters

type PostgresqlClusterDatabaseParameters struct {

	// +kubebuilder:validation:Optional
	Extension []ExtensionParameters `json:"extension,omitempty" tf:"extension,omitempty"`

	// +kubebuilder:validation:Optional
	LcCollate *string `json:"lcCollate,omitempty" tf:"lc_collate,omitempty"`

	// +kubebuilder:validation:Optional
	LcType *string `json:"lcType,omitempty" tf:"lc_type,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Name of the PostgreSQL cluster. Provided by the client when the cluster is created.
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	Owner *string `json:"owner" tf:"owner,omitempty"`
}

func (*PostgresqlClusterDatabaseParameters) DeepCopy

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

func (*PostgresqlClusterDatabaseParameters) DeepCopyInto

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

type PostgresqlClusterHostObservation

type PostgresqlClusterHostObservation struct {
	// (Computed) The fully qualified domain name of the host.
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// (Computed) Host replication source (fqdn), when replication_source is empty then host is in HA group.
	ReplicationSource *string `json:"replicationSource,omitempty" tf:"replication_source,omitempty"`

	Role *string `json:"role,omitempty" tf:"role,omitempty"`
}

func (*PostgresqlClusterHostObservation) DeepCopy

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

func (*PostgresqlClusterHostObservation) DeepCopyInto

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

type PostgresqlClusterHostParameters

type PostgresqlClusterHostParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Sets whether the host should get a public IP address on creation. It can be changed on the fly only when `name` is set.
	AssignPublicIP *bool `json:"assignPublicIp,omitempty" tf:"assign_public_ip,omitempty"`

	// +kubebuilder:validation:Optional
	// (Required) Name of the PostgreSQL cluster. Provided by the client when the cluster is created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	// Host priority in HA group. It works only when `name` is set.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Host replication source name points to host's `name` from which this host should replicate. When not set then host in HA group. It works only when `name` is set.
	ReplicationSourceName *string `json:"replicationSourceName,omitempty" tf:"replication_source_name,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	// (Optional) The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	// (Required) The availability zone where the PostgreSQL host will be created.
	Zone *string `json:"zone" tf:"zone,omitempty"`
}

func (*PostgresqlClusterHostParameters) DeepCopy

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

func (*PostgresqlClusterHostParameters) DeepCopyInto

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

type PostgresqlClusterList

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

PostgresqlClusterList contains a list of PostgresqlClusters

func (*PostgresqlClusterList) DeepCopy

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

func (*PostgresqlClusterList) DeepCopyInto

func (in *PostgresqlClusterList) DeepCopyInto(out *PostgresqlClusterList)

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

func (*PostgresqlClusterList) DeepCopyObject

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

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

func (*PostgresqlClusterList) GetItems

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

GetItems of this PostgresqlClusterList.

type PostgresqlClusterMaintenanceWindowObservation

type PostgresqlClusterMaintenanceWindowObservation struct {
}

func (*PostgresqlClusterMaintenanceWindowObservation) DeepCopy

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

func (*PostgresqlClusterMaintenanceWindowObservation) DeepCopyInto

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

type PostgresqlClusterMaintenanceWindowParameters

type PostgresqlClusterMaintenanceWindowParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Day of the week (in `DDD` format). Allowed values: "MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"
	Day *string `json:"day,omitempty" tf:"day,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Hour of the day in UTC (in `HH` format). Allowed value is between 1 and 24.
	Hour *float64 `json:"hour,omitempty" tf:"hour,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Type of maintenance window. Can be either `ANYTIME` or `WEEKLY`. A day and hour of window need to be specified with weekly window.
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*PostgresqlClusterMaintenanceWindowParameters) DeepCopy

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

func (*PostgresqlClusterMaintenanceWindowParameters) DeepCopyInto

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

type PostgresqlClusterObservation

type PostgresqlClusterObservation struct {
	// Timestamp of cluster creation.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Aggregated health of the cluster.
	Health *string `json:"health,omitempty" tf:"health,omitempty"`

	// (Required) A host of the PostgreSQL cluster. The structure is documented below.
	Host []PostgresqlClusterHostObservation `json:"host,omitempty" tf:"host,omitempty"`

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

	// Status of the cluster.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*PostgresqlClusterObservation) DeepCopy

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

func (*PostgresqlClusterObservation) DeepCopyInto

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

type PostgresqlClusterParameters

type PostgresqlClusterParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Configuration of the PostgreSQL cluster. The structure is documented below.
	Config []PostgresqlClusterConfigParameters `json:"config" tf:"config,omitempty"`

	// +kubebuilder:validation:Optional
	// (Deprecated) To manage databases, please switch to using a separate resource type `yandex_mdb_postgresql_database`.
	Database []PostgresqlClusterDatabaseParameters `json:"database,omitempty" tf:"database,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Inhibits deletion of the cluster.  Can be either `true` or `false`.
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Description of the PostgreSQL cluster.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Deployment environment of the PostgreSQL cluster.
	Environment *string `json:"environment" tf:"environment,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	// (Optional) The ID of the folder that the resource belongs to. If it is unset, the default provider `folder_id` is used for create.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	// (Required) A host of the PostgreSQL cluster. The structure is documented below.
	Host []PostgresqlClusterHostParameters `json:"host" tf:"host,omitempty"`

	// +kubebuilder:validation:Optional
	HostGroupIds []*string `json:"hostGroupIds,omitempty" tf:"host_group_ids,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) It sets name of master host. It works only when `host.name` is set.
	HostMasterName *string `json:"hostMasterName,omitempty" tf:"host_master_name,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) A set of key/value label pairs to assign to the PostgreSQL cluster.
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Maintenance policy of the PostgreSQL cluster. The structure is documented below.
	MaintenanceWindow []PostgresqlClusterMaintenanceWindowParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Name of the PostgreSQL cluster. Provided by the client when the cluster is created.
	Name *string `json:"name" tf:"name,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.Network
	// +kubebuilder:validation:Optional
	// (Required) ID of the network, to which the PostgreSQL cluster belongs.
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// +kubebuilder:validation:Optional
	NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional, ForceNew) The cluster will be created from the specified backup. The structure is documented below.
	Restore []PostgresqlClusterRestoreParameters `json:"restore,omitempty" tf:"restore,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.SecurityGroup
	// +kubebuilder:validation:Optional
	// (Optional) A set of ids of security groups assigned to hosts of the cluster.
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// +kubebuilder:validation:Optional
	SecurityGroupIdsRefs []v1.Reference `json:"securityGroupIdsRefs,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SecurityGroupIdsSelector *v1.Selector `json:"securityGroupIdsSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Deprecated) To manage users, please switch to using a separate resource type `yandex_mdb_postgresql_user`.
	User []PostgresqlClusterUserParameters `json:"user,omitempty" tf:"user,omitempty"`
}

func (*PostgresqlClusterParameters) DeepCopy

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

func (*PostgresqlClusterParameters) DeepCopyInto

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

type PostgresqlClusterRestoreObservation

type PostgresqlClusterRestoreObservation struct {
}

func (*PostgresqlClusterRestoreObservation) DeepCopy

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

func (*PostgresqlClusterRestoreObservation) DeepCopyInto

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

type PostgresqlClusterRestoreParameters

type PostgresqlClusterRestoreParameters struct {

	// +kubebuilder:validation:Required
	// (Required, ForceNew) Backup ID. The cluster will be created from the specified backup. [How to get a list of PostgreSQL backups](https://cloud.yandex.com/docs/managed-postgresql/operations/cluster-backups).
	BackupID *string `json:"backupId" tf:"backup_id,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional, ForceNew) Timestamp of the moment to which the PostgreSQL cluster should be restored. (Format: "2006-01-02T15:04:05" - UTC). When not set, current time is used.
	Time *string `json:"time,omitempty" tf:"time,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional, ForceNew) Flag that indicates whether a database should be restored to the first backup point available just after the timestamp specified in the [time] field instead of just before.
	TimeInclusive *bool `json:"timeInclusive,omitempty" tf:"time_inclusive,omitempty"`
}

func (*PostgresqlClusterRestoreParameters) DeepCopy

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

func (*PostgresqlClusterRestoreParameters) DeepCopyInto

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

type PostgresqlClusterSpec

type PostgresqlClusterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PostgresqlClusterParameters `json:"forProvider"`
}

PostgresqlClusterSpec defines the desired state of PostgresqlCluster

func (*PostgresqlClusterSpec) DeepCopy

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

func (*PostgresqlClusterSpec) DeepCopyInto

func (in *PostgresqlClusterSpec) DeepCopyInto(out *PostgresqlClusterSpec)

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

type PostgresqlClusterStatus

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

PostgresqlClusterStatus defines the observed state of PostgresqlCluster.

func (*PostgresqlClusterStatus) DeepCopy

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

func (*PostgresqlClusterStatus) DeepCopyInto

func (in *PostgresqlClusterStatus) DeepCopyInto(out *PostgresqlClusterStatus)

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

type PostgresqlClusterUserObservation

type PostgresqlClusterUserObservation struct {
}

func (*PostgresqlClusterUserObservation) DeepCopy

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

func (*PostgresqlClusterUserObservation) DeepCopyInto

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

type PostgresqlClusterUserParameters

type PostgresqlClusterUserParameters struct {

	// +kubebuilder:validation:Optional
	ConnLimit *float64 `json:"connLimit,omitempty" tf:"conn_limit,omitempty"`

	// +kubebuilder:validation:Optional
	Grants []*string `json:"grants,omitempty" tf:"grants,omitempty"`

	// +kubebuilder:validation:Optional
	Login *bool `json:"login,omitempty" tf:"login,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Name of the PostgreSQL cluster. Provided by the client when the cluster is created.
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// +kubebuilder:validation:Optional
	Permission []PostgresqlClusterUserPermissionParameters `json:"permission,omitempty" tf:"permission,omitempty"`

	// +kubebuilder:validation:Optional
	Settings map[string]*string `json:"settings,omitempty" tf:"settings,omitempty"`
}

func (*PostgresqlClusterUserParameters) DeepCopy

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

func (*PostgresqlClusterUserParameters) DeepCopyInto

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

type PostgresqlClusterUserPermissionObservation

type PostgresqlClusterUserPermissionObservation struct {
}

func (*PostgresqlClusterUserPermissionObservation) DeepCopy

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

func (*PostgresqlClusterUserPermissionObservation) DeepCopyInto

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

type PostgresqlClusterUserPermissionParameters

type PostgresqlClusterUserPermissionParameters struct {

	// +kubebuilder:validation:Required
	DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"`
}

func (*PostgresqlClusterUserPermissionParameters) DeepCopy

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

func (*PostgresqlClusterUserPermissionParameters) DeepCopyInto

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

type PostgresqlDatabase

type PostgresqlDatabase struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PostgresqlDatabaseSpec   `json:"spec"`
	Status            PostgresqlDatabaseStatus `json:"status,omitempty"`
}

PostgresqlDatabase is the Schema for the PostgresqlDatabases API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,yandex-cloud}

func (*PostgresqlDatabase) DeepCopy

func (in *PostgresqlDatabase) DeepCopy() *PostgresqlDatabase

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

func (*PostgresqlDatabase) DeepCopyInto

func (in *PostgresqlDatabase) DeepCopyInto(out *PostgresqlDatabase)

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

func (*PostgresqlDatabase) DeepCopyObject

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

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

func (*PostgresqlDatabase) GetCondition

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

GetCondition of this PostgresqlDatabase.

func (*PostgresqlDatabase) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PostgresqlDatabase

func (*PostgresqlDatabase) GetDeletionPolicy

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

GetDeletionPolicy of this PostgresqlDatabase.

func (*PostgresqlDatabase) GetID

func (tr *PostgresqlDatabase) GetID() string

GetID returns ID of underlying Terraform resource of this PostgresqlDatabase

func (*PostgresqlDatabase) GetObservation

func (tr *PostgresqlDatabase) GetObservation() (map[string]interface{}, error)

GetObservation of this PostgresqlDatabase

func (*PostgresqlDatabase) GetParameters

func (tr *PostgresqlDatabase) GetParameters() (map[string]interface{}, error)

GetParameters of this PostgresqlDatabase

func (*PostgresqlDatabase) GetProviderConfigReference

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

GetProviderConfigReference of this PostgresqlDatabase.

func (*PostgresqlDatabase) GetProviderReference

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

GetProviderReference of this PostgresqlDatabase. Deprecated: Use GetProviderConfigReference.

func (*PostgresqlDatabase) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PostgresqlDatabase.

func (*PostgresqlDatabase) GetTerraformResourceType

func (mg *PostgresqlDatabase) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PostgresqlDatabase

func (*PostgresqlDatabase) GetTerraformSchemaVersion

func (tr *PostgresqlDatabase) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PostgresqlDatabase) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PostgresqlDatabase.

func (*PostgresqlDatabase) LateInitialize

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

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

func (*PostgresqlDatabase) ResolveReferences

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

ResolveReferences of this PostgresqlDatabase.

func (*PostgresqlDatabase) SetConditions

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

SetConditions of this PostgresqlDatabase.

func (*PostgresqlDatabase) SetDeletionPolicy

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

SetDeletionPolicy of this PostgresqlDatabase.

func (*PostgresqlDatabase) SetObservation

func (tr *PostgresqlDatabase) SetObservation(obs map[string]interface{}) error

SetObservation for this PostgresqlDatabase

func (*PostgresqlDatabase) SetParameters

func (tr *PostgresqlDatabase) SetParameters(params map[string]interface{}) error

SetParameters for this PostgresqlDatabase

func (*PostgresqlDatabase) SetProviderConfigReference

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

SetProviderConfigReference of this PostgresqlDatabase.

func (*PostgresqlDatabase) SetProviderReference

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

SetProviderReference of this PostgresqlDatabase. Deprecated: Use SetProviderConfigReference.

func (*PostgresqlDatabase) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PostgresqlDatabase.

func (*PostgresqlDatabase) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PostgresqlDatabase.

type PostgresqlDatabaseExtensionObservation

type PostgresqlDatabaseExtensionObservation struct {
}

func (*PostgresqlDatabaseExtensionObservation) DeepCopy

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

func (*PostgresqlDatabaseExtensionObservation) DeepCopyInto

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

type PostgresqlDatabaseExtensionParameters

type PostgresqlDatabaseExtensionParameters struct {

	// +kubebuilder:validation:Required
	// (Required) The name of the database.
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Version of the extension.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*PostgresqlDatabaseExtensionParameters) DeepCopy

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

func (*PostgresqlDatabaseExtensionParameters) DeepCopyInto

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

type PostgresqlDatabaseList

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

PostgresqlDatabaseList contains a list of PostgresqlDatabases

func (*PostgresqlDatabaseList) DeepCopy

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

func (*PostgresqlDatabaseList) DeepCopyInto

func (in *PostgresqlDatabaseList) DeepCopyInto(out *PostgresqlDatabaseList)

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

func (*PostgresqlDatabaseList) DeepCopyObject

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

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

func (*PostgresqlDatabaseList) GetItems

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

GetItems of this PostgresqlDatabaseList.

type PostgresqlDatabaseObservation

type PostgresqlDatabaseObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*PostgresqlDatabaseObservation) DeepCopy

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

func (*PostgresqlDatabaseObservation) DeepCopyInto

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

type PostgresqlDatabaseParameters

type PostgresqlDatabaseParameters struct {

	// +crossplane:generate:reference:type=PostgresqlCluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional) Set of database extensions. The structure is documented below
	Extension []PostgresqlDatabaseExtensionParameters `json:"extension,omitempty" tf:"extension,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) POSIX locale for string sorting order. Forbidden to change in an existing database.
	LcCollate *string `json:"lcCollate,omitempty" tf:"lc_collate,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) POSIX locale for character classification. Forbidden to change in an existing database.
	LcType *string `json:"lcType,omitempty" tf:"lc_type,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) The name of the database.
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Name of the user assigned as the owner of the database. Forbidden to change in an existing database.
	Owner *string `json:"owner" tf:"owner,omitempty"`
}

func (*PostgresqlDatabaseParameters) DeepCopy

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

func (*PostgresqlDatabaseParameters) DeepCopyInto

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

type PostgresqlDatabaseSpec

type PostgresqlDatabaseSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PostgresqlDatabaseParameters `json:"forProvider"`
}

PostgresqlDatabaseSpec defines the desired state of PostgresqlDatabase

func (*PostgresqlDatabaseSpec) DeepCopy

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

func (*PostgresqlDatabaseSpec) DeepCopyInto

func (in *PostgresqlDatabaseSpec) DeepCopyInto(out *PostgresqlDatabaseSpec)

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

type PostgresqlDatabaseStatus

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

PostgresqlDatabaseStatus defines the observed state of PostgresqlDatabase.

func (*PostgresqlDatabaseStatus) DeepCopy

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

func (*PostgresqlDatabaseStatus) DeepCopyInto

func (in *PostgresqlDatabaseStatus) DeepCopyInto(out *PostgresqlDatabaseStatus)

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

type PostgresqlUser

type PostgresqlUser struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PostgresqlUserSpec   `json:"spec"`
	Status            PostgresqlUserStatus `json:"status,omitempty"`
}

PostgresqlUser is the Schema for the PostgresqlUsers API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,yandex-cloud}

func (*PostgresqlUser) DeepCopy

func (in *PostgresqlUser) DeepCopy() *PostgresqlUser

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

func (*PostgresqlUser) DeepCopyInto

func (in *PostgresqlUser) DeepCopyInto(out *PostgresqlUser)

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

func (*PostgresqlUser) DeepCopyObject

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

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

func (*PostgresqlUser) GetCondition

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

GetCondition of this PostgresqlUser.

func (*PostgresqlUser) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PostgresqlUser

func (*PostgresqlUser) GetDeletionPolicy

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

GetDeletionPolicy of this PostgresqlUser.

func (*PostgresqlUser) GetID

func (tr *PostgresqlUser) GetID() string

GetID returns ID of underlying Terraform resource of this PostgresqlUser

func (*PostgresqlUser) GetObservation

func (tr *PostgresqlUser) GetObservation() (map[string]interface{}, error)

GetObservation of this PostgresqlUser

func (*PostgresqlUser) GetParameters

func (tr *PostgresqlUser) GetParameters() (map[string]interface{}, error)

GetParameters of this PostgresqlUser

func (*PostgresqlUser) GetProviderConfigReference

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

GetProviderConfigReference of this PostgresqlUser.

func (*PostgresqlUser) GetProviderReference

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

GetProviderReference of this PostgresqlUser. Deprecated: Use GetProviderConfigReference.

func (*PostgresqlUser) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PostgresqlUser.

func (*PostgresqlUser) GetTerraformResourceType

func (mg *PostgresqlUser) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PostgresqlUser

func (*PostgresqlUser) GetTerraformSchemaVersion

func (tr *PostgresqlUser) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PostgresqlUser) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PostgresqlUser.

func (*PostgresqlUser) LateInitialize

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

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

func (*PostgresqlUser) ResolveReferences

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

ResolveReferences of this PostgresqlUser.

func (*PostgresqlUser) SetConditions

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

SetConditions of this PostgresqlUser.

func (*PostgresqlUser) SetDeletionPolicy

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

SetDeletionPolicy of this PostgresqlUser.

func (*PostgresqlUser) SetObservation

func (tr *PostgresqlUser) SetObservation(obs map[string]interface{}) error

SetObservation for this PostgresqlUser

func (*PostgresqlUser) SetParameters

func (tr *PostgresqlUser) SetParameters(params map[string]interface{}) error

SetParameters for this PostgresqlUser

func (*PostgresqlUser) SetProviderConfigReference

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

SetProviderConfigReference of this PostgresqlUser.

func (*PostgresqlUser) SetProviderReference

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

SetProviderReference of this PostgresqlUser. Deprecated: Use SetProviderConfigReference.

func (*PostgresqlUser) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PostgresqlUser.

func (*PostgresqlUser) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PostgresqlUser.

type PostgresqlUserList

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

PostgresqlUserList contains a list of PostgresqlUsers

func (*PostgresqlUserList) DeepCopy

func (in *PostgresqlUserList) DeepCopy() *PostgresqlUserList

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

func (*PostgresqlUserList) DeepCopyInto

func (in *PostgresqlUserList) DeepCopyInto(out *PostgresqlUserList)

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

func (*PostgresqlUserList) DeepCopyObject

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

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

func (*PostgresqlUserList) GetItems

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

GetItems of this PostgresqlUserList.

type PostgresqlUserObservation

type PostgresqlUserObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*PostgresqlUserObservation) DeepCopy

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

func (*PostgresqlUserObservation) DeepCopyInto

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

type PostgresqlUserParameters

type PostgresqlUserParameters struct {

	// +crossplane:generate:reference:type=PostgresqlCluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional) The maximum number of connections per user. (Default 50)
	ConnLimit *float64 `json:"connLimit,omitempty" tf:"conn_limit,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) List of the user's grants.
	Grants []*string `json:"grants,omitempty" tf:"grants,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) User's ability to login.
	Login *bool `json:"login,omitempty" tf:"login,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) The name of the user.
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional) Set of permissions granted to the user. The structure is documented below.
	Permission []PostgresqlUserPermissionParameters `json:"permission,omitempty" tf:"permission,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Map of user settings. List of settings is documented below.
	Settings map[string]*string `json:"settings,omitempty" tf:"settings,omitempty"`
}

func (*PostgresqlUserParameters) DeepCopy

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

func (*PostgresqlUserParameters) DeepCopyInto

func (in *PostgresqlUserParameters) DeepCopyInto(out *PostgresqlUserParameters)

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

type PostgresqlUserPermissionObservation

type PostgresqlUserPermissionObservation struct {
}

func (*PostgresqlUserPermissionObservation) DeepCopy

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

func (*PostgresqlUserPermissionObservation) DeepCopyInto

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

type PostgresqlUserPermissionParameters

type PostgresqlUserPermissionParameters struct {

	// +kubebuilder:validation:Required
	// (Required) The name of the database that the permission grants access to.
	DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"`
}

func (*PostgresqlUserPermissionParameters) DeepCopy

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

func (*PostgresqlUserPermissionParameters) DeepCopyInto

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

type PostgresqlUserSpec

type PostgresqlUserSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PostgresqlUserParameters `json:"forProvider"`
}

PostgresqlUserSpec defines the desired state of PostgresqlUser

func (*PostgresqlUserSpec) DeepCopy

func (in *PostgresqlUserSpec) DeepCopy() *PostgresqlUserSpec

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

func (*PostgresqlUserSpec) DeepCopyInto

func (in *PostgresqlUserSpec) DeepCopyInto(out *PostgresqlUserSpec)

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

type PostgresqlUserStatus

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

PostgresqlUserStatus defines the observed state of PostgresqlUser.

func (*PostgresqlUserStatus) DeepCopy

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

func (*PostgresqlUserStatus) DeepCopyInto

func (in *PostgresqlUserStatus) DeepCopyInto(out *PostgresqlUserStatus)

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

type RedisCluster

type RedisCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RedisClusterSpec   `json:"spec"`
	Status            RedisClusterStatus `json:"status,omitempty"`
}

RedisCluster is the Schema for the RedisClusters API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,yandex-cloud}

func (*RedisCluster) DeepCopy

func (in *RedisCluster) DeepCopy() *RedisCluster

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

func (*RedisCluster) DeepCopyInto

func (in *RedisCluster) DeepCopyInto(out *RedisCluster)

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

func (*RedisCluster) DeepCopyObject

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

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

func (*RedisCluster) GetCondition

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

GetCondition of this RedisCluster.

func (*RedisCluster) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RedisCluster

func (*RedisCluster) GetDeletionPolicy

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

GetDeletionPolicy of this RedisCluster.

func (*RedisCluster) GetID

func (tr *RedisCluster) GetID() string

GetID returns ID of underlying Terraform resource of this RedisCluster

func (*RedisCluster) GetObservation

func (tr *RedisCluster) GetObservation() (map[string]interface{}, error)

GetObservation of this RedisCluster

func (*RedisCluster) GetParameters

func (tr *RedisCluster) GetParameters() (map[string]interface{}, error)

GetParameters of this RedisCluster

func (*RedisCluster) GetProviderConfigReference

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

GetProviderConfigReference of this RedisCluster.

func (*RedisCluster) GetProviderReference

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

GetProviderReference of this RedisCluster. Deprecated: Use GetProviderConfigReference.

func (*RedisCluster) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RedisCluster.

func (*RedisCluster) GetTerraformResourceType

func (mg *RedisCluster) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RedisCluster

func (*RedisCluster) GetTerraformSchemaVersion

func (tr *RedisCluster) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RedisCluster) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RedisCluster.

func (*RedisCluster) LateInitialize

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

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

func (*RedisCluster) ResolveReferences

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

ResolveReferences of this RedisCluster.

func (*RedisCluster) SetConditions

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

SetConditions of this RedisCluster.

func (*RedisCluster) SetDeletionPolicy

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

SetDeletionPolicy of this RedisCluster.

func (*RedisCluster) SetObservation

func (tr *RedisCluster) SetObservation(obs map[string]interface{}) error

SetObservation for this RedisCluster

func (*RedisCluster) SetParameters

func (tr *RedisCluster) SetParameters(params map[string]interface{}) error

SetParameters for this RedisCluster

func (*RedisCluster) SetProviderConfigReference

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

SetProviderConfigReference of this RedisCluster.

func (*RedisCluster) SetProviderReference

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

SetProviderReference of this RedisCluster. Deprecated: Use SetProviderConfigReference.

func (*RedisCluster) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RedisCluster.

func (*RedisCluster) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RedisCluster.

type RedisClusterConfigObservation

type RedisClusterConfigObservation struct {
}

func (*RedisClusterConfigObservation) DeepCopy

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

func (*RedisClusterConfigObservation) DeepCopyInto

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

type RedisClusterConfigParameters

type RedisClusterConfigParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Normal clients output buffer limits.
	ClientOutputBufferLimitNormal *string `json:"clientOutputBufferLimitNormal,omitempty" tf:"client_output_buffer_limit_normal,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Pubsub clients output buffer limits.
	ClientOutputBufferLimitPubsub *string `json:"clientOutputBufferLimitPubsub,omitempty" tf:"client_output_buffer_limit_pubsub,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Number of databases (changing requires redis-server restart).
	Databases *float64 `json:"databases,omitempty" tf:"databases,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Redis key eviction policy for a dataset that reaches maximum memory.
	MaxmemoryPolicy *string `json:"maxmemoryPolicy,omitempty" tf:"maxmemory_policy,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Select the events that Redis will notify among a set of classes.
	NotifyKeyspaceEvents *string `json:"notifyKeyspaceEvents,omitempty" tf:"notify_keyspace_events,omitempty"`

	// +kubebuilder:validation:Required
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional) Log slow queries below this number in microseconds.
	SlowlogLogSlowerThan *float64 `json:"slowlogLogSlowerThan,omitempty" tf:"slowlog_log_slower_than,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Slow queries log length.
	SlowlogMaxLen *float64 `json:"slowlogMaxLen,omitempty" tf:"slowlog_max_len,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Close the connection after a client is idle for N seconds.
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Version of Redis (5.0, 6.0 or 6.2).
	Version *string `json:"version" tf:"version,omitempty"`
}

func (*RedisClusterConfigParameters) DeepCopy

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

func (*RedisClusterConfigParameters) DeepCopyInto

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

type RedisClusterHostObservation

type RedisClusterHostObservation struct {
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`
}

func (*RedisClusterHostObservation) DeepCopy

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

func (*RedisClusterHostObservation) DeepCopyInto

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

type RedisClusterHostParameters

type RedisClusterHostParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Sets whether the host should get a public IP address or not.
	AssignPublicIP *bool `json:"assignPublicIp,omitempty" tf:"assign_public_ip,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Replica priority of a current replica (usable for non-sharded only).
	ReplicaPriority *float64 `json:"replicaPriority,omitempty" tf:"replica_priority,omitempty"`

	// +kubebuilder:validation:Optional
	ShardName *string `json:"shardName,omitempty" tf:"shard_name,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	// (Required) The availability zone where the Redis host will be created.
	Zone *string `json:"zone" tf:"zone,omitempty"`
}

func (*RedisClusterHostParameters) DeepCopy

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

func (*RedisClusterHostParameters) DeepCopyInto

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

type RedisClusterList

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

RedisClusterList contains a list of RedisClusters

func (*RedisClusterList) DeepCopy

func (in *RedisClusterList) DeepCopy() *RedisClusterList

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

func (*RedisClusterList) DeepCopyInto

func (in *RedisClusterList) DeepCopyInto(out *RedisClusterList)

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

func (*RedisClusterList) DeepCopyObject

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

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

func (*RedisClusterList) GetItems

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

GetItems of this RedisClusterList.

type RedisClusterMaintenanceWindowObservation

type RedisClusterMaintenanceWindowObservation struct {
}

func (*RedisClusterMaintenanceWindowObservation) DeepCopy

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

func (*RedisClusterMaintenanceWindowObservation) DeepCopyInto

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

type RedisClusterMaintenanceWindowParameters

type RedisClusterMaintenanceWindowParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Day of week for maintenance window if window type is weekly. Possible values: `MON`, `TUE`, `WED`, `THU`, `FRI`, `SAT`, `SUN`.
	Day *string `json:"day,omitempty" tf:"day,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
	Hour *float64 `json:"hour,omitempty" tf:"hour,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Type of maintenance window. Can be either `ANYTIME` or `WEEKLY`. A day and hour of window need to be specified with weekly window.
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*RedisClusterMaintenanceWindowParameters) DeepCopy

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

func (*RedisClusterMaintenanceWindowParameters) DeepCopyInto

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

type RedisClusterObservation

type RedisClusterObservation struct {
	// Creation timestamp of the key.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Aggregated health of the cluster. Can be either `ALIVE`, `DEGRADED`, `DEAD` or `HEALTH_UNKNOWN`.
	Health *string `json:"health,omitempty" tf:"health,omitempty"`

	// (Required) A host of the Redis cluster. The structure is documented below.
	Host []RedisClusterHostObservation `json:"host,omitempty" tf:"host,omitempty"`

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

	// Status of the cluster. Can be either `CREATING`, `STARTING`, `RUNNING`, `UPDATING`, `STOPPING`, `STOPPED`, `ERROR` or `STATUS_UNKNOWN`.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*RedisClusterObservation) DeepCopy

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

func (*RedisClusterObservation) DeepCopyInto

func (in *RedisClusterObservation) DeepCopyInto(out *RedisClusterObservation)

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

type RedisClusterParameters

type RedisClusterParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Configuration of the Redis cluster. The structure is documented below.
	Config []RedisClusterConfigParameters `json:"config" tf:"config,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Inhibits deletion of the cluster.  Can be either `true` or `false`.
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Description of the Redis cluster.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Deployment environment of the Redis cluster. Can be either `PRESTABLE` or `PRODUCTION`.
	Environment *string `json:"environment" tf:"environment,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	// (Optional) The ID of the folder that the resource belongs to. If it
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	// (Required) A host of the Redis cluster. The structure is documented below.
	Host []RedisClusterHostParameters `json:"host" tf:"host,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) A set of key/value label pairs to assign to the Redis cluster.
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// +kubebuilder:validation:Optional
	MaintenanceWindow []RedisClusterMaintenanceWindowParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Name of the Redis cluster. Provided by the client when the cluster is created.
	Name *string `json:"name" tf:"name,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.Network
	// +kubebuilder:validation:Optional
	// (Required) ID of the network, to which the Redis cluster belongs.
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// +kubebuilder:validation:Optional
	NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional) Persistence mode.
	PersistenceMode *string `json:"persistenceMode,omitempty" tf:"persistence_mode,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Resources allocated to hosts of the Redis cluster. The structure is documented below.
	Resources []RedisClusterResourcesParameters `json:"resources" tf:"resources,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.SecurityGroup
	// +kubebuilder:validation:Optional
	// (Optional) A set of ids of security groups assigned to hosts of the cluster.
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// +kubebuilder:validation:Optional
	SecurityGroupIdsRefs []v1.Reference `json:"securityGroupIdsRefs,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SecurityGroupIdsSelector *v1.Selector `json:"securityGroupIdsSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional) Redis Cluster mode enabled/disabled.
	Sharded *bool `json:"sharded,omitempty" tf:"sharded,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) TLS support mode enabled/disabled.
	TLSEnabled *bool `json:"tlsEnabled,omitempty" tf:"tls_enabled,omitempty"`
}

func (*RedisClusterParameters) DeepCopy

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

func (*RedisClusterParameters) DeepCopyInto

func (in *RedisClusterParameters) DeepCopyInto(out *RedisClusterParameters)

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

type RedisClusterResourcesObservation

type RedisClusterResourcesObservation struct {
}

func (*RedisClusterResourcesObservation) DeepCopy

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

func (*RedisClusterResourcesObservation) DeepCopyInto

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

type RedisClusterResourcesParameters

type RedisClusterResourcesParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Volume of the storage available to a host, in gigabytes.
	DiskSize *float64 `json:"diskSize" tf:"disk_size,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Type of the storage of Redis hosts - environment default is used if missing.
	DiskTypeID *string `json:"diskTypeId,omitempty" tf:"disk_type_id,omitempty"`

	// +kubebuilder:validation:Required
	ResourcePresetID *string `json:"resourcePresetId" tf:"resource_preset_id,omitempty"`
}

func (*RedisClusterResourcesParameters) DeepCopy

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

func (*RedisClusterResourcesParameters) DeepCopyInto

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

type RedisClusterSpec

type RedisClusterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RedisClusterParameters `json:"forProvider"`
}

RedisClusterSpec defines the desired state of RedisCluster

func (*RedisClusterSpec) DeepCopy

func (in *RedisClusterSpec) DeepCopy() *RedisClusterSpec

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

func (*RedisClusterSpec) DeepCopyInto

func (in *RedisClusterSpec) DeepCopyInto(out *RedisClusterSpec)

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

type RedisClusterStatus

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

RedisClusterStatus defines the observed state of RedisCluster.

func (*RedisClusterStatus) DeepCopy

func (in *RedisClusterStatus) DeepCopy() *RedisClusterStatus

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

func (*RedisClusterStatus) DeepCopyInto

func (in *RedisClusterStatus) DeepCopyInto(out *RedisClusterStatus)

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

type ResourcesObservation

type ResourcesObservation struct {
}

func (*ResourcesObservation) DeepCopy

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

func (*ResourcesObservation) DeepCopyInto

func (in *ResourcesObservation) DeepCopyInto(out *ResourcesObservation)

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

type ResourcesParameters

type ResourcesParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Volume of the storage available to a host, in gigabytes.
	DiskSize *float64 `json:"diskSize" tf:"disk_size,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) Type of the storage of Elasticsearch hosts.
	DiskTypeID *string `json:"diskTypeId" tf:"disk_type_id,omitempty"`

	// +kubebuilder:validation:Required
	ResourcePresetID *string `json:"resourcePresetId" tf:"resource_preset_id,omitempty"`
}

func (*ResourcesParameters) DeepCopy

func (in *ResourcesParameters) DeepCopy() *ResourcesParameters

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

func (*ResourcesParameters) DeepCopyInto

func (in *ResourcesParameters) DeepCopyInto(out *ResourcesParameters)

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

type RestoreObservation

type RestoreObservation struct {
}

func (*RestoreObservation) DeepCopy

func (in *RestoreObservation) DeepCopy() *RestoreObservation

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

func (*RestoreObservation) DeepCopyInto

func (in *RestoreObservation) DeepCopyInto(out *RestoreObservation)

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

type RestoreParameters

type RestoreParameters struct {

	// +kubebuilder:validation:Required
	// (Required, ForceNew) Backup ID. The cluster will be created from the specified backup. [How to get a list of MySQL backups](https://cloud.yandex.com/docs/managed-mysql/operations/cluster-backups).
	BackupID *string `json:"backupId" tf:"backup_id,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional, ForceNew) Timestamp of the moment to which the MySQL cluster should be restored. (Format: "2006-01-02T15:04:05" - UTC). When not set, current time is used.
	Time *string `json:"time,omitempty" tf:"time,omitempty"`
}

func (*RestoreParameters) DeepCopy

func (in *RestoreParameters) DeepCopy() *RestoreParameters

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

func (*RestoreParameters) DeepCopyInto

func (in *RestoreParameters) DeepCopyInto(out *RestoreParameters)

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

type SecurityObservation

type SecurityObservation struct {
}

func (*SecurityObservation) DeepCopy

func (in *SecurityObservation) DeepCopy() *SecurityObservation

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

func (*SecurityObservation) DeepCopyInto

func (in *SecurityObservation) DeepCopyInto(out *SecurityObservation)

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

type SecurityParameters

type SecurityParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Enables the encryption for the WiredTiger storage engine. Can be either true or false.
	EnableEncryption *bool `json:"enableEncryption,omitempty" tf:"enable_encryption,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Configuration of the third party key management appliance via the Key Management Interoperability Protocol (KMIP)
	Kmip []KmipParameters `json:"kmip,omitempty" tf:"kmip,omitempty"`
}

func (*SecurityParameters) DeepCopy

func (in *SecurityParameters) DeepCopy() *SecurityParameters

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

func (*SecurityParameters) DeepCopyInto

func (in *SecurityParameters) DeepCopyInto(out *SecurityParameters)

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

type SetParameterObservation

type SetParameterObservation struct {
}

func (*SetParameterObservation) DeepCopy

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

func (*SetParameterObservation) DeepCopyInto

func (in *SetParameterObservation) DeepCopyInto(out *SetParameterObservation)

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

type SetParameterParameters

type SetParameterParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Enables the auditing of authorization successes. Can be either true or false.
	AuditAuthorizationSuccess *bool `json:"auditAuthorizationSuccess,omitempty" tf:"audit_authorization_success,omitempty"`
}

func (*SetParameterParameters) DeepCopy

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

func (*SetParameterParameters) DeepCopyInto

func (in *SetParameterParameters) DeepCopyInto(out *SetParameterParameters)

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

type UserObservation

type UserObservation struct {
}

func (*UserObservation) DeepCopy

func (in *UserObservation) DeepCopy() *UserObservation

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

func (*UserObservation) DeepCopyInto

func (in *UserObservation) DeepCopyInto(out *UserObservation)

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

type UserParameters

type UserParameters struct {

	// +kubebuilder:validation:Required
	// (Required) Name of the MongoDB cluster. Provided by the client when the cluster is created.
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional) Set of permissions granted to the user. The structure is documented below.
	Permission []PermissionParameters `json:"permission,omitempty" tf:"permission,omitempty"`
}

func (*UserParameters) DeepCopy

func (in *UserParameters) DeepCopy() *UserParameters

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

func (*UserParameters) DeepCopyInto

func (in *UserParameters) DeepCopyInto(out *UserParameters)

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

type UserPermissionObservation

type UserPermissionObservation struct {
}

func (*UserPermissionObservation) DeepCopy

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

func (*UserPermissionObservation) DeepCopyInto

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

type UserPermissionParameters

type UserPermissionParameters struct {

	// +kubebuilder:validation:Required
	// (Required) The name of the database that the permission grants access to.
	DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) List user's roles in the database.
	Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"`
}

func (*UserPermissionParameters) DeepCopy

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

func (*UserPermissionParameters) DeepCopyInto

func (in *UserPermissionParameters) DeepCopyInto(out *UserPermissionParameters)

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