你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
OSProfileForVmInstance Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |