次の方法で共有


ImageRepositoryCredentials Class

Definition

ImageRepositoryCredentials represents the credentials used to login to the image repository.

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

Constructors

ImageRepositoryCredentials(String, String)

Initializes a new instance of ImageRepositoryCredentials.

Properties

Password

The password or token used to access an image in the target repository.

RegistryUriString

The URL of the authentication server used to validate the repository credentials.

Username

The username used to access an image in the target repository.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ImageRepositoryCredentials>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ImageRepositoryCredentials>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ImageRepositoryCredentials>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ImageRepositoryCredentials>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ImageRepositoryCredentials>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to