次の方法で共有


ImportImageParameters Class

ImportImageParameters.

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

Inheritance
azure.mgmt.containerregistry._serialization.Model
ImportImageParameters

Constructor

ImportImageParameters(*, source: _models.ImportSource, target_tags: List[str] | None = None, untagged_target_repositories: List[str] | None = None, mode: str | _models.ImportMode = 'NoForce', **kwargs: Any)

Keyword-Only Parameters

Name Description
source

The source of the image. Required.

target_tags

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 of strings of repository names to do a manifest only copy. No tag will be created.

mode

When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. Known values are: "NoForce" and "Force".

Default value: NoForce

Variables

Name Description
source

The source of the image. Required.

target_tags

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 of strings of repository names to do a manifest only copy. No tag will be created.

mode

When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. Known values are: "NoForce" and "Force".