Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.87 KB

File metadata and controls

39 lines (30 loc) · 1.87 KB

PatchClusterProperties

Properties of the payload to change a cluster.

Properties

Name Type Description Notes
cores int The number of CPU cores per instance. [optional]
ram int The amount of memory per instance in megabytes. Has to be a multiple of 1024. [optional]
storage_size int The amount of storage per instance in megabytes. [optional]
connections list[Connection]
display_name str The friendly name of your cluster. [optional]
maintenance_window MaintenanceWindow [optional]
postgres_version str The PostgreSQL version of your cluster. [optional]
instances int The total number of instances in the cluster (one master and n-1 standbys). [optional]
connection_pooler ConnectionPooler [optional]
synchronization_mode SynchronizationMode [optional]

Example

from ionoscloud_dbaas_postgres.models.patch_cluster_properties import PatchClusterProperties

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

# convert the object into a dict
patch_cluster_properties_dict = patch_cluster_properties_instance.to_dict()
# create an instance of PatchClusterProperties from a dict
patch_cluster_properties_from_dict = PatchClusterProperties.from_dict(patch_cluster_properties_dict)

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