PlacementInstructionDetails

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

Bases: object

Details that inform cluster placement group provisioning.

Attributes:

TYPE_TOKEN

A constant which can be used with the type property of a PlacementInstructionDetails.

type

[Required] Gets the type of this PlacementInstructionDetails.

value

[Required] Gets the value of this PlacementInstructionDetails.

Methods:

__init__(**kwargs)

Initializes a new PlacementInstructionDetails object with values from keyword arguments.

TYPE_TOKEN = 'TOKEN'

A constant which can be used with the type property of a PlacementInstructionDetails. This constant has a value of “TOKEN”

__init__(**kwargs)

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

Parameters
  • type (str) – The value to assign to the type property of this PlacementInstructionDetails. Allowed values for this property are: “TOKEN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

property type

[Required] Gets the type of this PlacementInstructionDetails. The type of placement instruction.

Allowed values for this property are: “TOKEN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The type of this PlacementInstructionDetails.

Return type

str

property value

[Required] Gets the value of this PlacementInstructionDetails. The value of the token designated for placement of the cluster placement group upon creation.

Returns

The value of this PlacementInstructionDetails.

Return type

str