azure-native.dnsresolver.listDnsForwardingRulesetByVirtualNetwork
Explore with Pulumi AI
Lists DNS forwarding ruleset resource IDs attached to a virtual network.
Uses Azure REST API version 2023-07-01-preview.
Other available API versions: 2020-04-01-preview, 2022-07-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native dnsresolver [ApiVersion]. See the version guide for details.
Using listDnsForwardingRulesetByVirtualNetwork
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function listDnsForwardingRulesetByVirtualNetwork(args: ListDnsForwardingRulesetByVirtualNetworkArgs, opts?: InvokeOptions): Promise<ListDnsForwardingRulesetByVirtualNetworkResult>
function listDnsForwardingRulesetByVirtualNetworkOutput(args: ListDnsForwardingRulesetByVirtualNetworkOutputArgs, opts?: InvokeOptions): Output<ListDnsForwardingRulesetByVirtualNetworkResult>def list_dns_forwarding_ruleset_by_virtual_network(resource_group_name: Optional[str] = None,
                                                   top: Optional[int] = None,
                                                   virtual_network_name: Optional[str] = None,
                                                   opts: Optional[InvokeOptions] = None) -> ListDnsForwardingRulesetByVirtualNetworkResult
def list_dns_forwarding_ruleset_by_virtual_network_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                                   top: Optional[pulumi.Input[int]] = None,
                                                   virtual_network_name: Optional[pulumi.Input[str]] = None,
                                                   opts: Optional[InvokeOptions] = None) -> Output[ListDnsForwardingRulesetByVirtualNetworkResult]func ListDnsForwardingRulesetByVirtualNetwork(ctx *Context, args *ListDnsForwardingRulesetByVirtualNetworkArgs, opts ...InvokeOption) (*ListDnsForwardingRulesetByVirtualNetworkResult, error)
func ListDnsForwardingRulesetByVirtualNetworkOutput(ctx *Context, args *ListDnsForwardingRulesetByVirtualNetworkOutputArgs, opts ...InvokeOption) ListDnsForwardingRulesetByVirtualNetworkResultOutput> Note: This function is named ListDnsForwardingRulesetByVirtualNetwork in the Go SDK.
public static class ListDnsForwardingRulesetByVirtualNetwork 
{
    public static Task<ListDnsForwardingRulesetByVirtualNetworkResult> InvokeAsync(ListDnsForwardingRulesetByVirtualNetworkArgs args, InvokeOptions? opts = null)
    public static Output<ListDnsForwardingRulesetByVirtualNetworkResult> Invoke(ListDnsForwardingRulesetByVirtualNetworkInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ListDnsForwardingRulesetByVirtualNetworkResult> listDnsForwardingRulesetByVirtualNetwork(ListDnsForwardingRulesetByVirtualNetworkArgs args, InvokeOptions options)
public static Output<ListDnsForwardingRulesetByVirtualNetworkResult> listDnsForwardingRulesetByVirtualNetwork(ListDnsForwardingRulesetByVirtualNetworkArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:dnsresolver:listDnsForwardingRulesetByVirtualNetwork
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Virtual
Network stringName  - The name of the virtual network.
 - Top int
 - The maximum number of results to return. If not specified, returns up to 100 results.
 
- Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Virtual
Network stringName  - The name of the virtual network.
 - Top int
 - The maximum number of results to return. If not specified, returns up to 100 results.
 
- resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - virtual
Network StringName  - The name of the virtual network.
 - top Integer
 - The maximum number of results to return. If not specified, returns up to 100 results.
 
- resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - virtual
Network stringName  - The name of the virtual network.
 - top number
 - The maximum number of results to return. If not specified, returns up to 100 results.
 
- resource_
group_ strname  - The name of the resource group. The name is case insensitive.
 - virtual_
network_ strname  - The name of the virtual network.
 - top int
 - The maximum number of results to return. If not specified, returns up to 100 results.
 
- resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - virtual
Network StringName  - The name of the virtual network.
 - top Number
 - The maximum number of results to return. If not specified, returns up to 100 results.
 
listDnsForwardingRulesetByVirtualNetwork Result
The following output properties are available:
- Next
Link string - The continuation token for the next page of results.
 - Value
List<Pulumi.
Azure Native. Dns Resolver. Outputs. Virtual Network Dns Forwarding Ruleset Response>  - Enumeration of the Virtual Network DNS Forwarding Ruleset.
 
- Next
Link string - The continuation token for the next page of results.
 - Value
[]Virtual
Network Dns Forwarding Ruleset Response  - Enumeration of the Virtual Network DNS Forwarding Ruleset.
 
- next
Link String - The continuation token for the next page of results.
 - value
List<Virtual
Network Dns Forwarding Ruleset Response>  - Enumeration of the Virtual Network DNS Forwarding Ruleset.
 
- next
Link string - The continuation token for the next page of results.
 - value
Virtual
Network Dns Forwarding Ruleset Response[]  - Enumeration of the Virtual Network DNS Forwarding Ruleset.
 
- next_
link str - The continuation token for the next page of results.
 - value
Sequence[Virtual
Network Dns Forwarding Ruleset Response]  - Enumeration of the Virtual Network DNS Forwarding Ruleset.
 
- next
Link String - The continuation token for the next page of results.
 - value List<Property Map>
 - Enumeration of the Virtual Network DNS Forwarding Ruleset.
 
Supporting Types
SubResourceResponse  
- Id string
 - Resource ID.
 
- Id string
 - Resource ID.
 
- id String
 - Resource ID.
 
- id string
 - Resource ID.
 
- id str
 - Resource ID.
 
- id String
 - Resource ID.
 
VirtualNetworkDnsForwardingRulesetResponse     
- Id string
 - DNS Forwarding Ruleset Resource ID.
 - Virtual
Network Pulumi.Link Azure Native. Dns Resolver. Inputs. Sub Resource Response  - The reference to the virtual network link.
 
- Id string
 - DNS Forwarding Ruleset Resource ID.
 - Virtual
Network SubLink Resource Response  - The reference to the virtual network link.
 
- id String
 - DNS Forwarding Ruleset Resource ID.
 - virtual
Network SubLink Resource Response  - The reference to the virtual network link.
 
- id string
 - DNS Forwarding Ruleset Resource ID.
 - virtual
Network SubLink Resource Response  - The reference to the virtual network link.
 
- id str
 - DNS Forwarding Ruleset Resource ID.
 - virtual_
network_ Sublink Resource Response  - The reference to the virtual network link.
 
- id String
 - DNS Forwarding Ruleset Resource ID.
 - virtual
Network Property MapLink  - The reference to the virtual network link.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0