otcextensions.sdk.cbr.v3.restore¶
The CBR Restore Class¶
The Restore
class inherits from
Resource
.
-
class
otcextensions.sdk.cbr.v3.restore.
Restore
(_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.
-
backup_id
¶ Properties URI backup reference
-
mappings
¶ Restores mapping relationship. Mandatory for VM restoreation and optional for disk restoration
-
power_on
¶ Whether the server is powered on after restoration. Default: True
-
resource_id
¶ ID of the resource to be restored
-
server_id
¶ ID of the target VM to be restored. Mandatory for VM restoration.
-
volume_id
¶ ID of the target disk to be restored This parameter is mandatory for disk restoration
-
class
otcextensions.sdk.cbr.v3.restore.
Mapping
(_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.
-
backup_id
¶ Properties Disk backup ID
-
volume_id
¶ ID of the to which data is restored