Export selected Compute configuration
post
/20260430/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/exportComputeConfiguration
Writes selected Compute configuration values supplied by the caller to a workspace YAML file without overwriting an existing file.
Request
Path Parameters
-
aiDataPlatformId(required): string
Minimum Length:
1Maximum Length:500The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance. -
clusterKey(required): string
Minimum Length:
1Maximum Length:200Cluster key. -
workspaceKey(required): string
Minimum Length:
1Maximum Length:200The key of the Workspace
Header Parameters
-
opc-request-id: string
Maximum Length:
255Unique 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. -
opc-retry-token: string
Maximum Length:
64A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of running 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 removed from the system, then a retry of the original creation request might be rejected.
Selected identifiers and destination for the YAML export.
Root Schema : ExportComputeConfigurationDetails
Type:
objectCustomer-selected Compute configuration values and YAML destination.
Show Source
-
clusterScopedLibraries:
array clusterScopedLibraries
Unique Items Required:
trueSelected cluster-scoped library entries. Each entry must set exactly one of path, pip, or jar. -
destinationPath:
string
Minimum Length:
1Maximum Length:1024Destination folder. Use /Workspace/... for a workspace file or /Volumes// / /... for a volume file. Defaults to /Workspace/configurations/. -
environmentVariables:
object environmentVariables
Additional Properties Allowed: additionalPropertiesSelected environment-variable keys and values to write to the YAML file.
-
fileName:
string
Minimum Length:
1Maximum Length:255Optional YAML filename. API-handler appends .yaml when omitted.
Nested Schema : clusterScopedLibraries
Type:
arrayUnique Items Required:
trueSelected cluster-scoped library entries. Each entry must set exactly one of path, pip, or jar.
Show Source
-
Array of:
object ComputeConfigurationLibraryEntry
A cluster-scoped library entry in the Compute configuration YAML.
Nested Schema : environmentVariables
Type:
objectAdditional Properties Allowed
Show Source
Selected environment-variable keys and values to write to the YAML file.
Nested Schema : ComputeConfigurationLibraryEntry
Type:
objectA cluster-scoped library entry in the Compute configuration YAML.
Show Source
-
jar:
string
Minimum Length:
1Maximum Length:2048JAR coordinate or workspace/volume path. -
path:
string
Minimum Length:
1Maximum Length:2048Workspace or volume path containing library configuration. -
pip:
string
Minimum Length:
1Maximum Length:2048Python package identifier.
Response
Supported Media Types
- application/x-yaml
200 Response
YAML workspace file created.
Headers
-
content-location: string(uri-reference)
Same as location.
-
location: string(uri-reference)
URL for the created workspace object.
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
-
path: string
Full path of the YAML workspace object.
-
time-updated: string(date-time)
Date and time when the YAML workspace object was created.
-
type: string
Workspace object type.
Root Schema : schema
Type:
string(binary)400 Response
Bad Request (invalid query parameters, malformed headers, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
401 Response
Unauthorized (missing or expired credentials, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
404 Response
Not Found. The requested resource was not found.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
409 Response
Conflict. Request conflicts with the current state of the resource.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
429 Response
Too Many Requests. Too many requests sent to the server in a short period.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
500 Response
Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
Default Response
Unknown Error. Error is not recognized by the system.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.