openstack.shared_file_system.v2.share_transfer¶
The ShareTransfer Class¶
The ShareTransfer class inherits from
Resource and can be used to query quota class
- class openstack.shared_file_system.v2.share_transfer.ShareTransfer(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters:
_synchronized – This is not intended to be used directly. See
new()andexisting().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._connectionin Resource code should protect itself with a check for None.
- resource_key = 'transfer'¶
Singular form of key for resource.
- base_path = '/share-transfers'¶
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.
- allow_fetch = True¶
Allow get operation for this resource.
- allow_commit = False¶
Allow update operation for this resource.
- allow_delete = True¶
Allow delete operation for this resource.
- allow_head = False¶
Allow head operation for this resource.
- id¶
The transfer UUID.
- share_id¶
The share UUID.
- created_at¶
The date and time stamp when the resource was created within the service’s database.
- name¶
The transfer display name.
- resource_type¶
The type of the resource for the transfer.
- resource_id¶
The UUID of the resource for the transfer.
- auth_key¶
The authentication key for the transfer.
- source_project_id¶
The ID of the project that owns the resource.
- destination_project_id¶
UUID of the destination project to accept transfer resource.
- accepted¶
Whether the transfer has been accepted.
- expires_at¶
The date and time stamp when the resource transfer will expire After transfer expired, will be automatically deleted
- links¶
Pagination and bookmark links for the resource.
- accept(session, *, auth_key, clear_access_rules=False)¶
Accept a share transfer using the auth_key.