Share via


MockableManagedNetworkFabricSubscriptionResource.GetNetworkPacketBrokersAsync Method

Definition

Displays Network Packet Brokers list by subscription GET method.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of NetworkPacketBrokerResource that may take multiple service requests to iterate over.

Applies to