Skip to main content

ParallelModelEnsembleClient.CancelAsync method

Requests cancellation of the specified ensemble job.

public Task<JsonElement> CancelAsync(Guid modelId, Guid jobId, string computeSize,
TimeSpan? timeout = default, CancellationToken cancellationToken = default)
parameterdescription
modelIdThe model identifier.
jobIdThe job identifier.
computeSizeThe compute size identifier sent with the request.
timeoutAn optional timeout for the API request.
cancellationTokenA token used to cancel the asynchronous operation.

Return Value​

A task that returns the cancellation response.

Exceptions​

exceptioncondition
ParallelModelConfigurationExceptionA required identifier, compute size or supplied encryption key is invalid.

See Also​