Example #1
0
 /// <summary>
 /// Gets the specified virtual network gateway by resource group.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='virtualNetworkGatewayName'>
 /// The name of the virtual network gateway.
 /// </param>
 public static VirtualNetworkGateway Get(this IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName)
 {
     return(operations.GetAsync(resourceGroupName, virtualNetworkGatewayName).GetAwaiter().GetResult());
 }