function retryPolicy(strategies, options = { maxRetries: constants_js_1.DEFAULT_RETRY_POLICY_COUNT }) {
    // Cast is required since the TSP runtime retry strategy type is slightly different
    // very deep down (using real AbortSignal vs. AbortSignalLike in RestError).
    // In practice the difference doesn't actually matter.
    return (0, policies_1.retryPolicy)(strategies, Object.assign({ logger: retryPolicyLogger }, options));
}
Each PipelineRequest gets a unique id upon creation.
This policy passes that unique id along via an HTTP header to enable better
telemetry and tracing.
@param requestIdHeaderName - The name of the header to pass the request ID to.