Modifies a function
PUT {{baseUrl}}/functions/:functionId
Modifies a function
Request Body
{"image"=>"<region>.ocir.io/<tenancy_namespace>/<app>/<image>:1.0.0", "imageDigest"=>"sha256:84386...", "memoryInMBs"=>256, "timeoutInSeconds"=>30, "traceConfig"=>{"isEnabled"=>false}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
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. | |||
opc-request-id | string | The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a | |
particular request, please provide the request ID. | |||
Content-Type | string |
RESPONSES
status: OK
{"id":"velit sed","applicationId":"nostrud fugiat ut","compartmentId":"voluptate dolor","config":{},"definedTags":{},"displayName":"ex proident aliqua culpa","freeformTags":{},"image":"amet consequat","imageDigest":"dolore Lorem consecte","invokeEndpoint":"et proident laborum do sint","lifecycleState":"UPDATING","memoryInMBs":-71496706,"timeCreated":"1956-10-17T11:17:28.220Z","timeUpdated":"1990-08-07T04:13:31.141Z","timeoutInSeconds":30,"traceConfig":{"isEnabled":true}}