public class ContentLibraryVmTemplateApi extends Object
| 构造器和说明 |
|---|
ContentLibraryVmTemplateApi() |
ContentLibraryVmTemplateApi(ApiClient apiClient) |
public ContentLibraryVmTemplateApi()
public ContentLibraryVmTemplateApi(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 cloneContentLibraryVmTemplateFromVmCall(List<ContentLibraryVmTemplateCreationParams> contentLibraryVmTemplateCreationParams, ApiCallback _callback) throws ApiException
contentLibraryVmTemplateCreationParams - (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<WithTaskContentLibraryVmTemplate> cloneContentLibraryVmTemplateFromVm(List<ContentLibraryVmTemplateCreationParams> contentLibraryVmTemplateCreationParams) throws ApiException
contentLibraryVmTemplateCreationParams - (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<WithTaskContentLibraryVmTemplate>> cloneContentLibraryVmTemplateFromVmWithHttpInfo(List<ContentLibraryVmTemplateCreationParams> contentLibraryVmTemplateCreationParams) throws ApiException
contentLibraryVmTemplateCreationParams - (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 cloneContentLibraryVmTemplateFromVmAsync(List<ContentLibraryVmTemplateCreationParams> contentLibraryVmTemplateCreationParams, ApiCallback<List<WithTaskContentLibraryVmTemplate>> _callback) throws ApiException
contentLibraryVmTemplateCreationParams - (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 convertContentLibraryVmTemplateFromVmCall(List<ContentLibraryVmTemplateCreationParams> contentLibraryVmTemplateCreationParams, ApiCallback _callback) throws ApiException
contentLibraryVmTemplateCreationParams - (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<WithTaskContentLibraryVmTemplate> convertContentLibraryVmTemplateFromVm(List<ContentLibraryVmTemplateCreationParams> contentLibraryVmTemplateCreationParams) throws ApiException
contentLibraryVmTemplateCreationParams - (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<WithTaskContentLibraryVmTemplate>> convertContentLibraryVmTemplateFromVmWithHttpInfo(List<ContentLibraryVmTemplateCreationParams> contentLibraryVmTemplateCreationParams) throws ApiException
contentLibraryVmTemplateCreationParams - (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 convertContentLibraryVmTemplateFromVmAsync(List<ContentLibraryVmTemplateCreationParams> contentLibraryVmTemplateCreationParams, ApiCallback<List<WithTaskContentLibraryVmTemplate>> _callback) throws ApiException
contentLibraryVmTemplateCreationParams - (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 deleteContentLibraryVmTemplateCall(ContentLibraryVmTemplateDeletionParams contentLibraryVmTemplateDeletionParams, ApiCallback _callback) throws ApiException
contentLibraryVmTemplateDeletionParams - (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<WithTaskDeleteContentLibraryVmTemplate> deleteContentLibraryVmTemplate(ContentLibraryVmTemplateDeletionParams contentLibraryVmTemplateDeletionParams) throws ApiException
contentLibraryVmTemplateDeletionParams - (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<WithTaskDeleteContentLibraryVmTemplate>> deleteContentLibraryVmTemplateWithHttpInfo(ContentLibraryVmTemplateDeletionParams contentLibraryVmTemplateDeletionParams) throws ApiException
contentLibraryVmTemplateDeletionParams - (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 deleteContentLibraryVmTemplateAsync(ContentLibraryVmTemplateDeletionParams contentLibraryVmTemplateDeletionParams, ApiCallback<List<WithTaskDeleteContentLibraryVmTemplate>> _callback) throws ApiException
contentLibraryVmTemplateDeletionParams - (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 distributeContentLibraryVmtemplateClustersCall(ContentLibraryVmTemplateUpdationClusterParams contentLibraryVmTemplateUpdationClusterParams, ApiCallback _callback) throws ApiException
contentLibraryVmTemplateUpdationClusterParams - (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<WithTaskContentLibraryVmTemplate> distributeContentLibraryVmtemplateClusters(ContentLibraryVmTemplateUpdationClusterParams contentLibraryVmTemplateUpdationClusterParams) throws ApiException
contentLibraryVmTemplateUpdationClusterParams - (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<WithTaskContentLibraryVmTemplate>> distributeContentLibraryVmtemplateClustersWithHttpInfo(ContentLibraryVmTemplateUpdationClusterParams contentLibraryVmTemplateUpdationClusterParams) throws ApiException
contentLibraryVmTemplateUpdationClusterParams - (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 distributeContentLibraryVmtemplateClustersAsync(ContentLibraryVmTemplateUpdationClusterParams contentLibraryVmTemplateUpdationClusterParams, ApiCallback<List<WithTaskContentLibraryVmTemplate>> _callback) throws ApiException
contentLibraryVmTemplateUpdationClusterParams - (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 exportContentLibraryVmTemplateCall(ContentLibraryVmTemplateExportParams contentLibraryVmTemplateExportParams, ApiCallback _callback) throws ApiException
contentLibraryVmTemplateExportParams - (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<WithTaskVmExportFile> exportContentLibraryVmTemplate(ContentLibraryVmTemplateExportParams contentLibraryVmTemplateExportParams) throws ApiException
contentLibraryVmTemplateExportParams - (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<WithTaskVmExportFile>> exportContentLibraryVmTemplateWithHttpInfo(ContentLibraryVmTemplateExportParams contentLibraryVmTemplateExportParams) throws ApiException
contentLibraryVmTemplateExportParams - (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 exportContentLibraryVmTemplateAsync(ContentLibraryVmTemplateExportParams contentLibraryVmTemplateExportParams, ApiCallback<List<WithTaskVmExportFile>> _callback) throws ApiException
contentLibraryVmTemplateExportParams - (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 getContentLibraryVmTemplatesCall(GetContentLibraryVmTemplatesRequestBody getContentLibraryVmTemplatesRequestBody, ApiCallback _callback) throws ApiException
getContentLibraryVmTemplatesRequestBody - (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<ContentLibraryVmTemplate> getContentLibraryVmTemplates(GetContentLibraryVmTemplatesRequestBody getContentLibraryVmTemplatesRequestBody) throws ApiException
getContentLibraryVmTemplatesRequestBody - (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<ContentLibraryVmTemplate>> getContentLibraryVmTemplatesWithHttpInfo(GetContentLibraryVmTemplatesRequestBody getContentLibraryVmTemplatesRequestBody) throws ApiException
getContentLibraryVmTemplatesRequestBody - (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 getContentLibraryVmTemplatesAsync(GetContentLibraryVmTemplatesRequestBody getContentLibraryVmTemplatesRequestBody, ApiCallback<List<ContentLibraryVmTemplate>> _callback) throws ApiException
getContentLibraryVmTemplatesRequestBody - (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 getContentLibraryVmTemplatesConnectionCall(GetContentLibraryVmTemplatesConnectionRequestBody getContentLibraryVmTemplatesConnectionRequestBody, ApiCallback _callback) throws ApiException
getContentLibraryVmTemplatesConnectionRequestBody - (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 ContentLibraryVmTemplateConnection getContentLibraryVmTemplatesConnection(GetContentLibraryVmTemplatesConnectionRequestBody getContentLibraryVmTemplatesConnectionRequestBody) throws ApiException
getContentLibraryVmTemplatesConnectionRequestBody - (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<ContentLibraryVmTemplateConnection> getContentLibraryVmTemplatesConnectionWithHttpInfo(GetContentLibraryVmTemplatesConnectionRequestBody getContentLibraryVmTemplatesConnectionRequestBody) throws ApiException
getContentLibraryVmTemplatesConnectionRequestBody - (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 getContentLibraryVmTemplatesConnectionAsync(GetContentLibraryVmTemplatesConnectionRequestBody getContentLibraryVmTemplatesConnectionRequestBody, ApiCallback<ContentLibraryVmTemplateConnection> _callback) throws ApiException
getContentLibraryVmTemplatesConnectionRequestBody - (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 importContentLibraryVmTemplateCall(List<ContentLibraryVmTemplateImportParams> contentLibraryVmTemplateImportParams, ApiCallback _callback) throws ApiException
contentLibraryVmTemplateImportParams - (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<WithTaskContentLibraryVmTemplate> importContentLibraryVmTemplate(List<ContentLibraryVmTemplateImportParams> contentLibraryVmTemplateImportParams) throws ApiException
contentLibraryVmTemplateImportParams - (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<WithTaskContentLibraryVmTemplate>> importContentLibraryVmTemplateWithHttpInfo(List<ContentLibraryVmTemplateImportParams> contentLibraryVmTemplateImportParams) throws ApiException
contentLibraryVmTemplateImportParams - (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 importContentLibraryVmTemplateAsync(List<ContentLibraryVmTemplateImportParams> contentLibraryVmTemplateImportParams, ApiCallback<List<WithTaskContentLibraryVmTemplate>> _callback) throws ApiException
contentLibraryVmTemplateImportParams - (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 removeContentLibraryVmTemplateClustersCall(ContentLibraryVmTemplateUpdationClusterParams contentLibraryVmTemplateUpdationClusterParams, ApiCallback _callback) throws ApiException
contentLibraryVmTemplateUpdationClusterParams - (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<WithTaskContentLibraryVmTemplate> removeContentLibraryVmTemplateClusters(ContentLibraryVmTemplateUpdationClusterParams contentLibraryVmTemplateUpdationClusterParams) throws ApiException
contentLibraryVmTemplateUpdationClusterParams - (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<WithTaskContentLibraryVmTemplate>> removeContentLibraryVmTemplateClustersWithHttpInfo(ContentLibraryVmTemplateUpdationClusterParams contentLibraryVmTemplateUpdationClusterParams) throws ApiException
contentLibraryVmTemplateUpdationClusterParams - (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 removeContentLibraryVmTemplateClustersAsync(ContentLibraryVmTemplateUpdationClusterParams contentLibraryVmTemplateUpdationClusterParams, ApiCallback<List<WithTaskContentLibraryVmTemplate>> _callback) throws ApiException
contentLibraryVmTemplateUpdationClusterParams - (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 updateContentLibraryVmTemplateCall(ContentLibraryVmTemplateUpdationParams contentLibraryVmTemplateUpdationParams, ApiCallback _callback) throws ApiException
contentLibraryVmTemplateUpdationParams - (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<WithTaskContentLibraryVmTemplate> updateContentLibraryVmTemplate(ContentLibraryVmTemplateUpdationParams contentLibraryVmTemplateUpdationParams) throws ApiException
contentLibraryVmTemplateUpdationParams - (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<WithTaskContentLibraryVmTemplate>> updateContentLibraryVmTemplateWithHttpInfo(ContentLibraryVmTemplateUpdationParams contentLibraryVmTemplateUpdationParams) throws ApiException
contentLibraryVmTemplateUpdationParams - (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 updateContentLibraryVmTemplateAsync(ContentLibraryVmTemplateUpdationParams contentLibraryVmTemplateUpdationParams, ApiCallback<List<WithTaskContentLibraryVmTemplate>> _callback) throws ApiException
contentLibraryVmTemplateUpdationParams - (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.