public class VirtualPrivateCloudNatGatewayApi extends Object
| 构造器和说明 |
|---|
VirtualPrivateCloudNatGatewayApi() |
VirtualPrivateCloudNatGatewayApi(ApiClient apiClient) |
public VirtualPrivateCloudNatGatewayApi()
public VirtualPrivateCloudNatGatewayApi(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 createVirtualPrivateCloudNatGatewayCall(List<VirtualPrivateCloudNatGatewayCreationParams> virtualPrivateCloudNatGatewayCreationParams, ApiCallback _callback) throws ApiException
virtualPrivateCloudNatGatewayCreationParams - (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<WithTaskVirtualPrivateCloudNatGateway> createVirtualPrivateCloudNatGateway(List<VirtualPrivateCloudNatGatewayCreationParams> virtualPrivateCloudNatGatewayCreationParams) throws ApiException
virtualPrivateCloudNatGatewayCreationParams - (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<WithTaskVirtualPrivateCloudNatGateway>> createVirtualPrivateCloudNatGatewayWithHttpInfo(List<VirtualPrivateCloudNatGatewayCreationParams> virtualPrivateCloudNatGatewayCreationParams) throws ApiException
virtualPrivateCloudNatGatewayCreationParams - (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 createVirtualPrivateCloudNatGatewayAsync(List<VirtualPrivateCloudNatGatewayCreationParams> virtualPrivateCloudNatGatewayCreationParams, ApiCallback<List<WithTaskVirtualPrivateCloudNatGateway>> _callback) throws ApiException
virtualPrivateCloudNatGatewayCreationParams - (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 deleteVirtualPrivateCloudNatGatewayCall(VirtualPrivateCloudNatGatewayDeletionParams virtualPrivateCloudNatGatewayDeletionParams, ApiCallback _callback) throws ApiException
virtualPrivateCloudNatGatewayDeletionParams - (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<WithTaskDeleteVirtualPrivateCloudNatGateway> deleteVirtualPrivateCloudNatGateway(VirtualPrivateCloudNatGatewayDeletionParams virtualPrivateCloudNatGatewayDeletionParams) throws ApiException
virtualPrivateCloudNatGatewayDeletionParams - (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<WithTaskDeleteVirtualPrivateCloudNatGateway>> deleteVirtualPrivateCloudNatGatewayWithHttpInfo(VirtualPrivateCloudNatGatewayDeletionParams virtualPrivateCloudNatGatewayDeletionParams) throws ApiException
virtualPrivateCloudNatGatewayDeletionParams - (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 deleteVirtualPrivateCloudNatGatewayAsync(VirtualPrivateCloudNatGatewayDeletionParams virtualPrivateCloudNatGatewayDeletionParams, ApiCallback<List<WithTaskDeleteVirtualPrivateCloudNatGateway>> _callback) throws ApiException
virtualPrivateCloudNatGatewayDeletionParams - (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 getVirtualPrivateCloudNatGatewaysCall(GetVirtualPrivateCloudNatGatewaysRequestBody getVirtualPrivateCloudNatGatewaysRequestBody, ApiCallback _callback) throws ApiException
getVirtualPrivateCloudNatGatewaysRequestBody - (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<VirtualPrivateCloudNatGateway> getVirtualPrivateCloudNatGateways(GetVirtualPrivateCloudNatGatewaysRequestBody getVirtualPrivateCloudNatGatewaysRequestBody) throws ApiException
getVirtualPrivateCloudNatGatewaysRequestBody - (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<VirtualPrivateCloudNatGateway>> getVirtualPrivateCloudNatGatewaysWithHttpInfo(GetVirtualPrivateCloudNatGatewaysRequestBody getVirtualPrivateCloudNatGatewaysRequestBody) throws ApiException
getVirtualPrivateCloudNatGatewaysRequestBody - (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 getVirtualPrivateCloudNatGatewaysAsync(GetVirtualPrivateCloudNatGatewaysRequestBody getVirtualPrivateCloudNatGatewaysRequestBody, ApiCallback<List<VirtualPrivateCloudNatGateway>> _callback) throws ApiException
getVirtualPrivateCloudNatGatewaysRequestBody - (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 getVirtualPrivateCloudNatGatewaysConnectionCall(GetVirtualPrivateCloudNatGatewaysConnectionRequestBody getVirtualPrivateCloudNatGatewaysConnectionRequestBody, ApiCallback _callback) throws ApiException
getVirtualPrivateCloudNatGatewaysConnectionRequestBody - (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 VirtualPrivateCloudNatGatewayConnection getVirtualPrivateCloudNatGatewaysConnection(GetVirtualPrivateCloudNatGatewaysConnectionRequestBody getVirtualPrivateCloudNatGatewaysConnectionRequestBody) throws ApiException
getVirtualPrivateCloudNatGatewaysConnectionRequestBody - (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<VirtualPrivateCloudNatGatewayConnection> getVirtualPrivateCloudNatGatewaysConnectionWithHttpInfo(GetVirtualPrivateCloudNatGatewaysConnectionRequestBody getVirtualPrivateCloudNatGatewaysConnectionRequestBody) throws ApiException
getVirtualPrivateCloudNatGatewaysConnectionRequestBody - (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 getVirtualPrivateCloudNatGatewaysConnectionAsync(GetVirtualPrivateCloudNatGatewaysConnectionRequestBody getVirtualPrivateCloudNatGatewaysConnectionRequestBody, ApiCallback<VirtualPrivateCloudNatGatewayConnection> _callback) throws ApiException
getVirtualPrivateCloudNatGatewaysConnectionRequestBody - (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 updateVirtualPrivateCloudNatGatewayCall(VirtualPrivateCloudNatGatewayUpdationParams virtualPrivateCloudNatGatewayUpdationParams, ApiCallback _callback) throws ApiException
virtualPrivateCloudNatGatewayUpdationParams - (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<WithTaskVirtualPrivateCloudNatGateway> updateVirtualPrivateCloudNatGateway(VirtualPrivateCloudNatGatewayUpdationParams virtualPrivateCloudNatGatewayUpdationParams) throws ApiException
virtualPrivateCloudNatGatewayUpdationParams - (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<WithTaskVirtualPrivateCloudNatGateway>> updateVirtualPrivateCloudNatGatewayWithHttpInfo(VirtualPrivateCloudNatGatewayUpdationParams virtualPrivateCloudNatGatewayUpdationParams) throws ApiException
virtualPrivateCloudNatGatewayUpdationParams - (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 updateVirtualPrivateCloudNatGatewayAsync(VirtualPrivateCloudNatGatewayUpdationParams virtualPrivateCloudNatGatewayUpdationParams, ApiCallback<List<WithTaskVirtualPrivateCloudNatGateway>> _callback) throws ApiException
virtualPrivateCloudNatGatewayUpdationParams - (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.