Share via


ManagedNetworkFabricExtensions.GetNetworkFabrics Method

Definition

Overloads

GetNetworkFabrics(ResourceGroupResource)

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

GetNetworkFabrics(SubscriptionResource, CancellationToken)

List all the Network Fabric resources in the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabrics
  • Operation Id: NetworkFabrics_ListBySubscription

GetNetworkFabrics(ResourceGroupResource)

Source:
ManagedNetworkFabricExtensions.cs

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

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of NetworkFabricResources and their operations over a NetworkFabricResource.

Exceptions

resourceGroupResource is null.

Applies to

GetNetworkFabrics(SubscriptionResource, CancellationToken)

Source:
ManagedNetworkFabricExtensions.cs

List all the Network Fabric resources in the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabrics
  • Operation Id: NetworkFabrics_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricResource> GetNetworkFabrics (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFabrics : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricResource>
<Extension()>
Public Function GetNetworkFabrics (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkFabricResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to