Share via


MockableManagedNetworkFabricSubscriptionResource.GetNetworkTapRules 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.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapRuleResource> GetNetworkTapRules (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkTapRules : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapRuleResource>
override this.GetNetworkTapRules : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapRuleResource>
Public Overridable Function GetNetworkTapRules (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkTapRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to