ComputeCluster

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

Bases: object

A remote direct memory access (RDMA) network group.

A cluster network on a compute cluster is a group of high performance computing (HPC), GPU, or optimized instances that are connected with an ultra low-latency network.

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

For details about cluster networks that use instance pools to manage groups of identical instances, see ClusterNetwork.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a ComputeCluster.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a ComputeCluster.
availability_domain [Required] Gets the availability_domain of this ComputeCluster.
compartment_id [Required] Gets the compartment_id of this ComputeCluster.
defined_tags Gets the defined_tags of this ComputeCluster.
display_name Gets the display_name of this ComputeCluster.
freeform_tags Gets the freeform_tags of this ComputeCluster.
id [Required] Gets the id of this ComputeCluster.
lifecycle_state [Required] Gets the lifecycle_state of this ComputeCluster.
time_created [Required] Gets the time_created of this ComputeCluster.

Methods

__init__(**kwargs) Initializes a new ComputeCluster object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a ComputeCluster. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a ComputeCluster. This constant has a value of “DELETED”

__init__(**kwargs)

Initializes a new ComputeCluster 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 ComputeCluster.
  • compartment_id (str) – The value to assign to the compartment_id property of this ComputeCluster.
  • display_name (str) – The value to assign to the display_name property of this ComputeCluster.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ComputeCluster.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ComputeCluster.
  • id (str) – The value to assign to the id property of this ComputeCluster.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ComputeCluster. Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this ComputeCluster.
availability_domain

[Required] Gets the availability_domain of this ComputeCluster. The availability domain the compute cluster is running in.

Example: Uocm:PHX-AD-1

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

[Required] Gets the compartment_id of this ComputeCluster. The OCID of the compartment that contains the compute cluster.

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

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

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

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

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

[Required] Gets the id of this ComputeCluster. The OCID of the compute cluster.

Returns:The id of this ComputeCluster.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ComputeCluster. The current state of the compute cluster.

Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this ComputeCluster.
Return type:str
time_created

[Required] Gets the time_created of this ComputeCluster. The date and time the compute cluster was created, in the format defined by RFC3339.

Example: 2016-08-25T21:10:29.600Z

Returns:The time_created of this ComputeCluster.
Return type:datetime