1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. listDnsResolverByVirtualNetwork
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.listDnsResolverByVirtualNetwork

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 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>
    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]
    func ListDnsResolverByVirtualNetwork(ctx *Context, args *ListDnsResolverByVirtualNetworkArgs, opts ...InvokeOption) (*ListDnsResolverByVirtualNetworkResult, error)
    func ListDnsResolverByVirtualNetworkOutput(ctx *Context, args *ListDnsResolverByVirtualNetworkOutputArgs, opts ...InvokeOption) ListDnsResolverByVirtualNetworkResultOutput

    > 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)
    }
    public static CompletableFuture<ListDnsResolverByVirtualNetworkResult> listDnsResolverByVirtualNetwork(ListDnsResolverByVirtualNetworkArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:network:listDnsResolverByVirtualNetwork
      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.
    Top int
    The maximum number of results to return. If not specified, returns up to 100 results.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    VirtualNetworkName 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 String
    The name of the resource group. The name is case insensitive.
    virtualNetworkName 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 string
    The name of the resource group. The name is case insensitive.
    virtualNetworkName 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 str
    The name of the resource group. The name is case insensitive.
    virtual_network_name 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 String
    The name of the resource group. The name is case insensitive.
    virtualNetworkName 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 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