public class DrivesStatus
extends Base
The schema that defines the DrivesStatus resource is defined below.
<xs:element name="DrivesStatus">
<xs:complexType>
<xs:sequence>
<xs:element name="TotalCount" type="xs:int" minOccurs="0"/>
<xs:element ref="DriveStatus" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DriveStatus">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
<xs:element name="Status" type="xs:string" />
<xs:element name="Step">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="UNKNOWN"/>
<xs:enumeration value="REMOVE"/>
<xs:enumeration value="REPLACE"/>
<xs:enumeration value="REBUILD"/>
<xs:enumeration value="FINISHED"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CurrentTime" type="xs:long" minOccurs="0"/>
<xs:element name="RebuildStartTime" type="xs:long" minOccurs="0"/>
<xs:element name="StageStartTime" type="xs:long" minOccurs="0"/>
<xs:element name="Stage" type="xs:int" minOccurs="0"/>
<xs:element name="NumStages" type="xs:int" minOccurs="0"/>
<xs:element name="StagePctComplete" type="xs:int" minOccurs="0"/>
<xs:element name="ErrorLevel">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="NORMAL"/>
<xs:enumeration value="WARNING"/>
<xs:enumeration value="FATAL"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ErrorMessage">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="NOERROR"/>
<xs:enumeration value="WARNMULTIDRIVE"/>
<xs:enumeration value="WARNMULTIDRIVEENCL"/>
<xs:enumeration value="WARNMULTIDRIVEVOL"/>
<xs:enumeration value="FATALMULTIDRIVE"/>
<xs:enumeration value="FATALMULTIDRIVEENCL"/>
<xs:enumeration value="FATALMULTIDRIVEVOL"/>
<xs:enumeration value="FATALNEWDRIVEWRONG"/>
<xs:enumeration value="FATALNEWDRIVEMISSING"/>
<xs:enumeration value="FATALNEWDRIVEFAILED"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DriveStatusColumnNames">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="DrivestatusName"/>
<xs:enumeration value="DrivestatusStatus"/>
<xs:enumeration value="DrivestatusStep"/>
<xs:enumeration value="DrivestatusCurrentTime"/>
<xs:enumeration value="DrivestatusRebuildStartTime"/>
<xs:enumeration value="DrivestatusStageStartTime"/>
<xs:enumeration value="DrivestatusStage"/>
<xs:enumeration value="DrivestatusNumStages"/>
<xs:enumeration value="DrivestatusStagePctComplete"/>
<xs:enumeration value="DrivestatusErrorLevel"/>
<xs:enumeration value="DrivestatusErrorMessage"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
| Constructor and Description |
|---|
DrivesStatus() |
| Modifier and Type | Method and Description |
|---|---|
DriveStatus |
getDriveStatus(javax.servlet.http.HttpServletRequest request,
java.lang.String driveName,
java.lang.String errorType)
GET /rest/DrivesStatus/{driveName}
|
void |
startStopWizard(javax.servlet.http.HttpServletRequest request,
java.lang.String driveName,
java.lang.String errorType)
POST /rest/DrivesStatus/{driveName}/stopWizard
|
StringScalarType |
startStopWizard(javax.servlet.http.HttpServletRequest request,
java.lang.String driveName,
java.lang.String actionString,
java.lang.String errorType)
Deprecated.
As of 1.1, ?action=stopWizard replaced by
startStopWizard(HttpServletRequest, String, String)
|
public DriveStatus getDriveStatus(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String driveName,
java.lang.String errorType)
Get the drive status for the drive identified by {driveName}
Response Entity type: <xs:element name="DriveStatus">
public void startStopWizard(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String driveName,
java.lang.String errorType)
Tell the system that Drive as CRU user interaction has completed.
public StringScalarType startStopWizard(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String driveName,
java.lang.String actionString,
java.lang.String errorType)
startStopWizard(HttpServletRequest, String, String)
Perform the requested action on the drive identified by {driveName}. The action query parameter is required.
Supported actions are:
?action=stopWizard tell the system that Drive as CRU user interaction has completed
Response Entity type: <xs:element name="StringScalarType">
Copyright © 2011-2023 Quantum Corporation. All Rights Reserved.