public class RolesResourceApi extends Object
Constructor and Description |
---|
RolesResourceApi() |
RolesResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiRoleList |
bulkDeleteRoles(String clusterName,
String serviceName,
ApiRoleNameList body)
Bulk delete roles in a particular service by name.
|
com.squareup.okhttp.Call |
bulkDeleteRolesAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiRoleList> callback)
Bulk delete roles in a particular service by name.
|
com.squareup.okhttp.Call |
bulkDeleteRolesCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for bulkDeleteRoles
|
ApiResponse<ApiRoleList> |
bulkDeleteRolesWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Bulk delete roles in a particular service by name.
|
ApiRoleList |
createRoles(String clusterName,
String serviceName,
ApiRoleList body)
Create new roles in a given service.
|
com.squareup.okhttp.Call |
createRolesAsync(String clusterName,
String serviceName,
ApiRoleList body,
ApiCallback<ApiRoleList> callback)
Create new roles in a given service.
|
com.squareup.okhttp.Call |
createRolesCall(String clusterName,
String serviceName,
ApiRoleList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createRoles
|
ApiResponse<ApiRoleList> |
createRolesWithHttpInfo(String clusterName,
String serviceName,
ApiRoleList body)
Create new roles in a given service.
|
ApiRole |
deleteRole(String clusterName,
String roleName,
String serviceName)
Deletes a role from a given service.
|
com.squareup.okhttp.Call |
deleteRoleAsync(String clusterName,
String roleName,
String serviceName,
ApiCallback<ApiRole> callback)
Deletes a role from a given service.
|
com.squareup.okhttp.Call |
deleteRoleCall(String clusterName,
String roleName,
String serviceName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteRole
|
ApiResponse<ApiRole> |
deleteRoleWithHttpInfo(String clusterName,
String roleName,
String serviceName)
Deletes a role from a given service.
|
ApiCommand |
enterMaintenanceMode(String clusterName,
String roleName,
String serviceName)
Put the role into maintenance mode.
|
com.squareup.okhttp.Call |
enterMaintenanceModeAsync(String clusterName,
String roleName,
String serviceName,
ApiCallback<ApiCommand> callback)
Put the role into maintenance mode.
|
com.squareup.okhttp.Call |
enterMaintenanceModeCall(String clusterName,
String roleName,
String serviceName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for enterMaintenanceMode
|
ApiResponse<ApiCommand> |
enterMaintenanceModeWithHttpInfo(String clusterName,
String roleName,
String serviceName)
Put the role into maintenance mode.
|
ApiCommand |
exitMaintenanceMode(String clusterName,
String roleName,
String serviceName)
Take the role out of maintenance mode.
|
com.squareup.okhttp.Call |
exitMaintenanceModeAsync(String clusterName,
String roleName,
String serviceName,
ApiCallback<ApiCommand> callback)
Take the role out of maintenance mode.
|
com.squareup.okhttp.Call |
exitMaintenanceModeCall(String clusterName,
String roleName,
String serviceName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for exitMaintenanceMode
|
ApiResponse<ApiCommand> |
exitMaintenanceModeWithHttpInfo(String clusterName,
String roleName,
String serviceName)
Take the role out of maintenance mode.
|
ApiClient |
getApiClient() |
String |
getFullLog(String clusterName,
String roleName,
String serviceName)
Retrieves the log file for the role's main process.
|
com.squareup.okhttp.Call |
getFullLogAsync(String clusterName,
String roleName,
String serviceName,
ApiCallback<String> callback)
Retrieves the log file for the role's main process.
|
com.squareup.okhttp.Call |
getFullLogCall(String clusterName,
String roleName,
String serviceName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFullLog
|
ApiResponse<String> |
getFullLogWithHttpInfo(String clusterName,
String roleName,
String serviceName)
Retrieves the log file for the role's main process.
|
ApiMetricList |
getMetrics(String clusterName,
String roleName,
String serviceName,
String from,
List<String> metrics,
String to,
String view)
Fetch metric readings for a particular role.
|
com.squareup.okhttp.Call |
getMetricsAsync(String clusterName,
String roleName,
String serviceName,
String from,
List<String> metrics,
String to,
String view,
ApiCallback<ApiMetricList> callback)
Fetch metric readings for a particular role.
|
com.squareup.okhttp.Call |
getMetricsCall(String clusterName,
String roleName,
String serviceName,
String from,
List<String> metrics,
String to,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getMetrics
|
ApiResponse<ApiMetricList> |
getMetricsWithHttpInfo(String clusterName,
String roleName,
String serviceName,
String from,
List<String> metrics,
String to,
String view)
Fetch metric readings for a particular role.
|
String |
getStacksLog(String clusterName,
String roleName,
String serviceName)
Retrieves the stacks log file, if any, for the role's main process.
|
com.squareup.okhttp.Call |
getStacksLogAsync(String clusterName,
String roleName,
String serviceName,
ApiCallback<String> callback)
Retrieves the stacks log file, if any, for the role's main process.
|
com.squareup.okhttp.Call |
getStacksLogCall(String clusterName,
String roleName,
String serviceName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getStacksLog
|
void |
getStacksLogsBundle(String clusterName,
String roleName,
String serviceName)
Download a zip-compressed archive of role stacks logs.
|
com.squareup.okhttp.Call |
getStacksLogsBundleAsync(String clusterName,
String roleName,
String serviceName,
ApiCallback<Void> callback)
Download a zip-compressed archive of role stacks logs.
|
com.squareup.okhttp.Call |
getStacksLogsBundleCall(String clusterName,
String roleName,
String serviceName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getStacksLogsBundle
|
ApiResponse<Void> |
getStacksLogsBundleWithHttpInfo(String clusterName,
String roleName,
String serviceName)
Download a zip-compressed archive of role stacks logs.
|
ApiResponse<String> |
getStacksLogWithHttpInfo(String clusterName,
String roleName,
String serviceName)
Retrieves the stacks log file, if any, for the role's main process.
|
String |
getStandardError(String clusterName,
String roleName,
String serviceName)
Retrieves the role's standard error output.
|
com.squareup.okhttp.Call |
getStandardErrorAsync(String clusterName,
String roleName,
String serviceName,
ApiCallback<String> callback)
Retrieves the role's standard error output.
|
com.squareup.okhttp.Call |
getStandardErrorCall(String clusterName,
String roleName,
String serviceName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getStandardError
|
ApiResponse<String> |
getStandardErrorWithHttpInfo(String clusterName,
String roleName,
String serviceName)
Retrieves the role's standard error output.
|
String |
getStandardOutput(String clusterName,
String roleName,
String serviceName)
Retrieves the role's standard output.
|
com.squareup.okhttp.Call |
getStandardOutputAsync(String clusterName,
String roleName,
String serviceName,
ApiCallback<String> callback)
Retrieves the role's standard output.
|
com.squareup.okhttp.Call |
getStandardOutputCall(String clusterName,
String roleName,
String serviceName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getStandardOutput
|
ApiResponse<String> |
getStandardOutputWithHttpInfo(String clusterName,
String roleName,
String serviceName)
Retrieves the role's standard output.
|
ApiCommand |
impalaDiagnostics(String clusterName,
String roleName,
String serviceName,
ApiImpalaRoleDiagnosticsArgs body)
Collects diagnostics data for an Impala role.
|
com.squareup.okhttp.Call |
impalaDiagnosticsAsync(String clusterName,
String roleName,
String serviceName,
ApiImpalaRoleDiagnosticsArgs body,
ApiCallback<ApiCommand> callback)
Collects diagnostics data for an Impala role.
|
com.squareup.okhttp.Call |
impalaDiagnosticsCall(String clusterName,
String roleName,
String serviceName,
ApiImpalaRoleDiagnosticsArgs body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for impalaDiagnostics
|
ApiResponse<ApiCommand> |
impalaDiagnosticsWithHttpInfo(String clusterName,
String roleName,
String serviceName,
ApiImpalaRoleDiagnosticsArgs body)
Collects diagnostics data for an Impala role.
|
ApiCommandList |
listActiveCommands(String clusterName,
String roleName,
String serviceName,
String view)
List active role commands.
|
com.squareup.okhttp.Call |
listActiveCommandsAsync(String clusterName,
String roleName,
String serviceName,
String view,
ApiCallback<ApiCommandList> callback)
List active role commands.
|
com.squareup.okhttp.Call |
listActiveCommandsCall(String clusterName,
String roleName,
String serviceName,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listActiveCommands
|
ApiResponse<ApiCommandList> |
listActiveCommandsWithHttpInfo(String clusterName,
String roleName,
String serviceName,
String view)
List active role commands.
|
ApiCommandMetadataList |
listCommands(String clusterName,
String roleName,
String serviceName)
Lists all the commands that can be executed by name on the provided role.
|
com.squareup.okhttp.Call |
listCommandsAsync(String clusterName,
String roleName,
String serviceName,
ApiCallback<ApiCommandMetadataList> callback)
Lists all the commands that can be executed by name on the provided role.
|
com.squareup.okhttp.Call |
listCommandsCall(String clusterName,
String roleName,
String serviceName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listCommands
|
ApiResponse<ApiCommandMetadataList> |
listCommandsWithHttpInfo(String clusterName,
String roleName,
String serviceName)
Lists all the commands that can be executed by name on the provided role.
|
ApiRole |
readRole(String clusterName,
String roleName,
String serviceName,
String view)
Retrieves detailed information about a role.
|
com.squareup.okhttp.Call |
readRoleAsync(String clusterName,
String roleName,
String serviceName,
String view,
ApiCallback<ApiRole> callback)
Retrieves detailed information about a role.
|
com.squareup.okhttp.Call |
readRoleCall(String clusterName,
String roleName,
String serviceName,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readRole
|
ApiConfigList |
readRoleConfig(String clusterName,
String roleName,
String serviceName,
String view)
Retrieves the configuration of a specific role.
|
com.squareup.okhttp.Call |
readRoleConfigAsync(String clusterName,
String roleName,
String serviceName,
String view,
ApiCallback<ApiConfigList> callback)
Retrieves the configuration of a specific role.
|
com.squareup.okhttp.Call |
readRoleConfigCall(String clusterName,
String roleName,
String serviceName,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readRoleConfig
|
ApiResponse<ApiConfigList> |
readRoleConfigWithHttpInfo(String clusterName,
String roleName,
String serviceName,
String view)
Retrieves the configuration of a specific role.
|
ApiRoleList |
readRoles(String clusterName,
String serviceName,
String filter,
String view)
Lists all roles of a given service.
|
com.squareup.okhttp.Call |
readRolesAsync(String clusterName,
String serviceName,
String filter,
String view,
ApiCallback<ApiRoleList> callback)
Lists all roles of a given service.
|
com.squareup.okhttp.Call |
readRolesCall(String clusterName,
String serviceName,
String filter,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readRoles
|
ApiResponse<ApiRoleList> |
readRolesWithHttpInfo(String clusterName,
String serviceName,
String filter,
String view)
Lists all roles of a given service.
|
ApiResponse<ApiRole> |
readRoleWithHttpInfo(String clusterName,
String roleName,
String serviceName,
String view)
Retrieves detailed information about a role.
|
void |
setApiClient(ApiClient apiClient) |
ApiConfigList |
updateRoleConfig(String clusterName,
String roleName,
String serviceName,
String message,
ApiConfigList body)
Updates the role configuration with the given values.
|
com.squareup.okhttp.Call |
updateRoleConfigAsync(String clusterName,
String roleName,
String serviceName,
String message,
ApiConfigList body,
ApiCallback<ApiConfigList> callback)
Updates the role configuration with the given values.
|
com.squareup.okhttp.Call |
updateRoleConfigCall(String clusterName,
String roleName,
String serviceName,
String message,
ApiConfigList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateRoleConfig
|
ApiResponse<ApiConfigList> |
updateRoleConfigWithHttpInfo(String clusterName,
String roleName,
String serviceName,
String message,
ApiConfigList body)
Updates the role configuration with the given values.
|
public RolesResourceApi()
public RolesResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call bulkDeleteRolesCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- list of role names to be deleted (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiRoleList bulkDeleteRoles(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- list of role names to be deleted (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiRoleList> bulkDeleteRolesWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- list of role names to be deleted (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call bulkDeleteRolesAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiRoleList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- list of role names to be deleted (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 createRolesCall(String clusterName, String serviceName, ApiRoleList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- Roles to create. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiRoleList createRoles(String clusterName, String serviceName, ApiRoleList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- Roles to create. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiRoleList> createRolesWithHttpInfo(String clusterName, String serviceName, ApiRoleList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- Roles to create. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createRolesAsync(String clusterName, String serviceName, ApiRoleList body, ApiCallback<ApiRoleList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- Roles to create. (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 deleteRoleCall(String clusterName, String roleName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiRole deleteRole(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiRole> deleteRoleWithHttpInfo(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteRoleAsync(String clusterName, String roleName, String serviceName, ApiCallback<ApiRole> callback) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (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 objectpublic com.squareup.okhttp.Call enterMaintenanceModeCall(String clusterName, String roleName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand enterMaintenanceMode(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> enterMaintenanceModeWithHttpInfo(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call enterMaintenanceModeAsync(String clusterName, String roleName, String serviceName, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (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 objectpublic com.squareup.okhttp.Call exitMaintenanceModeCall(String clusterName, String roleName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand exitMaintenanceMode(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> exitMaintenanceModeWithHttpInfo(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call exitMaintenanceModeAsync(String clusterName, String roleName, String serviceName, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (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 objectpublic com.squareup.okhttp.Call getFullLogCall(String clusterName, String roleName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)roleName
- The role to fetch logs from. (required)serviceName
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic String getFullLog(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role to fetch logs from. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> getFullLogWithHttpInfo(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role to fetch logs from. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFullLogAsync(String clusterName, String roleName, String serviceName, ApiCallback<String> callback) throws ApiException
clusterName
- (required)roleName
- The role to fetch logs from. (required)serviceName
- (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 objectpublic com.squareup.okhttp.Call getMetricsCall(String clusterName, String roleName, String serviceName, String from, List<String> metrics, String to, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)roleName
- The name of the role. (required)serviceName
- (required)from
- Start of the period to query. (optional)metrics
- Filter for which metrics to query. (optional)to
- End of the period to query. (optional, default to now)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 ApiMetricList getMetrics(String clusterName, String roleName, String serviceName, String from, List<String> metrics, String to, String view) throws ApiException
clusterName
- (required)roleName
- The name of the role. (required)serviceName
- (required)from
- Start of the period to query. (optional)metrics
- Filter for which metrics to query. (optional)to
- End of the period to query. (optional, default to now)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<ApiMetricList> getMetricsWithHttpInfo(String clusterName, String roleName, String serviceName, String from, List<String> metrics, String to, String view) throws ApiException
clusterName
- (required)roleName
- The name of the role. (required)serviceName
- (required)from
- Start of the period to query. (optional)metrics
- Filter for which metrics to query. (optional)to
- End of the period to query. (optional, default to now)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 getMetricsAsync(String clusterName, String roleName, String serviceName, String from, List<String> metrics, String to, String view, ApiCallback<ApiMetricList> callback) throws ApiException
clusterName
- (required)roleName
- The name of the role. (required)serviceName
- (required)from
- Start of the period to query. (optional)metrics
- Filter for which metrics to query. (optional)to
- End of the period to query. (optional, default to now)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 getStacksLogCall(String clusterName, String roleName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)roleName
- The role to fetch stacks logs from. (required)serviceName
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic String getStacksLog(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role to fetch stacks logs from. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> getStacksLogWithHttpInfo(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role to fetch stacks logs from. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getStacksLogAsync(String clusterName, String roleName, String serviceName, ApiCallback<String> callback) throws ApiException
clusterName
- (required)roleName
- The role to fetch stacks logs from. (required)serviceName
- (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 objectpublic com.squareup.okhttp.Call getStacksLogsBundleCall(String clusterName, String roleName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)roleName
- The role to fetch the stacks logs bundle from. (required)serviceName
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void getStacksLogsBundle(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role to fetch the stacks logs bundle from. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> getStacksLogsBundleWithHttpInfo(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role to fetch the stacks logs bundle from. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getStacksLogsBundleAsync(String clusterName, String roleName, String serviceName, ApiCallback<Void> callback) throws ApiException
clusterName
- (required)roleName
- The role to fetch the stacks logs bundle from. (required)serviceName
- (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 objectpublic com.squareup.okhttp.Call getStandardErrorCall(String clusterName, String roleName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)roleName
- The role to fetch stderr from. (required)serviceName
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic String getStandardError(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role to fetch stderr from. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> getStandardErrorWithHttpInfo(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role to fetch stderr from. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getStandardErrorAsync(String clusterName, String roleName, String serviceName, ApiCallback<String> callback) throws ApiException
clusterName
- (required)roleName
- The role to fetch stderr from. (required)serviceName
- (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 objectpublic com.squareup.okhttp.Call getStandardOutputCall(String clusterName, String roleName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)roleName
- The role to fetch stdout from. (required)serviceName
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic String getStandardOutput(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role to fetch stdout from. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> getStandardOutputWithHttpInfo(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- The role to fetch stdout from. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getStandardOutputAsync(String clusterName, String roleName, String serviceName, ApiCallback<String> callback) throws ApiException
clusterName
- (required)roleName
- The role to fetch stdout from. (required)serviceName
- (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 objectpublic com.squareup.okhttp.Call impalaDiagnosticsCall(String clusterName, String roleName, String serviceName, ApiImpalaRoleDiagnosticsArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand impalaDiagnostics(String clusterName, String roleName, String serviceName, ApiImpalaRoleDiagnosticsArgs body) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> impalaDiagnosticsWithHttpInfo(String clusterName, String roleName, String serviceName, ApiImpalaRoleDiagnosticsArgs body) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call impalaDiagnosticsAsync(String clusterName, String roleName, String serviceName, ApiImpalaRoleDiagnosticsArgs body, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)body
- (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 listActiveCommandsCall(String clusterName, String roleName, String serviceName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)roleName
- The role to start. (required)serviceName
- (required)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 clusterName, String roleName, String serviceName, String view) throws ApiException
clusterName
- (required)roleName
- The role to start. (required)serviceName
- (required)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 clusterName, String roleName, String serviceName, String view) throws ApiException
clusterName
- (required)roleName
- The role to start. (required)serviceName
- (required)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 clusterName, String roleName, String serviceName, String view, ApiCallback<ApiCommandList> callback) throws ApiException
clusterName
- (required)roleName
- The role to start. (required)serviceName
- (required)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 listCommandsCall(String clusterName, String roleName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)roleName
- the role name. (required)serviceName
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommandMetadataList listCommands(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- the role name. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommandMetadataList> listCommandsWithHttpInfo(String clusterName, String roleName, String serviceName) throws ApiException
clusterName
- (required)roleName
- the role name. (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listCommandsAsync(String clusterName, String roleName, String serviceName, ApiCallback<ApiCommandMetadataList> callback) throws ApiException
clusterName
- (required)roleName
- the role name. (required)serviceName
- (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 objectpublic com.squareup.okhttp.Call readRoleCall(String clusterName, String roleName, String serviceName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)view
- The view to materialize. Defaults to 'full'. (optional, default to full)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiRole readRole(String clusterName, String roleName, String serviceName, String view) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)view
- The view to materialize. Defaults to 'full'. (optional, default to full)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiRole> readRoleWithHttpInfo(String clusterName, String roleName, String serviceName, String view) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)view
- The view to materialize. Defaults to 'full'. (optional, default to full)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readRoleAsync(String clusterName, String roleName, String serviceName, String view, ApiCallback<ApiRole> callback) throws ApiException
clusterName
- (required)roleName
- The role name. (required)serviceName
- (required)view
- The view to materialize. Defaults to 'full'. (optional, default to full)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 readRoleConfigCall(String clusterName, String roleName, String serviceName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)roleName
- The role to look up. (required)serviceName
- (required)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 ApiConfigList readRoleConfig(String clusterName, String roleName, String serviceName, String view) throws ApiException
clusterName
- (required)roleName
- The role to look up. (required)serviceName
- (required)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<ApiConfigList> readRoleConfigWithHttpInfo(String clusterName, String roleName, String serviceName, String view) throws ApiException
clusterName
- (required)roleName
- The role to look up. (required)serviceName
- (required)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 readRoleConfigAsync(String clusterName, String roleName, String serviceName, String view, ApiCallback<ApiConfigList> callback) throws ApiException
clusterName
- (required)roleName
- The role to look up. (required)serviceName
- (required)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 readRolesCall(String clusterName, String serviceName, String filter, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)filter
- Optional query to filter the roles by. <p> The query specifies the intersection of a list of constraints, joined together with semicolons (without spaces). For example: hostname==host1.abc.com;type==DATANODE </p> Currently supports filtering by: <ul> <li>hostname: The hostname of the host the role is running on.</li> <li>hostId: The unique identifier of the host the role is running on.</li> <li>type: The role's type.</li> </ul> (optional, default to )view
- DataView for getting roles. Defaults to 'summary'. (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiRoleList readRoles(String clusterName, String serviceName, String filter, String view) throws ApiException
clusterName
- (required)serviceName
- (required)filter
- Optional query to filter the roles by. <p> The query specifies the intersection of a list of constraints, joined together with semicolons (without spaces). For example: hostname==host1.abc.com;type==DATANODE </p> Currently supports filtering by: <ul> <li>hostname: The hostname of the host the role is running on.</li> <li>hostId: The unique identifier of the host the role is running on.</li> <li>type: The role's type.</li> </ul> (optional, default to )view
- DataView for getting roles. Defaults to 'summary'. (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiRoleList> readRolesWithHttpInfo(String clusterName, String serviceName, String filter, String view) throws ApiException
clusterName
- (required)serviceName
- (required)filter
- Optional query to filter the roles by. <p> The query specifies the intersection of a list of constraints, joined together with semicolons (without spaces). For example: hostname==host1.abc.com;type==DATANODE </p> Currently supports filtering by: <ul> <li>hostname: The hostname of the host the role is running on.</li> <li>hostId: The unique identifier of the host the role is running on.</li> <li>type: The role's type.</li> </ul> (optional, default to )view
- DataView for getting roles. Defaults to 'summary'. (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 readRolesAsync(String clusterName, String serviceName, String filter, String view, ApiCallback<ApiRoleList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)filter
- Optional query to filter the roles by. <p> The query specifies the intersection of a list of constraints, joined together with semicolons (without spaces). For example: hostname==host1.abc.com;type==DATANODE </p> Currently supports filtering by: <ul> <li>hostname: The hostname of the host the role is running on.</li> <li>hostId: The unique identifier of the host the role is running on.</li> <li>type: The role's type.</li> </ul> (optional, default to )view
- DataView for getting roles. Defaults to 'summary'. (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 updateRoleConfigCall(String clusterName, String roleName, String serviceName, String message, ApiConfigList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)roleName
- The role to modify. (required)serviceName
- (required)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 ApiConfigList updateRoleConfig(String clusterName, String roleName, String serviceName, String message, ApiConfigList body) throws ApiException
clusterName
- (required)roleName
- The role to modify. (required)serviceName
- (required)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<ApiConfigList> updateRoleConfigWithHttpInfo(String clusterName, String roleName, String serviceName, String message, ApiConfigList body) throws ApiException
clusterName
- (required)roleName
- The role to modify. (required)serviceName
- (required)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 updateRoleConfigAsync(String clusterName, String roleName, String serviceName, String message, ApiConfigList body, ApiCallback<ApiConfigList> callback) throws ApiException
clusterName
- (required)roleName
- The role to modify. (required)serviceName
- (required)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.