Gets all tape media pools.
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
curl --request POST \ --url https://<Director_IP_address>:4443/c/router \ --header "content-type: application/json" \ --cookie @cookies.txt \ --data "{ "action": "TapeMediaPoolManagement", "method": "getMediaPools", "type": "rpc", "tid": 1}"
Request Fields
Field | Type | Value(s) |
---|---|---|
action | string |
|
method | string |
|
type | string | rpc |
tid | integer | 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 |
data | Json | Tape media pools info. See the table below |
data.children
Single tape media pool info.
Field | Value | Description |
---|---|---|
| long | Tape media pool ID |
| string | Tape media pool name |
| string | Description of a tape media pool |
| long | Default offline location ID |
| boolean | true if free tapes will be added to this tape media pool automatically when required |