CreateComputeClusterDetails

class oci.core.models.CreateComputeClusterDetails(**kwargs)

Bases: object

The data for creating a compute cluster. A compute cluster is an empty remote direct memory access (RDMA) network group

After the compute cluster is created, you can use the compute cluster’s OCID with the launch_instance() operation to create instances in the compute cluster. The instances must be created in the same compartment and availability domain as the cluster.

Use compute clusters when you want to manage instances in the cluster individually in the RDMA network group.

For details about creating a cluster network that uses instance pools to manage groups of identical instances, see create_cluster_network_details().

Methods

__init__(**kwargs) Initializes a new CreateComputeClusterDetails object with values from keyword arguments.

Attributes

availability_domain [Required] Gets the availability_domain of this CreateComputeClusterDetails.
compartment_id [Required] Gets the compartment_id of this CreateComputeClusterDetails.
defined_tags Gets the defined_tags of this CreateComputeClusterDetails.
display_name Gets the display_name of this CreateComputeClusterDetails.
freeform_tags Gets the freeform_tags of this CreateComputeClusterDetails.
__init__(**kwargs)

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

Parameters:
  • availability_domain (str) – The value to assign to the availability_domain property of this CreateComputeClusterDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateComputeClusterDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateComputeClusterDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateComputeClusterDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateComputeClusterDetails.
availability_domain

[Required] Gets the availability_domain of this CreateComputeClusterDetails. The availability domain to place the compute cluster in.

Example: Uocm:PHX-AD-1

Returns:The availability_domain of this CreateComputeClusterDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateComputeClusterDetails. The OCID of the compartment.

Returns:The compartment_id of this CreateComputeClusterDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateComputeClusterDetails. 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 CreateComputeClusterDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this CreateComputeClusterDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns:The display_name of this CreateComputeClusterDetails.
Return type:str
freeform_tags

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