public ServiceFuture<BuildTaskInner> createAsync(String resourceGroupName, String registryName, String buildTaskName, BuildTaskInner buildTaskCreateParameters, final ServiceCallback<BuildTaskInner> serviceCallback) {
        return ServiceFuture.fromResponse(createWithServiceResponseAsync(resourceGroupName, registryName, buildTaskName, buildTaskCreateParameters), serviceCallback);
    }
public ServiceFuture < BuildTaskInner > createAsync ( String resourceGroupName , String registryName , String buildTaskName , BuildTaskInner buildTaskCreateParameters , final ServiceCallback < BuildTaskInner > serviceCallback ) { return ServiceFuture . fromResponse ( createWithServiceResponseAsync ( resourceGroupName , registryName , buildTaskName , buildTaskCreateParameters ) , serviceCallback ) ; }
Creates a build task for a container registry with the specified parameters.

@param resourceGroupName The name of the resource group to which the container registry belongs.
@param registryName The name of the container registry.
@param buildTaskName The name of the container registry build task.
@param buildTaskCreateParameters The parameters for creating a build task.
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object