ManagedNetworkFabricExtensions.GetNetworkPacketBrokers Method

Definition

Overloads

GetNetworkPacketBrokers(ResourceGroupResource)

Gets a collection of NetworkPacketBrokerResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkPacketBrokers() instead.

GetNetworkPacketBrokers(SubscriptionResource, CancellationToken)

Displays Network Packet Brokers list by subscription GET method.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers
  • Operation Id: NetworkPacketBrokers_ListBySubscription

GetNetworkPacketBrokers(ResourceGroupResource)

Source:
ManagedNetworkFabricExtensions.cs

Gets a collection of NetworkPacketBrokerResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkPacketBrokers() instead.

public static Azure.ResourceManager.ManagedNetworkFabric.NetworkPacketBrokerCollection GetNetworkPacketBrokers (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetworkPacketBrokers : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ManagedNetworkFabric.NetworkPacketBrokerCollection
<Extension()>
Public Function GetNetworkPacketBrokers (resourceGroupResource As ResourceGroupResource) As NetworkPacketBrokerCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of NetworkPacketBrokerResources and their operations over a NetworkPacketBrokerResource.

Exceptions

resourceGroupResource is null.

Applies to

GetNetworkPacketBrokers(SubscriptionResource, CancellationToken)

Source:
ManagedNetworkFabricExtensions.cs

Displays Network Packet Brokers list by subscription GET method.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers
  • Operation Id: NetworkPacketBrokers_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkPacketBrokerResource> GetNetworkPacketBrokers (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkPacketBrokers : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkPacketBrokerResource>
<Extension()>
Public Function GetNetworkPacketBrokers (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkPacketBrokerResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to