VirtualNetworkLinkCollection Class

Definition

A class representing a collection of VirtualNetworkLinkResource and their operations. Each VirtualNetworkLinkResource in the collection will belong to the same instance of PrivateDnsZoneResource. To get a VirtualNetworkLinkCollection instance call the GetVirtualNetworkLinks method from an instance of PrivateDnsZoneResource.

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

Constructors

VirtualNetworkLinkCollection()

Initializes a new instance of the VirtualNetworkLinkCollection 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, VirtualNetworkLinkData, Nullable<ETag>, String, CancellationToken)

Creates or updates a virtual network link to the specified Private DNS zone.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_CreateOrUpdate
  • Default Api Version: 2024-06-01
  • Resource: VirtualNetworkLinkResource
CreateOrUpdateAsync(WaitUntil, String, VirtualNetworkLinkData, Nullable<ETag>, String, CancellationToken)

Creates or updates a virtual network link to the specified Private DNS zone.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_CreateOrUpdate
  • Default Api Version: 2024-06-01
  • Resource: VirtualNetworkLinkResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_Get
  • Default Api Version: 2024-06-01
  • Resource: VirtualNetworkLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_Get
  • Default Api Version: 2024-06-01
  • Resource: VirtualNetworkLinkResource
Get(String, CancellationToken)

Gets a virtual network link to the specified Private DNS zone.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_Get
  • Default Api Version: 2024-06-01
  • Resource: VirtualNetworkLinkResource
GetAll(Nullable<Int32>, CancellationToken)

Lists the virtual network links to the specified Private DNS zone.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks
  • Operation Id: VirtualNetworkLinks_List
  • Default Api Version: 2024-06-01
  • Resource: VirtualNetworkLinkResource
GetAllAsync(Nullable<Int32>, CancellationToken)

Lists the virtual network links to the specified Private DNS zone.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks
  • Operation Id: VirtualNetworkLinks_List
  • Default Api Version: 2024-06-01
  • Resource: VirtualNetworkLinkResource
GetAsync(String, CancellationToken)

Gets a virtual network link to the specified Private DNS zone.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_Get
  • Default Api Version: 2024-06-01
  • Resource: VirtualNetworkLinkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_Get
  • Default Api Version: 2024-06-01
  • Resource: VirtualNetworkLinkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operation Id: VirtualNetworkLinks_Get
  • Default Api Version: 2024-06-01
  • Resource: VirtualNetworkLinkResource
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<VirtualNetworkLinkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<VirtualNetworkLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to