Share via


SessionRegistryCredentials Class

Definition

Session pool private registry credentials.

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

Constructors

SessionRegistryCredentials()

Initializes a new instance of SessionRegistryCredentials.

Properties

Identity

A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'.

PasswordSecretRef

The name of the secret that contains the registry login password.

Server

Container registry server.

Username

Container registry username.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SessionRegistryCredentials>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SessionRegistryCredentials>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SessionRegistryCredentials>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SessionRegistryCredentials>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SessionRegistryCredentials>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to