Partager via


IImportImageParameters Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ImportImageParametersTypeConverter))]
public interface IImportImageParameters : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ImportImageParametersTypeConverter))>]
type IImportImageParameters = interface
    interface IJsonSerializable
Public Interface IImportImageParameters
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

CredentialsPassword

The password used to authenticate with the source registry.

CredentialsUsername

The username to authenticate with the source registry.

Mode

When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.

SourceImage

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

SourceRegistryUri

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

SourceResourceId

The resource identifier of the source Azure Container Registry.

TargetTag

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

UntaggedTargetRepository

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

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to