public class CloudShareImages
extends Base
The schema that defines the CloudImages is defined below.
<xs:element name="CloudImages">
<xs:complexType>
<xs:sequence>
<xs:element name="TotalCount" type="xs:int" minOccurs="0" />
<xs:element ref="CloudImage" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CloudImage">
<xs:complexType>
<xs:sequence>
<xs:element name="Image" type="xs:string"/>
<xs:element name="State" type="xs:string"/>
<xs:element name="CreatedAt" type="xs:long">
<xs:annotation>
<xs:documentation>Image creation date (seconds since epoch).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ArchivedAt" type="xs:long">
<xs:annotation>
<xs:documentation>Image archive date (seconds since epoch).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Size" type="xs:long"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="CloudImageColumnNameType">
<xs:restriction base="xs:string">
<xs:enumeration value="Image"/>
<xs:enumeration value="State"/>
<xs:enumeration value="CreatedAt"/>
<xs:enumeration value="ArchivedAt"/>
<xs:enumeration value="Size"/>
</xs:restriction>
</xs:simpleType>
Constructor and Description |
---|
CloudShareImages() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
archiveLsuImage(javax.servlet.http.HttpServletRequest request,
java.lang.String storageServer,
java.lang.String name)
POST /rest/CloudShareImages/lsu/{storageServer}/{name}/archive
|
javax.ws.rs.core.Response |
archiveShareImage(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
POST /rest/CloudShareImages/share/{name}/archive
|
javax.ws.rs.core.Response |
deleteNasImages(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
DELETE /rest/CloudShareImages/share/{name}/delete
|
javax.ws.rs.core.Response |
deleteOstImages(javax.servlet.http.HttpServletRequest request,
java.lang.String storageServer,
java.lang.String name)
DELETE /rest/CloudShareImages/lsu/{storageServer}/{name}/delete
|
CloudImages |
getLsuImages(javax.servlet.http.HttpServletRequest request,
java.lang.String storageServer,
java.lang.String name,
int start,
int limit,
java.lang.String sortColumn,
java.lang.String sortDirection,
java.lang.String filterString)
GET /rest/CloudShareImages/lsu/{storageServer}/{name}
|
CloudImages |
getShareImages(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
int start,
int limit,
java.lang.String sortColumn,
java.lang.String sortDirection,
java.lang.String filterString)
GET /rest/CloudShareImages/share/{name}
|
javax.ws.rs.core.Response |
releaseLsuImages(javax.servlet.http.HttpServletRequest request,
StringListScalarType images,
java.lang.String storageServer,
java.lang.String name)
POST /rest/CloudShareImages/lsu/{storageServer}/{name}/release
|
javax.ws.rs.core.Response |
releaseShareImages(javax.servlet.http.HttpServletRequest request,
StringListScalarType images,
java.lang.String name)
POST /rest/CloudShareImages/share/{name}/release
|
javax.ws.rs.core.Response |
restoreLsuImage(javax.servlet.http.HttpServletRequest request,
StringListScalarType images,
java.lang.String name)
POST /rest/CloudShareImages/share/{name}/restore
|
javax.ws.rs.core.Response |
restoreLsuImage(javax.servlet.http.HttpServletRequest request,
StringListScalarType images,
java.lang.String storageServer,
java.lang.String name)
POST /rest/CloudShareImages/lsu/{storageServer}/{name}/restore
|
public CloudImages getShareImages(@Context javax.servlet.http.HttpServletRequest request, java.lang.String name, int start, int limit, java.lang.String sortColumn, java.lang.String sortDirection, java.lang.String filterString)
Get Cloud Share images for the specified share.
The method supports the table query parameters.
Column names for sorting and filtering are defined in <xs:simpleType name="CloudImageColumnNameType">
Response Entity type: <xs:element name="CloudImages">
public CloudImages getLsuImages(@Context javax.servlet.http.HttpServletRequest request, java.lang.String storageServer, java.lang.String name, int start, int limit, java.lang.String sortColumn, java.lang.String sortDirection, java.lang.String filterString)
Get Cloud Share images for the specified LSU.
The method supports the table query parameters.
Column names for sorting and filtering are defined in <xs:simpleType name="CloudImageColumnNameType">
Response Entity type: <xs:element name="CloudImages">
public javax.ws.rs.core.Response archiveShareImage(@Context javax.servlet.http.HttpServletRequest request, java.lang.String name)
Archive all local backup images for a specific share.
Use GET /rest/CloudShareJobs/ to monitor job status.
Response Entity type: <xs:element name="NumericScalarType">
public javax.ws.rs.core.Response archiveLsuImage(@Context javax.servlet.http.HttpServletRequest request, java.lang.String storageServer, java.lang.String name)
Archive all local backup images for a specific lsu.
Use GET /rest/CloudShareJobs/ to monitor job status.
public javax.ws.rs.core.Response restoreLsuImage(@Context javax.servlet.http.HttpServletRequest request, StringListScalarType images, java.lang.String name)
Restore a specific image from cloud archive to local storage.
Use GET /rest/CloudShareJobs/ to monitor job status.
The body contains pathnames of the images to be restored. Image pathnames can be obtained with GET.
Request Entity type: <xs:element name="StringListScalarType">
Response Entity type: <xs:element name="NumericScalarType">
public javax.ws.rs.core.Response restoreLsuImage(@Context javax.servlet.http.HttpServletRequest request, StringListScalarType images, java.lang.String storageServer, java.lang.String name)
Restore a specific image from cloud archive to local storage.
Use GET /rest/CloudShareJobs/ to monitor job status.
The body contains a pathname of the image to be restored. Image pathnames can be obtained with GET.
Request Entity type: <xs:element name="StringListScalarType">
Response Entity type: <xs:element name="StringScalarType">
public javax.ws.rs.core.Response releaseShareImages(@Context javax.servlet.http.HttpServletRequest request, StringListScalarType images, java.lang.String name)
Release references of archived images to local data. This data will then be freed locally by Space Reclamation.
Use GET /rest/CloudShareJobs/ to monitor job status.
The body contains pathnames of the images to be released. Image pathnames can be obtained with GET.
Request Entity type: <xs:element name="StringListScalarType">
Response Entity type: <xs:element name="NumericScalarType">
public javax.ws.rs.core.Response releaseLsuImages(@Context javax.servlet.http.HttpServletRequest request, StringListScalarType images, java.lang.String storageServer, java.lang.String name)
Release references to local data of archived images. This data will then be freed locally by Space Reclamation.
Use GET /rest/CloudShareJobs/ to monitor job status.
The body contains pathnames of the images to be released. Image pathnames can be obtained with GET.
Request Entity type: <xs:element name="StringListScalarType">
Response Entity type: <xs:element name="StringScalarType">
public javax.ws.rs.core.Response deleteNasImages(@Context javax.servlet.http.HttpServletRequest request, java.lang.String name)
Delete images in the cloud which do not have corresponding images in the local share.
Use GET /rest/CloudShareJobs/ to monitor job status.
Response Entity type: <xs:element name="NumericScalarType">
public javax.ws.rs.core.Response deleteOstImages(@Context javax.servlet.http.HttpServletRequest request, java.lang.String storageServer, java.lang.String name)
Delete images in the cloud which do not have corresponding images in the local share.
Response Entity type: <xs:element name="NumericScalarType">
Copyright © 2011-2023 Quantum Corporation. All Rights Reserved.