Share via


MockableManagedNetworkFabricSubscriptionResource.GetNetworkDevices Method

Definition

List all the Network Device resources in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkDevices
  • Operation Id: NetworkDevices_ListBySubscription
public virtual Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceResource> GetNetworkDevices (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkDevices : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceResource>
override this.GetNetworkDevices : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceResource>
Public Overridable Function GetNetworkDevices (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkDeviceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to