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
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 |