MySQLClusterMySQLCluster is the Schema for the MySQLClusters API. Manages the yandex_mdb_mysql_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: MySQLCluster

kind
string
metadata
object
spec
object

MySQLClusterSpec defines the desired state of MySQLCluster

forProvider
required
object

(No description available)

access
array

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

dataLens
boolean
webSql
boolean
array

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

hours
number
minutes
number
array

[Block]. To manage databases, please switch to using a separate resource type yandex_mdb_mysql_databases. To manage databases, please switch to using a separate resource type yandex_mdb_mysql_databases.

name
string
array

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

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 MySQL cluster. A host of the MySQL 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). A list of host group IDs to place VMs of the cluster on. A list of host group IDs to place VMs of the cluster on.

labels
object
array

[Block]. Maintenance policy of the MySQL cluster. Maintenance policy of the MySQL 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
array

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

array

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

restore
array

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

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]. To manage users, please switch to using a separate resource type yandex_mdb_mysql_user. To manage users, please switch to using a separate resource type yandex_mdb_mysql_user.

array
  1. When these parameters are set to -1, backend default values will be actually used. User's connection limits. If not specified there will be no changes. Default value is -1. When these parameters are set to -1, backend default values will be actually used.
array

(Set Of String). List user's global permissions. Allowed permissions: REPLICATION_CLIENT, REPLICATION_SLAVE, PROCESS, FLUSH_OPTIMIZER_COSTS, SHOW_ROUTINE, MDB_ADMIN for clear list use empty list. If the attribute is not specified there will be no changes. List user's global permissions. Allowed permissions: REPLICATION_CLIENT, REPLICATION_SLAVE, PROCESS, FLUSH_OPTIMIZER_COSTS, SHOW_ROUTINE, MDB_ADMIN for clear list use empty list. If the attribute is not specified there will be no changes.

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.

roles
array

(List Of String). List user's roles in the database. Allowed roles: ALL,ALTER,ALTER_ROUTINE,CREATE,CREATE_ROUTINE,CREATE_TEMPORARY_TABLES, CREATE_VIEW,DELETE,DROP,EVENT,EXECUTE,INDEX,INSERT,LOCK_TABLES,SELECT,SHOW_VIEW,TRIGGER,UPDATE,REFERENCES. List user's roles in the database. Allowed roles: ALL,ALTER,ALTER_ROUTINE,CREATE,CREATE_ROUTINE,CREATE_TEMPORARY_TABLES, CREATE_VIEW,DELETE,DROP,EVENT,EXECUTE,INDEX,INSERT,LOCK_TABLES,SELECT,SHOW_VIEW,TRIGGER,UPDATE,REFERENCES.

version
string
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.

access
array

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

dataLens
boolean
webSql
boolean
array

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

hours
number
minutes
number
array

[Block]. To manage databases, please switch to using a separate resource type yandex_mdb_mysql_databases. To manage databases, please switch to using a separate resource type yandex_mdb_mysql_databases.

name
string
array

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

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 MySQL cluster. A host of the MySQL 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). A list of host group IDs to place VMs of the cluster on. A list of host group IDs to place VMs of the cluster on.

labels
object
array

[Block]. Maintenance policy of the MySQL cluster. Maintenance policy of the MySQL 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
array

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

array

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

restore
array

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

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]. To manage users, please switch to using a separate resource type yandex_mdb_mysql_user. To manage users, please switch to using a separate resource type yandex_mdb_mysql_user.

array
  1. When these parameters are set to -1, backend default values will be actually used. User's connection limits. If not specified there will be no changes. Default value is -1. When these parameters are set to -1, backend default values will be actually used.
array

(Set Of String). List user's global permissions. Allowed permissions: REPLICATION_CLIENT, REPLICATION_SLAVE, PROCESS, FLUSH_OPTIMIZER_COSTS, SHOW_ROUTINE, MDB_ADMIN for clear list use empty list. If the attribute is not specified there will be no changes. List user's global permissions. Allowed permissions: REPLICATION_CLIENT, REPLICATION_SLAVE, PROCESS, FLUSH_OPTIMIZER_COSTS, SHOW_ROUTINE, MDB_ADMIN for clear list use empty list. If the attribute is not specified there will be no changes.

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.

roles
array

(List Of String). List user's roles in the database. Allowed roles: ALL,ALTER,ALTER_ROUTINE,CREATE,CREATE_ROUTINE,CREATE_TEMPORARY_TABLES, CREATE_VIEW,DELETE,DROP,EVENT,EXECUTE,INDEX,INSERT,LOCK_TABLES,SELECT,SHOW_VIEW,TRIGGER,UPDATE,REFERENCES. List user's roles in the database. Allowed roles: ALL,ALTER,ALTER_ROUTINE,CREATE,CREATE_ROUTINE,CREATE_TEMPORARY_TABLES, CREATE_VIEW,DELETE,DROP,EVENT,EXECUTE,INDEX,INSERT,LOCK_TABLES,SELECT,SHOW_VIEW,TRIGGER,UPDATE,REFERENCES.

version
string
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

MySQLClusterStatus defines the observed state of MySQLCluster.

object

(No description available)

access
array

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

dataLens
boolean
webSql
boolean
array

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

hours
number
minutes
number
createdAt
string
array

[Block]. To manage databases, please switch to using a separate resource type yandex_mdb_mysql_databases. To manage databases, please switch to using a separate resource type yandex_mdb_mysql_databases.

name
string
array

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

folderId
string
health
string
host
array

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

array

(Set Of String). A list of host group IDs to place VMs of the cluster on. A list of host group IDs to place VMs of the cluster on.

id
string
labels
object
array

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

day
string
hour
number
type
string
name
string
networkId
string
array

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

array

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

restore
array

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

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]. To manage users, please switch to using a separate resource type yandex_mdb_mysql_user. To manage users, please switch to using a separate resource type yandex_mdb_mysql_user.

array
  1. When these parameters are set to -1, backend default values will be actually used. User's connection limits. If not specified there will be no changes. Default value is -1. When these parameters are set to -1, backend default values will be actually used.
array

(Set Of String). List user's global permissions. Allowed permissions: REPLICATION_CLIENT, REPLICATION_SLAVE, PROCESS, FLUSH_OPTIMIZER_COSTS, SHOW_ROUTINE, MDB_ADMIN for clear list use empty list. If the attribute is not specified there will be no changes. List user's global permissions. Allowed permissions: REPLICATION_CLIENT, REPLICATION_SLAVE, PROCESS, FLUSH_OPTIMIZER_COSTS, SHOW_ROUTINE, MDB_ADMIN for clear list use empty list. If the attribute is not specified there will be no changes.

name
string
array

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

roles
array

(List Of String). List user's roles in the database. Allowed roles: ALL,ALTER,ALTER_ROUTINE,CREATE,CREATE_ROUTINE,CREATE_TEMPORARY_TABLES, CREATE_VIEW,DELETE,DROP,EVENT,EXECUTE,INDEX,INSERT,LOCK_TABLES,SELECT,SHOW_VIEW,TRIGGER,UPDATE,REFERENCES. List user's roles in the database. Allowed roles: ALL,ALTER,ALTER_ROUTINE,CREATE,CREATE_ROUTINE,CREATE_TEMPORARY_TABLES, CREATE_VIEW,DELETE,DROP,EVENT,EXECUTE,INDEX,INSERT,LOCK_TABLES,SELECT,SHOW_VIEW,TRIGGER,UPDATE,REFERENCES.

version
string
array

Conditions of the resource.

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