getClusterStatusWithHttpInfo method

Future<Response> getClusterStatusWithHttpInfo()

Get cluster status

Get a set of information for each node in the cluster, useful for checking the status and health of each node. ##### Permissions Must have manage_system permission.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getClusterStatusWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/cluster/status';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <MmQueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];

  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}