public class PartitionDevices
extends Base
The schema that defines the PartitionDevices resource is defined below.
<xs:simpleType name="PartitionDeviceType">
<xs:restriction base="xs:string">
<xs:enumeration value="VMC"/>
<xs:enumeration value="VTD"/>
<xs:enumeration value="CCL">
<xs:annotation>
<xs:documentation>Only applicable to devices in HostAccessGroup (read-only).</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:element name="PartitionDevice">
<xs:complexType>
<xs:all>
<xs:element name="Type" type="PartitionDeviceType" minOccurs="0"/>
<xs:element name="SerialNumber" type="xs:string"/>
<xs:element name="Lun" minOccurs="0">
<xs:annotation>
<xs:documentation>Only applicable to devices in HostAccessGroup.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
<xs:element name="PartitionDevices">
<xs:complexType>
<xs:sequence>
<xs:element name="TotalCount" type="xs:int" minOccurs="0"/>
<xs:element ref="PartitionDevice" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="PartitionDeviceColumnNameType">
<xs:restriction base="xs:string">
<xs:enumeration value="Type"/>
<xs:enumeration value="SerialNumber"/>
</xs:restriction>
</xs:simpleType>
| Constructor and Description |
|---|
PartitionDevices() |
| Modifier and Type | Method and Description |
|---|---|
PartitionDevice |
getPartitionDevice(javax.servlet.http.HttpServletRequest request,
java.lang.String partition,
java.lang.String serialNumber,
java.lang.String errorType)
GET /rest/PartitionDevices/{partition}/{serialNumber}
|
com.quantum.dxi.dao.types.PartitionDevices |
getPartitionDevices(javax.servlet.http.HttpServletRequest request,
java.lang.String partition,
int start,
int limit,
java.lang.String sortColumn,
java.lang.String sortDirection,
java.lang.String filterString,
java.lang.String errorType)
GET /rest/PartitionDevices/{partition}
|
NumericScalarType |
getPartitionDevicesCount(javax.servlet.http.HttpServletRequest request,
java.lang.String partition,
java.lang.String filterString,
java.lang.String errorType)
GET /rest/Partitions/{partition}/getRowCount
|
public com.quantum.dxi.dao.types.PartitionDevices getPartitionDevices(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String partition,
int start,
int limit,
java.lang.String sortColumn,
java.lang.String sortDirection,
java.lang.String filterString,
java.lang.String errorType)
Get a list of devices in {partition}.
Response Entity type: <xs:element name="PartitionDevices">
<xs:element name="PartitionDevices"> supports the table query parameters.
Column names for sorting and filtering are defined in <xs:simpleType name="PartitionDeviceColumnNameType">
public PartitionDevice getPartitionDevice(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String partition,
java.lang.String serialNumber,
java.lang.String errorType)
Get device, identified by its {serialNumber}, from {partition}.
Response Entity type: <xs:element name="PartitionDevice">
public NumericScalarType getPartitionDevicesCount(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String partition,
java.lang.String filterString,
java.lang.String errorType)
Get the number of devices in {partition}.
getPartitionsCount supports the table query parameters for filtering by column name.
Column names are defined in <xs:simpleType name="PartitionDeviceColumnNameType">
Response Entity type: <xs:element name="NumericScalarType">
Copyright © 2011-2023 Quantum Corporation. All Rights Reserved.