otcextensions.sdk.dcs.v1.backup

The DCS Backup Class

The Backup class inherits from Resource.

class otcextensions.sdk.dcs.v1.backup.Backup(_synchronized=False, connection=None, **attrs)

The base resource

Parameters
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

created_at

Time at which the backup task is created.

description

Description of the DCS instance backup.

error_code

Error code returned if DCS instance backup fails.

id

Backup ID

is_restorable

An indicator of whether restoration is supported. The value can be TRUE or FALSE.

name

Backup name

period

Time segment in which DCS instance backup was performed.

progress

Backup progress.

size

Size of the backup file. Unit: byte.

status

Backup status. * waiting: DCS instance backup is waiting to begin. * backuping: DCS instance backup is in progress. * succeed: DCS instance backup succeeded. * failed: DCS instance backup failed. * expired: The backup file has expired. * deleted: The backup file has been deleted manually.

type

Backup type. * manual: manual backup. * auto: automatic backup.

updated_at

Time at which DCS instance backup is completed.