共用方式為


OSProfileForVmInstance Class

Definition

Defines the resource properties.

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

Constructors

OSProfileForVmInstance()

Initializes a new instance of OSProfileForVmInstance.

Properties

AdminPassword

Admin password of the virtual machine.

ComputerName

Gets or sets computer name.

OSSku

Gets os sku.

OSType

Gets the type of the os.

OSVersion

Gets os version.

Explicit Interface Implementations

IJsonModel<OSProfileForVmInstance>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OSProfileForVmInstance>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OSProfileForVmInstance>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OSProfileForVmInstance>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OSProfileForVmInstance>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to