Gets info of a single tape library 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": "TapeLibraryManagement", "method": "getLibrary", "data": [3], "type": "rpc", "tid": 1 }"
Request Fields
Field | Type | Value(s) |
---|---|---|
action | string |
|
method | string |
|
data | array | ID of the tape library |
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 | Tape library info. See the table below |
data
Field | Type | Description |
---|---|---|
| string | Compression level of the tape device. Possible values: |
| int | Tape library ID. For the |
| string | Tape library 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 tape library |
| string | Name of the location of the tape library. Default value: "My office" |
| int | ID of the media pool of tape library |
| string | Name of the media pool of tape library |
| int | ID of the location for tapes ejected from this tape library |
| string | Name of the location for tapes ejected from this tape library |
| ||
| long | Changer ID |
| string | Tape device name |
| string | SCSI address |
| string | Changer serial number |
| string | Path of the changer |
| string | Changer UUID |
| boolean | |
| boolean | |
| ||
| string | Tape library drive UUID |
| long | Tape library drive ID |
| string | Tape library drive name |
| string | Path of the tape library drive |
| string | SCSI address |
| string | Tape library drive serial number |