public class TapeDriveStatus
extends Base
Clients can query the status of tape drives on a VTL partition with the following web service.
GET /rest/TapeDriveStatus/{partitionName}
Use GET /rest/Partitions/getNames to get a list of partition names.
The schema that defines the tape drive status resource is defined below.
<xs:element name="TapeDriveStatus">
<xs:complexType>
<xs:sequence>
<xs:element name="DriveSN" type="xs:string"/>
<xs:element name="Barcode" type="xs:string"/>
<xs:element name="Activity" type="xs:string"/>
<xs:element name="Capacity" type="xs:long"/>
<xs:element name="BytesUsed" type="xs:long"/>
<xs:element name="AverageRead" type="xs:long"/>
<xs:element name="AverageWrite" type="xs:long"/>
<xs:element name="WriteProtected" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TapeDriveStatuses">
<xs:complexType>
<xs:sequence>
<xs:element name="TotalCount" type="xs:int" minOccurs="0"/>
<xs:element ref="TapeDriveStatus" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="TapeDriveStatusColumnNameType">
<xs:restriction base="xs:string">
<xs:enumeration value="DriveSN"/>
<xs:enumeration value="Barcode"/>
<xs:enumeration value="Activity"/>
<xs:enumeration value="Capacity"/>
<xs:enumeration value="BytesUsed"/>
<xs:enumeration value="AverageRead"/>
<xs:enumeration value="AverageWrite"/>
<xs:enumeration value="WriteProtected"/>
</xs:restriction>
</xs:simpleType>
| Constructor and Description |
|---|
TapeDriveStatus() |
| Modifier and Type | Method and Description |
|---|---|
com.quantum.dxi.dao.types.TapeDriveStatus |
getTapeDriveStatus(javax.servlet.http.HttpServletRequest request,
java.lang.String partitionName,
java.lang.String driveSN,
java.lang.String errorType)
GET /rest/TapeDriveStatus/{partitionName}/{driveSN}
|
TapeDriveStatuses |
getTapeDriveStatuses(javax.servlet.http.HttpServletRequest request,
java.lang.String partitionName,
int start,
int limit,
java.lang.String sortColumn,
java.lang.String sortDirection,
java.lang.String filterString,
java.lang.String errorType)
GET /rest/TapeDriveStatus/{partitionName}
|
NumericScalarType |
getTapeDriveStatusesCount(javax.servlet.http.HttpServletRequest request,
java.lang.String partitionName,
java.lang.String filterString,
java.lang.String errorType)
GET /rest/TapeDriveStatus/{partitionName}/getRowCount
|
public NumericScalarType getTapeDriveStatusesCount(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String partitionName,
java.lang.String filterString,
java.lang.String errorType)
Get the number of tape drives in the VTL partition identified by {partitionName}
and matching the criteria specified in {filter}.
Partition names can be obtained using GET /rest/Partitions/getNames.
getTapeDriveStatusCount supports the table query parameters for filtering by column name.
Column names are defined in <xs:simpleType name="TapeDriveStatusColumnNameType">
Response Entity type: <xs:element name="NumericScalarType">
public TapeDriveStatuses getTapeDriveStatuses(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String partitionName,
int start,
int limit,
java.lang.String sortColumn,
java.lang.String sortDirection,
java.lang.String filterString,
java.lang.String errorType)
Get the tape drive status of a VTL partition identified by {partitionName}.
Response Entity type: <xs:element name="TapeDriveStatuses">
<xs:element name="TapeDriveStatuses"> supports the table query parameters.
Column names for sorting and filtering are defined in <xs:simpleType name="TapeDriveStatusColumnName">
public com.quantum.dxi.dao.types.TapeDriveStatus getTapeDriveStatus(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String partitionName,
java.lang.String driveSN,
java.lang.String errorType)
Get the status of tape drive {driveSN} in the VTL partition identified by {partitionName}.
Response Entity type: <xs:element name="TapeDriveStatus">
Copyright © 2011-2023 Quantum Corporation. All Rights Reserved.