Drives
Learn about creating and managing virtual drives, mapped to resources on external storage services, via the DNAnexus API.
Last updated
Was this helpful?
Learn about creating and managing virtual drives, mapped to resources on external storage services, via the DNAnexus API.
/drive/newThis API creates a new drive from the specified external storage service. On success, the requesting user has permissions to perform tasks associated with the external storage.
name string (required) Name of the drive.
cloud string (required) Drive cloud provider.
Must be one of "azure" or "aws".
credentials mapping (required) Credentials associated with the drive.
key — the credential field.
value string — the credential value.
id string ID of the created drive.
Unauthorized
Must supply authentication token
InvalidInput
The input is not a hash
name is not a nonempty string
cloud is not a string
credentials is not a hash
credentials cannot access the given cloud environment
/drive-xxxx/disableThis API disables a drive. The requesting user must have permissions to use the drive.
id string ID of the disabled drive.
Unauthorized
Must supply authentication token
ResourceNotFound
The entity drive-xxxx could not be found
/drive-xxxx/updateUpdates information about a drive. The requesting user must have permissions to use the drive.
name string (optional) New user-specified name of the drive.
credentials mapping (optional) New credentials associated with the drive.
key — the credential field.
value string — the credential value.
id string ID of the updated drive.
Unauthorized
Must supply authentication token
InvalidInput
The input is not a hash
name (if provided) is not a nonempty string
credentials (if provided) is not a hash
credentials (if provided) cannot access the given cloud environment
ResourceNotFound
The entity drive-xxxx could not be found
/drive-xxxx/describeDescribes a drive.
fields mapping (optional) Include or exclude fields from the output.
key — the output field to include or exclude. See "Outputs" below for valid values.
value boolean — whether to include the field.
id string ID of the drive.
name string Name of the drive.
cloud string Cloud provider of the drive.
created timestamp Time at which this object was created.
modified timestamp Time at which this object was last modified.
Unauthorized
Must supply authentication token
InvalidInput
The input is not a hash
fields (if provided) is not a hash
name (if provided) is not a boolean
cloud (if provided) is not a boolean
id (if provided) is not a boolean
created (if provided) is not a boolean
modified (if provided) is not a boolean
ResourceNotFound
The entity drive-xxxx could not be found
Last updated
Was this helpful?
Was this helpful?