1. Packages
  2. Azure Native v2
  3. API Docs
  4. network
  5. listDnsResolverByVirtualNetwork
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.network.listDnsResolverByVirtualNetwork

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Lists DNS resolver resource IDs linked to a virtual network. Azure REST API version: 2022-07-01.

Other available API versions: 2020-04-01-preview, 2023-07-01-preview.

Using listDnsResolverByVirtualNetwork

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 listDnsResolverByVirtualNetwork(args: ListDnsResolverByVirtualNetworkArgs, opts?: InvokeOptions): Promise<ListDnsResolverByVirtualNetworkResult>
function listDnsResolverByVirtualNetworkOutput(args: ListDnsResolverByVirtualNetworkOutputArgs, opts?: InvokeOptions): Output<ListDnsResolverByVirtualNetworkResult>
Copy
def list_dns_resolver_by_virtual_network(resource_group_name: Optional[str] = None,
                                         top: Optional[int] = None,
                                         virtual_network_name: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> ListDnsResolverByVirtualNetworkResult
def list_dns_resolver_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[ListDnsResolverByVirtualNetworkResult]
Copy
func ListDnsResolverByVirtualNetwork(ctx *Context, args *ListDnsResolverByVirtualNetworkArgs, opts ...InvokeOption) (*ListDnsResolverByVirtualNetworkResult, error)
func ListDnsResolverByVirtualNetworkOutput(ctx *Context, args *ListDnsResolverByVirtualNetworkOutputArgs, opts ...InvokeOption) ListDnsResolverByVirtualNetworkResultOutput
Copy

> Note: This function is named ListDnsResolverByVirtualNetwork in the Go SDK.

public static class ListDnsResolverByVirtualNetwork 
{
    public static Task<ListDnsResolverByVirtualNetworkResult> InvokeAsync(ListDnsResolverByVirtualNetworkArgs args, InvokeOptions? opts = null)
    public static Output<ListDnsResolverByVirtualNetworkResult> Invoke(ListDnsResolverByVirtualNetworkInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListDnsResolverByVirtualNetworkResult> listDnsResolverByVirtualNetwork(ListDnsResolverByVirtualNetworkArgs args, InvokeOptions options)
public static Output<ListDnsResolverByVirtualNetworkResult> listDnsResolverByVirtualNetwork(ListDnsResolverByVirtualNetworkArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:network:listDnsResolverByVirtualNetwork
  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.

listDnsResolverByVirtualNetwork Result

The following output properties are available:

NextLink string
The continuation token for the next page of results.
Value List<Pulumi.AzureNative.Network.Outputs.SubResourceResponse>
Enumeration of the sub-resources.
NextLink string
The continuation token for the next page of results.
Value []SubResourceResponse
Enumeration of the sub-resources.
nextLink String
The continuation token for the next page of results.
value List<SubResourceResponse>
Enumeration of the sub-resources.
nextLink string
The continuation token for the next page of results.
value SubResourceResponse[]
Enumeration of the sub-resources.
next_link str
The continuation token for the next page of results.
value Sequence[SubResourceResponse]
Enumeration of the sub-resources.
nextLink String
The continuation token for the next page of results.
value List<Property Map>
Enumeration of the sub-resources.

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.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi