public class IscsiLunSnapshotApi extends Object
| 构造器和说明 |
|---|
IscsiLunSnapshotApi() |
IscsiLunSnapshotApi(ApiClient apiClient) |
public IscsiLunSnapshotApi()
public IscsiLunSnapshotApi(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 createIscsiLunSnapshotCall(List<IscsiLunSnapshotCreationParams> iscsiLunSnapshotCreationParams, ApiCallback _callback) throws ApiException
iscsiLunSnapshotCreationParams - (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<WithTaskIscsiLunSnapshot> createIscsiLunSnapshot(List<IscsiLunSnapshotCreationParams> iscsiLunSnapshotCreationParams) throws ApiException
iscsiLunSnapshotCreationParams - (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<WithTaskIscsiLunSnapshot>> createIscsiLunSnapshotWithHttpInfo(List<IscsiLunSnapshotCreationParams> iscsiLunSnapshotCreationParams) throws ApiException
iscsiLunSnapshotCreationParams - (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 createIscsiLunSnapshotAsync(List<IscsiLunSnapshotCreationParams> iscsiLunSnapshotCreationParams, ApiCallback<List<WithTaskIscsiLunSnapshot>> _callback) throws ApiException
iscsiLunSnapshotCreationParams - (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 deleteIscsiLunSnapshotCall(IscsiLunSnapshotDeletionParams iscsiLunSnapshotDeletionParams, ApiCallback _callback) throws ApiException
iscsiLunSnapshotDeletionParams - (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<WithTaskDeleteIscsiLunSnapshot> deleteIscsiLunSnapshot(IscsiLunSnapshotDeletionParams iscsiLunSnapshotDeletionParams) throws ApiException
iscsiLunSnapshotDeletionParams - (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<WithTaskDeleteIscsiLunSnapshot>> deleteIscsiLunSnapshotWithHttpInfo(IscsiLunSnapshotDeletionParams iscsiLunSnapshotDeletionParams) throws ApiException
iscsiLunSnapshotDeletionParams - (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 deleteIscsiLunSnapshotAsync(IscsiLunSnapshotDeletionParams iscsiLunSnapshotDeletionParams, ApiCallback<List<WithTaskDeleteIscsiLunSnapshot>> _callback) throws ApiException
iscsiLunSnapshotDeletionParams - (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 getIscsiLunSnapshotsCall(GetIscsiLunSnapshotsRequestBody getIscsiLunSnapshotsRequestBody, ApiCallback _callback) throws ApiException
getIscsiLunSnapshotsRequestBody - (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<IscsiLunSnapshot> getIscsiLunSnapshots(GetIscsiLunSnapshotsRequestBody getIscsiLunSnapshotsRequestBody) throws ApiException
getIscsiLunSnapshotsRequestBody - (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<IscsiLunSnapshot>> getIscsiLunSnapshotsWithHttpInfo(GetIscsiLunSnapshotsRequestBody getIscsiLunSnapshotsRequestBody) throws ApiException
getIscsiLunSnapshotsRequestBody - (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 getIscsiLunSnapshotsAsync(GetIscsiLunSnapshotsRequestBody getIscsiLunSnapshotsRequestBody, ApiCallback<List<IscsiLunSnapshot>> _callback) throws ApiException
getIscsiLunSnapshotsRequestBody - (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 getIscsiLunSnapshotsConnectionCall(GetIscsiLunSnapshotsConnectionRequestBody getIscsiLunSnapshotsConnectionRequestBody, ApiCallback _callback) throws ApiException
getIscsiLunSnapshotsConnectionRequestBody - (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 IscsiLunSnapshotConnection getIscsiLunSnapshotsConnection(GetIscsiLunSnapshotsConnectionRequestBody getIscsiLunSnapshotsConnectionRequestBody) throws ApiException
getIscsiLunSnapshotsConnectionRequestBody - (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<IscsiLunSnapshotConnection> getIscsiLunSnapshotsConnectionWithHttpInfo(GetIscsiLunSnapshotsConnectionRequestBody getIscsiLunSnapshotsConnectionRequestBody) throws ApiException
getIscsiLunSnapshotsConnectionRequestBody - (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 getIscsiLunSnapshotsConnectionAsync(GetIscsiLunSnapshotsConnectionRequestBody getIscsiLunSnapshotsConnectionRequestBody, ApiCallback<IscsiLunSnapshotConnection> _callback) throws ApiException
getIscsiLunSnapshotsConnectionRequestBody - (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 - |
Copyright © 2025. All rights reserved.