SourceRegistryCredentials 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 credential parameters for accessing the source registry.
public class SourceRegistryCredentials : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.Models.SourceRegistryCredentials>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.Models.SourceRegistryCredentials>
type SourceRegistryCredentials = class
interface IJsonModel<SourceRegistryCredentials>
interface IPersistableModel<SourceRegistryCredentials>
Public Class SourceRegistryCredentials
Implements IJsonModel(Of SourceRegistryCredentials), IPersistableModel(Of SourceRegistryCredentials)
- Inheritance
-
SourceRegistryCredentials
- Implements
Constructors
| SourceRegistryCredentials() |
Initializes a new instance of SourceRegistryCredentials. |
Properties
| Identity |
The Entra identity used for source registry login.
The value is |
| LoginMode |
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<SourceRegistryCredentials>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<SourceRegistryCredentials>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<SourceRegistryCredentials>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<SourceRegistryCredentials>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<SourceRegistryCredentials>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |