Update a volume
put
/20260430/aiDataPlatforms/{aiDataPlatformId}/volumes/{volumeKey}
Updates a volume with the provided information.
Request
Path Parameters
-
aiDataPlatformId(required): string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance.
-
volumeKey(required): string
The key of the volume.
Header Parameters
-
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
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.
-
should-update-recent: boolean
A flag to identify if the recent list should be updated.Default Value:
false
The information to be updated.
Root Schema : UpdateVolumeDetails
Type:
objectThe data to update a volume.
Show Source
-
description:
string
Short description of the volume
-
displayName:
string
A user-friendly name. Has to be unique within the schema and is changeable.
Response
Supported Media Types
- application/json
200 Response
Successful operation. The volume is updated.
Headers
-
etag: string
For optimistic concurrency control. See `if-match`.
-
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.
-
opc-work-request-id: string
The OCID of the asynchronous work request. Use GetWorkRequest with this ID to track the status of the request.
Root Schema : Volume
Type:
objectA volumes is a container to store data in its original form and can store semi-structured or unstructured data.
Volumes can either be external or managed. 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 IAM Policies for Oracle AI Data Platform Workbench.
Show Source
-
catalogName:
string
The name of the catalog to which this volume belongs.
-
createdBy:
string
The ID of the user that created the volume.
-
description:
string
Short description of the volume
-
displayName(required):
string
A user-friendly name. Has to be unique within the schema and is changeable.
-
fullName:
string
The fully qualified name of this volume.
-
key(required):
string
The key of the volume.
-
lifecycleState:
string
Allowed Values:
[ "CREATING", "UPDATING", "DELETING", "ACTIVE", "DELETED" ]The lifecycle state of the volume. The volume is ready for use in ACTIVE state -
lifecycleStateDetails:
string
Additional details associated with the lifecycle state.
-
schemaName:
string
The name of the schema to which this volume belongs.
-
storageLocation:
string
The storage location of the external volume. Only applicable for external volumes.
-
systemTags:
object systemTags
Additional Properties Allowed: additionalPropertiesSystem tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
-
timeCreated(required):
string(date-time)
The date and time the Data Lake Volume was created, in the format defined by RFC 3339. Example: `2016-08-25T21:10:29.600Z`
-
timeUpdated:
string(date-time)
The date and time the Data Lake Volume was updated, in the format defined by RFC 3339. Example: `2016-08-25T21:10:29.600Z`
-
updatedBy:
string
The ID of the user that last updated the volume
-
volumeType:
string
Default Value:
MANAGEDAllowed Values:[ "MANAGED", "EXTERNAL" ]The type of volume.
Nested Schema : systemTags
Type:
objectAdditional Properties Allowed
Show Source
-
object additionalProperties
Additional Properties Allowed: additionalPropertiesKey-value pair representing a system tag key and value, scoped to a namespace. Example: `{"free-tier-retained": "true"}`
System tags for this resource. Each key is predefined and scoped to a namespace.
Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
Nested Schema : additionalProperties
Type:
objectAdditional Properties Allowed
Show Source
-
object additionalProperties
The value of the tag. Only the String type is supported.
Key-value pair representing a system tag key and value, scoped to a namespace.
Example: `{"free-tier-retained": "true"}`
Nested Schema : additionalProperties
Type:
objectThe value of the tag. Only the String type is supported.
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.
405 Response
Method Not Allowed. Request is recognized but not supported.
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.
412 Response
Precondition Failed (One or more conditions in request failed).
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.