def METHOD_NAME(policy_name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateLinkForAzureAdResult:
    """
    Gets a private link policy with a given name.
    :param str policy_name: The name of the private link policy in Azure AD.
    :param str resource_group_name: Name of an Azure resource group.
    """
    __args__ = dict()
    __args__['policyName'] = policy_name
    __args__['resourceGroupName'] = resource_group_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:aadiam/v20200301preview:getPrivateLinkForAzureAd', __args__, opts=opts, typ=GetPrivateLinkForAzureAdResult).value
    return AwaitableGetPrivateLinkForAzureAdResult(
        all_tenants=pulumi.get(__ret__, 'all_tenants'),
        id=pulumi.get(__ret__, 'id'),
        name=pulumi.get(__ret__, 'name'),
        owner_tenant_id=pulumi.get(__ret__, 'owner_tenant_id'),
        resource_group=pulumi.get(__ret__, 'resource_group'),
        resource_name=pulumi.get(__ret__, 'resource_name'),
        subscription_id=pulumi.get(__ret__, 'subscription_id'),
        tags=pulumi.get(__ret__, 'tags'),
        tenants=pulumi.get(__ret__, 'tenants'),
        type=pulumi.get(__ret__, 'type'))