1. Packages
  2. Azure Native
  3. API Docs
  4. dnsresolver
  5. listDnsForwardingRulesetByVirtualNetwork
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.dnsresolver.listDnsForwardingRulesetByVirtualNetwork

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

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>
Copy
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]
Copy
func ListDnsForwardingRulesetByVirtualNetwork(ctx *Context, args *ListDnsForwardingRulesetByVirtualNetworkArgs, opts ...InvokeOption) (*ListDnsForwardingRulesetByVirtualNetworkResult, error)
func ListDnsForwardingRulesetByVirtualNetworkOutput(ctx *Context, args *ListDnsForwardingRulesetByVirtualNetworkOutputArgs, opts ...InvokeOption) ListDnsForwardingRulesetByVirtualNetworkResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<ListDnsForwardingRulesetByVirtualNetworkResult> listDnsForwardingRulesetByVirtualNetwork(ListDnsForwardingRulesetByVirtualNetworkArgs args, InvokeOptions options)
public static Output<ListDnsForwardingRulesetByVirtualNetworkResult> listDnsForwardingRulesetByVirtualNetwork(ListDnsForwardingRulesetByVirtualNetworkArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:dnsresolver:listDnsForwardingRulesetByVirtualNetwork
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
VirtualNetworkName
This property is required.
Changes to this property will trigger replacement.
string
The name of the virtual network.
Top int
The maximum number of results to return. If not specified, returns up to 100 results.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
VirtualNetworkName
This property is required.
Changes to this property will trigger replacement.
string
The name of the virtual network.
Top int
The maximum number of results to return. If not specified, returns up to 100 results.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
virtualNetworkName
This property is required.
Changes to this property will trigger replacement.
String
The name of the virtual network.
top Integer
The maximum number of results to return. If not specified, returns up to 100 results.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
virtualNetworkName
This property is required.
Changes to this property will trigger replacement.
string
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_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
virtual_network_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the virtual network.
top int
The maximum number of results to return. If not specified, returns up to 100 results.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
virtualNetworkName
This property is required.
Changes to this property will trigger replacement.
String
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:

NextLink string
The continuation token for the next page of results.
Value List<Pulumi.AzureNative.DnsResolver.Outputs.VirtualNetworkDnsForwardingRulesetResponse>
Enumeration of the Virtual Network DNS Forwarding Ruleset.
NextLink string
The continuation token for the next page of results.
Value []VirtualNetworkDnsForwardingRulesetResponse
Enumeration of the Virtual Network DNS Forwarding Ruleset.
nextLink String
The continuation token for the next page of results.
value List<VirtualNetworkDnsForwardingRulesetResponse>
Enumeration of the Virtual Network DNS Forwarding Ruleset.
nextLink string
The continuation token for the next page of results.
value VirtualNetworkDnsForwardingRulesetResponse[]
Enumeration of the Virtual Network DNS Forwarding Ruleset.
next_link str
The continuation token for the next page of results.
value Sequence[VirtualNetworkDnsForwardingRulesetResponse]
Enumeration of the Virtual Network DNS Forwarding Ruleset.
nextLink 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 This property is required. string
Resource ID.
Id This property is required. string
Resource ID.
id This property is required. String
Resource ID.
id This property is required. string
Resource ID.
id This property is required. str
Resource ID.
id This property is required. String
Resource ID.

VirtualNetworkDnsForwardingRulesetResponse

Id string
DNS Forwarding Ruleset Resource ID.
VirtualNetworkLink Pulumi.AzureNative.DnsResolver.Inputs.SubResourceResponse
The reference to the virtual network link.
Id string
DNS Forwarding Ruleset Resource ID.
VirtualNetworkLink SubResourceResponse
The reference to the virtual network link.
id String
DNS Forwarding Ruleset Resource ID.
virtualNetworkLink SubResourceResponse
The reference to the virtual network link.
id string
DNS Forwarding Ruleset Resource ID.
virtualNetworkLink SubResourceResponse
The reference to the virtual network link.
id str
DNS Forwarding Ruleset Resource ID.
virtual_network_link SubResourceResponse
The reference to the virtual network link.
id String
DNS Forwarding Ruleset Resource ID.
virtualNetworkLink Property Map
The reference to the virtual network link.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi