public class VirtualPrivateCloudApi extends Object
| 构造器和说明 |
|---|
VirtualPrivateCloudApi() |
VirtualPrivateCloudApi(ApiClient apiClient) |
public VirtualPrivateCloudApi()
public VirtualPrivateCloudApi(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 createVirtualPrivateCloudCall(List<VirtualPrivateCloudCreationParams> virtualPrivateCloudCreationParams, ApiCallback _callback) throws ApiException
virtualPrivateCloudCreationParams - (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<WithTaskVirtualPrivateCloud> createVirtualPrivateCloud(List<VirtualPrivateCloudCreationParams> virtualPrivateCloudCreationParams) throws ApiException
virtualPrivateCloudCreationParams - (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<WithTaskVirtualPrivateCloud>> createVirtualPrivateCloudWithHttpInfo(List<VirtualPrivateCloudCreationParams> virtualPrivateCloudCreationParams) throws ApiException
virtualPrivateCloudCreationParams - (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 createVirtualPrivateCloudAsync(List<VirtualPrivateCloudCreationParams> virtualPrivateCloudCreationParams, ApiCallback<List<WithTaskVirtualPrivateCloud>> _callback) throws ApiException
virtualPrivateCloudCreationParams - (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 deleteVirtualPrivateCloudCall(VirtualPrivateCloudDeletionParams virtualPrivateCloudDeletionParams, ApiCallback _callback) throws ApiException
virtualPrivateCloudDeletionParams - (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<WithTaskDeleteVirtualPrivateCloud> deleteVirtualPrivateCloud(VirtualPrivateCloudDeletionParams virtualPrivateCloudDeletionParams) throws ApiException
virtualPrivateCloudDeletionParams - (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<WithTaskDeleteVirtualPrivateCloud>> deleteVirtualPrivateCloudWithHttpInfo(VirtualPrivateCloudDeletionParams virtualPrivateCloudDeletionParams) throws ApiException
virtualPrivateCloudDeletionParams - (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 deleteVirtualPrivateCloudAsync(VirtualPrivateCloudDeletionParams virtualPrivateCloudDeletionParams, ApiCallback<List<WithTaskDeleteVirtualPrivateCloud>> _callback) throws ApiException
virtualPrivateCloudDeletionParams - (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 getVirtualPrivateCloudsCall(GetVirtualPrivateCloudsRequestBody getVirtualPrivateCloudsRequestBody, ApiCallback _callback) throws ApiException
getVirtualPrivateCloudsRequestBody - (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<VirtualPrivateCloud> getVirtualPrivateClouds(GetVirtualPrivateCloudsRequestBody getVirtualPrivateCloudsRequestBody) throws ApiException
getVirtualPrivateCloudsRequestBody - (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<VirtualPrivateCloud>> getVirtualPrivateCloudsWithHttpInfo(GetVirtualPrivateCloudsRequestBody getVirtualPrivateCloudsRequestBody) throws ApiException
getVirtualPrivateCloudsRequestBody - (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 getVirtualPrivateCloudsAsync(GetVirtualPrivateCloudsRequestBody getVirtualPrivateCloudsRequestBody, ApiCallback<List<VirtualPrivateCloud>> _callback) throws ApiException
getVirtualPrivateCloudsRequestBody - (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 getVirtualPrivateCloudsConnectionCall(GetVirtualPrivateCloudsConnectionRequestBody getVirtualPrivateCloudsConnectionRequestBody, ApiCallback _callback) throws ApiException
getVirtualPrivateCloudsConnectionRequestBody - (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 VirtualPrivateCloudConnection getVirtualPrivateCloudsConnection(GetVirtualPrivateCloudsConnectionRequestBody getVirtualPrivateCloudsConnectionRequestBody) throws ApiException
getVirtualPrivateCloudsConnectionRequestBody - (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<VirtualPrivateCloudConnection> getVirtualPrivateCloudsConnectionWithHttpInfo(GetVirtualPrivateCloudsConnectionRequestBody getVirtualPrivateCloudsConnectionRequestBody) throws ApiException
getVirtualPrivateCloudsConnectionRequestBody - (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 getVirtualPrivateCloudsConnectionAsync(GetVirtualPrivateCloudsConnectionRequestBody getVirtualPrivateCloudsConnectionRequestBody, ApiCallback<VirtualPrivateCloudConnection> _callback) throws ApiException
getVirtualPrivateCloudsConnectionRequestBody - (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 updateVirtualPrivateCloudCall(VirtualPrivateCloudUpdationParams virtualPrivateCloudUpdationParams, ApiCallback _callback) throws ApiException
virtualPrivateCloudUpdationParams - (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<WithTaskVirtualPrivateCloud> updateVirtualPrivateCloud(VirtualPrivateCloudUpdationParams virtualPrivateCloudUpdationParams) throws ApiException
virtualPrivateCloudUpdationParams - (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<WithTaskVirtualPrivateCloud>> updateVirtualPrivateCloudWithHttpInfo(VirtualPrivateCloudUpdationParams virtualPrivateCloudUpdationParams) throws ApiException
virtualPrivateCloudUpdationParams - (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 updateVirtualPrivateCloudAsync(VirtualPrivateCloudUpdationParams virtualPrivateCloudUpdationParams, ApiCallback<List<WithTaskVirtualPrivateCloud>> _callback) throws ApiException
virtualPrivateCloudUpdationParams - (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.