public Observable<NetworkInterfaceTapConfigurationInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkInterfaceName, String tapConfigurationName, NetworkInterfaceTapConfigurationInner tapConfigurationParameters) {
        return beginCreateOrUpdateWithServiceResponseAsync(resourceGroupName, networkInterfaceName, tapConfigurationName, tapConfigurationParameters).map(new Func1<ServiceResponse<NetworkInterfaceTapConfigurationInner>, NetworkInterfaceTapConfigurationInner>() {
            @Override
            public NetworkInterfaceTapConfigurationInner call(ServiceResponse<NetworkInterfaceTapConfigurationInner> response) {
                return response.body();
            }
        });
    }
public Observable < NetworkInterfaceTapConfigurationInner > beginCreateOrUpdateAsync ( String resourceGroupName , String networkInterfaceName , String tapConfigurationName , NetworkInterfaceTapConfigurationInner tapConfigurationParameters ) { return beginCreateOrUpdateWithServiceResponseAsync ( resourceGroupName , networkInterfaceName , tapConfigurationName , tapConfigurationParameters ) . map ( new Func1 < ServiceResponse < NetworkInterfaceTapConfigurationInner > , NetworkInterfaceTapConfigurationInner > ( ) { @ Override public NetworkInterfaceTapConfigurationInner call ( ServiceResponse < NetworkInterfaceTapConfigurationInner > response ) { return response . body ( ) ; } } ) ; }
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
@return the observable to the NetworkInterfaceTapConfigurationInner object