public class StorageLocations
extends Base
The schema that defines the StorageLocation and related resources is defined below.
<xs:simpleType name="LocationType">
<xs:restriction base="xs:string">
<xs:enumeration value="slot"/>
<xs:enumeration value="ieslot"/>
<xs:enumeration value="drive"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="StorageLocationSelector">
<xs:complexType>
<xs:all>
<xs:element name="Partition" type="xs:string"/>
<xs:element name="Endpoint">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="source"/>
<xs:enumeration value="dest"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Type" type="LocationType" minOccurs="0"/>
</xs:all>
</xs:complexType>
</xs:element>
<xs:element name="StorageLocation">
<xs:complexType>
<xs:sequence>
<xs:element name="Type" type="xs:string"/>
<xs:element name="Index" type="xs:int"/>
<xs:element name="Address" type="xs:int"/>
<xs:element name="DriveSN" type="xs:string" minOccurs="0"/>
<xs:element name="Barcode" type="xs:string" minOccurs="0"/>
<xs:element name="WriteProtected" type="xs:boolean" minOccurs="0"/>
<xs:element name="Access" type="xs:string" minOccurs="0"/>
<xs:element name="UsedPercent" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:double">
<xs:minInclusive value="0.00"/>
<xs:maxInclusive value="100.00"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StorageLocations">
<xs:complexType>
<xs:sequence>
<xs:element name="TotalCount" type="xs:int" minOccurs="0"/>
<xs:element ref="StorageLocation" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="StorageLocationColumnNameType">
<xs:restriction base="xs:string">
<xs:enumeration value="Type"/>
<xs:enumeration value="Index"/>
<xs:enumeration value="Address"/>
<xs:enumeration value="DriveSN"/>
<xs:enumeration value="Barcode"/>
<xs:enumeration value="WriteProtected"/>
<xs:enumeration value="Access"/>
<xs:enumeration value="UsedPercent"/>
</xs:restriction>
</xs:simpleType>
| Constructor and Description |
|---|
StorageLocations() |
| Modifier and Type | Method and Description |
|---|---|
com.quantum.dxi.dao.types.StorageLocations |
getStorageLocations(javax.servlet.http.HttpServletRequest request,
java.lang.String partition,
java.lang.String endpoint,
java.lang.String type,
int start,
int limit,
java.lang.String sortColumn,
java.lang.String sortDirection,
java.lang.String filterString,
java.lang.String errorType)
GET /rest/StorageLocations/{partition}/{endpoint}
|
NumericScalarType |
getStorageLocationsCount(javax.servlet.http.HttpServletRequest request,
java.lang.String partition,
java.lang.String endpoint,
java.lang.String type,
java.lang.String filterString,
java.lang.String errorType)
GET /rest/StorageLocations/{partition}/{endpoint}/getRowCount
|
public NumericScalarType getStorageLocationsCount(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String partition,
java.lang.String endpoint,
java.lang.String type,
java.lang.String filterString,
java.lang.String errorType)
Get the number of storage locations in {partition} at the specified {endpoint} (source or dest)
of optionally a certain ?type (slot, ieslot, drive).
Response Entity type: <xs:element name="NumericScalarType">
getStorageLocationsCount supports the table query parameters for filtering.
Column names are defined in <xs:element name="StorageLocationColumnNameType">
public com.quantum.dxi.dao.types.StorageLocations getStorageLocations(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String partition,
java.lang.String endpoint,
java.lang.String type,
int start,
int limit,
java.lang.String sortColumn,
java.lang.String sortDirection,
java.lang.String filterString,
java.lang.String errorType)
Get storage locations in {partition} at the specified {endpoint} (source or dest)
of optionally a certain ?type (slot, ieslot, drive).
Response Entity type: <xs:element name="StorageLocations">
getStorageLocations supports the table query parameters.
Column names for sorting and filtering are defined in <xs:element name="StorageLocationColumnNameType">
Copyright © 2011-2023 Quantum Corporation. All Rights Reserved.