CustomRegistryCredentials Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the credentials that will be used to access a custom registry during a run.
public class CustomRegistryCredentials : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.Models.CustomRegistryCredentials>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.Models.CustomRegistryCredentials>
type CustomRegistryCredentials = class
interface IJsonModel<CustomRegistryCredentials>
interface IPersistableModel<CustomRegistryCredentials>
Public Class CustomRegistryCredentials
Implements IJsonModel(Of CustomRegistryCredentials), IPersistableModel(Of CustomRegistryCredentials)
- Inheritance
-
CustomRegistryCredentials
- Implements
Constructors
CustomRegistryCredentials() |
Initializes a new instance of CustomRegistryCredentials. |
Properties
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 |
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
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<CustomRegistryCredentials>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<CustomRegistryCredentials>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<CustomRegistryCredentials>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<CustomRegistryCredentials>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<CustomRegistryCredentials>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |