ProjectEvaluators.StartPendingUpload Method

Definition

Overloads

Name Description
StartPendingUpload(String, String, PendingUploadConfiguration, Nullable<FoundryFeaturesOptInKeys>, CancellationToken)

Start a new or get an existing pending upload of an evaluator for a specific version.

StartPendingUpload(String, String, BinaryContent, String, RequestOptions)

[Protocol Method] Start a new or get an existing pending upload of an evaluator for a specific version.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

StartPendingUpload(String, String, PendingUploadConfiguration, Nullable<FoundryFeaturesOptInKeys>, CancellationToken)

Source:
ProjectEvaluators.cs

Start a new or get an existing pending upload of an evaluator for a specific version.

public virtual System.ClientModel.ClientResult<Azure.AI.Projects.PendingUploadResult> StartPendingUpload(string name, string version, Azure.AI.Projects.PendingUploadConfiguration pendingUploadRequest, Azure.AI.Projects.FoundryFeaturesOptInKeys? foundryFeatures = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartPendingUpload : string * string * Azure.AI.Projects.PendingUploadConfiguration * Nullable<Azure.AI.Projects.FoundryFeaturesOptInKeys> * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.PendingUploadResult>
override this.StartPendingUpload : string * string * Azure.AI.Projects.PendingUploadConfiguration * Nullable<Azure.AI.Projects.FoundryFeaturesOptInKeys> * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.PendingUploadResult>
Public Overridable Function StartPendingUpload (name As String, version As String, pendingUploadRequest As PendingUploadConfiguration, Optional foundryFeatures As Nullable(Of FoundryFeaturesOptInKeys) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ClientResult(Of PendingUploadResult)

Parameters

name
String
version
String

The specific version id of the EvaluatorVersion to operate on.

pendingUploadRequest
PendingUploadConfiguration

The pending upload request parameters.

foundryFeatures
Nullable<FoundryFeaturesOptInKeys>

A feature flag opt-in required when using preview operations or modifying persisted preview resources.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

name, version or pendingUploadRequest is null.

name or version is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

StartPendingUpload(String, String, BinaryContent, String, RequestOptions)

Source:
ProjectEvaluators.cs

[Protocol Method] Start a new or get an existing pending upload of an evaluator for a specific version.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.ClientResult StartPendingUpload(string name, string version, System.ClientModel.BinaryContent content, string foundryFeatures = default, System.ClientModel.Primitives.RequestOptions options = default);
abstract member StartPendingUpload : string * string * System.ClientModel.BinaryContent * string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
override this.StartPendingUpload : string * string * System.ClientModel.BinaryContent * string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
Public Overridable Function StartPendingUpload (name As String, version As String, content As BinaryContent, Optional foundryFeatures As String = Nothing, Optional options As RequestOptions = Nothing) As ClientResult

Parameters

name
String
version
String

The specific version id of the EvaluatorVersion to operate on.

content
BinaryContent

The content to send as the body of the request.

foundryFeatures
String

A feature flag opt-in required when using preview operations or modifying persisted preview resources.

options
RequestOptions

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

name, version or content is null.

name or version is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to