otcextensions.sdk.imsv1.v1.async_job¶
The AsyncJob Class¶
The AsyncJob
class inherits from
Resource
.
- class otcextensions.sdk.imsv1.v1.async_job.AsyncJob(_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.
- allow_fetch = True¶
Allow get operation for this resource.
- requires_id = False¶
Do calls for this resource require an id
- get(session, prepend_key=False, base_path=None)¶
Return the value for key if key is in the dictionary, else default.