Updates job details.
PUT {{baseUrl}}/jobs/:jobId
Updates the details for the recurring scheduled job specified by jobId. Note that non-recurring (one time) jobs cannot be updated.
Request Body
{"description"=>"<string>", "jobType"=>"SQL", "resultLocation"=>{"type"=>"OBJECT_STORAGE"}, "scheduleDetails"=>{"endTime"=>"<string>", "intervalType"=>"NEVER", "intervalValue"=>"<string>", "startTime"=>"<string>"}, "timeout"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The client request ID for tracing. | |
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 | ||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","name":"\u003cstring\u003e","scheduleType":"LATER","jobType":"SQL","lifecycleState":"ACTIVE","timeCreated":"\u003cdateTime\u003e","timeUpdated":"\u003cdateTime\u003e","databaseSubType":"ADB","description":"\u003cstring\u003e","managedDatabaseGroupId":"\u003cstring\u003e","managedDatabaseId":"\u003cstring\u003e","managedDatabasesDetails":[{"name":"\u003cstring\u003e","id":"\u003cstring\u003e","databaseSubType":"ACD","databaseType":"CLOUD_RAC","deploymentType":"EXADATA_CC","isCluster":"\u003cboolean\u003e","workloadType":"OLTP"},{"name":"\u003cstring\u003e","id":"\u003cstring\u003e","databaseSubType":"PDB","databaseType":"CLOUD_RAC","deploymentType":"VM","isCluster":"\u003cboolean\u003e","workloadType":"APEX"}],"resultLocation":{"type":"OBJECT_STORAGE"},"scheduleDetails":{"endTime":"\u003cstring\u003e","intervalType":"NEVER","intervalValue":"\u003cstring\u003e","startTime":"\u003cstring\u003e"},"submissionErrorMessage":"\u003cstring\u003e","timeout":"\u003cstring\u003e"}