NodeBackup

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

Bases: object

The information about the Node’s backup.

Attributes:

BACKUP_TRIGGER_TYPE_MANUAL

A constant which can be used with the backup_trigger_type property of a NodeBackup.

BACKUP_TRIGGER_TYPE_SCHEDULED

A constant which can be used with the backup_trigger_type property of a NodeBackup.

BACKUP_TYPE_FULL

A constant which can be used with the backup_type property of a NodeBackup.

BACKUP_TYPE_INCREMENTAL

A constant which can be used with the backup_type property of a NodeBackup.

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a NodeBackup.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a NodeBackup.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a NodeBackup.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a NodeBackup.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a NodeBackup.

LIFECYCLE_STATE_PARTIAL

A constant which can be used with the lifecycle_state property of a NodeBackup.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a NodeBackup.

backup_trigger_type

[Required] Gets the backup_trigger_type of this NodeBackup.

backup_type

[Required] Gets the backup_type of this NodeBackup.

display_name

[Required] Gets the display_name of this NodeBackup.

id

[Required] Gets the id of this NodeBackup.

lifecycle_state

[Required] Gets the lifecycle_state of this NodeBackup.

node_backup_config_id

Gets the node_backup_config_id of this NodeBackup.

node_host_name

[Required] Gets the node_host_name of this NodeBackup.

node_instance_id

[Required] Gets the node_instance_id of this NodeBackup.

time_created

[Required] Gets the time_created of this NodeBackup.

Methods:

__init__(**kwargs)

Initializes a new NodeBackup object with values from keyword arguments.

BACKUP_TRIGGER_TYPE_MANUAL = 'MANUAL'

A constant which can be used with the backup_trigger_type property of a NodeBackup. This constant has a value of “MANUAL”

BACKUP_TRIGGER_TYPE_SCHEDULED = 'SCHEDULED'

A constant which can be used with the backup_trigger_type property of a NodeBackup. This constant has a value of “SCHEDULED”

BACKUP_TYPE_FULL = 'FULL'

A constant which can be used with the backup_type property of a NodeBackup. This constant has a value of “FULL”

BACKUP_TYPE_INCREMENTAL = 'INCREMENTAL'

A constant which can be used with the backup_type property of a NodeBackup. This constant has a value of “INCREMENTAL”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a NodeBackup. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a NodeBackup. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a NodeBackup. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a NodeBackup. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a NodeBackup. This constant has a value of “FAILED”

LIFECYCLE_STATE_PARTIAL = 'PARTIAL'

A constant which can be used with the lifecycle_state property of a NodeBackup. This constant has a value of “PARTIAL”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a NodeBackup. This constant has a value of “UPDATING”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this NodeBackup.

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

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

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

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

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

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

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this NodeBackup. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, “PARTIAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • time_created (datetime) – The value to assign to the time_created property of this NodeBackup.

property backup_trigger_type

[Required] Gets the backup_trigger_type of this NodeBackup. type based on how backup action was initiated.

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

Returns

The backup_trigger_type of this NodeBackup.

Return type

str

property backup_type

[Required] Gets the backup_type of this NodeBackup. Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.

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

Returns

The backup_type of this NodeBackup.

Return type

str

property display_name

[Required] Gets the display_name of this NodeBackup. BDS generated name for the backup. Format is nodeHostName_timeCreated

Returns

The display_name of this NodeBackup.

Return type

str

property id

[Required] Gets the id of this NodeBackup. The id of the node backup.

Returns

The id of this NodeBackup.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this NodeBackup. The state of the NodeBackup.

Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, “PARTIAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this NodeBackup.

Return type

str

property node_backup_config_id

Gets the node_backup_config_id of this NodeBackup. The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by applying the configuration.

Returns

The node_backup_config_id of this NodeBackup.

Return type

str

property node_host_name

[Required] Gets the node_host_name of this NodeBackup. Host name of the node to which this backup belongs.

Returns

The node_host_name of this NodeBackup.

Return type

str

property node_instance_id

[Required] Gets the node_instance_id of this NodeBackup. The instance OCID of the node, which is the resource from which the node backup was acquired.

Returns

The node_instance_id of this NodeBackup.

Return type

str

property time_created

[Required] Gets the time_created of this NodeBackup. The time the cluster was created, shown as an RFC 3339 formatted datetime string.

Returns

The time_created of this NodeBackup.

Return type

datetime