def METHOD_NAME(discovery_site_data_source_name: Optional[str] = None,
                                                       resource_group_name: Optional[str] = None,
                                                       site_name: Optional[str] = None,
                                                       web_app_site_name: Optional[str] = None,
                                                       opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWebAppDiscoverySiteDataSourcesControllerResult:
    """
    Method to get a Web app data source in site.
    Azure REST API version: 2023-06-06.
    :param str discovery_site_data_source_name: Data Source ARM name.
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    :param str site_name: Site name
    :param str web_app_site_name: Web app site name.
    """
    __args__ = dict()
    __args__['discoverySiteDataSourceName'] = discovery_site_data_source_name
    __args__['resourceGroupName'] = resource_group_name
    __args__['siteName'] = site_name
    __args__['webAppSiteName'] = web_app_site_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:offazure:getWebAppDiscoverySiteDataSourcesController', __args__, opts=opts, typ=GetWebAppDiscoverySiteDataSourcesControllerResult).value
    return AwaitableGetWebAppDiscoverySiteDataSourcesControllerResult(
        discovery_site_id=pulumi.get(__ret__, 'discovery_site_id'),
        id=pulumi.get(__ret__, 'id'),
        name=pulumi.get(__ret__, 'name'),
        provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
        system_data=pulumi.get(__ret__, 'system_data'),
        type=pulumi.get(__ret__, 'type'))