Partilhar via


ContainerAppRegistryCredentials Class

Definition

Container App Private Registry.

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

Constructors

ContainerAppRegistryCredentials()

Initializes a new instance of ContainerAppRegistryCredentials.

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<ContainerAppRegistryCredentials>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppRegistryCredentials>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppRegistryCredentials>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppRegistryCredentials>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppRegistryCredentials>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to