RegistryArtifact.UpdateTagPropertiesAsync(String, ArtifactTagProperties, CancellationToken) Method

Definition

Update tag attributes.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Containers.ContainerRegistry.ArtifactTagProperties>> UpdateTagPropertiesAsync (string tag, Azure.Containers.ContainerRegistry.ArtifactTagProperties value, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateTagPropertiesAsync : string * Azure.Containers.ContainerRegistry.ArtifactTagProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Containers.ContainerRegistry.ArtifactTagProperties>>
override this.UpdateTagPropertiesAsync : string * Azure.Containers.ContainerRegistry.ArtifactTagProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Containers.ContainerRegistry.ArtifactTagProperties>>
Public Overridable Function UpdateTagPropertiesAsync (tag As String, value As ArtifactTagProperties, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArtifactTagProperties))

Parameters

tag
System.String

Tag name.

value
ArtifactTagProperties

Tag property value.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response<ArtifactTagProperties>>

Exceptions

System.ArgumentNullException

Thrown when value is null.

System.ArgumentException

Thrown when tag is empty.

Thrown when a failure is returned by the Container Registry service.

Applies to