CreateClusterDetails

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

Bases: object

The properties that define a request to create a cluster.

__init__(**kwargs)

Initializes a new CreateClusterDetails 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 CreateClusterDetails.
  • compartment_id (str) -- The value to assign to the compartment_id property of this CreateClusterDetails.
  • vcn_id (str) -- The value to assign to the vcn_id property of this CreateClusterDetails.
  • kubernetes_version (str) -- The value to assign to the kubernetes_version property of this CreateClusterDetails.
  • kms_key_id (str) -- The value to assign to the kms_key_id property of this CreateClusterDetails.
  • options (ClusterCreateOptions) -- The value to assign to the options property of this CreateClusterDetails.
compartment_id

[Required] Gets the compartment_id of this CreateClusterDetails. The OCID of the compartment in which to create the cluster.

Returns:The compartment_id of this CreateClusterDetails.
Return type:str
kms_key_id

Gets the kms_key_id of this CreateClusterDetails. The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption. When used, kubernetesVersion must be at least v1.13.0.

Returns:The kms_key_id of this CreateClusterDetails.
Return type:str
kubernetes_version

[Required] Gets the kubernetes_version of this CreateClusterDetails. The version of Kubernetes to install into the cluster masters.

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

[Required] Gets the name of this CreateClusterDetails. The name of the cluster. Avoid entering confidential information.

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

Gets the options of this CreateClusterDetails. Optional attributes for the cluster.

Returns:The options of this CreateClusterDetails.
Return type:ClusterCreateOptions
vcn_id

[Required] Gets the vcn_id of this CreateClusterDetails. The OCID of the virtual cloud network (VCN) in which to create the cluster.

Returns:The vcn_id of this CreateClusterDetails.
Return type:str