Delen via


RegistriesOperationsExtensions.BeginImportImageAsync Method

Definition

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

public static System.Threading.Tasks.Task BeginImportImageAsync (this Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistriesOperations operations, string resourceGroupName, string registryName, Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.ImportImageParametersInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginImportImageAsync : Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistriesOperations * string * string * Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.ImportImageParametersInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginImportImageAsync (operations As IRegistriesOperations, resourceGroupName As String, registryName As String, parameters As ImportImageParametersInner, 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
ImportImageParametersInner

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to