VICredential Class

Definition

Username / Password Credentials to connect to vcenter.

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

Constructors

VICredential()

Initializes a new instance of VICredential.

Properties

Password

Gets or sets the password to connect with the vCenter.

Username

Gets or sets username to connect with the vCenter.

Explicit Interface Implementations

IJsonModel<VICredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VICredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VICredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VICredential>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VICredential>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to