code: public VirtualNetworkGatewayConnectionInner createOrUpdate(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).toBlocking().last().body();
      }
docs: Creates or updates a virtual network gateway connection in the specified resource group.
  
  @param resourceGroupName The name of the resource group.
  @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection.
  @param parameters Parameters supplied to the create or update virtual network gateway connection operation.
  @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 VirtualNetworkGatewayConnectionInner object if successful.