ManagedNetworkFabricExtensions.GetNetworkMonitors Method

Definition

Overloads

Name Description
GetNetworkMonitors(ResourceGroupResource)

Gets a collection of NetworkMonitorResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetNetworkMonitors() instead.</item>

GetNetworkMonitors(SubscriptionResource, CancellationToken)

Displays NetworkMonitors list by subscription GET method.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkMonitors
  • Operation Id: NetworkMonitors_ListBySubscription
  • Default Api Version: 2025-07-15
  • Resource: NetworkMonitorResource
<item>MockingTo mock this method, please mock GetNetworkMonitors(CancellationToken) instead.</item>

GetNetworkMonitors(ResourceGroupResource)

Source:
ManagedNetworkFabricExtensions.cs

Gets a collection of NetworkMonitorResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetNetworkMonitors() instead.</item>

public static Azure.ResourceManager.ManagedNetworkFabric.NetworkMonitorCollection GetNetworkMonitors(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetworkMonitors : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ManagedNetworkFabric.NetworkMonitorCollection
<Extension()>
Public Function GetNetworkMonitors (resourceGroupResource As ResourceGroupResource) As NetworkMonitorCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of NetworkMonitorResources and their operations over a NetworkMonitorResource.

Exceptions

resourceGroupResource is null.

Applies to

GetNetworkMonitors(SubscriptionResource, CancellationToken)

Source:
ManagedNetworkFabricExtensions.cs

Displays NetworkMonitors list by subscription GET method.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkMonitors
  • Operation Id: NetworkMonitors_ListBySubscription
  • Default Api Version: 2025-07-15
  • Resource: NetworkMonitorResource
<item>MockingTo mock this method, please mock GetNetworkMonitors(CancellationToken) instead.</item>
public static Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkMonitorResource> GetNetworkMonitors(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkMonitors : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkMonitorResource>
<Extension()>
Public Function GetNetworkMonitors (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkMonitorResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of NetworkMonitorResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to