UpdateComputeClusterDetails¶
- class oci.core.models.UpdateComputeClusterDetails(**kwargs)¶
Bases:
objectThe data to update a compute cluster.
Use COMPUTE_CLUSTER type when using placementConstraintDetails.
placementConstraintDetails.hpcIslandId is create-only and cannot be part of this update request.
All other fields in placementConstraintDetails are optional, and only the fields provided will be updated.
If placementConstraintDetails.targetNetworkBlockIds or placementConstraintDetails.targetMemoryFabricIds is provided, then the target compute cluster must already have hpcIslandId persisted.
Methods:
__init__(**kwargs)Initializes a new UpdateComputeClusterDetails object with values from keyword arguments.
Attributes:
Gets the defined_tags of this UpdateComputeClusterDetails.
Gets the display_name of this UpdateComputeClusterDetails.
Gets the freeform_tags of this UpdateComputeClusterDetails.
Gets the placement_constraint_details of this UpdateComputeClusterDetails.
- __init__(**kwargs)¶
Initializes a new UpdateComputeClusterDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this UpdateComputeClusterDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateComputeClusterDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateComputeClusterDetails.
placement_constraint_details (oci.core.models.PlacementConstraintDetails) – The value to assign to the placement_constraint_details property of this UpdateComputeClusterDetails.
- property defined_tags¶
Gets the defined_tags of this UpdateComputeClusterDetails. 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 UpdateComputeClusterDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this UpdateComputeClusterDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this UpdateComputeClusterDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateComputeClusterDetails. 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 UpdateComputeClusterDetails.
- Return type
dict(str, str)
- property placement_constraint_details¶
Gets the placement_constraint_details of this UpdateComputeClusterDetails.
- Returns
The placement_constraint_details of this UpdateComputeClusterDetails.
- Return type