LevelTypeDetails

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

Bases: object

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

Attributes

LEVEL_TYPE_NODE_LEVEL A constant which can be used with the level_type property of a LevelTypeDetails.
LEVEL_TYPE_NODE_TYPE_LEVEL A constant which can be used with the level_type property of a LevelTypeDetails.
level_type [Required] Gets the level_type of this LevelTypeDetails.

Methods

__init__(**kwargs) Initializes a new LevelTypeDetails 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'

A constant which can be used with the level_type property of a LevelTypeDetails. This constant has a value of “NODE_LEVEL”

LEVEL_TYPE_NODE_TYPE_LEVEL = 'NODE_TYPE_LEVEL'

A constant which can be used with the level_type property of a LevelTypeDetails. This constant has a value of “NODE_TYPE_LEVEL”

__init__(**kwargs)

Initializes a new LevelTypeDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 LevelTypeDetails. 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’.
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