RegistryArtifact.GetTagProperties(String, CancellationToken) 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.
Get the properties of the specified tag.
public virtual Azure.Response<Azure.Containers.ContainerRegistry.ArtifactTagProperties> GetTagProperties (string tag, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTagProperties : string * System.Threading.CancellationToken -> Azure.Response<Azure.Containers.ContainerRegistry.ArtifactTagProperties>
override this.GetTagProperties : string * System.Threading.CancellationToken -> Azure.Response<Azure.Containers.ContainerRegistry.ArtifactTagProperties>
Public Overridable Function GetTagProperties (tag As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ArtifactTagProperties)
Parameters
- tag
- String
Tag name.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
Thrown when tag
is null.
Thrown when tag
is empty.
Thrown when a failure is returned by the Container Registry service.