azure-native.dnsresolver.listDnsResolverByVirtualNetwork
Explore with Pulumi AI
Lists DNS resolver resource IDs linked 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 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)
public static Output<ListDnsResolverByVirtualNetworkResult> listDnsResolverByVirtualNetwork(ListDnsResolverByVirtualNetworkArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:dnsresolver:listDnsResolverByVirtualNetwork
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Virtual
Network stringName  - The name of the virtual network.
 - Top int
 - The maximum number of results to return. If not specified, returns up to 100 results.
 
- Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Virtual
Network stringName  - The name of the virtual network.
 - Top int
 - The maximum number of results to return. If not specified, returns up to 100 results.
 
- resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - virtual
Network StringName  - The name of the virtual network.
 - top Integer
 - The maximum number of results to return. If not specified, returns up to 100 results.
 
- resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - virtual
Network stringName  - 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_ strname  - The name of the resource group. The name is case insensitive.
 - virtual_
network_ strname  - The name of the virtual network.
 - top int
 - The maximum number of results to return. If not specified, returns up to 100 results.
 
- resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - virtual
Network StringName  - 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:
- Next
Link string - The continuation token for the next page of results.
 - Value
List<Pulumi.
Azure Native. Dns Resolver. Outputs. Sub Resource Response>  - Enumeration of the sub-resources.
 
- Next
Link string - The continuation token for the next page of results.
 - Value
[]Sub
Resource Response  - Enumeration of the sub-resources.
 
- next
Link String - The continuation token for the next page of results.
 - value
List<Sub
Resource Response>  - Enumeration of the sub-resources.
 
- next
Link string - The continuation token for the next page of results.
 - value
Sub
Resource Response[]  - Enumeration of the sub-resources.
 
- next_
link str - The continuation token for the next page of results.
 - value
Sequence[Sub
Resource Response]  - Enumeration of the sub-resources.
 
- next
Link 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