openstack.image.v2.service_info¶
The Store Class¶
The Store class inherits from Resource.
- class openstack.image.v2.service_info.Store(_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._connectionin Resource code should protect itself with a check for None.
- description¶
Description of the store
- is_default¶
default
- delete_image(session, image, *, ignore_missing=False)¶
Delete image from store
- Parameters
session – The session to use for making this request.
image – The value can be either the ID of an image or a
Imageinstance.
- Returns
The result of the
deleteif resource found, else None.- Raises
ResourceNotFoundwhen ignore_missing ifFalseand a nonexistent resource is attempted to be deleted.
The Import Info Class¶
The Import class inherits from Resource.
- class openstack.image.v2.service_info.Import(_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._connectionin Resource code should protect itself with a check for None.
- import_methods¶
import methods