Share via


HciVmInstanceOSProfile Class

Definition

OsProfile - describes the configuration of the operating system and sets login data.

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

Constructors

HciVmInstanceOSProfile()

Initializes a new instance of HciVmInstanceOSProfile.

Properties

AdminPassword

AdminPassword - admin password.

AdminUsername

AdminUsername - admin username.

ComputerName

ComputerName - name of the compute.

LinuxConfiguration

LinuxConfiguration - linux specific configuration values for the virtual machine instance.

WindowsConfiguration

Windows Configuration for the virtual machine instance.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<HciVmInstanceOSProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HciVmInstanceOSProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HciVmInstanceOSProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HciVmInstanceOSProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HciVmInstanceOSProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to