public class NvmfNamespaceApi extends Object
| 构造器和说明 |
|---|
NvmfNamespaceApi() |
NvmfNamespaceApi(ApiClient apiClient) |
public NvmfNamespaceApi()
public NvmfNamespaceApi(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 cloneNvmfNamespaceFromSnapshotCall(List<NvmfNamespaceCloneParams> nvmfNamespaceCloneParams, ApiCallback _callback) throws ApiException
nvmfNamespaceCloneParams - (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<WithTaskNvmfNamespace> cloneNvmfNamespaceFromSnapshot(List<NvmfNamespaceCloneParams> nvmfNamespaceCloneParams) throws ApiException
nvmfNamespaceCloneParams - (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<WithTaskNvmfNamespace>> cloneNvmfNamespaceFromSnapshotWithHttpInfo(List<NvmfNamespaceCloneParams> nvmfNamespaceCloneParams) throws ApiException
nvmfNamespaceCloneParams - (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 cloneNvmfNamespaceFromSnapshotAsync(List<NvmfNamespaceCloneParams> nvmfNamespaceCloneParams, ApiCallback<List<WithTaskNvmfNamespace>> _callback) throws ApiException
nvmfNamespaceCloneParams - (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 createNvmfNamespaceCall(List<NvmfNamespaceCreationParams> nvmfNamespaceCreationParams, ApiCallback _callback) throws ApiException
nvmfNamespaceCreationParams - (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<WithTaskNvmfNamespace> createNvmfNamespace(List<NvmfNamespaceCreationParams> nvmfNamespaceCreationParams) throws ApiException
nvmfNamespaceCreationParams - (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<WithTaskNvmfNamespace>> createNvmfNamespaceWithHttpInfo(List<NvmfNamespaceCreationParams> nvmfNamespaceCreationParams) throws ApiException
nvmfNamespaceCreationParams - (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 createNvmfNamespaceAsync(List<NvmfNamespaceCreationParams> nvmfNamespaceCreationParams, ApiCallback<List<WithTaskNvmfNamespace>> _callback) throws ApiException
nvmfNamespaceCreationParams - (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 deleteNvmfNamespaceCall(NvmfNamespaceDeletionParams nvmfNamespaceDeletionParams, ApiCallback _callback) throws ApiException
nvmfNamespaceDeletionParams - (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<WithTaskDeleteNvmfNamespace> deleteNvmfNamespace(NvmfNamespaceDeletionParams nvmfNamespaceDeletionParams) throws ApiException
nvmfNamespaceDeletionParams - (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<WithTaskDeleteNvmfNamespace>> deleteNvmfNamespaceWithHttpInfo(NvmfNamespaceDeletionParams nvmfNamespaceDeletionParams) throws ApiException
nvmfNamespaceDeletionParams - (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 deleteNvmfNamespaceAsync(NvmfNamespaceDeletionParams nvmfNamespaceDeletionParams, ApiCallback<List<WithTaskDeleteNvmfNamespace>> _callback) throws ApiException
nvmfNamespaceDeletionParams - (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 getNvmfNamespacesCall(GetNvmfNamespacesRequestBody getNvmfNamespacesRequestBody, ApiCallback _callback) throws ApiException
getNvmfNamespacesRequestBody - (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<NvmfNamespace> getNvmfNamespaces(GetNvmfNamespacesRequestBody getNvmfNamespacesRequestBody) throws ApiException
getNvmfNamespacesRequestBody - (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<NvmfNamespace>> getNvmfNamespacesWithHttpInfo(GetNvmfNamespacesRequestBody getNvmfNamespacesRequestBody) throws ApiException
getNvmfNamespacesRequestBody - (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 getNvmfNamespacesAsync(GetNvmfNamespacesRequestBody getNvmfNamespacesRequestBody, ApiCallback<List<NvmfNamespace>> _callback) throws ApiException
getNvmfNamespacesRequestBody - (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 getNvmfNamespacesConnectionCall(GetNvmfNamespacesConnectionRequestBody getNvmfNamespacesConnectionRequestBody, ApiCallback _callback) throws ApiException
getNvmfNamespacesConnectionRequestBody - (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 NvmfNamespaceConnection getNvmfNamespacesConnection(GetNvmfNamespacesConnectionRequestBody getNvmfNamespacesConnectionRequestBody) throws ApiException
getNvmfNamespacesConnectionRequestBody - (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<NvmfNamespaceConnection> getNvmfNamespacesConnectionWithHttpInfo(GetNvmfNamespacesConnectionRequestBody getNvmfNamespacesConnectionRequestBody) throws ApiException
getNvmfNamespacesConnectionRequestBody - (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 getNvmfNamespacesConnectionAsync(GetNvmfNamespacesConnectionRequestBody getNvmfNamespacesConnectionRequestBody, ApiCallback<NvmfNamespaceConnection> _callback) throws ApiException
getNvmfNamespacesConnectionRequestBody - (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 rollbackNvmfNamespaceFromSnapshotCall(List<NvmfNamespaceRollbackParams> nvmfNamespaceRollbackParams, ApiCallback _callback) throws ApiException
nvmfNamespaceRollbackParams - (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<WithTaskNvmfNamespace> rollbackNvmfNamespaceFromSnapshot(List<NvmfNamespaceRollbackParams> nvmfNamespaceRollbackParams) throws ApiException
nvmfNamespaceRollbackParams - (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<WithTaskNvmfNamespace>> rollbackNvmfNamespaceFromSnapshotWithHttpInfo(List<NvmfNamespaceRollbackParams> nvmfNamespaceRollbackParams) throws ApiException
nvmfNamespaceRollbackParams - (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 rollbackNvmfNamespaceFromSnapshotAsync(List<NvmfNamespaceRollbackParams> nvmfNamespaceRollbackParams, ApiCallback<List<WithTaskNvmfNamespace>> _callback) throws ApiException
nvmfNamespaceRollbackParams - (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 updateNvmfNamespaceCall(NvmfNamespaceUpdationParams nvmfNamespaceUpdationParams, ApiCallback _callback) throws ApiException
nvmfNamespaceUpdationParams - (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<WithTaskNvmfNamespace> updateNvmfNamespace(NvmfNamespaceUpdationParams nvmfNamespaceUpdationParams) throws ApiException
nvmfNamespaceUpdationParams - (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<WithTaskNvmfNamespace>> updateNvmfNamespaceWithHttpInfo(NvmfNamespaceUpdationParams nvmfNamespaceUpdationParams) throws ApiException
nvmfNamespaceUpdationParams - (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 updateNvmfNamespaceAsync(NvmfNamespaceUpdationParams nvmfNamespaceUpdationParams, ApiCallback<List<WithTaskNvmfNamespace>> _callback) throws ApiException
nvmfNamespaceUpdationParams - (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.