Share via


Evaluators.UpdateVersionAsync Method

Definition

[Protocol Method] Update an existing EvaluatorVersion with the given version id

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

Parameters

name
String

The name of the resource.

version
String

The version of the EvaluatorVersion to update.

content
BinaryContent

The content to send as the body of the request.

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