UpdateVmClusterDetails

class oci.database.models.UpdateVmClusterDetails(**kwargs)

Bases: object

Details for updating the VM cluster.

Attributes

LICENSE_MODEL_BRING_YOUR_OWN_LICENSE A constant which can be used with the license_model property of a UpdateVmClusterDetails.
LICENSE_MODEL_LICENSE_INCLUDED A constant which can be used with the license_model property of a UpdateVmClusterDetails.
cpu_core_count Gets the cpu_core_count of this UpdateVmClusterDetails.
data_storage_size_in_tbs Gets the data_storage_size_in_tbs of this UpdateVmClusterDetails.
db_node_storage_size_in_gbs Gets the db_node_storage_size_in_gbs of this UpdateVmClusterDetails.
defined_tags Gets the defined_tags of this UpdateVmClusterDetails.
freeform_tags Gets the freeform_tags of this UpdateVmClusterDetails.
license_model Gets the license_model of this UpdateVmClusterDetails.
memory_size_in_gbs Gets the memory_size_in_gbs of this UpdateVmClusterDetails.
ssh_public_keys Gets the ssh_public_keys of this UpdateVmClusterDetails.
version Gets the version of this UpdateVmClusterDetails.

Methods

__init__(**kwargs) Initializes a new UpdateVmClusterDetails object with values from keyword arguments.
LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE'

A constant which can be used with the license_model property of a UpdateVmClusterDetails. This constant has a value of “BRING_YOUR_OWN_LICENSE”

LICENSE_MODEL_LICENSE_INCLUDED = 'LICENSE_INCLUDED'

A constant which can be used with the license_model property of a UpdateVmClusterDetails. This constant has a value of “LICENSE_INCLUDED”

__init__(**kwargs)

Initializes a new UpdateVmClusterDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • cpu_core_count (int) – The value to assign to the cpu_core_count property of this UpdateVmClusterDetails.
  • memory_size_in_gbs (int) – The value to assign to the memory_size_in_gbs property of this UpdateVmClusterDetails.
  • db_node_storage_size_in_gbs (int) – The value to assign to the db_node_storage_size_in_gbs property of this UpdateVmClusterDetails.
  • data_storage_size_in_tbs (float) – The value to assign to the data_storage_size_in_tbs property of this UpdateVmClusterDetails.
  • license_model (str) – The value to assign to the license_model property of this UpdateVmClusterDetails. Allowed values for this property are: “LICENSE_INCLUDED”, “BRING_YOUR_OWN_LICENSE”
  • ssh_public_keys (list[str]) – The value to assign to the ssh_public_keys property of this UpdateVmClusterDetails.
  • version (PatchDetails) – The value to assign to the version property of this UpdateVmClusterDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateVmClusterDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateVmClusterDetails.
cpu_core_count

Gets the cpu_core_count of this UpdateVmClusterDetails. The number of CPU cores to enable for the VM cluster.

Returns:The cpu_core_count of this UpdateVmClusterDetails.
Return type:int
data_storage_size_in_tbs

Gets the data_storage_size_in_tbs of this UpdateVmClusterDetails. The data disk group size to be allocated in TBs.

Returns:The data_storage_size_in_tbs of this UpdateVmClusterDetails.
Return type:float
db_node_storage_size_in_gbs

Gets the db_node_storage_size_in_gbs of this UpdateVmClusterDetails. The local node storage to be allocated in GBs.

Returns:The db_node_storage_size_in_gbs of this UpdateVmClusterDetails.
Return type:int
defined_tags

Gets the defined_tags of this UpdateVmClusterDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Returns:The defined_tags of this UpdateVmClusterDetails.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this UpdateVmClusterDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {“Department”: “Finance”}

Returns:The freeform_tags of this UpdateVmClusterDetails.
Return type:dict(str, str)
license_model

Gets the license_model of this UpdateVmClusterDetails. The Oracle license model that applies to the VM cluster. The default is BRING_YOUR_OWN_LICENSE.

Allowed values for this property are: “LICENSE_INCLUDED”, “BRING_YOUR_OWN_LICENSE”

Returns:The license_model of this UpdateVmClusterDetails.
Return type:str
memory_size_in_gbs

Gets the memory_size_in_gbs of this UpdateVmClusterDetails. The memory to be allocated in GBs.

Returns:The memory_size_in_gbs of this UpdateVmClusterDetails.
Return type:int
ssh_public_keys

Gets the ssh_public_keys of this UpdateVmClusterDetails. The public key portion of one or more key pairs used for SSH access to the VM cluster.

Returns:The ssh_public_keys of this UpdateVmClusterDetails.
Return type:list[str]
version

Gets the version of this UpdateVmClusterDetails.

Returns:The version of this UpdateVmClusterDetails.
Return type:PatchDetails