otcextensions.sdk.cbr.v3.backup¶
The CBR Backup Class¶
The Backup
class inherits from
Resource
.
- class otcextensions.sdk.cbr.v3.backup.Backup(_synchronized=False, connection=None, **attrs)¶
CBR Backup Resource
The base resource
- Parameters:
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.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.
- resource_key: ty.Optional[str] = 'backup'¶
Singular form of key for resource.
- resources_key: ty.Optional[str] = 'backups'¶
Plural form of key for resource.
- base_path: str = '/backups'¶
The base part of the URI for this resource.
- allow_create = False¶
Allow create operation for this resource.
- allow_list = True¶
Allow list operation for this resource.
- allow_fetch = True¶
Allow get operation for this resource.
- allow_delete = True¶
Allow delete operation for this resource.
- allow_commit = False¶
Allow update operation for this resource.
- checkpoint_id¶
Properties Restore point ID
- created_at¶
Creation time
- description¶
Backup description
- expired_at¶
Expiration time
- extend_info¶
Extended Information
- image_type¶
Backup type Values: backup or replication
- name: ty.Union[Body, URI]¶
Backup name
- parent_id¶
Parent backup ID
- project_id¶
Project ID
- protected_at¶
Backup time
- resource_az¶
Resource availability zone
- resource_id¶
Resource ID
- resource_name¶
Resource name
- resource_type¶
Resource type: OS::Nova::Server or OS::Cinder::Volume
- resource_size¶
Resource size in GB
- status¶
Backup status
- updated_at¶
Update time
- vault_id¶
Vault ID
- add_members(session, members)¶
Method to add several share members to a backup
- Parameters:
session (
Adapter
) – The session to use for making this request.members (list) – List of target project IDs to which the backup is shared
- class otcextensions.sdk.cbr.v3.backup.ExtendInfo(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters:
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.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.
- auto_trigger¶
Whether the backup is automatically triggered
- bootable¶
Whether the backup is a system disk backup
- contain_system_disk¶
Whether the VM backup data contains system disk data
- encrypted¶
Whether the backup is encrypted
- incremental¶
Whether the backup is an incremental backup
- os_images_data¶
ID list of images created using backups
- snapshot_id¶
Snapshot ID of the disk backup
- support_lld¶
Whether to allow lazyloading for fast restoration
- supported_restore_mode¶
Restoration mode Choices: na, snapshot, backup Default: na na indicates the backup cannot be used for restoration
- system_disk¶
Whether the disk is a system disk
- class otcextensions.sdk.cbr.v3.backup.AppCSpec(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters:
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.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.