def METHOD_NAME(endpoint_name: Optional[pulumi.Input[str]] = None,
                                               hostname: Optional[pulumi.Input[Optional[str]]] = None,
                                               resource_uri: Optional[pulumi.Input[str]] = None,
                                               service: Optional[pulumi.Input[str]] = None,
                                               service_name: Optional[pulumi.Input[Optional[Union[str, 'ServiceName']]]] = None,
                                               opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListEndpointManagedProxyDetailsResult]:
    """
    Fetches the managed proxy details
    :param str endpoint_name: The endpoint name.
    :param str hostname: The target host name.
    :param str resource_uri: The fully qualified Azure Resource manager identifier of the resource to be connected.
    :param str service: The name of the service.
    :param Union[str, 'ServiceName'] service_name: The name of the service. It is an optional property, if not provided, service configuration tokens issue code would be by passed.
    """
    ...