ImportImageParameters Class

ImportImageParameters.

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

Inheritance
ImportImageParameters

Constructor

ImportImageParameters(*, source: azure.mgmt.containerregistry.v2021_08_01_preview.models._models_py3.ImportSource, target_tags: Optional[List[str]] = None, untagged_target_repositories: Optional[List[str]] = None, mode: Optional[Union[str, azure.mgmt.containerregistry.v2021_08_01_preview.models._container_registry_management_client_enums.ImportMode]] = 'NoForce', **kwargs)

Variables

source
ImportSource

Required. The source of the image.

target_tags
list[str]

List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).

untagged_target_repositories
list[str]

List of strings of repository names to do a manifest only copy. No tag will be created.

mode
str or ImportMode

When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. Possible values include: "NoForce", "Force". Default value: "NoForce".