Share via


MockableManagedNetworkFabricSubscriptionResource.GetNetworkTapRulesAsync Method

Definition

List all the Network Tap Rule resources in the given subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to