Sdílet prostřednictvím


ImageRepositoryCredential Class

Definition

Image repository credential.

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

Constructors

ImageRepositoryCredential(Uri, String)

Initializes a new instance of ImageRepositoryCredential.

Properties

ImageRepositoryUri

Image repository url (e.g.: mcr.microsoft.com).

Password

Repository user password.

UserName

Repository user name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ImageRepositoryCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ImageRepositoryCredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ImageRepositoryCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ImageRepositoryCredential>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ImageRepositoryCredential>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to