다음을 통해 공유


HciVmGuestCredential Class

Definition

Username / Password Credentials to connect to guest.

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

Constructors

HciVmGuestCredential()

Initializes a new instance of HciVmGuestCredential.

Properties

Password

The password to connect with the guest.

Username

The username to connect with the guest.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<HciVmGuestCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HciVmGuestCredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HciVmGuestCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HciVmGuestCredential>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HciVmGuestCredential>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to