ManagedNetworkFabricExtensions.GetNetworkFabricControllers 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
GetNetworkFabricControllers(ResourceGroupResource) |
Gets a collection of NetworkFabricControllerResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkFabricControllers() instead. |
GetNetworkFabricControllers(SubscriptionResource, CancellationToken) |
Lists all the NetworkFabricControllers by subscription.
|
GetNetworkFabricControllers(ResourceGroupResource)
Gets a collection of NetworkFabricControllerResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkFabricControllers() instead.
public static Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricControllerCollection GetNetworkFabricControllers (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetworkFabricControllers : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricControllerCollection
<Extension()>
Public Function GetNetworkFabricControllers (resourceGroupResource As ResourceGroupResource) As NetworkFabricControllerCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of NetworkFabricControllerResources and their operations over a NetworkFabricControllerResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetNetworkFabricControllers(SubscriptionResource, CancellationToken)
Lists all the NetworkFabricControllers by subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers
- Operation Id: NetworkFabricControllers_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricControllerResource> GetNetworkFabricControllers (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFabricControllers : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricControllerResource>
<Extension()>
Public Function GetNetworkFabricControllers (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkFabricControllerResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of NetworkFabricControllerResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET