Returns list of tape locks filtered by specified query parameters.
name | type | description |
---|---|---|
tape | query | |
tape-drive | query | |
task | query |
media type | data type | description |
---|---|---|
application/json | array of TapeLockDetails (JSON) | list of tape locks filtered by specified query parameters |
GET /tape-lock
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"tapeDrive" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"tapes" : [ {
"guid" : "...",
"name" : "...",
"serialNumber" : "...",
"usedSpace" : 12345,
"totalSpace" : 12345,
"initialized" : true,
"state" : "EJECTED",
"tapeLibrary" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"tapePoolBackupDestination" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"tapeLocation" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"type" : "REGULAR"
}, {
"guid" : "...",
"name" : "...",
"serialNumber" : "...",
"usedSpace" : 12345,
"totalSpace" : 12345,
"initialized" : true,
"state" : "READY",
"tapeLibrary" : {
"guid" : "...",
"name" : "..."
},
"tapePoolBackupDestination" : {
"guid" : "...",
"name" : "..."
},
"tapeLocation" : {
"guid" : "...",
"name" : "..."
},
"type" : "CLEANING"
} ],
"task" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"date" : 12345
} ]
Get a single tape lock.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for tape lock (use by vProtect) |
media type | data type | description |
---|---|---|
application/json | TapeLockDetails (JSON) | tape lock details |
GET /tape-lock/{guid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"tapeDrive" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"tapes" : [ {
"guid" : "...",
"name" : "...",
"serialNumber" : "...",
"usedSpace" : 12345,
"totalSpace" : 12345,
"initialized" : true,
"state" : "EJECTED",
"tapeLibrary" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"tapePoolBackupDestination" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"tapeLocation" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"type" : "CLEANING"
}, {
"guid" : "...",
"name" : "...",
"serialNumber" : "...",
"usedSpace" : 12345,
"totalSpace" : 12345,
"initialized" : true,
"state" : "EJECTED",
"tapeLibrary" : {
"guid" : "...",
"name" : "..."
},
"tapePoolBackupDestination" : {
"guid" : "...",
"name" : "..."
},
"tapeLocation" : {
"guid" : "...",
"name" : "..."
},
"type" : "CLEANING"
} ],
"task" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"date" : 12345
}