ContainerRegistryImportImageContent Class

Definition

The ContainerRegistryImportImageContent.

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

Constructors

ContainerRegistryImportImageContent(ContainerRegistryImportSource)

Initializes a new instance of ContainerRegistryImportImageContent.

Properties

Mode

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

Source

The source of the image.

TargetTags

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

UntaggedTargetRepositories

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistryImportImageContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryImportImageContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryImportImageContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryImportImageContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryImportImageContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to