Share via


NetworkGroupsOperationsExtensions.GetAsync Method

Definition

Gets the specified network group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.NetworkGroup> GetAsync (this Microsoft.Azure.Management.Network.INetworkGroupsOperations operations, string resourceGroupName, string networkManagerName, string networkGroupName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Network.INetworkGroupsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.NetworkGroup>
<Extension()>
Public Function GetAsync (operations As INetworkGroupsOperations, resourceGroupName As String, networkManagerName As String, networkGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NetworkGroup)

Parameters

operations
INetworkGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

networkManagerName
String

The name of the network manager.

networkGroupName
String

The name of the network group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to