Get Single Standalone Tape Drive
Gets info of a single standalone tape drive by its ID.
Endpoint
https://<Director_IP_address>:4443/c/router
Tenant Endpoint
For tenants of the multi-tenant product the endpoint must be:https://<Director_IP_address>:4443/t/<tenant_UUID>/c/router
Request Example
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie @cookies.txt \
--data "{
"action": "TapeDriveManagement",
"method": "getDrive",
"data": [1],
"type": "rpc",
"tid": 1
}"
Request Fields
Field
|
Type
|
Value(s)
|
---|---|---|
action
|
string |
|
method
|
string |
|
data
|
array |
ID of the standalone tape drive |
type
|
string | rpc
|
tid
|
int | 1
|
Response Sample
{
"action": "TapeDriveManagement",
"method": "getDrive",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": {
"id": 1,
"name": "st2",
"transporterId": 1,
"transporterName": "1.1.1.1",
"compression": "HARDWARE_BASED",
"blockSize": 262144,
"locationId": 1,
"locationName": "My office",
"mediaPoolId": null,
"mediaPoolName": null,
"offlineLocationId": 1,
"offlineLocationName": "My office",
"drive": {
"uuid": "17453fce-e58d-4ed1-a926-65b8ff171002",
"path": "stdrive_2",
"deviceName": "stdrive_2",
"scsiAddress": null,
"serialNumber": null,
"discovered": false,
"checked": false
},
"lockReasons": null
}
}
Response Fields
Field
|
Value
|
Description
|
---|---|---|
message
|
string | Message if the request failed |
where
|
string | Reference to the method where the problem occurred |
cause
|
string | Cause of failure |
|
Json |
Standalone tape drive info. See the table below |
data
Field |
Type |
Description |
---|---|---|
|
int |
Standalone tape drive ID. For the |
|
string |
Standalone tape drive name |
|
long |
ID of the assigned Transporter |
|
string |
Name of the assigned Transporter. |
|
int |
Block size of the current tape device. Default value: 256 KB |
|
int |
ID of the location of a standalone tape drive |
|
string |
Name of the location of a standalone tape drive. Default value: " |
|
int |
ID of the media pool of standalone tape drive |
|
int |
ID of the location for tapes ejected from this standalone tape drive |
|
string |
Name of the location for tapes ejected from this standalone tape drive |
|
string |
Compression level of the tape device. Possible values: |
|
array |
Lock reasons |
|
string |
The standalone tape drive UUID |
|
string |
The standalone tape drive name |
|
boolean |
|
|
boolean |
|
|
string |
Path of the standalone tape drive |
|
string |
SCSI address |
|
string |
The standalone tape drive serial number |