public class VmVolumeSnapshotApi extends Object
| 构造器和说明 |
|---|
VmVolumeSnapshotApi() |
VmVolumeSnapshotApi(ApiClient apiClient) |
public VmVolumeSnapshotApi()
public VmVolumeSnapshotApi(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 createVmVolumeSnapshotCall(List<VmVolumeSnapshotCreationParams> vmVolumeSnapshotCreationParams, ApiCallback _callback) throws ApiException
vmVolumeSnapshotCreationParams - (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<WithTaskVmVolumeSnapshot> createVmVolumeSnapshot(List<VmVolumeSnapshotCreationParams> vmVolumeSnapshotCreationParams) throws ApiException
vmVolumeSnapshotCreationParams - (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<WithTaskVmVolumeSnapshot>> createVmVolumeSnapshotWithHttpInfo(List<VmVolumeSnapshotCreationParams> vmVolumeSnapshotCreationParams) throws ApiException
vmVolumeSnapshotCreationParams - (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 createVmVolumeSnapshotAsync(List<VmVolumeSnapshotCreationParams> vmVolumeSnapshotCreationParams, ApiCallback<List<WithTaskVmVolumeSnapshot>> _callback) throws ApiException
vmVolumeSnapshotCreationParams - (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 deleteVmVolumeSnapshotCall(VmVolumeSnapshotDeletionParams vmVolumeSnapshotDeletionParams, ApiCallback _callback) throws ApiException
vmVolumeSnapshotDeletionParams - (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<WithTaskDeleteVmVolumeSnapshot> deleteVmVolumeSnapshot(VmVolumeSnapshotDeletionParams vmVolumeSnapshotDeletionParams) throws ApiException
vmVolumeSnapshotDeletionParams - (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<WithTaskDeleteVmVolumeSnapshot>> deleteVmVolumeSnapshotWithHttpInfo(VmVolumeSnapshotDeletionParams vmVolumeSnapshotDeletionParams) throws ApiException
vmVolumeSnapshotDeletionParams - (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 deleteVmVolumeSnapshotAsync(VmVolumeSnapshotDeletionParams vmVolumeSnapshotDeletionParams, ApiCallback<List<WithTaskDeleteVmVolumeSnapshot>> _callback) throws ApiException
vmVolumeSnapshotDeletionParams - (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 getVmVolumeSnapshotsCall(GetVmVolumeSnapshotsRequestBody getVmVolumeSnapshotsRequestBody, ApiCallback _callback) throws ApiException
getVmVolumeSnapshotsRequestBody - (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<VmVolumeSnapshot> getVmVolumeSnapshots(GetVmVolumeSnapshotsRequestBody getVmVolumeSnapshotsRequestBody) throws ApiException
getVmVolumeSnapshotsRequestBody - (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<VmVolumeSnapshot>> getVmVolumeSnapshotsWithHttpInfo(GetVmVolumeSnapshotsRequestBody getVmVolumeSnapshotsRequestBody) throws ApiException
getVmVolumeSnapshotsRequestBody - (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 getVmVolumeSnapshotsAsync(GetVmVolumeSnapshotsRequestBody getVmVolumeSnapshotsRequestBody, ApiCallback<List<VmVolumeSnapshot>> _callback) throws ApiException
getVmVolumeSnapshotsRequestBody - (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 getVmVolumeSnapshotsConnectionCall(GetVmVolumeSnapshotsConnectionRequestBody getVmVolumeSnapshotsConnectionRequestBody, ApiCallback _callback) throws ApiException
getVmVolumeSnapshotsConnectionRequestBody - (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 VmVolumeSnapshotConnection getVmVolumeSnapshotsConnection(GetVmVolumeSnapshotsConnectionRequestBody getVmVolumeSnapshotsConnectionRequestBody) throws ApiException
getVmVolumeSnapshotsConnectionRequestBody - (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<VmVolumeSnapshotConnection> getVmVolumeSnapshotsConnectionWithHttpInfo(GetVmVolumeSnapshotsConnectionRequestBody getVmVolumeSnapshotsConnectionRequestBody) throws ApiException
getVmVolumeSnapshotsConnectionRequestBody - (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 getVmVolumeSnapshotsConnectionAsync(GetVmVolumeSnapshotsConnectionRequestBody getVmVolumeSnapshotsConnectionRequestBody, ApiCallback<VmVolumeSnapshotConnection> _callback) throws ApiException
getVmVolumeSnapshotsConnectionRequestBody - (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.