Skip to main content

ParallelModelKernelRidgeClient.ExtractAsync method

Requests extraction of the specified file from a kernel ridge job artifact.

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

Return Value​

A task that returns the extraction response.

Exceptions​

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

See Also​