UpdateClusterDetails

class oci.container_engine.models.UpdateClusterDetails(**kwargs)

Bases: object

The properties that define a request to update a cluster.

Attributes

TYPE_BASIC_CLUSTER A constant which can be used with the type property of a UpdateClusterDetails.
TYPE_ENHANCED_CLUSTER A constant which can be used with the type property of a UpdateClusterDetails.
defined_tags Gets the defined_tags of this UpdateClusterDetails.
freeform_tags Gets the freeform_tags of this UpdateClusterDetails.
image_policy_config Gets the image_policy_config of this UpdateClusterDetails.
kubernetes_version Gets the kubernetes_version of this UpdateClusterDetails.
name Gets the name of this UpdateClusterDetails.
options Gets the options of this UpdateClusterDetails.
type Gets the type of this UpdateClusterDetails.

Methods

__init__(**kwargs) Initializes a new UpdateClusterDetails object with values from keyword arguments.
TYPE_BASIC_CLUSTER = 'BASIC_CLUSTER'

A constant which can be used with the type property of a UpdateClusterDetails. This constant has a value of “BASIC_CLUSTER”

TYPE_ENHANCED_CLUSTER = 'ENHANCED_CLUSTER'

A constant which can be used with the type property of a UpdateClusterDetails. This constant has a value of “ENHANCED_CLUSTER”

__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this UpdateClusterDetails.
  • kubernetes_version (str) – The value to assign to the kubernetes_version property of this UpdateClusterDetails.
  • options (oci.container_engine.models.UpdateClusterOptionsDetails) – The value to assign to the options property of this UpdateClusterDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateClusterDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateClusterDetails.
  • image_policy_config (oci.container_engine.models.UpdateImagePolicyConfigDetails) – The value to assign to the image_policy_config property of this UpdateClusterDetails.
  • type (str) – The value to assign to the type property of this UpdateClusterDetails. Allowed values for this property are: “BASIC_CLUSTER”, “ENHANCED_CLUSTER”
defined_tags

Gets the defined_tags of this UpdateClusterDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

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

Gets the freeform_tags of this UpdateClusterDetails. 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 UpdateClusterDetails.
Return type:dict(str, str)
image_policy_config

Gets the image_policy_config of this UpdateClusterDetails. The image verification policy for signature validation. Once a policy is created and enabled with one or more kms keys, the policy will ensure all images deployed has been signed with the key(s) attached to the policy.

Returns:The image_policy_config of this UpdateClusterDetails.
Return type:oci.container_engine.models.UpdateImagePolicyConfigDetails
kubernetes_version

Gets the kubernetes_version of this UpdateClusterDetails. The version of Kubernetes to which the cluster masters should be upgraded.

Returns:The kubernetes_version of this UpdateClusterDetails.
Return type:str
name

Gets the name of this UpdateClusterDetails. The new name for the cluster. Avoid entering confidential information.

Returns:The name of this UpdateClusterDetails.
Return type:str
options

Gets the options of this UpdateClusterDetails.

Returns:The options of this UpdateClusterDetails.
Return type:oci.container_engine.models.UpdateClusterOptionsDetails
type

Gets the type of this UpdateClusterDetails. Type of cluster

Allowed values for this property are: “BASIC_CLUSTER”, “ENHANCED_CLUSTER”

Returns:The type of this UpdateClusterDetails.
Return type:str