deleteCluster method
Delete a Cluster. The Cluster must be idle.
May throw BadGatewayException.
May throw BadRequestException.
May throw ConflictException.
May throw ForbiddenException.
May throw GatewayTimeoutException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter clusterId :
The ID of the cluster.
Implementation
Future<DeleteClusterResponse> deleteCluster({
required String clusterId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/prod/clusters/${Uri.encodeComponent(clusterId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteClusterResponse.fromJson(response);
}