Share via


ContainerRegistryImportSource Class

Definition

The ContainerRegistryImportSource.

public class ContainerRegistryImportSource : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImportSource>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImportSource>
type ContainerRegistryImportSource = class
    interface IJsonModel<ContainerRegistryImportSource>
    interface IPersistableModel<ContainerRegistryImportSource>
Public Class ContainerRegistryImportSource
Implements IJsonModel(Of ContainerRegistryImportSource), IPersistableModel(Of ContainerRegistryImportSource)
Inheritance
ContainerRegistryImportSource
Implements

Constructors

ContainerRegistryImportSource(String)

Initializes a new instance of ContainerRegistryImportSource.

Properties

Credentials

Credentials used when importing from a registry uri.

RegistryAddress

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

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistryImportSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContainerRegistryImportSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryImportSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryImportSource>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContainerRegistryImportSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to