public ServiceFuture<NetworkProfileInner> createOrUpdateAsync(String resourceGroupName, String networkProfileName, NetworkProfileInner parameters, final ServiceCallback<NetworkProfileInner> serviceCallback) {
        return ServiceFuture.fromResponse(createOrUpdateWithServiceResponseAsync(resourceGroupName, networkProfileName, parameters), serviceCallback);
    }
public ServiceFuture < NetworkProfileInner > createOrUpdateAsync ( String resourceGroupName , String networkProfileName , NetworkProfileInner parameters , final ServiceCallback < NetworkProfileInner > serviceCallback ) { return ServiceFuture . fromResponse ( createOrUpdateWithServiceResponseAsync ( resourceGroupName , networkProfileName , parameters ) , serviceCallback ) ; }
Creates or updates a network profile.

@param resourceGroupName The name of the resource group.
@param networkProfileName The name of the network profile.
@param parameters Parameters supplied to the create or update network profile operation.
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object