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

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 forwarding ruleset resource IDs attached to a virtual network. Azure REST API version: 2022-07-01.

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

Using listDnsForwardingRulesetByVirtualNetwork

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 listDnsForwardingRulesetByVirtualNetwork(args: ListDnsForwardingRulesetByVirtualNetworkArgs, opts?: InvokeOptions): Promise<ListDnsForwardingRulesetByVirtualNetworkResult>
function listDnsForwardingRulesetByVirtualNetworkOutput(args: ListDnsForwardingRulesetByVirtualNetworkOutputArgs, opts?: InvokeOptions): Output<ListDnsForwardingRulesetByVirtualNetworkResult>
Copy
def list_dns_forwarding_ruleset_by_virtual_network(resource_group_name: Optional[str] = None,
                                                   top: Optional[int] = None,
                                                   virtual_network_name: Optional[str] = None,
                                                   opts: Optional[InvokeOptions] = None) -> ListDnsForwardingRulesetByVirtualNetworkResult
def list_dns_forwarding_ruleset_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[ListDnsForwardingRulesetByVirtualNetworkResult]
Copy
func ListDnsForwardingRulesetByVirtualNetwork(ctx *Context, args *ListDnsForwardingRulesetByVirtualNetworkArgs, opts ...InvokeOption) (*ListDnsForwardingRulesetByVirtualNetworkResult, error)
func ListDnsForwardingRulesetByVirtualNetworkOutput(ctx *Context, args *ListDnsForwardingRulesetByVirtualNetworkOutputArgs, opts ...InvokeOption) ListDnsForwardingRulesetByVirtualNetworkResultOutput
Copy

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

public static class ListDnsForwardingRulesetByVirtualNetwork 
{
    public static Task<ListDnsForwardingRulesetByVirtualNetworkResult> InvokeAsync(ListDnsForwardingRulesetByVirtualNetworkArgs args, InvokeOptions? opts = null)
    public static Output<ListDnsForwardingRulesetByVirtualNetworkResult> Invoke(ListDnsForwardingRulesetByVirtualNetworkInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListDnsForwardingRulesetByVirtualNetworkResult> listDnsForwardingRulesetByVirtualNetwork(ListDnsForwardingRulesetByVirtualNetworkArgs args, InvokeOptions options)
public static Output<ListDnsForwardingRulesetByVirtualNetworkResult> listDnsForwardingRulesetByVirtualNetwork(ListDnsForwardingRulesetByVirtualNetworkArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:network:listDnsForwardingRulesetByVirtualNetwork
  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.

listDnsForwardingRulesetByVirtualNetwork Result

The following output properties are available:

NextLink string
The continuation token for the next page of results.
Value List<Pulumi.AzureNative.Network.Outputs.VirtualNetworkDnsForwardingRulesetResponse>
Enumeration of the Virtual Network DNS Forwarding Ruleset.
NextLink string
The continuation token for the next page of results.
Value []VirtualNetworkDnsForwardingRulesetResponse
Enumeration of the Virtual Network DNS Forwarding Ruleset.
nextLink String
The continuation token for the next page of results.
value List<VirtualNetworkDnsForwardingRulesetResponse>
Enumeration of the Virtual Network DNS Forwarding Ruleset.
nextLink string
The continuation token for the next page of results.
value VirtualNetworkDnsForwardingRulesetResponse[]
Enumeration of the Virtual Network DNS Forwarding Ruleset.
next_link str
The continuation token for the next page of results.
value Sequence[VirtualNetworkDnsForwardingRulesetResponse]
Enumeration of the Virtual Network DNS Forwarding Ruleset.
nextLink String
The continuation token for the next page of results.
value List<Property Map>
Enumeration of the Virtual Network DNS Forwarding Ruleset.

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.

VirtualNetworkDnsForwardingRulesetResponse

Id string
DNS Forwarding Ruleset Resource ID.
VirtualNetworkLink Pulumi.AzureNative.Network.Inputs.SubResourceResponse
The reference to the virtual network link.
Id string
DNS Forwarding Ruleset Resource ID.
VirtualNetworkLink SubResourceResponse
The reference to the virtual network link.
id String
DNS Forwarding Ruleset Resource ID.
virtualNetworkLink SubResourceResponse
The reference to the virtual network link.
id string
DNS Forwarding Ruleset Resource ID.
virtualNetworkLink SubResourceResponse
The reference to the virtual network link.
id str
DNS Forwarding Ruleset Resource ID.
virtual_network_link SubResourceResponse
The reference to the virtual network link.
id String
DNS Forwarding Ruleset Resource ID.
virtualNetworkLink Property Map
The reference to the virtual network link.

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