NetworkMonitorCollection Class

Definition

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

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

Constructors

Name Description
NetworkMonitorCollection()

Initializes a new instance of the NetworkMonitorCollection class for mocking.

Properties

Name Description
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

Name Description
CreateOrUpdate(WaitUntil, String, NetworkMonitorData, CancellationToken)

Creates NetworkMonitor resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkMonitors/{networkMonitorName}
  • Operation Id: NetworkMonitors_Create
  • Default Api Version: 2025-07-15
  • Resource: NetworkMonitorResource
CreateOrUpdateAsync(WaitUntil, String, NetworkMonitorData, CancellationToken)

Creates NetworkMonitor resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkMonitors/{networkMonitorName}
  • Operation Id: NetworkMonitors_Create
  • Default Api Version: 2025-07-15
  • Resource: NetworkMonitorResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkMonitors/{networkMonitorName}
  • Operation Id: NetworkMonitors_Get
  • Default Api Version: 2025-07-15
  • Resource: NetworkMonitorResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkMonitors/{networkMonitorName}
  • Operation Id: NetworkMonitors_Get
  • Default Api Version: 2025-07-15
  • Resource: NetworkMonitorResource
Get(String, CancellationToken)

Implements NetworkMonitor GET method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkMonitors/{networkMonitorName}
  • Operation Id: NetworkMonitors_Get
  • Default Api Version: 2025-07-15
  • Resource: NetworkMonitorResource
GetAll(CancellationToken)

Displays NetworkMonitors list by resource group GET method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkMonitors
  • Operation Id: NetworkMonitors_ListByResourceGroup
  • Default Api Version: 2025-07-15
  • Resource: NetworkMonitorResource
GetAllAsync(CancellationToken)

Displays NetworkMonitors list by resource group GET method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkMonitors
  • Operation Id: NetworkMonitors_ListByResourceGroup
  • Default Api Version: 2025-07-15
  • Resource: NetworkMonitorResource
GetAsync(String, CancellationToken)

Implements NetworkMonitor GET method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkMonitors/{networkMonitorName}
  • Operation Id: NetworkMonitors_Get
  • Default Api Version: 2025-07-15
  • Resource: NetworkMonitorResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkMonitors/{networkMonitorName}
  • Operation Id: NetworkMonitors_Get
  • Default Api Version: 2025-07-15
  • Resource: NetworkMonitorResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkMonitors/{networkMonitorName}
  • Operation Id: NetworkMonitors_Get
  • Default Api Version: 2025-07-15
  • Resource: NetworkMonitorResource
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Explicit Interface Implementations

Name Description
IAsyncEnumerable<NetworkMonitorResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetworkMonitorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

Name Description
ArrayContainsAll<T>(IEnumerable<T>, Object[])

Returns whether all values are present in the array.

ArrayContainsAny<T>(IEnumerable<T>, Object[])

Returns whether any values are present in the array.

Applies to