otcextensions.sdk.dcs.v1.restore_record

The DCS RestoreRecord Class

The RestoreRecord class inherits from Resource.

class otcextensions.sdk.dcs.v1.restore_record.RestoreRecord(_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.

resources_key: ty.Optional[str] = 'restore_record_response'

Plural form of key for resource.

base_path: str = '/instances/%(instance_id)s/restores'

The base part of the URI for this resource.

allow_list = True

Allow list operation for this resource.

allow_create = True

Allow create operation for this resource.

instance_id

Instance ID

backup_description

Backup description

backup_id

Backup ID

backup_name

Backup name

created_at

Time at which the backup task is created.

description

Restore description

error_code

Error code returned if DCS instance restore fails.

id

Restore ID

restore_description

Restore description

restore_name

Restore name

progress

Restore progress.

status

Restore status. * waiting: DCS instance restore is waiting to begin. * restoring: DCS instance restore is in progress. * succeed: DCS instance restore succeeded. * failed: DCS instance restore failed.

updated_at

Time at which DCS instance restore is completed.