IMS API¶
The Image Management Service Class¶
Image Management Service (IMS) high-level interface is
available through the ims
member of a
Connection
object. The ims
member
will only be added if the otcextensions.sdk.register_otc_extensions(conn)
method is called.
Image Operations¶
- class otcextensions.sdk.imsv1.v1._proxy.Proxy(session, statsd_client=None, statsd_prefix=None, prometheus_counter=None, prometheus_histogram=None, influxdb_config=None, influxdb_client=None, *args, **kwargs)
- get_async_job(job_id)
Get an asynchronous job
- Returns:
One
AsyncJob
- wait_for_async_job(job_id, timeout=600, message='Timeout waiting for asynchronous job.', wait=10)
Wait for an asynchronous job to finish
- Returns:
One
AsyncJob
- export_image(**attrs)
Export an image
- Returns:
One
ImageExport