Share via


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.

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

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

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
public static Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricNeighborGroupResource> GetNetworkFabricNeighborGroups (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFabricNeighborGroups : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricNeighborGroupResource>
<Extension()>
Public Function GetNetworkFabricNeighborGroups (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkFabricNeighborGroupResource)

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