共用方式為


DnsForwardingRulesetVirtualNetworkLinkCollection Class

Definition

A class representing a collection of DnsForwardingRulesetVirtualNetworkLinkResource and their operations. Each DnsForwardingRulesetVirtualNetworkLinkResource in the collection will belong to the same instance of DnsForwardingRulesetResource. To get a DnsForwardingRulesetVirtualNetworkLinkCollection instance call the GetDnsForwardingRulesetVirtualNetworkLinks method from an instance of DnsForwardingRulesetResource.

public class DnsForwardingRulesetVirtualNetworkLinkCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.DnsResolver.DnsForwardingRulesetVirtualNetworkLinkResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DnsResolver.DnsForwardingRulesetVirtualNetworkLinkResource>
type DnsForwardingRulesetVirtualNetworkLinkCollection = class
    inherit ArmCollection
    interface seq<DnsForwardingRulesetVirtualNetworkLinkResource>
    interface IEnumerable
    interface IAsyncEnumerable<DnsForwardingRulesetVirtualNetworkLinkResource>
Public Class DnsForwardingRulesetVirtualNetworkLinkCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of DnsForwardingRulesetVirtualNetworkLinkResource), IEnumerable(Of DnsForwardingRulesetVirtualNetworkLinkResource)
Inheritance
DnsForwardingRulesetVirtualNetworkLinkCollection
Implements

Constructors

DnsForwardingRulesetVirtualNetworkLinkCollection()

Initializes a new instance of the DnsForwardingRulesetVirtualNetworkLinkCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, DnsForwardingRulesetVirtualNetworkLinkData, String, String, CancellationToken)

Creates or updates a virtual network link to a DNS forwarding ruleset.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_CreateOrUpdate
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsForwardingRulesetVirtualNetworkLinkResource
CreateOrUpdateAsync(WaitUntil, String, DnsForwardingRulesetVirtualNetworkLinkData, String, String, CancellationToken)

Creates or updates a virtual network link to a DNS forwarding ruleset.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_CreateOrUpdate
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsForwardingRulesetVirtualNetworkLinkResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsForwardingRulesetVirtualNetworkLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsForwardingRulesetVirtualNetworkLinkResource
Get(String, CancellationToken)

Gets properties of a virtual network link to a DNS forwarding ruleset.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsForwardingRulesetVirtualNetworkLinkResource
GetAll(Nullable<Int32>, CancellationToken)

Lists virtual network links to a DNS forwarding ruleset.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks
  • Operation Id: VirtualNetworkLinks_List
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsForwardingRulesetVirtualNetworkLinkResource
GetAllAsync(Nullable<Int32>, CancellationToken)

Lists virtual network links to a DNS forwarding ruleset.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks
  • Operation Id: VirtualNetworkLinks_List
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsForwardingRulesetVirtualNetworkLinkResource
GetAsync(String, CancellationToken)

Gets properties of a virtual network link to a DNS forwarding ruleset.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsForwardingRulesetVirtualNetworkLinkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsForwardingRulesetVirtualNetworkLinkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsForwardingRulesetVirtualNetworkLinkResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<DnsForwardingRulesetVirtualNetworkLinkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DnsForwardingRulesetVirtualNetworkLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to