def METHOD_NAME():
    url = "https://bing.com"
    # [START build_pipeline_client]
    from azure.core import PipelineClient
    from azure.core.rest import HttpRequest
    from azure.core.pipeline.policies import RedirectPolicy, UserAgentPolicy
    # example configuration with some policies
    policies: Iterable[Union[HTTPPolicy, SansIOHTTPPolicy]] = [UserAgentPolicy("myuseragent"), RedirectPolicy()]
    client: PipelineClient[HttpRequest, HttpResponse] = PipelineClient(base_url=url, policies=policies)
    request = HttpRequest("GET", "https://bing.com")
    pipeline_response = client._pipeline.run(request)
    # [END build_pipeline_client]
    response = pipeline_response.http_response
    assert isinstance(response.status_code, int)