UpdateImage
PUT {{baseUrl}}/images/:imageId
Updates the display name of the image. Avoid entering confidential information.
Request Body
{"displayName"=>"elit reprehenderit consequat", "operatingSystem"=>"in quis commodo", "operatingSystemVersion"=>"dolore nisi"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | string | A 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-match | string | For 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-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (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}