RegistryArtifact.UpdateTagPropertiesAsync 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 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
- 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.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET