ExportImage

POST {{baseUrl}}/images/:imageId/actions/export

Exports the specified image to the Oracle Cloud Infrastructure Object Storage service. You can use the Object Storage URL, or the namespace, bucket name, and object name when specifying the location to export to.

For more information about exporting images, see Image Import/Export.

To perform an image export, you need write access to the Object Storage bucket for the image, see Let Users Write Objects to Object Storage Buckets.

See Object Storage URLs and Using Pre-Authenticated Requests for constructing URLs for image import/export.

Request Body

{"destinationType"=>"dolor et pariatur cupidatat", "exportFormat"=>"VDI"}

HEADERS

KeyDatatypeRequiredDescription
opc-retry-tokenstringA token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of executing that same action again. Retry tokens expire after 24
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
if-matchstringFor optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
will be updated or deleted only if the etag you provide matches the resource's current etag value.
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{"compartmentId":"dolor commodo in","id":"eu dolor Duis dolore irure","lifecycleState":"AVAILABLE","timeCreated":"1985-05-13T06:46:51.335Z","operatingSystem":"deserunt cillum elit","operatingSystemVersion":"sint et mollit do","createImageAllowed":true,"agentFeatures":{"isManagementSupported":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isMonitoringSupported":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"baseImageId":"cillum exercitation voluptate non ullamco","billableSizeInGBs":16490567,"definedTags":{},"displayName":"qui laborum ad","freeformTags":{},"launchMode":"PARAVIRTUALIZED","launchOptions":{"bootVolumeType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"firmware":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isConsistentVolumeNamingEnabled":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isPvEncryptionInTransitEnabled":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"networkType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"remoteDataVolumeType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"sizeInMBs":57090852}