public VirtualNetworkGatewayInner reset(String resourceGroupName, String virtualNetworkGatewayName, String gatewayVip) {
        return resetWithServiceResponseAsync(resourceGroupName, virtualNetworkGatewayName, gatewayVip).toBlocking().last().body();
    }
public VirtualNetworkGatewayInner reset ( String resourceGroupName , String virtualNetworkGatewayName , String gatewayVip ) { return resetWithServiceResponseAsync ( resourceGroupName , virtualNetworkGatewayName , gatewayVip ) . toBlocking ( ) . last ( ) . body ( ) ; }
Resets the primary of the virtual network gateway in the specified resource group.

@param resourceGroupName The name of the resource group.
@param virtualNetworkGatewayName The name of the virtual network gateway.
@param gatewayVip Virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@return the VirtualNetworkGatewayInner object if successful.