共用方式為


ScVmmGuestCredential Class

Definition

Username / Password Credentials to connect to guest.

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

Constructors

ScVmmGuestCredential(String, String)

Initializes a new instance of ScVmmGuestCredential.

Properties

Password

Gets or sets the password to connect with the guest.

Username

Gets or sets username to connect with the guest.

Explicit Interface Implementations

IJsonModel<ScVmmGuestCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScVmmGuestCredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScVmmGuestCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScVmmGuestCredential>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScVmmGuestCredential>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to