Skip to main content

ParallelModelGaussianProcessClient.SendAsync<TRequest> method

Submits a Gaussian process job for the specified model.

public Task<JsonElement> SendAsync<TRequest>(Guid modelId, TRequest request, string computeSize,
string trainEncryptionKey, string testEncryptionKey, string outputEncryptionKey,
TimeSpan? timeout = default, CancellationToken cancellationToken = default)
where TRequest : class, IParallelModelGaussianProcessSendRequest
parameterdescription
TRequestThe type of the job submission request.
modelIdThe model identifier.
requestThe job submission request containing the input and output configuration.
computeSizeThe compute size identifier sent with the request.
trainEncryptionKeyThe Base64 encryption key for the training data.
testEncryptionKeyThe Base64 encryption key for the test data.
outputEncryptionKeyThe Base64 encryption key for the output data or artifact.
timeoutAn optional timeout for the API request.
cancellationTokenA token used to cancel the asynchronous operation.

Return Value​

A task that returns the job submission response.

Exceptions​

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

See Also​