def METHOD_NAME(account_name: Optional[pulumi.Input[str]] = None,
                                resource_group_name: Optional[pulumi.Input[str]] = None,
                                service_endpoint_name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceEndpointResult]:
    """
    Returns ServiceEndpoint resources for a given name.
    Azure REST API version: 2022-02-01.
    :param str account_name: The name of the RecommendationsService Account resource.
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    :param str service_endpoint_name: The name of the ServiceEndpoint resource.
    """
    ...