Skip to main content

ParallelModelKernelRidgeClient.ResultAsync method

Retrieves the result of the specified kernel ridge job.

public Task<JsonElement> ResultAsync(Guid modelId, Guid jobId, string computeSize,
string inputEncryptionKey, string eventType = "kernel_ridge_blob_uploaded",
string fileName = "result.json", TimeSpan? timeout = default,
CancellationToken cancellationToken = default)
parameterdescription
modelIdThe model identifier.
jobIdThe job identifier.
computeSizeThe compute size identifier sent with the request.
inputEncryptionKeyThe Base64 encryption key for the input data or artifact.
eventTypeThe event type used to locate the generated artifact.
fileNameThe name of the requested file in the artifact.
timeoutAn optional timeout for the API request.
cancellationTokenA token used to cancel the asynchronous operation.

Return Value​

A task that returns the job result.

Exceptions​

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

See Also​