Partilhar via


VmInstanceGuestCredential Class

Definition

Username / Password Credentials to connect to guest.

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

Constructors

VmInstanceGuestCredential()

Initializes a new instance of VmInstanceGuestCredential.

Properties

Password

Gets or sets the password to connect with the guest.

PrivateKey

Private key used to authenticate to a virtual machine through ssh.

Username

Gets or sets username to connect with the guest.

Explicit Interface Implementations

IJsonModel<VmInstanceGuestCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VmInstanceGuestCredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VmInstanceGuestCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VmInstanceGuestCredential>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VmInstanceGuestCredential>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to