def METHOD_NAME(migrate_project_name: Optional[str] = None,
                                                                           pe_connection_name: Optional[str] = None,
                                                                           resource_group_name: Optional[str] = None,
                                                                           opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionControllerPrivateEndpointConnectionResult:
    """
    Get the private endpoint with the specified name.
    Azure REST API version: 2020-05-01.
    :param str migrate_project_name: Migrate project name.
    :param str pe_connection_name: Private endpoint connection name.
    :param str resource_group_name: Name of the Azure Resource Group that project is part of.
    """
    __args__ = dict()
    __args__['migrateProjectName'] = migrate_project_name
    __args__['peConnectionName'] = pe_connection_name
    __args__['resourceGroupName'] = resource_group_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:migrate:getPrivateEndpointConnectionControllerPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionControllerPrivateEndpointConnectionResult).value
    return AwaitableGetPrivateEndpointConnectionControllerPrivateEndpointConnectionResult(
        e_tag=pulumi.get(__ret__, 'e_tag'),
        id=pulumi.get(__ret__, 'id'),
        name=pulumi.get(__ret__, 'name'),
        properties=pulumi.get(__ret__, 'properties'),
        system_data=pulumi.get(__ret__, 'system_data'),
        type=pulumi.get(__ret__, 'type'))