public class MgmtServiceResourceApi extends Object
Constructor and Description |
---|
MgmtServiceResourceApi() |
MgmtServiceResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
autoAssignRoles()
Automatically assign roles to hosts and create the roles for the Cloudera Management Service.
|
com.squareup.okhttp.Call |
autoAssignRolesAsync(ApiCallback<Void> callback)
Automatically assign roles to hosts and create the roles for the Cloudera Management Service.
|
com.squareup.okhttp.Call |
autoAssignRolesCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for autoAssignRoles
|
ApiResponse<Void> |
autoAssignRolesWithHttpInfo()
Automatically assign roles to hosts and create the roles for the Cloudera Management Service.
|
void |
autoConfigure()
Automatically configures roles of the Cloudera Management Service.
|
com.squareup.okhttp.Call |
autoConfigureAsync(ApiCallback<Void> callback)
Automatically configures roles of the Cloudera Management Service.
|
com.squareup.okhttp.Call |
autoConfigureCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for autoConfigure
|
ApiResponse<Void> |
autoConfigureWithHttpInfo()
Automatically configures roles of the Cloudera Management Service.
|
ApiService |
deleteCMS()
Delete the Cloudera Management Services.
|
com.squareup.okhttp.Call |
deleteCMSAsync(ApiCallback<ApiService> callback)
Delete the Cloudera Management Services.
|
com.squareup.okhttp.Call |
deleteCMSCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteCMS
|
ApiResponse<ApiService> |
deleteCMSWithHttpInfo()
Delete the Cloudera Management Services.
|
ApiCommand |
enterMaintenanceMode()
Put Cloudera Management Service into maintenance mode.
|
com.squareup.okhttp.Call |
enterMaintenanceModeAsync(ApiCallback<ApiCommand> callback)
Put Cloudera Management Service into maintenance mode.
|
com.squareup.okhttp.Call |
enterMaintenanceModeCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for enterMaintenanceMode
|
ApiResponse<ApiCommand> |
enterMaintenanceModeWithHttpInfo()
Put Cloudera Management Service into maintenance mode.
|
ApiCommand |
exitMaintenanceMode()
Take Cloudera Management Service out of maintenance mode.
|
com.squareup.okhttp.Call |
exitMaintenanceModeAsync(ApiCallback<ApiCommand> callback)
Take Cloudera Management Service out of maintenance mode.
|
com.squareup.okhttp.Call |
exitMaintenanceModeCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for exitMaintenanceMode
|
ApiResponse<ApiCommand> |
exitMaintenanceModeWithHttpInfo()
Take Cloudera Management Service out of maintenance mode.
|
ApiClient |
getApiClient() |
ApiCommandList |
listActiveCommands(String view)
List active Cloudera Management Services commands.
|
com.squareup.okhttp.Call |
listActiveCommandsAsync(String view,
ApiCallback<ApiCommandList> callback)
List active Cloudera Management Services commands.
|
com.squareup.okhttp.Call |
listActiveCommandsCall(String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listActiveCommands
|
ApiResponse<ApiCommandList> |
listActiveCommandsWithHttpInfo(String view)
List active Cloudera Management Services commands.
|
ApiRoleTypeList |
listRoleTypes()
List the supported role types for the Cloudera Management Services.
|
com.squareup.okhttp.Call |
listRoleTypesAsync(ApiCallback<ApiRoleTypeList> callback)
List the supported role types for the Cloudera Management Services.
|
com.squareup.okhttp.Call |
listRoleTypesCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listRoleTypes
|
ApiResponse<ApiRoleTypeList> |
listRoleTypesWithHttpInfo()
List the supported role types for the Cloudera Management Services.
|
ApiService |
readService(String view)
Retrieve information about the Cloudera Management Services.
|
com.squareup.okhttp.Call |
readServiceAsync(String view,
ApiCallback<ApiService> callback)
Retrieve information about the Cloudera Management Services.
|
com.squareup.okhttp.Call |
readServiceCall(String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readService
|
ApiServiceConfig |
readServiceConfig(String view)
Retrieve the configuration of the Cloudera Management Services.
|
com.squareup.okhttp.Call |
readServiceConfigAsync(String view,
ApiCallback<ApiServiceConfig> callback)
Retrieve the configuration of the Cloudera Management Services.
|
com.squareup.okhttp.Call |
readServiceConfigCall(String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readServiceConfig
|
ApiResponse<ApiServiceConfig> |
readServiceConfigWithHttpInfo(String view)
Retrieve the configuration of the Cloudera Management Services.
|
ApiResponse<ApiService> |
readServiceWithHttpInfo(String view)
Retrieve information about the Cloudera Management Services.
|
ApiCommand |
restartCommand()
Restart the Cloudera Management Services.
|
com.squareup.okhttp.Call |
restartCommandAsync(ApiCallback<ApiCommand> callback)
Restart the Cloudera Management Services.
|
com.squareup.okhttp.Call |
restartCommandCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for restartCommand
|
ApiResponse<ApiCommand> |
restartCommandWithHttpInfo()
Restart the Cloudera Management Services.
|
void |
setApiClient(ApiClient apiClient) |
ApiService |
setupCMS(ApiService body)
Setup the Cloudera Management Services.
|
com.squareup.okhttp.Call |
setupCMSAsync(ApiService body,
ApiCallback<ApiService> callback)
Setup the Cloudera Management Services.
|
com.squareup.okhttp.Call |
setupCMSCall(ApiService body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for setupCMS
|
ApiResponse<ApiService> |
setupCMSWithHttpInfo(ApiService body)
Setup the Cloudera Management Services.
|
ApiCommand |
startCommand()
Start the Cloudera Management Services.
|
com.squareup.okhttp.Call |
startCommandAsync(ApiCallback<ApiCommand> callback)
Start the Cloudera Management Services.
|
com.squareup.okhttp.Call |
startCommandCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for startCommand
|
ApiResponse<ApiCommand> |
startCommandWithHttpInfo()
Start the Cloudera Management Services.
|
ApiCommand |
stopCommand()
Stop the Cloudera Management Services.
|
com.squareup.okhttp.Call |
stopCommandAsync(ApiCallback<ApiCommand> callback)
Stop the Cloudera Management Services.
|
com.squareup.okhttp.Call |
stopCommandCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for stopCommand
|
ApiResponse<ApiCommand> |
stopCommandWithHttpInfo()
Stop the Cloudera Management Services.
|
ApiServiceConfig |
updateServiceConfig(String message,
ApiServiceConfig body)
Update the Cloudera Management Services configuration.
|
com.squareup.okhttp.Call |
updateServiceConfigAsync(String message,
ApiServiceConfig body,
ApiCallback<ApiServiceConfig> callback)
Update the Cloudera Management Services configuration.
|
com.squareup.okhttp.Call |
updateServiceConfigCall(String message,
ApiServiceConfig body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateServiceConfig
|
ApiResponse<ApiServiceConfig> |
updateServiceConfigWithHttpInfo(String message,
ApiServiceConfig body)
Update the Cloudera Management Services configuration.
|
public MgmtServiceResourceApi()
public MgmtServiceResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call autoAssignRolesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void autoAssignRoles() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> autoAssignRolesWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call autoAssignRolesAsync(ApiCallback<Void> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call autoConfigureCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void autoConfigure() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> autoConfigureWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call autoConfigureAsync(ApiCallback<Void> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteCMSCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiService deleteCMS() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiService> deleteCMSWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteCMSAsync(ApiCallback<ApiService> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call enterMaintenanceModeCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand enterMaintenanceMode() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> enterMaintenanceModeWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call enterMaintenanceModeAsync(ApiCallback<ApiCommand> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call exitMaintenanceModeCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand exitMaintenanceMode() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> exitMaintenanceModeWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call exitMaintenanceModeAsync(ApiCallback<ApiCommand> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call listActiveCommandsCall(String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommandList listActiveCommands(String view) throws ApiException
view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommandList> listActiveCommandsWithHttpInfo(String view) throws ApiException
view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listActiveCommandsAsync(String view, ApiCallback<ApiCommandList> callback) throws ApiException
view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call listRoleTypesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiRoleTypeList listRoleTypes() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiRoleTypeList> listRoleTypesWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listRoleTypesAsync(ApiCallback<ApiRoleTypeList> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call readServiceCall(String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
view
- (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiService readService(String view) throws ApiException
view
- (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiService> readServiceWithHttpInfo(String view) throws ApiException
view
- (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readServiceAsync(String view, ApiCallback<ApiService> callback) throws ApiException
view
- (optional, default to summary)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call readServiceConfigCall(String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiServiceConfig readServiceConfig(String view) throws ApiException
view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiServiceConfig> readServiceConfigWithHttpInfo(String view) throws ApiException
view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readServiceConfigAsync(String view, ApiCallback<ApiServiceConfig> callback) throws ApiException
view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call restartCommandCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand restartCommand() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> restartCommandWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call restartCommandAsync(ApiCallback<ApiCommand> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call setupCMSCall(ApiService body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- Role configuration overrides. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiService setupCMS(ApiService body) throws ApiException
body
- Role configuration overrides. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiService> setupCMSWithHttpInfo(ApiService body) throws ApiException
body
- Role configuration overrides. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call setupCMSAsync(ApiService body, ApiCallback<ApiService> callback) throws ApiException
body
- Role configuration overrides. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call startCommandCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand startCommand() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> startCommandWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call startCommandAsync(ApiCallback<ApiCommand> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call stopCommandCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand stopCommand() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> stopCommandWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call stopCommandAsync(ApiCallback<ApiCommand> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call updateServiceConfigCall(String message, ApiServiceConfig body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
message
- Optional message describing the changes. (optional)body
- Configuration changes. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiServiceConfig updateServiceConfig(String message, ApiServiceConfig body) throws ApiException
message
- Optional message describing the changes. (optional)body
- Configuration changes. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiServiceConfig> updateServiceConfigWithHttpInfo(String message, ApiServiceConfig body) throws ApiException
message
- Optional message describing the changes. (optional)body
- Configuration changes. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateServiceConfigAsync(String message, ApiServiceConfig body, ApiCallback<ApiServiceConfig> callback) throws ApiException
message
- Optional message describing the changes. (optional)body
- Configuration changes. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2019. All rights reserved.