Partager via


EvaluationsClient.Update(String, RequestContent, RequestContext) Method

Definition

[Protocol Method] Resource update operation template.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Response Update (string id, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member Update : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.Update : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
Public Overridable Function Update (id As String, content As RequestContent, Optional context As RequestContext = Nothing) As Response

Parameters

id
String

Identifier of the evaluation.

content
RequestContent

The content to send as the body of the request.

context
RequestContext

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

Returns

The response returned from the service.

Exceptions

id or content is null.

id is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to