CustomVisionTrainingClientExtensions.CreateImageTagsAsync(ICustomVisionTrainingClient, Guid, ImageTagCreateBatch, CancellationToken) Method

Definition

Associate a set of images with a set of tags.

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageTagCreateSummary> CreateImageTagsAsync (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageTagCreateBatch batch, System.Threading.CancellationToken cancellationToken = default);
static member CreateImageTagsAsync : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageTagCreateBatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageTagCreateSummary>
<Extension()>
Public Function CreateImageTagsAsync (operations As ICustomVisionTrainingClient, projectId As Guid, batch As ImageTagCreateBatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ImageTagCreateSummary)

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The project id.

batch
ImageTagCreateBatch

Batch of image tags. Limited to 128 tags per batch.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<ImageTagCreateSummary>

Applies to