LargePersonGroupOperationsExtensions.UpdateAsync(ILargePersonGroupOperations, String, String, String, CancellationToken) Method

Definition

Update an existing large person group's display name and userData. The properties which does not appear in request body will not be updated.

public static System.Threading.Tasks.Task UpdateAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.ILargePersonGroupOperations operations, string largePersonGroupId, string name = default, string userData = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.CognitiveServices.Vision.Face.ILargePersonGroupOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdateAsync (operations As ILargePersonGroupOperations, largePersonGroupId As String, Optional name As String = Nothing, Optional userData As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ILargePersonGroupOperations

The operations group for this extension method.

largePersonGroupId
String

Id referencing a particular large person group.

name
String

User defined name, maximum length is 128.

userData
String

User specified data. Length should not exceed 16KB.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task

Applies to