Condividi tramite


VirtualNetworkTapCollection Class

Definition

A class representing a collection of VirtualNetworkTapResource and their operations. Each VirtualNetworkTapResource in the collection will belong to the same instance of ResourceGroupResource. To get a VirtualNetworkTapCollection instance call the GetVirtualNetworkTaps method from an instance of ResourceGroupResource.

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

Constructors

VirtualNetworkTapCollection()

Initializes a new instance of the VirtualNetworkTapCollection 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, VirtualNetworkTapData, CancellationToken)

Creates or updates a Virtual Network Tap.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}
  • Operation Id: VirtualNetworkTaps_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkTapResource
CreateOrUpdateAsync(WaitUntil, String, VirtualNetworkTapData, CancellationToken)

Creates or updates a Virtual Network Tap.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}
  • Operation Id: VirtualNetworkTaps_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkTapResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}
  • Operation Id: VirtualNetworkTaps_Get
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkTapResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}
  • Operation Id: VirtualNetworkTaps_Get
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkTapResource
Get(String, CancellationToken)

Gets information about the specified virtual network tap.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}
  • Operation Id: VirtualNetworkTaps_Get
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkTapResource
GetAll(CancellationToken)

Gets all the VirtualNetworkTaps in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps
  • Operation Id: VirtualNetworkTaps_ListByResourceGroup
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkTapResource
GetAllAsync(CancellationToken)

Gets all the VirtualNetworkTaps in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps
  • Operation Id: VirtualNetworkTaps_ListByResourceGroup
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkTapResource
GetAsync(String, CancellationToken)

Gets information about the specified virtual network tap.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}
  • Operation Id: VirtualNetworkTaps_Get
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkTapResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}
  • Operation Id: VirtualNetworkTaps_Get
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkTapResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}
  • Operation Id: VirtualNetworkTaps_Get
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkTapResource
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<VirtualNetworkTapResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<VirtualNetworkTapResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to