Share via


ContainerRegistryReference Class

Definition

A private container registry.

public class ContainerRegistryReference : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.ContainerRegistryReference>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.ContainerRegistryReference>
type ContainerRegistryReference = class
    interface IJsonModel<ContainerRegistryReference>
    interface IPersistableModel<ContainerRegistryReference>
Public Class ContainerRegistryReference
Implements IJsonModel(Of ContainerRegistryReference), IPersistableModel(Of ContainerRegistryReference)
Inheritance
ContainerRegistryReference
Implements

Constructors

ContainerRegistryReference()

Initializes a new instance of ContainerRegistryReference.

Properties

IdentityReference

The reference to the user assigned identity to use to access an Azure Container Registry instead of username and password.

Password

The password to log into the registry server.

RegistryServer

The registry URL. If omitted, the default is "docker.io".

Username

The user name to log into the registry server.

Explicit Interface Implementations

IJsonModel<ContainerRegistryReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryReference>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to