Delen via


ImportSource Class

Definition

public class ImportSource
type ImportSource = class
Public Class ImportSource
Inheritance
ImportSource

Constructors

ImportSource()

Initializes a new instance of the ImportSource class.

ImportSource(String, String, String, ImportSourceCredentials)

Initializes a new instance of the ImportSource class.

Properties

Credentials

Gets or sets credentials used when importing from a registry uri.

RegistryUri

Gets or sets the address of the source registry (e.g. 'mcr.microsoft.com').

ResourceId

Gets or sets the resource identifier of the source Azure Container Registry.

SourceImage

Gets or sets 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').

Methods

Validate()

Validate the object.

Applies to