Delen via


ContainerRegistryImportSource(String) Constructor

Definition

Initializes a new instance of ContainerRegistryImportSource.

public ContainerRegistryImportSource (string sourceImage);
new Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImportSource : string -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImportSource
Public Sub New (sourceImage As String)

Parameters

sourceImage
String

Repository name of the source image. Specify an image by repository ('hello-world'). This will use the 'latest' tag. Specify an image by tag ('hello-world:latest'). Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123').

Exceptions

sourceImage is null.

Applies to