CreateComputeClusterDetails¶
-
class
oci.core.models.CreateComputeClusterDetails(**kwargs)¶ Bases:
objectThe data for creating a compute cluster.
After the compute cluster is created, you can use the compute cluster’s OCID to create Instance, GPU Memory Cluster or Instance Pool resources within the compute cluster. These resources must be created in the same compartment and availability domain as the cluster.
Use COMPUTE_CLUSTER type when using placementConstraintDetails.
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_tagsGets the defined_tags of this CreateComputeClusterDetails. display_nameGets the display_name of this CreateComputeClusterDetails. freeform_tagsGets the freeform_tags of this CreateComputeClusterDetails. placement_constraint_detailsGets the placement_constraint_details 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.
- placement_constraint_details (oci.core.models.PlacementConstraintDetails) – The value to assign to the placement_constraint_details 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
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
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)
-
placement_constraint_details¶ Gets the placement_constraint_details of this CreateComputeClusterDetails.
Returns: The placement_constraint_details of this CreateComputeClusterDetails. Return type: oci.core.models.PlacementConstraintDetails
-