RegistryArtifact.UpdateTagProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update the properties of a given tag.
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
- String
Name of the tag to update properties on.
- value
- ArtifactTagProperties
Tag properties object containing values to update.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
Thrown when value
is null.
Thrown when tag
is empty.
Thrown when a failure is returned by the Container Registry service.