NodeLevelDetails

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

Bases: oci.bds.models.level_type_details.LevelTypeDetails

Details of node 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_host_name [Required] Gets the node_host_name of this NodeLevelDetails.

Methods

__init__(**kwargs) Initializes a new NodeLevelDetails 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 NodeLevelDetails object with values from keyword arguments. The default value of the level_type attribute of this class is NODE_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 NodeLevelDetails. Allowed values for this property are: “NODE_LEVEL”, “NODE_TYPE_LEVEL”
  • node_host_name (str) – The value to assign to the node_host_name property of this NodeLevelDetails.
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_host_name

[Required] Gets the node_host_name of this NodeLevelDetails. Host name of the node to create backup configuration.

Returns:The node_host_name of this NodeLevelDetails.
Return type:str