Updates a job

put

/20260430/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobs/{jobKey}

Update details for a job in AI Data Platform Workbench.

Request

Path Parameters
Header Parameters
  • 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.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
  • A flag to identify if the recent list should be updated.
    Default Value: false
Body ()
The information to be updated.
Root Schema : UpdateJobDetails
Type: object
The data to update a job.
Show Source
Nested Schema : Continuous
Type: object
The continuous property ensures that there is always one execution for this job.
Show Source
  • Default Value: UNPAUSED
    Allowed Values: [ "PAUSED", "UNPAUSED" ]
    Indicates whether the continuous execution of this job is paused or not.
Nested Schema : GitConfig
Type: object
Git configuration used when source is GIT_PROVIDER.
Show Source
Nested Schema : jobClusters
Type: array
Maximum Number of Items: 100
List of job cluster configurations.
Show Source
Nested Schema : parameters
Type: array
An optional list of parameters.
Show Source
Nested Schema : Queue
Type: object
Queue configuration for job.
Show Source
Nested Schema : Schedule
Type: object
The schedule configuration for the job.
Show Source
Nested Schema : tasks
Type: array
List of tasks in a job.
Show Source
Nested Schema : JobCluster
Type: object
The cluster configuration that can be shared by tasks in the job.
Show Source
Nested Schema : NewClusterConfiguration
Type: object
The cluster configuration to create a new cluster.
Show Source
Nested Schema : AutoScale
Type: object
Properties required to automatically scale the clusters up and down based on load.
Show Source
Nested Schema : Parameter
Type: object
Specifies the name and value of the defined parameter.
Show Source
  • Pattern: ^[\w\-.]+$
    The name of the defined parameter. May only contain alphanumeric characters, '_', '-', and '.'
  • Value of the defined parameter.
Nested Schema : Task
Type: object
Discriminator: type
Properties of a task provided by the user.
Show Source
  • dependsOn
    Specifies the dependency graph of the task. All the tasks mentioned in this field need to be completed before executing this task.
  • Default Value: false
    An optional policy to specify whether to retry a task when it times out. The default behavior is to not retry on timeout.
  • Minimum Value: 0
    Maximum Value: 300
    Default Value: 0
    The maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it fails with status FAILED or INTERNAL_ERROR. Maximum value is 300.
  • Minimum Value: 0
    Maximum Value: 600000
    Default Value: 0
    An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. If value is not provided, the run would be immediately retried. Maximum value is 10 mins (600000)
  • Default Value: ALL_SUCCESS
    Allowed Values: [ "ALL_SUCCESS", "ALL_DONE", "NONE_FAILED", "AT_LEAST_ONE_SUCCESS", "ALL_FAILED", "AT_LEAST_ONE_FAILED" ]
    The trigger rule based on which the current task execution is determined.
  • Minimum Length: 1
    Maximum Length: 100
    The display name of the task. User can specify a value for this.
  • Allowed Values: [ "NOTEBOOK_TASK", "PYTHON_TASK", "SPARK_SUBMIT_TASK", "IF_ELSE_TASK", "JOB_TASK", "JAR_TASK" ]
    The type of the task.
Nested Schema : dependsOn
Type: array
Specifies the dependency graph of the task. All the tasks mentioned in this field need to be completed before executing this task.
Show Source
  • DependsOn
    Specifies the dependency graph of the task. All the tasks mentioned in this field need to be completed before executing this task.
Nested Schema : DependsOn
Type: object
Specifies the dependency graph of the task. All the tasks mentioned in this field need to be completed before executing this task.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful operation. Job details are updated.
Headers
  • For optimistic concurrency control. See `if-match`.
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Job
Type: object
A description of a Job. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).
Show Source
Nested Schema : Continuous
Type: object
The continuous property ensures that there is always one execution for this job.
Show Source
  • Default Value: UNPAUSED
    Allowed Values: [ "PAUSED", "UNPAUSED" ]
    Indicates whether the continuous execution of this job is paused or not.
Nested Schema : GitConfig
Type: object
Git configuration used when source is GIT_PROVIDER.
Show Source
Nested Schema : jobClusters
Type: array
Maximum Number of Items: 100
List of job cluster configurations.
Show Source
Nested Schema : parameters
Type: array
An optional list of parameters.
Show Source
Nested Schema : Queue
Type: object
Queue configuration for job.
Show Source
Nested Schema : Schedule
Type: object
The schedule configuration for the job.
Show Source
Nested Schema : tasks
Type: array
List of tasks in a job.
Show Source
Nested Schema : JobCluster
Type: object
The cluster configuration that can be shared by tasks in the job.
Show Source
Nested Schema : NewClusterConfiguration
Type: object
The cluster configuration to create a new cluster.
Show Source
Nested Schema : AutoScale
Type: object
Properties required to automatically scale the clusters up and down based on load.
Show Source
Nested Schema : Parameter
Type: object
Specifies the name and value of the defined parameter.
Show Source
  • Pattern: ^[\w\-.]+$
    The name of the defined parameter. May only contain alphanumeric characters, '_', '-', and '.'
  • Value of the defined parameter.
Nested Schema : Task
Type: object
Discriminator: type
Properties of a task provided by the user.
Show Source
  • dependsOn
    Specifies the dependency graph of the task. All the tasks mentioned in this field need to be completed before executing this task.
  • Default Value: false
    An optional policy to specify whether to retry a task when it times out. The default behavior is to not retry on timeout.
  • Minimum Value: 0
    Maximum Value: 300
    Default Value: 0
    The maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it fails with status FAILED or INTERNAL_ERROR. Maximum value is 300.
  • Minimum Value: 0
    Maximum Value: 600000
    Default Value: 0
    An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. If value is not provided, the run would be immediately retried. Maximum value is 10 mins (600000)
  • Default Value: ALL_SUCCESS
    Allowed Values: [ "ALL_SUCCESS", "ALL_DONE", "NONE_FAILED", "AT_LEAST_ONE_SUCCESS", "ALL_FAILED", "AT_LEAST_ONE_FAILED" ]
    The trigger rule based on which the current task execution is determined.
  • Minimum Length: 1
    Maximum Length: 100
    The display name of the task. User can specify a value for this.
  • Allowed Values: [ "NOTEBOOK_TASK", "PYTHON_TASK", "SPARK_SUBMIT_TASK", "IF_ELSE_TASK", "JOB_TASK", "JAR_TASK" ]
    The type of the task.
Nested Schema : dependsOn
Type: array
Specifies the dependency graph of the task. All the tasks mentioned in this field need to be completed before executing this task.
Show Source
  • DependsOn
    Specifies the dependency graph of the task. All the tasks mentioned in this field need to be completed before executing this task.
Nested Schema : DependsOn
Type: object
Specifies the dependency graph of the task. All the tasks mentioned in this field need to be completed before executing this task.
Show Source

400 Response

Bad Request (invalid query parameters, malformed headers, and so on).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

401 Response

Unauthorized (missing or expired credentials, and so on).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

404 Response

Not Found. The requested resource was not found.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

405 Response

Method Not Allowed. Request is recognized but not supported.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

412 Response

Precondition Failed (One or more conditions in request failed).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

429 Response

Too Many Requests. Too many requests sent to the server in a short period.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

500 Response

Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

Default Response

Unknown Error. Error is not recognized by the system.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source
Back to Top