Share via


WorkloadNetworkPortMirroringProfileCollection Class

Definition

A class representing a collection of WorkloadNetworkPortMirroringProfileResource and their operations. Each WorkloadNetworkPortMirroringProfileResource in the collection will belong to the same instance of AvsPrivateCloudResource. To get a WorkloadNetworkPortMirroringProfileCollection instance call the GetWorkloadNetworkPortMirroringProfiles method from an instance of AvsPrivateCloudResource.

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

Constructors

WorkloadNetworkPortMirroringProfileCollection()

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

Create a port mirroring profile by id in a private cloud workload network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}
  • Operation Id: WorkloadNetworks_CreatePortMirroring
  • Default Api Version: 2023-03-01
  • Resource: WorkloadNetworkPortMirroringProfileResource
CreateOrUpdateAsync(WaitUntil, String, WorkloadNetworkPortMirroringProfileData, CancellationToken)

Create a port mirroring profile by id in a private cloud workload network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}
  • Operation Id: WorkloadNetworks_CreatePortMirroring
  • Default Api Version: 2023-03-01
  • Resource: WorkloadNetworkPortMirroringProfileResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}
  • Operation Id: WorkloadNetworks_GetPortMirroring
  • Default Api Version: 2023-03-01
  • Resource: WorkloadNetworkPortMirroringProfileResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}
  • Operation Id: WorkloadNetworks_GetPortMirroring
  • Default Api Version: 2023-03-01
  • Resource: WorkloadNetworkPortMirroringProfileResource
Get(String, CancellationToken)

Get a port mirroring profile by id in a private cloud workload network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}
  • Operation Id: WorkloadNetworks_GetPortMirroring
  • Default Api Version: 2023-03-01
  • Resource: WorkloadNetworkPortMirroringProfileResource
GetAll(CancellationToken)

List of port mirroring profiles in a private cloud workload network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles
  • Operation Id: WorkloadNetworks_ListPortMirroring
  • Default Api Version: 2023-03-01
  • Resource: WorkloadNetworkPortMirroringProfileResource
GetAllAsync(CancellationToken)

List of port mirroring profiles in a private cloud workload network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles
  • Operation Id: WorkloadNetworks_ListPortMirroring
  • Default Api Version: 2023-03-01
  • Resource: WorkloadNetworkPortMirroringProfileResource
GetAsync(String, CancellationToken)

Get a port mirroring profile by id in a private cloud workload network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}
  • Operation Id: WorkloadNetworks_GetPortMirroring
  • Default Api Version: 2023-03-01
  • Resource: WorkloadNetworkPortMirroringProfileResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}
  • Operation Id: WorkloadNetworks_GetPortMirroring
  • Default Api Version: 2023-03-01
  • Resource: WorkloadNetworkPortMirroringProfileResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}
  • Operation Id: WorkloadNetworks_GetPortMirroring
  • Default Api Version: 2023-03-01
  • Resource: WorkloadNetworkPortMirroringProfileResource
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<WorkloadNetworkPortMirroringProfileResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<WorkloadNetworkPortMirroringProfileResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to