ClusterPlacementGroupSummary¶
- class oci.cluster_placement_groups.models.ClusterPlacementGroupSummary(**kwargs)¶
Bases:
objectA summary object that provides the metadata details of the cluster placement group.
Attributes:
A constant which can be used with the cluster_placement_group_type property of a ClusterPlacementGroupSummary.
[Required] Gets the availability_domain of this ClusterPlacementGroupSummary.
[Required] Gets the cluster_placement_group_type of this ClusterPlacementGroupSummary.
[Required] Gets the compartment_id of this ClusterPlacementGroupSummary.
[Required] Gets the defined_tags of this ClusterPlacementGroupSummary.
[Required] Gets the freeform_tags of this ClusterPlacementGroupSummary.
[Required] Gets the id of this ClusterPlacementGroupSummary.
Gets the lifecycle_details of this ClusterPlacementGroupSummary.
[Required] Gets the lifecycle_state of this ClusterPlacementGroupSummary.
[Required] Gets the name of this ClusterPlacementGroupSummary.
Gets the system_tags of this ClusterPlacementGroupSummary.
[Required] Gets the time_created of this ClusterPlacementGroupSummary.
Gets the time_updated of this ClusterPlacementGroupSummary.
Methods:
__init__(**kwargs)Initializes a new ClusterPlacementGroupSummary object with values from keyword arguments.
- CLUSTER_PLACEMENT_GROUP_TYPE_STANDARD = 'STANDARD'¶
A constant which can be used with the cluster_placement_group_type property of a ClusterPlacementGroupSummary. This constant has a value of “STANDARD”
- __init__(**kwargs)¶
Initializes a new ClusterPlacementGroupSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this ClusterPlacementGroupSummary.
name (str) – The value to assign to the name property of this ClusterPlacementGroupSummary.
compartment_id (str) – The value to assign to the compartment_id property of this ClusterPlacementGroupSummary.
availability_domain (str) – The value to assign to the availability_domain property of this ClusterPlacementGroupSummary.
cluster_placement_group_type (str) – The value to assign to the cluster_placement_group_type property of this ClusterPlacementGroupSummary. Allowed values for this property are: “STANDARD”, ‘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 ClusterPlacementGroupSummary.
time_updated (datetime) – The value to assign to the time_updated property of this ClusterPlacementGroupSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this ClusterPlacementGroupSummary.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this ClusterPlacementGroupSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ClusterPlacementGroupSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ClusterPlacementGroupSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ClusterPlacementGroupSummary.
- property availability_domain¶
[Required] Gets the availability_domain of this ClusterPlacementGroupSummary. The availability domain of the cluster placement group.
- Returns
The availability_domain of this ClusterPlacementGroupSummary.
- Return type
str
- property cluster_placement_group_type¶
[Required] Gets the cluster_placement_group_type of this ClusterPlacementGroupSummary. The type of cluster placement group.
Allowed values for this property are: “STANDARD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The cluster_placement_group_type of this ClusterPlacementGroupSummary.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this ClusterPlacementGroupSummary. The OCID of the compartment that contains the cluster placement group.
- Returns
The compartment_id of this ClusterPlacementGroupSummary.
- Return type
str
- property defined_tags¶
[Required] Gets the defined_tags of this ClusterPlacementGroupSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this ClusterPlacementGroupSummary.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
[Required] Gets the freeform_tags of this ClusterPlacementGroupSummary. Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this ClusterPlacementGroupSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this ClusterPlacementGroupSummary. The OCID of the cluster placement group.
- Returns
The id of this ClusterPlacementGroupSummary.
- Return type
str
- property lifecycle_details¶
Gets the lifecycle_details of this ClusterPlacementGroupSummary. A message describing the current state in more detail. For example, lifecycle details for a resource in a Failed state might include information to act on.
- Returns
The lifecycle_details of this ClusterPlacementGroupSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this ClusterPlacementGroupSummary. The current state of the cluster placement group.
- Returns
The lifecycle_state of this ClusterPlacementGroupSummary.
- Return type
str
- property name¶
[Required] Gets the name of this ClusterPlacementGroupSummary. The friendly name of the cluster placement group.
- Returns
The name of this ClusterPlacementGroupSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this ClusterPlacementGroupSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns
The system_tags of this ClusterPlacementGroupSummary.
- Return type
dict(str, dict(str, object))