Share via


AvsHostProperties Class

Definition

The properties of a host. Please note AvsHostProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include GeneralAvsHostProperties and SpecializedAvsHostProperties.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Avs.Models.UnknownAvsHostProperties))]
public abstract class AvsHostProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Avs.Models.AvsHostProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Avs.Models.AvsHostProperties>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Avs.Models.UnknownAvsHostProperties))>]
type AvsHostProperties = class
    interface IJsonModel<AvsHostProperties>
    interface IPersistableModel<AvsHostProperties>
Public MustInherit Class AvsHostProperties
Implements IJsonModel(Of AvsHostProperties), IPersistableModel(Of AvsHostProperties)
Inheritance
AvsHostProperties
Derived
Attributes
Implements

Constructors

AvsHostProperties()

Initializes a new instance of AvsHostProperties.

Properties

DisplayName

Display name of the host in VMware vCenter.

FaultDomain

Gets the fault domain.

Fqdn

Fully qualified domain name of the host.

Maintenance

If provided, the host is in maintenance. The value is the reason for maintenance.

MoRefId

vCenter managed object reference ID of the host.

ProvisioningState

The state of the host provisioning.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AvsHostProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AvsHostProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AvsHostProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AvsHostProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AvsHostProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to