Share via


HciVmImageRepositoryCredentials Class

Definition

The credentials used to login to the image repository that has access to the specified image.

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

Constructors

HciVmImageRepositoryCredentials(String, String)

Initializes a new instance of HciVmImageRepositoryCredentials.

Properties

Password

Password for accessing image repository.

Username

Username for accessing image repository.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<HciVmImageRepositoryCredentials>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HciVmImageRepositoryCredentials>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HciVmImageRepositoryCredentials>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HciVmImageRepositoryCredentials>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HciVmImageRepositoryCredentials>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to