ParallelModelIsotonicClient.DownloadBytesAsync method
Downloads a isotonic job output blob as a byte array.
public Task<byte[]> DownloadBytesAsync(Guid modelId, Guid jobId, Guid blobId, string computeSize,
string inputEncryptionKey, TimeSpan? timeout = default,
CancellationToken cancellationToken = default)
| parameter | description |
|---|---|
| modelId | The model identifier. |
| jobId | The job identifier. |
| blobId | The identifier of the artifact blob to download. |
| computeSize | The compute size identifier sent with the request. |
| inputEncryptionKey | The Base64 encryption key for the input data or artifact. |
| timeout | An optional timeout for the API request. |
| cancellationToken | A token used to cancel the asynchronous operation. |
Return Value
A task that returns the downloaded bytes.
Exceptions
| exception | condition |
|---|---|
| ParallelModelConfigurationException | A required identifier, compute size or supplied encryption key is invalid. |
| ParallelModelTransportException | The download is interrupted by an HTTP transport error. |
See Also
- class ParallelModelIsotonicClient
- namespace ParallelModel.Sdk.ML.Isotonic