Share via


ContainerRegistryTaskCustomRegistryCredentials Class

Definition

Describes the credentials that will be used to access a custom registry during a run.

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

Constructors

Name Description
ContainerRegistryTaskCustomRegistryCredentials()

Initializes a new instance of ContainerRegistryTaskCustomRegistryCredentials.

Properties

Name Description
Identity

Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.

Password

The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.

UserName

The username for logging into the custom registry.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ContainerRegistryTaskCustomRegistryCredentials>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ContainerRegistryTaskCustomRegistryCredentials>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ContainerRegistryTaskCustomRegistryCredentials>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ContainerRegistryTaskCustomRegistryCredentials>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ContainerRegistryTaskCustomRegistryCredentials>.Write(ModelReaderWriterOptions)

Applies to