code: public NetworkInterfaceTapConfigurationInner beginCreateOrUpdate(String resourceGroupName, String networkInterfaceName, String tapConfigurationName, NetworkInterfaceTapConfigurationInner tapConfigurationParameters) {
          return beginCreateOrUpdateWithServiceResponseAsync(resourceGroupName, networkInterfaceName, tapConfigurationName, tapConfigurationParameters).toBlocking().single().body();
      }
docs: Creates or updates a Tap configuration in the specified NetworkInterface.
  
  @param resourceGroupName The name of the resource group.
  @param networkInterfaceName The name of the network interface.
  @param tapConfigurationName The name of the tap configuration.
  @param tapConfigurationParameters Parameters supplied to the create or update tap configuration 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 NetworkInterfaceTapConfigurationInner object if successful.