Dela via


RegistriesOperationsExtensions.ImportImageAsync Method

Definition

Copies an image to this container registry from the specified container registry.

public static System.Threading.Tasks.Task ImportImageAsync (this Microsoft.Azure.Management.ContainerRegistry.IRegistriesOperations operations, string resourceGroupName, string registryName, Microsoft.Azure.Management.ContainerRegistry.Models.ImportImageParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member ImportImageAsync : Microsoft.Azure.Management.ContainerRegistry.IRegistriesOperations * string * string * Microsoft.Azure.Management.ContainerRegistry.Models.ImportImageParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ImportImageAsync (operations As IRegistriesOperations, resourceGroupName As String, registryName As String, parameters As ImportImageParameters, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IRegistriesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group to which the container registry belongs.

registryName
String

The name of the container registry.

parameters
ImportImageParameters

The parameters specifying the image to copy and the source container registry.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to