function statusCodeToNumber(statusCode) {
    const status = Number.parseInt(statusCode);
    return Number.isNaN(status) ? undefined : status;
}
Helper function to send request used by the client
@param method - method to use to send the request
@param url - url to send the request to
@param pipeline - pipeline with the policies to run when sending the request
@param options - request options
@param customHttpClient - a custom HttpClient to use when making the request
@returns returns and HttpResponse