deleteNode method
Delete a Node. The Node 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
Parameter nodeId :
The ID of the node.
Implementation
Future<DeleteNodeResponse> deleteNode({
required String clusterId,
required String nodeId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/prod/clusters/${Uri.encodeComponent(clusterId)}/nodes/${Uri.encodeComponent(nodeId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteNodeResponse.fromJson(response);
}