1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. listDnsResolverPolicyByVirtualNetwork
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.network.listDnsResolverPolicyByVirtualNetwork

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 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>
    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]
    func ListDnsResolverPolicyByVirtualNetwork(ctx *Context, args *ListDnsResolverPolicyByVirtualNetworkArgs, opts ...InvokeOption) (*ListDnsResolverPolicyByVirtualNetworkResult, error)
    func ListDnsResolverPolicyByVirtualNetworkOutput(ctx *Context, args *ListDnsResolverPolicyByVirtualNetworkOutputArgs, opts ...InvokeOption) ListDnsResolverPolicyByVirtualNetworkResultOutput

    > 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)
    }
    public static CompletableFuture<ListDnsResolverPolicyByVirtualNetworkResult> listDnsResolverPolicyByVirtualNetwork(ListDnsResolverPolicyByVirtualNetworkArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:network:listDnsResolverPolicyByVirtualNetwork
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    VirtualNetworkName string
    The name of the virtual network.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    VirtualNetworkName string
    The name of the virtual network.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    virtualNetworkName String
    The name of the virtual network.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    virtualNetworkName string
    The name of the virtual network.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    virtual_network_name str
    The name of the virtual network.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    virtualNetworkName 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 string
    Resource ID.
    Id string
    Resource ID.
    id String
    Resource ID.
    id string
    Resource ID.
    id str
    Resource ID.
    id String
    Resource ID.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi