1. Packages
  2. Azure Native v2
  3. API Docs
  4. network
  5. listDnsResolverPolicyByVirtualNetwork
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi

azure-native-v2.network.listDnsResolverPolicyByVirtualNetwork

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.82.0 published on Friday, Jan 10, 2025 by Pulumi

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

Using listDnsResolverPolicyByVirtualNetwork

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 listDnsResolverPolicyByVirtualNetwork(args: ListDnsResolverPolicyByVirtualNetworkArgs, opts?: InvokeOptions): Promise<ListDnsResolverPolicyByVirtualNetworkResult>
function listDnsResolverPolicyByVirtualNetworkOutput(args: ListDnsResolverPolicyByVirtualNetworkOutputArgs, opts?: InvokeOptions): Output<ListDnsResolverPolicyByVirtualNetworkResult>
Copy
def list_dns_resolver_policy_by_virtual_network(resource_group_name: Optional[str] = None,
                                                virtual_network_name: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> ListDnsResolverPolicyByVirtualNetworkResult
def list_dns_resolver_policy_by_virtual_network_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                                virtual_network_name: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[ListDnsResolverPolicyByVirtualNetworkResult]
Copy
func ListDnsResolverPolicyByVirtualNetwork(ctx *Context, args *ListDnsResolverPolicyByVirtualNetworkArgs, opts ...InvokeOption) (*ListDnsResolverPolicyByVirtualNetworkResult, error)
func ListDnsResolverPolicyByVirtualNetworkOutput(ctx *Context, args *ListDnsResolverPolicyByVirtualNetworkOutputArgs, opts ...InvokeOption) ListDnsResolverPolicyByVirtualNetworkResultOutput
Copy

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

public static class ListDnsResolverPolicyByVirtualNetwork 
{
    public static Task<ListDnsResolverPolicyByVirtualNetworkResult> InvokeAsync(ListDnsResolverPolicyByVirtualNetworkArgs args, InvokeOptions? opts = null)
    public static Output<ListDnsResolverPolicyByVirtualNetworkResult> Invoke(ListDnsResolverPolicyByVirtualNetworkInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListDnsResolverPolicyByVirtualNetworkResult> listDnsResolverPolicyByVirtualNetwork(ListDnsResolverPolicyByVirtualNetworkArgs args, InvokeOptions options)
public static Output<ListDnsResolverPolicyByVirtualNetworkResult> listDnsResolverPolicyByVirtualNetwork(ListDnsResolverPolicyByVirtualNetworkArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:network:listDnsResolverPolicyByVirtualNetwork
  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.
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.
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.
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.
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.
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.

listDnsResolverPolicyByVirtualNetwork 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.82.0 published on Friday, Jan 10, 2025 by Pulumi