def METHOD_NAME(
    key_name: str, subscription_id: str, *, key_version: str = "v1", **kwargs: Any
) -> HttpRequest:
    _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
    _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
    accept = _headers.pop("Accept", "application/json")
    # Construct URL
    _url = "/customuri/{subscriptionId}/{keyName}"
    path_format_arguments = {
        "keyName": _SERIALIZER.url("key_name", key_name, "str"),
        "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
    }
    _url: str = _url.format(**path_format_arguments)  # type: ignore
    # Construct parameters
    if key_version is not None:
        _params["keyVersion"] = _SERIALIZER.query("key_version", key_version, "str")
    # Construct headers
    _headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
    return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs)