public class VsphereEsxiAccountApi extends Object
| 构造器和说明 |
|---|
VsphereEsxiAccountApi() |
VsphereEsxiAccountApi(ApiClient apiClient) |
public VsphereEsxiAccountApi()
public VsphereEsxiAccountApi(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 getVsphereEsxiAccountsCall(GetVsphereEsxiAccountsRequestBody getVsphereEsxiAccountsRequestBody, ApiCallback _callback) throws ApiException
getVsphereEsxiAccountsRequestBody - (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<VsphereEsxiAccount> getVsphereEsxiAccounts(GetVsphereEsxiAccountsRequestBody getVsphereEsxiAccountsRequestBody) throws ApiException
getVsphereEsxiAccountsRequestBody - (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<VsphereEsxiAccount>> getVsphereEsxiAccountsWithHttpInfo(GetVsphereEsxiAccountsRequestBody getVsphereEsxiAccountsRequestBody) throws ApiException
getVsphereEsxiAccountsRequestBody - (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 getVsphereEsxiAccountsAsync(GetVsphereEsxiAccountsRequestBody getVsphereEsxiAccountsRequestBody, ApiCallback<List<VsphereEsxiAccount>> _callback) throws ApiException
getVsphereEsxiAccountsRequestBody - (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 getVsphereEsxiAccountsConnectionCall(GetVsphereEsxiAccountsConnectionRequestBody getVsphereEsxiAccountsConnectionRequestBody, ApiCallback _callback) throws ApiException
getVsphereEsxiAccountsConnectionRequestBody - (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 VsphereEsxiAccountConnection getVsphereEsxiAccountsConnection(GetVsphereEsxiAccountsConnectionRequestBody getVsphereEsxiAccountsConnectionRequestBody) throws ApiException
getVsphereEsxiAccountsConnectionRequestBody - (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<VsphereEsxiAccountConnection> getVsphereEsxiAccountsConnectionWithHttpInfo(GetVsphereEsxiAccountsConnectionRequestBody getVsphereEsxiAccountsConnectionRequestBody) throws ApiException
getVsphereEsxiAccountsConnectionRequestBody - (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 getVsphereEsxiAccountsConnectionAsync(GetVsphereEsxiAccountsConnectionRequestBody getVsphereEsxiAccountsConnectionRequestBody, ApiCallback<VsphereEsxiAccountConnection> _callback) throws ApiException
getVsphereEsxiAccountsConnectionRequestBody - (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 updateVsphereEsxiAccountCall(UpdateVsphereEsxiAccountParams updateVsphereEsxiAccountParams, ApiCallback _callback) throws ApiException
updateVsphereEsxiAccountParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 304 | Not modified | - |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskVsphereEsxiAccountArray> updateVsphereEsxiAccount(UpdateVsphereEsxiAccountParams updateVsphereEsxiAccountParams) throws ApiException
updateVsphereEsxiAccountParams - (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 - | |
| 304 | Not modified | - |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskVsphereEsxiAccountArray>> updateVsphereEsxiAccountWithHttpInfo(UpdateVsphereEsxiAccountParams updateVsphereEsxiAccountParams) throws ApiException
updateVsphereEsxiAccountParams - (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 - | |
| 304 | Not modified | - |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call updateVsphereEsxiAccountAsync(UpdateVsphereEsxiAccountParams updateVsphereEsxiAccountParams, ApiCallback<List<WithTaskVsphereEsxiAccountArray>> _callback) throws ApiException
updateVsphereEsxiAccountParams - (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 - | |
| 304 | Not modified | - |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
Copyright © 2025. All rights reserved.