public class VmPlacementGroupApi extends Object
| 构造器和说明 |
|---|
VmPlacementGroupApi() |
VmPlacementGroupApi(ApiClient apiClient) |
public VmPlacementGroupApi()
public VmPlacementGroupApi(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 createVmPlacementGroupCall(List<VmPlacementGroupCreationParams> vmPlacementGroupCreationParams, ApiCallback _callback) throws ApiException
vmPlacementGroupCreationParams - (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<WithTaskVmPlacementGroup> createVmPlacementGroup(List<VmPlacementGroupCreationParams> vmPlacementGroupCreationParams) throws ApiException
vmPlacementGroupCreationParams - (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<WithTaskVmPlacementGroup>> createVmPlacementGroupWithHttpInfo(List<VmPlacementGroupCreationParams> vmPlacementGroupCreationParams) throws ApiException
vmPlacementGroupCreationParams - (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 createVmPlacementGroupAsync(List<VmPlacementGroupCreationParams> vmPlacementGroupCreationParams, ApiCallback<List<WithTaskVmPlacementGroup>> _callback) throws ApiException
vmPlacementGroupCreationParams - (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 deleteVmPlacementGroupCall(VmPlacementGroupDeletionParams vmPlacementGroupDeletionParams, ApiCallback _callback) throws ApiException
vmPlacementGroupDeletionParams - (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<WithTaskDeleteVmPlacementGroup> deleteVmPlacementGroup(VmPlacementGroupDeletionParams vmPlacementGroupDeletionParams) throws ApiException
vmPlacementGroupDeletionParams - (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<WithTaskDeleteVmPlacementGroup>> deleteVmPlacementGroupWithHttpInfo(VmPlacementGroupDeletionParams vmPlacementGroupDeletionParams) throws ApiException
vmPlacementGroupDeletionParams - (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 deleteVmPlacementGroupAsync(VmPlacementGroupDeletionParams vmPlacementGroupDeletionParams, ApiCallback<List<WithTaskDeleteVmPlacementGroup>> _callback) throws ApiException
vmPlacementGroupDeletionParams - (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 getVmPlacementGroupsCall(GetVmPlacementGroupsRequestBody getVmPlacementGroupsRequestBody, ApiCallback _callback) throws ApiException
getVmPlacementGroupsRequestBody - (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<VmPlacementGroup> getVmPlacementGroups(GetVmPlacementGroupsRequestBody getVmPlacementGroupsRequestBody) throws ApiException
getVmPlacementGroupsRequestBody - (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<VmPlacementGroup>> getVmPlacementGroupsWithHttpInfo(GetVmPlacementGroupsRequestBody getVmPlacementGroupsRequestBody) throws ApiException
getVmPlacementGroupsRequestBody - (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 getVmPlacementGroupsAsync(GetVmPlacementGroupsRequestBody getVmPlacementGroupsRequestBody, ApiCallback<List<VmPlacementGroup>> _callback) throws ApiException
getVmPlacementGroupsRequestBody - (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 getVmPlacementGroupsConnectionCall(GetVmPlacementGroupsConnectionRequestBody getVmPlacementGroupsConnectionRequestBody, ApiCallback _callback) throws ApiException
getVmPlacementGroupsConnectionRequestBody - (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 VmPlacementGroupConnection getVmPlacementGroupsConnection(GetVmPlacementGroupsConnectionRequestBody getVmPlacementGroupsConnectionRequestBody) throws ApiException
getVmPlacementGroupsConnectionRequestBody - (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<VmPlacementGroupConnection> getVmPlacementGroupsConnectionWithHttpInfo(GetVmPlacementGroupsConnectionRequestBody getVmPlacementGroupsConnectionRequestBody) throws ApiException
getVmPlacementGroupsConnectionRequestBody - (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 getVmPlacementGroupsConnectionAsync(GetVmPlacementGroupsConnectionRequestBody getVmPlacementGroupsConnectionRequestBody, ApiCallback<VmPlacementGroupConnection> _callback) throws ApiException
getVmPlacementGroupsConnectionRequestBody - (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 updateVmPlacementGroupCall(VmPlacementGroupUpdationParams vmPlacementGroupUpdationParams, ApiCallback _callback) throws ApiException
vmPlacementGroupUpdationParams - (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<WithTaskVmPlacementGroup> updateVmPlacementGroup(VmPlacementGroupUpdationParams vmPlacementGroupUpdationParams) throws ApiException
vmPlacementGroupUpdationParams - (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<WithTaskVmPlacementGroup>> updateVmPlacementGroupWithHttpInfo(VmPlacementGroupUpdationParams vmPlacementGroupUpdationParams) throws ApiException
vmPlacementGroupUpdationParams - (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 updateVmPlacementGroupAsync(VmPlacementGroupUpdationParams vmPlacementGroupUpdationParams, ApiCallback<List<WithTaskVmPlacementGroup>> _callback) throws ApiException
vmPlacementGroupUpdationParams - (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.