ManagedNetworkFabricExtensions.GetNetworkPacketBrokerAsync 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.
Retrieves details of this Network Packet Broker.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/{networkPacketBrokerName}
- Operation Id: NetworkPacketBrokers_Get
- Default Api Version: 2023-06-15
- Resource: NetworkPacketBrokerResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkPacketBrokerResource>> GetNetworkPacketBrokerAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string networkPacketBrokerName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkPacketBrokerAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkPacketBrokerResource>>
<Extension()>
Public Function GetNetworkPacketBrokerAsync (resourceGroupResource As ResourceGroupResource, networkPacketBrokerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkPacketBrokerResource))
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
- networkPacketBrokerName
- String
Name of the Network Packet Broker.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
resourceGroupResource
or networkPacketBrokerName
is null.
networkPacketBrokerName
is an empty string, and was expected to be non-empty.