
com.netapp.santricity.api.v2.StatisticsApi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of santricity-java-client Show documentation
Show all versions of santricity-java-client Show documentation
The NetApp SANtricity WebAPI - Java SDK client library is a open source SDK that facilitate access to the
NetApp E-Series storage system for automation and integration into third-party web or script-based management tools.
The newest version!
/**************************************************************************************************************************************************************
* The Clear BSD License
*
* Copyright (c) – 2016, NetApp, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
*
* * Neither the name of NetApp, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
*
* NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************************************************************************************************/
package com.netapp.santricity.api.v2;
import com.netapp.santricity.ApiException;
import com.netapp.santricity.ApiClient;
import com.netapp.santricity.Configuration;
import com.netapp.santricity.models.v2.*;
import com.netapp.santricity.models.symbol.*;
import com.netapp.santricity.models.utils.*;
import com.netapp.santricity.Pair;
import com.netapp.santricity.StringUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
import javax.ws.rs.core.GenericType;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@javax.annotation.Generated(value = "class com.ni.aa.client.codegen.lang.JavaNetappClientCodegen", date = "2017-10-04T15:05:52.333-05:00")
public class StatisticsApi {
private ApiClient apiClient;
public StatisticsApi() {
this(Configuration.getDefaultApiClient());
}
public StatisticsApi(ApiClient apiClient) {
this.apiClient = apiClient;
}
public ApiClient getApiClient() {
return apiClient;
}
public void setApiClient(ApiClient apiClient) {
this.apiClient = apiClient;
}
/**
* Get all analysed controller statistics
* This API is available on all model 28xx+ systems, as well as any model 27xx or 56xx that is running 08.30.20.xx/11.30.20.xx or greater code versions. <br><br>This API requires at least two prior collections worth of raw statistics data in order to provide an analyzed result. If we have not yet collected at least two relevant statistics snapshots from the storage-system, the result will be an empty list.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @return List
* @throws ApiException if fails to make API call
*/
public List getAllAnalysedControllerStatistics(String systemId) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getAllAnalysedControllerStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/analysed-controller-statistics".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get all analysed disk statistics
* This API requires at least two prior collections worth of raw statistics data in order to provide an analyzed result. If we have not yet collected at least two relevant statistics snapshots from the storage-system, the result will be an empty list.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @return List
* @throws ApiException if fails to make API call
*/
public List getAllAnalysedDriveStatistics(String systemId) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getAllAnalysedDriveStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/analysed-drive-statistics".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get all analysed interface statistics
* This API is available on all model 28xx+ systems, as well as any model 27xx or 56xx that is running 08.30.20.xx/11.30.20.xx or greater code versions. <br><br>This API requires at least two prior collections worth of raw statistics data in order to provide an analyzed result. If we have not yet collected at least two relevant statistics snapshots from the storage-system, the result will be an empty list.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @return List
* @throws ApiException if fails to make API call
*/
public List getAllAnalysedInterfaceStatistics(String systemId) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getAllAnalysedInterfaceStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/analysed-interface-statistics".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get a subset of analysed volume statistics
* This API requires at least two prior collections worth of raw statistics data in order to provide an analyzed result. If we have not yet collected at least two relevant statistics snapshots from the storage-system, the result will be an empty list.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param idlist A comma separated list of volume ids (required)
* @return List
* @throws ApiException if fails to make API call
*/
public List getAllAnalysedVolumeStatistics(String systemId, String idlist) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getAllAnalysedVolumeStatistics");
}
// verify the required parameter 'idlist' is set
if (idlist == null) {
throw new ApiException(400, "Missing the required parameter 'idlist' when calling getAllAnalysedVolumeStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/analysed-volume-statistics/{idlist}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()))
.replaceAll("\\{" + "idlist" + "\\}", apiClient.escapeString(idlist.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get historical performance raw statistics
* Mode: Both Embedded and Proxy.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param type Statistics type (optional)
* @param start start time in milliseconds since the epoch (optional)
* @param end end time in milliseconds since the epoch (optional)
* @param length Length of time in ms. (optional)
* @return RawStatsResponse
* @throws ApiException if fails to make API call
*/
public RawStatsResponse getAllHistoricalRawPerformanceStatistics(String systemId, String type, Long start, Long end, Long length) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getAllHistoricalRawPerformanceStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/historical-statistics/raw".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "type", type));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "start", start));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "end", end));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "length", length));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType localVarReturnType = new GenericType() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get Live performance statistics
* Mode: Embedded only.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param type Statistics type (optional)
* @return RawStatsResponse
* @throws ApiException if fails to make API call
*/
public RawStatsResponse getAllLivePerformanceStatistics(String systemId, String type) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getAllLivePerformanceStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/live-statistics".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "type", type));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType localVarReturnType = new GenericType() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get raw disk statistics
* This API will either retrieve a cached, previously collected statistics snapshot (default), or it will attempt to retrieve the statistics from the storage-system directly. If no previous statistics collections have been successful or have occurred, the statistics will be retrieved directly from the storage-system.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param usecache When true, the statistics data will be returned from the cache. If there is no data in the cache then the storage system will be queried directly for the statistics data. (optional, default to true)
* @return List
* @throws ApiException if fails to make API call
*/
public List getAllRawDiskStatistics(String systemId, Boolean usecache) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getAllRawDiskStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/drive-statistics".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "usecache", usecache));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get all raw volume statistics
* This API will either retrieve a cached, previously collected statistics snapshot (default), or it will attempt to retrieve the statistics from the storage-system directly. If no previous statistics collections have been successful or have occurred, the statistics will be retrieved directly from the storage-system.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param usecache When true, the statistics data will be returned from the cache. If there is no data in the cache then the storage system will be queried directly for the statistics data. (optional, default to true)
* @return List
* @throws ApiException if fails to make API call
*/
public List getAllRawVolumeStatistics(String systemId, Boolean usecache) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getAllRawVolumeStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/volume-statistics".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "usecache", usecache));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get a subset of analysed controller statistics@deprecated NOTE: This method has been DEPRECATED
* This API is available on all model 28xx+ systems, as well as any model 27xx or 56xx that is running 08.30.20.xx/11.30.20.xx or greater code versions. <br><br>This API requires at least two prior collections worth of raw statistics data in order to provide an analyzed result. If we have not yet collected at least two relevant statistics snapshots from the storage-system, the result will be an empty list.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param idlist A comma separated list of controller id's (required)
* @return List
* @throws ApiException if fails to make API call
*/
public List getAnalysedControllerStatistics(String systemId, List idlist) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getAnalysedControllerStatistics");
}
// verify the required parameter 'idlist' is set
if (idlist == null) {
throw new ApiException(400, "Missing the required parameter 'idlist' when calling getAnalysedControllerStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/analysed-controller-statistics/{idlist}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()))
.replaceAll("\\{" + "idlist" + "\\}", apiClient.escapeString(idlist.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get a subset of analysed disk statistics
* This API requires at least two prior collections worth of raw statistics data in order to provide an analyzed result. If we have not yet collected at least two relevant statistics snapshots from the storage-system, the result will be an empty list.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param idlist A comma separated list of disk ids (required)
* @return List
* @throws ApiException if fails to make API call
*/
public List getAnalysedDriveStatistics(String systemId, List idlist) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getAnalysedDriveStatistics");
}
// verify the required parameter 'idlist' is set
if (idlist == null) {
throw new ApiException(400, "Missing the required parameter 'idlist' when calling getAnalysedDriveStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/analysed-drive-statistics/{idlist}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()))
.replaceAll("\\{" + "idlist" + "\\}", apiClient.escapeString(idlist.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get all analysed volume statistics
* This API requires at least two prior collections worth of raw statistics data in order to provide an analyzed result. If we have not yet collected at least two relevant statistics snapshots from the storage-system, the result will be an empty list.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @return List
* @throws ApiException if fails to make API call
*/
public List getAnalysedVolumeStatistics(String systemId) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getAnalysedVolumeStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/analysed-volume-statistics".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get a subset of analysed interface statistics
* This API is available on all model 28xx+ systems, as well as any model 27xx or 56xx that is running 08.30.20.xx/11.30.20.xx or greater code versions. <br><br>This API requires at least two prior collections worth of raw statistics data in order to provide an analyzed result. If we have not yet collected at least two relevant statistics snapshots from the storage-system, the result will be an empty list.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param idlist A comma separated list of interface id's (required)
* @return List
* @throws ApiException if fails to make API call
*/
public List getAnalyzedInterfaceStats(String systemId, List idlist) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getAnalyzedInterfaceStats");
}
// verify the required parameter 'idlist' is set
if (idlist == null) {
throw new ApiException(400, "Missing the required parameter 'idlist' when calling getAnalyzedInterfaceStats");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/analysed-interface-statistics/{idlist}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()))
.replaceAll("\\{" + "idlist" + "\\}", apiClient.escapeString(idlist.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get the list supported average analyzed statistics types
* Mode: Both Embedded and Proxy.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @return List
* @throws ApiException if fails to make API call
*/
public List getAverageAnalyzedStatisticsTypes(String systemId) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getAverageAnalyzedStatisticsTypes");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/historical-statistics/supported-types/average".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get historical performance statistics averaged over a time range.
* Mode: Both Embedded and Proxy.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param type Statistics type (optional)
* @param length Length of time in ms. (optional)
* @return AverageAnalysedStatsResponse
* @throws ApiException if fails to make API call
*/
public AverageAnalysedStatsResponse getAveragedHistoricalPerformanceStatistics(String systemId, String type, Long length) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getAveragedHistoricalPerformanceStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/historical-statistics/average".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "type", type));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "length", length));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType localVarReturnType = new GenericType() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get historical performance statistics
* Mode: Both Embedded and Proxy.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param type Statistics type (optional)
* @param start start time in milliseconds since the epoch (optional)
* @param end end time in milliseconds since the epoch (optional)
* @return HistoricalStatsResponse
* @throws ApiException if fails to make API call
*/
public HistoricalStatsResponse getHistoricalPerformanceStatistics(String systemId, String type, Long start, Long end) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getHistoricalPerformanceStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/historical-statistics".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "type", type));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "start", start));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "end", end));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType localVarReturnType = new GenericType() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get selected historical performance raw statistics
* Mode: Both Embedded and Proxy.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param idlist A comma separated list of object ids (required)
* @param type Statistics type (optional)
* @param start start time in milliseconds since the epoch (optional)
* @param end end time in milliseconds since the epoch (optional)
* @param length Length of time in ms. (optional)
* @return RawStatsResponse
* @throws ApiException if fails to make API call
*/
public RawStatsResponse getHistoricalRawPerformanceStatistics(String systemId, List idlist, String type, Long start, Long end, Long length) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getHistoricalRawPerformanceStatistics");
}
// verify the required parameter 'idlist' is set
if (idlist == null) {
throw new ApiException(400, "Missing the required parameter 'idlist' when calling getHistoricalRawPerformanceStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/historical-statistics/raw/{idlist}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()))
.replaceAll("\\{" + "idlist" + "\\}", apiClient.escapeString(idlist.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "type", type));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "start", start));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "end", end));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "length", length));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType localVarReturnType = new GenericType() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get selected Live performance statistics
* Mode: Embedded only.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param idlist A comma separated list of object ids (required)
* @param type Statistics type (optional)
* @return RawStatsResponse
* @throws ApiException if fails to make API call
*/
public RawStatsResponse getLivePerformanceStatistics(String systemId, List idlist, String type) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getLivePerformanceStatistics");
}
// verify the required parameter 'idlist' is set
if (idlist == null) {
throw new ApiException(400, "Missing the required parameter 'idlist' when calling getLivePerformanceStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/live-statistics/{idlist}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()))
.replaceAll("\\{" + "idlist" + "\\}", apiClient.escapeString(idlist.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "type", type));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType localVarReturnType = new GenericType() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get all raw controller statistics
* This API is available on all model 28xx+ systems, as well as any model 27xx or 56xx that is running 08.30.20.xx/11.30.20.xx or greater code versions. <br><br>This API will either retrieve a cached, previously collected statistics snapshot (default), or it will attempt to retrieve the statistics from the storage-system directly. If no previous statistics collections have been successful or have occurred, the statistics will be retrieved directly from the storage-system.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param usecache When true, the statistics data will be returned from the cache. If there is no data in the cache then the storage system will be queried directly for the statistics data. (optional, default to true)
* @return List
* @throws ApiException if fails to make API call
*/
public List getRawControllerStatistics(String systemId, Boolean usecache) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getRawControllerStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/controller-statistics".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "usecache", usecache));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get a subset of raw controller statistics@deprecated NOTE: This method has been DEPRECATED
* This API is available on all model 28xx+ systems, as well as any model 27xx or 56xx that is running 08.30.20.xx/11.30.20.xx or greater code versions. <br><br>This API will either retrieve a cached, previously collected statistics snapshot (default), or it will attempt to retrieve the statistics from the storage-system directly. If no previous statistics collections have been successful or have occurred, the statistics will be retrieved directly from the storage-system.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param idlist A comma separated list of controller id's (required)
* @param usecache When true, the statistics data will be returned from the cache. If there is no data in the cache then the storage system will be queried directly for the statistics data. (optional, default to true)
* @return List
* @throws ApiException if fails to make API call
*/
public List getRawControllerStatisticsUsingList(String systemId, List idlist, Boolean usecache) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getRawControllerStatisticsUsingList");
}
// verify the required parameter 'idlist' is set
if (idlist == null) {
throw new ApiException(400, "Missing the required parameter 'idlist' when calling getRawControllerStatisticsUsingList");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/controller-statistics/{idlist}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()))
.replaceAll("\\{" + "idlist" + "\\}", apiClient.escapeString(idlist.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "usecache", usecache));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get a subset of the raw disk statistics
* This API will either retrieve a cached, previously collected statistics snapshot (default), or it will attempt to retrieve the statistics from the storage-system directly. If no previous statistics collections have been successful or have occurred, the statistics will be retrieved directly from the storage-system.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param idlist A comma separated list of disk ids (required)
* @param usecache When true, the statistics data will be returned from the cache. If there is no data in the cache then the storage system will be queried directly for the statistics data. (optional, default to true)
* @return List
* @throws ApiException if fails to make API call
*/
public List getRawDiskStatistics(String systemId, List idlist, Boolean usecache) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getRawDiskStatistics");
}
// verify the required parameter 'idlist' is set
if (idlist == null) {
throw new ApiException(400, "Missing the required parameter 'idlist' when calling getRawDiskStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/drive-statistics/{idlist}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()))
.replaceAll("\\{" + "idlist" + "\\}", apiClient.escapeString(idlist.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "usecache", usecache));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get all raw interface statistics
* This API is available on all model 28xx+ systems, as well as any model 27xx or 56xx that is running 08.30.20.xx/11.30.20.xx or greater code versions. <br><br>This API will either retrieve a cached, previously collected statistics snapshot (default), or it will attempt to retrieve the statistics from the storage-system directly. If no previous statistics collections have been successful or have occurred, the statistics will be retrieved directly from the storage-system.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param usecache When true, the statistics data will be returned from the cache. If there is no data in the cache then the storage system will be queried directly for the statistics data. (optional, default to true)
* @return List
* @throws ApiException if fails to make API call
*/
public List getRawInterfaceStatistics(String systemId, Boolean usecache) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getRawInterfaceStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/interface-statistics".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "usecache", usecache));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get a subset of raw interface statistics
* This API is available on all model 28xx+ systems, as well as any model 27xx or 56xx that is running 08.30.20.xx/11.30.20.xx or greater code versions. <br><br>This API will either retrieve a cached, previously collected statistics snapshot (default), or it will attempt to retrieve the statistics from the storage-system directly. If no previous statistics collections have been successful or have occurred, the statistics will be retrieved directly from the storage-system.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param idlist A comma separated list of interface id's (required)
* @param usecache When true, the statistics data will be returned from the cache. If there is no data in the cache then the storage system will be queried directly for the statistics data. (optional, default to true)
* @return List
* @throws ApiException if fails to make API call
*/
public List getRawInterfaceStatisticsWithList(String systemId, List idlist, Boolean usecache) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getRawInterfaceStatisticsWithList");
}
// verify the required parameter 'idlist' is set
if (idlist == null) {
throw new ApiException(400, "Missing the required parameter 'idlist' when calling getRawInterfaceStatisticsWithList");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/interface-statistics/{idlist}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()))
.replaceAll("\\{" + "idlist" + "\\}", apiClient.escapeString(idlist.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "usecache", usecache));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get the list supported raw statistics types
* Mode: Both Embedded and Proxy.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @return List
* @throws ApiException if fails to make API call
*/
public List getRawStatisticsTypes(String systemId) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getRawStatisticsTypes");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/historical-statistics/supported-types/raw".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get a subset of raw volume statistics
* This API will either retrieve a cached, previously collected statistics snapshot (default), or it will attempt to retrieve the statistics from the storage-system directly. If no previous statistics collections have been successful or have occurred, the statistics will be retrieved directly from the storage-system.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param idlist A comma separated list of volume ids (required)
* @param usecache When true, the statistics data will be returned from the cache. If there is no data in the cache then the storage system will be queried directly for the statistics data. (optional, default to true)
* @return List
* @throws ApiException if fails to make API call
*/
public List getRawVolumeStatistics(String systemId, List idlist, Boolean usecache) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getRawVolumeStatistics");
}
// verify the required parameter 'idlist' is set
if (idlist == null) {
throw new ApiException(400, "Missing the required parameter 'idlist' when calling getRawVolumeStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/volume-statistics/{idlist}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()))
.replaceAll("\\{" + "idlist" + "\\}", apiClient.escapeString(idlist.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "usecache", usecache));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType> localVarReturnType = new GenericType>() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get selected historical performance statistics
* Mode: Both Embedded and Proxy.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @param idlist A comma separated list of object ids (required)
* @param type Statistics type (optional)
* @param start start time in milliseconds since the epoch (optional)
* @param end end time in milliseconds since the epoch (optional)
* @return HistoricalStatsResponse
* @throws ApiException if fails to make API call
*/
public HistoricalStatsResponse getSelectedHistoricalPerformanceStatistics(String systemId, List idlist, String type, Long start, Long end) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getSelectedHistoricalPerformanceStatistics");
}
// verify the required parameter 'idlist' is set
if (idlist == null) {
throw new ApiException(400, "Missing the required parameter 'idlist' when calling getSelectedHistoricalPerformanceStatistics");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/historical-statistics/{idlist}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()))
.replaceAll("\\{" + "idlist" + "\\}", apiClient.escapeString(idlist.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "type", type));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "start", start));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "end", end));
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
"application/json"
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "basicAuth" };
GenericType localVarReturnType = new GenericType() {};
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
* Get the list supported statistics types
* Mode: Both Embedded and Proxy.
* @param systemId The unique identifier of the storage-system. This may be the id or the WWN. (required)
* @return List
* @throws ApiException if fails to make API call
*/
public List getSupportedStatisticsTypes(String systemId) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'systemId' is set
if (systemId == null) {
throw new ApiException(400, "Missing the required parameter 'systemId' when calling getSupportedStatisticsTypes");
}
// create path and map variables
String localVarPath = "/storage-systems/{system-id}/historical-statistics/supported-types".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "system-id" + "\\}", apiClient.escapeString(systemId.toString()));
// query params
List localVarQueryParams = new ArrayList();
Map