/// <summary> /// Deletes a virtual wan vpn gateway. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The resource group name of the VpnGateway. /// </param> /// <param name='gatewayName'> /// The name of the gateway. /// </param> public static void Delete(this IVpnGatewaysOperations operations, string resourceGroupName, string gatewayName) { operations.DeleteAsync(resourceGroupName, gatewayName).GetAwaiter().GetResult(); }