otcextensions.sdk.cbr.v3.member

The CBR Memnber Class

The Member class inherits from Resource.

class otcextensions.sdk.cbr.v3.member.Member(_synchronized=False, connection=None, **attrs)

CBR Member Resource

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.

backup_id

Properties Backup ID

created_at

Backup sharing time Example: 2020-02-05T10:38:34.209782

dest_project_id

Destination project ID which the backup is shared

image_id

ID of the image created by using the accepted shared backup_id

status

Backup sharing values values: pending, accepted, rejected

updated_at

Update time Example: 2020-02-05T10:38:34.209782

vault_id

ID of the vault where the shared backup is stored

commit(session, prepend_key=False, has_body=True, retry_on_conflict=None, base_path=None, **kwargs)

Commit the state of the instance to the remote resource.

Parameters
  • session (Adapter) – The session to use for making this request.

  • prepend_key – A boolean indicating whether the resource_key should be prepended in a resource update request. Default to True.

  • retry_on_conflict (bool) – Whether to enable retries on HTTP CONFLICT (409). Value of None leaves the Adapter defaults.

  • base_path (str) – Base part of the URI for modifying resources, if different from base_path.

  • microversion (str) – API version to override the negotiated one.

  • kwargs (dict) – Parameters that will be passed to _prepare_request()

Returns

This Resource instance.

Raises

MethodNotSupported if Resource.allow_commit is not set to True.