code: public VirtualNetworkTapInner createOrUpdate(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, tapName, parameters).toBlocking().last().body();
      }
docs: Creates or updates a Virtual Network Tap.
  
  @param resourceGroupName The name of the resource group.
  @param tapName The name of the virtual network tap.
  @param parameters Parameters supplied to the create or update virtual network tap 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 VirtualNetworkTapInner object if successful.