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