PostgresqlClusterPostgresqlCluster is the Schema for the PostgresqlClusters API. Manages the yandex_mdb_postgresql_cluster resource.
TypeMR
Providercrossplane-provider-yc
Groupmdb.yandex-cloud.m.jet.crossplane.io
Scopenamespaced
Versionv1alpha1

1apiVersion: mdb.yandex-cloud.m.jet.crossplane.io/v1alpha1

2kind: PostgresqlCluster

kind
string
metadata
object
spec
object

PostgresqlClusterSpec defines the desired state of PostgresqlCluster

forProvider
required
object

(No description available)

config
array

[Block]. Configuration of the PostgreSQL cluster. Configuration of the PostgreSQL cluster.

access
array

[Block]. Access policy to the PostgreSQL cluster. Access policy to the PostgreSQL cluster.

dataLens
boolean
serverless
boolean
webSql
boolean
array

[Block]. Time to start the daily backup, in the UTC timezone. Time to start the daily backup, in the UTC timezone.

hours
number
minutes
number
array

[Block]. Connection Manager integration configuration for the cluster. If the block is omitted, the API enables the integration by default for newly created clusters. Disabling the integration is not supported: enabled = false is rejected. Connection Manager integration configuration for the cluster. If the block is omitted, the API enables the integration by default for newly created clusters. Disabling the integration is not supported: enabled = false is rejected.

array

[Block]. Cluster disk size autoscaling settings. Cluster disk size autoscaling settings.

array

[Block]. Managed pg_repack settings. Managed pg_repack settings.

enabled
boolean
array

[Block]. Cluster performance diagnostics settings. YC Documentation. Cluster performance diagnostics settings. YC Documentation.

array

[Block]. Configuration of the connection pooler. Configuration of the connection pooler.

array

[Block]. Resources allocated to hosts of the PostgreSQL cluster. Resources allocated to hosts of the PostgreSQL cluster.

version
string
array

[Block]. ~> Deprecated! To manage databases, please switch to using a separate resource type yandex_mdb_postgresql_database. ~> Deprecated! To manage databases, please switch to using a separate resource type yandex_mdb_postgresql_database.

array

[Block]. Set of database extensions. Set of database extensions.

name
string
version
string
lcCollate
string
lcType
string
name
string
owner
string
folderId
string
object

Reference to a Folder in resourcemanager to populate folderId.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Folder in resourcemanager to populate folderId.

namespace
string
policy
object

Policies for selection.

resolve
string
host
array

[Block]. A host of the PostgreSQL cluster. A host of the PostgreSQL cluster.

name
string
priority
number
subnetId
string
object

Reference to a Subnet in vpc to populate subnetId.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Subnet in vpc to populate subnetId.

namespace
string
policy
object

Policies for selection.

resolve
string
zone
string
array

(Set Of String). Host Group IDs. Host Group IDs.

labels
object
array

[Block]. Maintenance policy of the PostgreSQL cluster. Maintenance policy of the PostgreSQL cluster.

day
string
hour
number
type
string
name
string
networkId
string
object

Reference to a Network in vpc to populate networkId.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Network in vpc to populate networkId.

namespace
string
policy
object

Policies for selection.

resolve
string
restore
array

[Block]. The cluster will be created from the specified backup. The cluster will be created from the specified backup.

backupId
string
time
string
array

(Set Of String). The list of security groups applied to resource or their components. The list of security groups applied to resource or their components.

array

References to SecurityGroup in vpc to populate securityGroupIds.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a list of SecurityGroup in vpc to populate securityGroupIds.

namespace
string
policy
object

Policies for selection.

resolve
string
user
array

[Block]. ~> Deprecated! To manage users, please switch to using a separate resource type yandex_mdb_postgresql_user. ~> Deprecated! To manage users, please switch to using a separate resource type yandex_mdb_postgresql_user.

connLimit
number
grants
array

(List Of String). List of the user's grants. List of the user's grants.

login
boolean
name
string
object

(String). The password of the user. The password of the user.

key
required
string
name
required
string
array

[Block]. Set of permissions granted to the user. Set of permissions granted to the user.

settings
object
object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

config
array

[Block]. Configuration of the PostgreSQL cluster. Configuration of the PostgreSQL cluster.

access
array

[Block]. Access policy to the PostgreSQL cluster. Access policy to the PostgreSQL cluster.

dataLens
boolean
serverless
boolean
webSql
boolean
array

[Block]. Time to start the daily backup, in the UTC timezone. Time to start the daily backup, in the UTC timezone.

hours
number
minutes
number
array

[Block]. Connection Manager integration configuration for the cluster. If the block is omitted, the API enables the integration by default for newly created clusters. Disabling the integration is not supported: enabled = false is rejected. Connection Manager integration configuration for the cluster. If the block is omitted, the API enables the integration by default for newly created clusters. Disabling the integration is not supported: enabled = false is rejected.

array

[Block]. Cluster disk size autoscaling settings. Cluster disk size autoscaling settings.

array

[Block]. Managed pg_repack settings. Managed pg_repack settings.

enabled
boolean
array

[Block]. Cluster performance diagnostics settings. YC Documentation. Cluster performance diagnostics settings. YC Documentation.

array

[Block]. Configuration of the connection pooler. Configuration of the connection pooler.

array

[Block]. Resources allocated to hosts of the PostgreSQL cluster. Resources allocated to hosts of the PostgreSQL cluster.

version
string
array

[Block]. ~> Deprecated! To manage databases, please switch to using a separate resource type yandex_mdb_postgresql_database. ~> Deprecated! To manage databases, please switch to using a separate resource type yandex_mdb_postgresql_database.

array

[Block]. Set of database extensions. Set of database extensions.

name
string
version
string
lcCollate
string
lcType
string
name
string
owner
string
folderId
string
object

Reference to a Folder in resourcemanager to populate folderId.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Folder in resourcemanager to populate folderId.

namespace
string
policy
object

Policies for selection.

resolve
string
host
array

[Block]. A host of the PostgreSQL cluster. A host of the PostgreSQL cluster.

name
string
priority
number
subnetId
string
object

Reference to a Subnet in vpc to populate subnetId.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Subnet in vpc to populate subnetId.

namespace
string
policy
object

Policies for selection.

resolve
string
zone
string
array

(Set Of String). Host Group IDs. Host Group IDs.

labels
object
array

[Block]. Maintenance policy of the PostgreSQL cluster. Maintenance policy of the PostgreSQL cluster.

day
string
hour
number
type
string
name
string
networkId
string
object

Reference to a Network in vpc to populate networkId.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Network in vpc to populate networkId.

namespace
string
policy
object

Policies for selection.

resolve
string
restore
array

[Block]. The cluster will be created from the specified backup. The cluster will be created from the specified backup.

backupId
string
time
string
array

(Set Of String). The list of security groups applied to resource or their components. The list of security groups applied to resource or their components.

array

References to SecurityGroup in vpc to populate securityGroupIds.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a list of SecurityGroup in vpc to populate securityGroupIds.

namespace
string
policy
object

Policies for selection.

resolve
string
user
array

[Block]. ~> Deprecated! To manage users, please switch to using a separate resource type yandex_mdb_postgresql_user. ~> Deprecated! To manage users, please switch to using a separate resource type yandex_mdb_postgresql_user.

connLimit
number
grants
array

(List Of String). List of the user's grants. List of the user's grants.

login
boolean
name
string
passwordSecretRef
required
object

(String). The password of the user. The password of the user.

key
required
string
name
required
string
array

[Block]. Set of permissions granted to the user. Set of permissions granted to the user.

settings
object
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

kind
required
string
name
required
string
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

name
required
string
status
object

PostgresqlClusterStatus defines the observed state of PostgresqlCluster.

object

(No description available)

config
array

[Block]. Configuration of the PostgreSQL cluster. Configuration of the PostgreSQL cluster.

access
array

[Block]. Access policy to the PostgreSQL cluster. Access policy to the PostgreSQL cluster.

dataLens
boolean
serverless
boolean
webSql
boolean
array

[Block]. Time to start the daily backup, in the UTC timezone. Time to start the daily backup, in the UTC timezone.

hours
number
minutes
number
array

[Block]. Connection Manager integration configuration for the cluster. If the block is omitted, the API enables the integration by default for newly created clusters. Disabling the integration is not supported: enabled = false is rejected. Connection Manager integration configuration for the cluster. If the block is omitted, the API enables the integration by default for newly created clusters. Disabling the integration is not supported: enabled = false is rejected.

array

[Block]. Cluster disk size autoscaling settings. Cluster disk size autoscaling settings.

array

[Block]. Managed pg_repack settings. Managed pg_repack settings.

enabled
boolean
array

[Block]. Cluster performance diagnostics settings. YC Documentation. Cluster performance diagnostics settings. YC Documentation.

array

[Block]. Configuration of the connection pooler. Configuration of the connection pooler.

array

[Block]. Resources allocated to hosts of the PostgreSQL cluster. Resources allocated to hosts of the PostgreSQL cluster.

version
string
createdAt
string
array

[Block]. ~> Deprecated! To manage databases, please switch to using a separate resource type yandex_mdb_postgresql_database. ~> Deprecated! To manage databases, please switch to using a separate resource type yandex_mdb_postgresql_database.

array

[Block]. Set of database extensions. Set of database extensions.

name
string
version
string
lcCollate
string
lcType
string
name
string
owner
string
folderId
string
health
string
host
array

[Block]. A host of the PostgreSQL cluster. A host of the PostgreSQL cluster.

array

(Set Of String). Host Group IDs. Host Group IDs.

id
string
labels
object
array

[Block]. Maintenance policy of the PostgreSQL cluster. Maintenance policy of the PostgreSQL cluster.

day
string
hour
number
type
string
name
string
networkId
string
restore
array

[Block]. The cluster will be created from the specified backup. The cluster will be created from the specified backup.

backupId
string
time
string
array

(Set Of String). The list of security groups applied to resource or their components. The list of security groups applied to resource or their components.

status
string
user
array

[Block]. ~> Deprecated! To manage users, please switch to using a separate resource type yandex_mdb_postgresql_user. ~> Deprecated! To manage users, please switch to using a separate resource type yandex_mdb_postgresql_user.

connLimit
number
grants
array

(List Of String). List of the user's grants. List of the user's grants.

login
boolean
name
string
array

[Block]. Set of permissions granted to the user. Set of permissions granted to the user.

settings
object
array

Conditions of the resource.

lastTransitionTime
required
string
message
string
reason
required
string
status
required
string
type
required
string