public class IscsiLunApi extends Object
| 构造器和说明 |
|---|
IscsiLunApi() |
IscsiLunApi(ApiClient apiClient) |
public IscsiLunApi()
public IscsiLunApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call cloneIscsiLunFromSnapshotCall(List<IscsiLunCloneParams> iscsiLunCloneParams, ApiCallback _callback) throws ApiException
iscsiLunCloneParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskIscsiLun> cloneIscsiLunFromSnapshot(List<IscsiLunCloneParams> iscsiLunCloneParams) throws ApiException
iscsiLunCloneParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskIscsiLun>> cloneIscsiLunFromSnapshotWithHttpInfo(List<IscsiLunCloneParams> iscsiLunCloneParams) throws ApiException
iscsiLunCloneParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call cloneIscsiLunFromSnapshotAsync(List<IscsiLunCloneParams> iscsiLunCloneParams, ApiCallback<List<WithTaskIscsiLun>> _callback) throws ApiException
iscsiLunCloneParams - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call copyIscsiLunCall(List<CopyIscsiLunParams> copyIscsiLunParams, ApiCallback _callback) throws ApiException
copyIscsiLunParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskIscsiLun> copyIscsiLun(List<CopyIscsiLunParams> copyIscsiLunParams) throws ApiException
copyIscsiLunParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskIscsiLun>> copyIscsiLunWithHttpInfo(List<CopyIscsiLunParams> copyIscsiLunParams) throws ApiException
copyIscsiLunParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call copyIscsiLunAsync(List<CopyIscsiLunParams> copyIscsiLunParams, ApiCallback<List<WithTaskIscsiLun>> _callback) throws ApiException
copyIscsiLunParams - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call createIscsiLunCall(List<IscsiLunCreationParams> iscsiLunCreationParams, ApiCallback _callback) throws ApiException
iscsiLunCreationParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskIscsiLun> createIscsiLun(List<IscsiLunCreationParams> iscsiLunCreationParams) throws ApiException
iscsiLunCreationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskIscsiLun>> createIscsiLunWithHttpInfo(List<IscsiLunCreationParams> iscsiLunCreationParams) throws ApiException
iscsiLunCreationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call createIscsiLunAsync(List<IscsiLunCreationParams> iscsiLunCreationParams, ApiCallback<List<WithTaskIscsiLun>> _callback) throws ApiException
iscsiLunCreationParams - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call deleteIscsiLunCall(IscsiLunDeletionParams iscsiLunDeletionParams, ApiCallback _callback) throws ApiException
iscsiLunDeletionParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskDeleteIscsiLun> deleteIscsiLun(IscsiLunDeletionParams iscsiLunDeletionParams) throws ApiException
iscsiLunDeletionParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskDeleteIscsiLun>> deleteIscsiLunWithHttpInfo(IscsiLunDeletionParams iscsiLunDeletionParams) throws ApiException
iscsiLunDeletionParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call deleteIscsiLunAsync(IscsiLunDeletionParams iscsiLunDeletionParams, ApiCallback<List<WithTaskDeleteIscsiLun>> _callback) throws ApiException
iscsiLunDeletionParams - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getIscsiLunsCall(GetIscsiLunsRequestBody getIscsiLunsRequestBody, ApiCallback _callback) throws ApiException
getIscsiLunsRequestBody - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<IscsiLun> getIscsiLuns(GetIscsiLunsRequestBody getIscsiLunsRequestBody) throws ApiException
getIscsiLunsRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<IscsiLun>> getIscsiLunsWithHttpInfo(GetIscsiLunsRequestBody getIscsiLunsRequestBody) throws ApiException
getIscsiLunsRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getIscsiLunsAsync(GetIscsiLunsRequestBody getIscsiLunsRequestBody, ApiCallback<List<IscsiLun>> _callback) throws ApiException
getIscsiLunsRequestBody - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getIscsiLunsConnectionCall(GetIscsiLunsConnectionRequestBody getIscsiLunsConnectionRequestBody, ApiCallback _callback) throws ApiException
getIscsiLunsConnectionRequestBody - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public IscsiLunConnection getIscsiLunsConnection(GetIscsiLunsConnectionRequestBody getIscsiLunsConnectionRequestBody) throws ApiException
getIscsiLunsConnectionRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<IscsiLunConnection> getIscsiLunsConnectionWithHttpInfo(GetIscsiLunsConnectionRequestBody getIscsiLunsConnectionRequestBody) throws ApiException
getIscsiLunsConnectionRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getIscsiLunsConnectionAsync(GetIscsiLunsConnectionRequestBody getIscsiLunsConnectionRequestBody, ApiCallback<IscsiLunConnection> _callback) throws ApiException
getIscsiLunsConnectionRequestBody - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call rollbackIscsiLunFromSnapshotCall(List<IscsiLunRollbackParams> iscsiLunRollbackParams, ApiCallback _callback) throws ApiException
iscsiLunRollbackParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskIscsiLun> rollbackIscsiLunFromSnapshot(List<IscsiLunRollbackParams> iscsiLunRollbackParams) throws ApiException
iscsiLunRollbackParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskIscsiLun>> rollbackIscsiLunFromSnapshotWithHttpInfo(List<IscsiLunRollbackParams> iscsiLunRollbackParams) throws ApiException
iscsiLunRollbackParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call rollbackIscsiLunFromSnapshotAsync(List<IscsiLunRollbackParams> iscsiLunRollbackParams, ApiCallback<List<WithTaskIscsiLun>> _callback) throws ApiException
iscsiLunRollbackParams - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call updateIscsiLunCall(IscsiLunUpdationParams iscsiLunUpdationParams, ApiCallback _callback) throws ApiException
iscsiLunUpdationParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskIscsiLun> updateIscsiLun(IscsiLunUpdationParams iscsiLunUpdationParams) throws ApiException
iscsiLunUpdationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskIscsiLun>> updateIscsiLunWithHttpInfo(IscsiLunUpdationParams iscsiLunUpdationParams) throws ApiException
iscsiLunUpdationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call updateIscsiLunAsync(IscsiLunUpdationParams iscsiLunUpdationParams, ApiCallback<List<WithTaskIscsiLun>> _callback) throws ApiException
iscsiLunUpdationParams - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
Copyright © 2025. All rights reserved.