Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 2.69 KB

ClusterCreateProperties.md

File metadata and controls

39 lines (30 loc) · 2.69 KB

ClusterCreateProperties

Properties

Name Type Description Notes
name str The name of your MariaDB cluster. Must be 63 characters or less and must begin and end with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
description str Human-readable description for the cluster. [optional]
version str The MariaDB version for the cluster. Use GET /versions to retrieve the list of supported versions. To upgrade, provide a version listed in canUpgradeTo for the current version. Downgrades are not supported.
instances InstanceConfiguration
connection MariadbClusterConnection
maintenance_window MaintenanceWindow
credentials MariadbUser
restore_from_backup MariadbRestoreClusterFromBackup [optional]
logs_enabled bool Allows or disallows the collection and reporting of logs for this cluster's observability. If the observability service is not activated on the contract, this setting is accepted but has no effect; log collection will not be enabled until the observability service is activated. [optional] [default to False]
metrics_enabled bool Allows or disallows the collection and reporting of metrics for this cluster's observability. If the observability service is not activated on the contract, this setting is accepted but has no effect; metric collection will not be enabled until the observability service is activated. [optional] [default to False]
backup ClusterBackup

Example

from ionoscloud_dbaas_mariadb.models.cluster_create_properties import ClusterCreateProperties

# TODO update the JSON string below
json = "{}"
# create an instance of ClusterCreateProperties from a JSON string
cluster_create_properties_instance = ClusterCreateProperties.from_json(json)
# print the JSON string representation of the object
print(ClusterCreateProperties.to_json())

# convert the object into a dict
cluster_create_properties_dict = cluster_create_properties_instance.to_dict()
# create an instance of ClusterCreateProperties from a dict
cluster_create_properties_from_dict = ClusterCreateProperties.from_dict(cluster_create_properties_dict)

[Back to Model list] [Back to API list] [Back to README]