ComputeHostGroupSummary¶
-
class
oci.core.models.
ComputeHostGroupSummary
(**kwargs)¶ Bases:
object
Summary information for a compute host group.
Methods
__init__
(**kwargs)Initializes a new ComputeHostGroupSummary object with values from keyword arguments. Attributes
availability_domain
[Required] Gets the availability_domain of this ComputeHostGroupSummary. compartment_id
[Required] Gets the compartment_id of this ComputeHostGroupSummary. defined_tags
Gets the defined_tags of this ComputeHostGroupSummary. display_name
[Required] Gets the display_name of this ComputeHostGroupSummary. freeform_tags
Gets the freeform_tags of this ComputeHostGroupSummary. id
[Required] Gets the id of this ComputeHostGroupSummary. is_targeted_placement_required
[Required] Gets the is_targeted_placement_required of this ComputeHostGroupSummary. lifecycle_state
[Required] Gets the lifecycle_state of this ComputeHostGroupSummary. system_tags
Gets the system_tags of this ComputeHostGroupSummary. time_created
[Required] Gets the time_created of this ComputeHostGroupSummary. time_updated
Gets the time_updated of this ComputeHostGroupSummary. -
__init__
(**kwargs)¶ Initializes a new ComputeHostGroupSummary 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 ComputeHostGroupSummary.
- id (str) – The value to assign to the id property of this ComputeHostGroupSummary.
- display_name (str) – The value to assign to the display_name property of this ComputeHostGroupSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this ComputeHostGroupSummary.
- time_created (datetime) – The value to assign to the time_created property of this ComputeHostGroupSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this ComputeHostGroupSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ComputeHostGroupSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ComputeHostGroupSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ComputeHostGroupSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ComputeHostGroupSummary.
- is_targeted_placement_required (bool) – The value to assign to the is_targeted_placement_required property of this ComputeHostGroupSummary.
-
availability_domain
¶ [Required] Gets the availability_domain of this ComputeHostGroupSummary. The availability domain of a host group.
Example: Uocm:PHX-AD-1
Returns: The availability_domain of this ComputeHostGroupSummary. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this ComputeHostGroupSummary. The OCID of the compartment that contains host group.
Returns: The compartment_id of this ComputeHostGroupSummary. Return type: str
Gets the defined_tags of this ComputeHostGroupSummary. 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 ComputeHostGroupSummary. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this ComputeHostGroupSummary. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this ComputeHostGroupSummary. Return type: str
Gets the freeform_tags of this ComputeHostGroupSummary. 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 ComputeHostGroupSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this ComputeHostGroupSummary. The OCID for the Customer-unique host group
Returns: The id of this ComputeHostGroupSummary. Return type: str
-
is_targeted_placement_required
¶ [Required] Gets the is_targeted_placement_required of this ComputeHostGroupSummary. A flag that allows customers to restrict placement for hosts attached to the group. If true, the only way to place on hosts is to target the specific host group.
Returns: The is_targeted_placement_required of this ComputeHostGroupSummary. Return type: bool
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this ComputeHostGroupSummary. The current state of the compute host group
Returns: The lifecycle_state of this ComputeHostGroupSummary. Return type: str
Gets the system_tags of this ComputeHostGroupSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The system_tags of this ComputeHostGroupSummary. Return type: dict(str, dict(str, object))
-