ContainerRegistryCredentials Class

Definition

The parameters that describes a set of credentials that will be used when a run is invoked.

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

Constructors

ContainerRegistryCredentials()

Initializes a new instance of ContainerRegistryCredentials.

Properties

CustomRegistries

Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.

SourceRegistryLoginMode

The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistryCredentials>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryCredentials>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryCredentials>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryCredentials>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryCredentials>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to