RegistryArtifact.UpdateTagProperties(String, ArtifactTagProperties, CancellationToken) Method

Definition

Update tag attributes.

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

Parameters

tag
System.String

Tag name.

value
ArtifactTagProperties

Tag property value.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

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