UpdateVmClusterDetails

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

Bases: object

Details for updating the VM cluster.

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.
  • 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.
  • 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
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
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]