你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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