CreateComputeHostGroupDetails

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

Bases: object

Detail information for a compute host group.

Methods:

__init__(**kwargs)

Initializes a new CreateComputeHostGroupDetails object with values from keyword arguments.

Attributes:

availability_domain

[Required] Gets the availability_domain of this CreateComputeHostGroupDetails.

compartment_id

[Required] Gets the compartment_id of this CreateComputeHostGroupDetails.

configurations

Gets the configurations of this CreateComputeHostGroupDetails.

defined_tags

Gets the defined_tags of this CreateComputeHostGroupDetails.

display_name

[Required] Gets the display_name of this CreateComputeHostGroupDetails.

freeform_tags

Gets the freeform_tags of this CreateComputeHostGroupDetails.

is_targeted_placement_required

[Required] Gets the is_targeted_placement_required of this CreateComputeHostGroupDetails.

__init__(**kwargs)

Initializes a new CreateComputeHostGroupDetails 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 CreateComputeHostGroupDetails.

  • display_name (str) – The value to assign to the display_name property of this CreateComputeHostGroupDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateComputeHostGroupDetails.

  • configurations (list[oci.core.models.HostGroupConfiguration]) – The value to assign to the configurations property of this CreateComputeHostGroupDetails.

  • is_targeted_placement_required (bool) – The value to assign to the is_targeted_placement_required property of this CreateComputeHostGroupDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateComputeHostGroupDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateComputeHostGroupDetails.

property availability_domain

[Required] Gets the availability_domain of this CreateComputeHostGroupDetails. The availability domain of a host group.

Example: Uocm:PHX-AD-1

Returns

The availability_domain of this CreateComputeHostGroupDetails.

Return type

str

property compartment_id

[Required] Gets the compartment_id of this CreateComputeHostGroupDetails. The OCID of the compartment that contains host group.

Returns

The compartment_id of this CreateComputeHostGroupDetails.

Return type

str

property configurations

Gets the configurations of this CreateComputeHostGroupDetails. A list of HostGroupConfiguration objects

Returns

The configurations of this CreateComputeHostGroupDetails.

Return type

list[oci.core.models.HostGroupConfiguration]

property defined_tags

Gets the defined_tags of this CreateComputeHostGroupDetails. 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 CreateComputeHostGroupDetails.

Return type

dict(str, dict(str, object))

property display_name

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

Returns

The display_name of this CreateComputeHostGroupDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateComputeHostGroupDetails. 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 CreateComputeHostGroupDetails.

Return type

dict(str, str)

property is_targeted_placement_required

[Required] Gets the is_targeted_placement_required of this CreateComputeHostGroupDetails. 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 CreateComputeHostGroupDetails.

Return type

bool