Update cluster details

put

/20260430/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}

Update the details of a given cluster.

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 : UpdateClusterDetails
Type: object
Discriminator: type
The data to update a cluster.
Show Source
Nested Schema : DriverConfig
Type: object
Driver configuration.
Show Source
Nested Schema : ShapeConfig
Type: object
Shape of the driver or executor if a flexible shape is used.
Show Source
  • Minimum Value: 0
    Total number of GPUs used for the driver or workers.
  • Minimum Value: 16
    Amount of memory used for the driver or workers.
  • Minimum Value: 1
    Total number of OCPUs used for the driver or workers.
Back to Top

Response

Supported Media Types

202 Response

Request accepted. Cluster is updated.
Headers
  • The key of the asynchronous operations associated with an AI Data Platform instance. Use GetAsyncOperation with this key to track the status of the request.
  • For optimistic concurrency control. See `if-match`.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Cluster
Type: object
Discriminator: sourceApi
A Cluster is a compute subresource within AI Data Platform Workbench. Compute/Runtime Clusters are Spark execution environments. Spark clusters are used for Notebook execution and for Spark SQL query execution over JDBC/ODBC. These clusters seamlessly process the data in the AI Data Platform Workbench. Users can also use JDBC/ODBC endpoints for highly performant SQL execution for integration with analytics tools such as Oracle Analytic Cloud and Excel. A DEFAULT cluster is a subresource within AI Data Platform Workbench associated with master catalog and it can not be attached to a notebook. A USER cluster is a subresource within workspace and can be attached to a notebook.
Show Source
  • ActiveClusterResources
    Active resources of a cluster.
  • OCID of the user who created this record.
  • Name of the user who created this record.
  • Minimum Length: 1
    Maximum Length: 400
    Cluster description.
  • Cluster name.
  • DriverConfig
    Driver configuration.
  • Cluster key.
  • Minimum Length: 1
    Maximum Length: 255
    Cluster node type encodes the node shape and associated resources.
  • Default Value: CLUSTER_API
    Allowed Values: [ "CLUSTER_API", "DEFAULT_CLUSTER_API", "AGENT_FLOW_COMPUTE" ]
    User created clusters are associated with a particular workspace. Default cluster is to be used by all catalogs operations that require compute. Default cluster can be thought of as associated with Master catalog. Agent Flow Compute is used to execute Agent Flows.
  • Allowed Values: [ "ACCEPTED", "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "STOPPING", "STOPPED", "UPDATING", "RESTARTING", "STARTING", "NETWORK_CONFIGURATION_ATTACH_IN_PROGRESS", "NETWORK_CONFIGURATION_ATTACH_SUCCESSFUL", "NETWORK_CONFIGURATION_ATTACH_FAILED", "NETWORK_CONFIGURATION_DETACH_IN_PROGRESS", "NETWORK_CONFIGURATION_DETACH_SUCCESSFUL", "NETWORK_CONFIGURATION_DETACH_FAILED" ]
    Common lifecycle states for resources in a compute cluster. ACCEPTED - The resource create request has been accepted. CREATING - The resource is being created and might not be usable until the entire metadata is defined. ACTIVE - The resource is valid and available for access. DELETING - The resource is being deleted, and might require a deep clean of any children. DELETED - The resource has been deleted, and isn't available. FAILED - The resource is in a failed state due to validation or other errors. STOPPING - The resource is being stopped. STOPPED - The resource has been stopped. UPDATING - The resource is being updated and might not be usable until all changes are commited. STARTING - The resource is being started. RESTARTING - The resource is being restarted.
  • A message that describes the current state of the workspace cluster in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
  • OCID of the user who stopped the cluster. Value will be 'SYSTEM' if it was auto stopped.
  • Name of the user who stopped the cluster. Value will be 'SYSTEM' if it was auto stopped.
  • Date and time the cluster was created.
  • Date and time the cluster was updated.
  • Allowed Values: [ "USER", "AGENT_FLOW_COMPUTE" ]
    ClusterType
  • OCID of the user who updated this record.
  • Name of the user who updated this record.
Nested Schema : ActiveClusterResources
Type: object
Active resources of a cluster.
Show Source
Nested Schema : DriverConfig
Type: object
Driver configuration.
Show Source
Nested Schema : ShapeConfig
Type: object
Shape of the driver or executor if a flexible shape is used.
Show Source
  • Minimum Value: 0
    Total number of GPUs used for the driver or workers.
  • Minimum Value: 16
    Amount of memory used for the driver or workers.
  • Minimum Value: 1
    Total number of OCPUs used for the driver or workers.

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

409 Response

Conflict. Request conflicts with the current state of the resource.
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