ManagedNetworkFabricExtensions.GetNetworkFabrics Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
|
GetNetworkFabrics(ResourceGroupResource)
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)
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
Azure SDK for .NET