ImportSource Class
ImportSource.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.containerregistry._serialization.ModelImportSource
Constructor
ImportSource(*, source_image: str, resource_id: str | None = None, registry_uri: str | None = None, credentials: _models.ImportSourceCredentials | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
resource_id
|
The resource identifier of the source Azure Container Registry. |
registry_uri
|
The address of the source registry (e.g. 'mcr.microsoft.com'). |
credentials
|
Credentials used when importing from a registry uri. |
source_image
|
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'). Required. |
Variables
Name | Description |
---|---|
resource_id
|
The resource identifier of the source Azure Container Registry. |
registry_uri
|
The address of the source registry (e.g. 'mcr.microsoft.com'). |
credentials
|
Credentials used when importing from a registry uri. |
source_image
|
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'). Required. |
Azure SDK for Python