Exemplo n.º 1
0
 /// <summary>
 /// Resets the primary of the virtual network gateway in the specified 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>
 /// <param name='gatewayVip'>
 /// Virtual network gateway vip address supplied to the begin reset of the
 /// active-active feature enabled gateway.
 /// </param>
 public static VirtualNetworkGateway Reset(this IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, string gatewayVip = default(string))
 {
     return(operations.ResetAsync(resourceGroupName, virtualNetworkGatewayName, gatewayVip).GetAwaiter().GetResult());
 }