/// <summary> /// Copies an image to this container registry from the specified container /// registry. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group to which the container registry belongs. /// </param> /// <param name='registryName'> /// The name of the container registry. /// </param> /// <param name='parameters'> /// The parameters specifying the image to copy and the source container /// registry. /// </param> public static void BeginImportImage(this IRegistriesOperations operations, string resourceGroupName, string registryName, ImportImageParameters parameters) { operations.BeginImportImageAsync(resourceGroupName, registryName, parameters).GetAwaiter().GetResult(); }