def METHOD_NAME(resource_group_name: Optional[pulumi.Input[str]] = None,
                                                          top: Optional[pulumi.Input[Optional[int]]] = None,
                                                          virtual_network_name: Optional[pulumi.Input[str]] = None,
                                                          opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListDnsForwardingRulesetByVirtualNetworkResult]:
    """
    Lists DNS forwarding ruleset resource IDs attached to a virtual network.
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    :param int top: The maximum number of results to return. If not specified, returns up to 100 results.
    :param str virtual_network_name: The name of the virtual network.
    """
    ...