ManagedNetworkFabricExtensions.GetNetworkFabricNeighborGroups Method

Definition

Overloads

GetNetworkFabricNeighborGroups(ResourceGroupResource)

Gets a collection of NetworkFabricNeighborGroupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkFabricNeighborGroups() instead.

GetNetworkFabricNeighborGroups(SubscriptionResource, CancellationToken)

Displays NeighborGroups list by subscription GET method.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/neighborGroups
  • Operation Id: NeighborGroups_ListBySubscription

GetNetworkFabricNeighborGroups(ResourceGroupResource)

Source:
ManagedNetworkFabricExtensions.cs

Gets a collection of NetworkFabricNeighborGroupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkFabricNeighborGroups() instead.

C#
public static Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricNeighborGroupCollection GetNetworkFabricNeighborGroups(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of NetworkFabricNeighborGroupResources and their operations over a NetworkFabricNeighborGroupResource.

Exceptions

resourceGroupResource is null.

Applies to

Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest

GetNetworkFabricNeighborGroups(SubscriptionResource, CancellationToken)

Source:
ManagedNetworkFabricExtensions.cs

Displays NeighborGroups list by subscription GET method.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/neighborGroups
  • Operation Id: NeighborGroups_ListBySubscription
C#
public static Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricNeighborGroupResource> GetNetworkFabricNeighborGroups(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to

Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest