Bagikan melalui


IImportSource Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ImportSourceTypeConverter))]
public interface IImportSource : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ImportSourceTypeConverter))>]
type IImportSource = interface
    interface IJsonSerializable
Public Interface IImportSource
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.

RegistryUri

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

ResourceId

The resource identifier of the source Azure Container Registry.

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

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to