ImportSource Class

ImportSource.

All required parameters must be populated in order to send to Azure.

Inheritance
ImportSource

Constructor

ImportSource(*, source_image: str, resource_id: Optional[str] = None, registry_uri: Optional[str] = None, credentials: Optional[azure.mgmt.containerregistry.v2021_06_01_preview.models._models_py3.ImportSourceCredentials] = None, **kwargs)

Variables

resource_id
str

The resource identifier of the source Azure Container Registry.

registry_uri
str

The address of the source registry (e.g. 'mcr.microsoft.com').

credentials
ImportSourceCredentials

Credentials used when importing from a registry uri.

source_image
str

Required. 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').