CreateClusterPlacementGroupDetails

class oci.cluster_placement_groups.models.CreateClusterPlacementGroupDetails(**kwargs)

Bases: object

Detailed information about the new cluster placement group.

Attributes

CLUSTER_PLACEMENT_GROUP_TYPE_STANDARD A constant which can be used with the cluster_placement_group_type property of a CreateClusterPlacementGroupDetails.
availability_domain [Required] Gets the availability_domain of this CreateClusterPlacementGroupDetails.
capabilities Gets the capabilities of this CreateClusterPlacementGroupDetails.
cluster_placement_group_type [Required] Gets the cluster_placement_group_type of this CreateClusterPlacementGroupDetails.
compartment_id [Required] Gets the compartment_id of this CreateClusterPlacementGroupDetails.
defined_tags Gets the defined_tags of this CreateClusterPlacementGroupDetails.
description [Required] Gets the description of this CreateClusterPlacementGroupDetails.
freeform_tags Gets the freeform_tags of this CreateClusterPlacementGroupDetails.
name [Required] Gets the name of this CreateClusterPlacementGroupDetails.
placement_instruction Gets the placement_instruction of this CreateClusterPlacementGroupDetails.

Methods

__init__(**kwargs) Initializes a new CreateClusterPlacementGroupDetails 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 CreateClusterPlacementGroupDetails. This constant has a value of “STANDARD”

__init__(**kwargs)

Initializes a new CreateClusterPlacementGroupDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this CreateClusterPlacementGroupDetails.
  • cluster_placement_group_type (str) – The value to assign to the cluster_placement_group_type property of this CreateClusterPlacementGroupDetails. Allowed values for this property are: “STANDARD”
  • description (str) – The value to assign to the description property of this CreateClusterPlacementGroupDetails.
  • availability_domain (str) – The value to assign to the availability_domain property of this CreateClusterPlacementGroupDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateClusterPlacementGroupDetails.
  • placement_instruction (oci.cluster_placement_groups.models.PlacementInstructionDetails) – The value to assign to the placement_instruction property of this CreateClusterPlacementGroupDetails.
  • capabilities (oci.cluster_placement_groups.models.CapabilitiesCollection) – The value to assign to the capabilities property of this CreateClusterPlacementGroupDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateClusterPlacementGroupDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateClusterPlacementGroupDetails.
availability_domain

[Required] Gets the availability_domain of this CreateClusterPlacementGroupDetails. The availability domain where you want to create the cluster placement group.

Returns:The availability_domain of this CreateClusterPlacementGroupDetails.
Return type:str
capabilities

Gets the capabilities of this CreateClusterPlacementGroupDetails.

Returns:The capabilities of this CreateClusterPlacementGroupDetails.
Return type:oci.cluster_placement_groups.models.CapabilitiesCollection
cluster_placement_group_type

[Required] Gets the cluster_placement_group_type of this CreateClusterPlacementGroupDetails. ClusterPlacementGroup Identifier.

Allowed values for this property are: “STANDARD”

Returns:The cluster_placement_group_type of this CreateClusterPlacementGroupDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateClusterPlacementGroupDetails. The OCID of the compartment where you want to create the cluster placement group.

Returns:The compartment_id of this CreateClusterPlacementGroupDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateClusterPlacementGroupDetails. 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 CreateClusterPlacementGroupDetails.
Return type:dict(str, dict(str, object))
description

[Required] Gets the description of this CreateClusterPlacementGroupDetails. A description of the cluster placement group.

Returns:The description of this CreateClusterPlacementGroupDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateClusterPlacementGroupDetails. 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 CreateClusterPlacementGroupDetails.
Return type:dict(str, str)
name

[Required] Gets the name of this CreateClusterPlacementGroupDetails. The friendly name of the cluster placement group.

Returns:The name of this CreateClusterPlacementGroupDetails.
Return type:str
placement_instruction

Gets the placement_instruction of this CreateClusterPlacementGroupDetails.

Returns:The placement_instruction of this CreateClusterPlacementGroupDetails.
Return type:oci.cluster_placement_groups.models.PlacementInstructionDetails