NodeTypeLevelDetails

class oci.bds.models.NodeTypeLevelDetails(**kwargs)

Bases: oci.bds.models.level_type_details.LevelTypeDetails

Details of node type level used to trigger the creation of a new node backup configuration and node replacement configuration.

Attributes

LEVEL_TYPE_NODE_LEVEL str(object=’’) -> str
LEVEL_TYPE_NODE_TYPE_LEVEL str(object=’’) -> str
level_type [Required] Gets the level_type of this LevelTypeDetails.
node_type [Required] Gets the node_type of this NodeTypeLevelDetails.

Methods

__init__(**kwargs) Initializes a new NodeTypeLevelDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
LEVEL_TYPE_NODE_LEVEL = 'NODE_LEVEL'
LEVEL_TYPE_NODE_TYPE_LEVEL = 'NODE_TYPE_LEVEL'
__init__(**kwargs)

Initializes a new NodeTypeLevelDetails object with values from keyword arguments. The default value of the level_type attribute of this class is NODE_TYPE_LEVEL and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • level_type (str) – The value to assign to the level_type property of this NodeTypeLevelDetails. Allowed values for this property are: “NODE_LEVEL”, “NODE_TYPE_LEVEL”
  • node_type (str) – The value to assign to the node_type property of this NodeTypeLevelDetails.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

level_type

[Required] Gets the level_type of this LevelTypeDetails. Type of level used to trigger the creation of a new node backup configuration or node replacement configuration.

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

Returns:The level_type of this LevelTypeDetails.
Return type:str
node_type

[Required] Gets the node_type of this NodeTypeLevelDetails. Type of the node or nodes of the node backup configuration or node replacement configuration which are going to be created.

Returns:The node_type of this NodeTypeLevelDetails.
Return type:str