IResourceContainerImageBuilder.TagImageAsync 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.
Tags an existing container image with a new target name.
public System.Threading.Tasks.Task TagImageAsync(string localImageName, string targetImageName, System.Threading.CancellationToken cancellationToken = default);
abstract member TagImageAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function TagImageAsync (localImageName As String, targetImageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- localImageName
- String
The name of the local image to tag.
- targetImageName
- String
The target name for the image tag.
- cancellationToken
- CancellationToken
The cancellation token.