HciVmInstanceStorageProfileOSDisk 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.
VHD to attach as OS disk.
public class HciVmInstanceStorageProfileOSDisk : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Hci.Vm.Models.HciVmInstanceStorageProfileOSDisk>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Hci.Vm.Models.HciVmInstanceStorageProfileOSDisk>
type HciVmInstanceStorageProfileOSDisk = class
interface IJsonModel<HciVmInstanceStorageProfileOSDisk>
interface IPersistableModel<HciVmInstanceStorageProfileOSDisk>
Public Class HciVmInstanceStorageProfileOSDisk
Implements IJsonModel(Of HciVmInstanceStorageProfileOSDisk), IPersistableModel(Of HciVmInstanceStorageProfileOSDisk)
- Inheritance
-
HciVmInstanceStorageProfileOSDisk
- Implements
Constructors
HciVmInstanceStorageProfileOSDisk() |
Initializes a new instance of HciVmInstanceStorageProfileOSDisk. |
Properties
Id |
The ARM ID for a Virtual Hard Disk. |
OSType |
This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux. |
SecurityEncryptionType |
Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<HciVmInstanceStorageProfileOSDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<HciVmInstanceStorageProfileOSDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<HciVmInstanceStorageProfileOSDisk>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<HciVmInstanceStorageProfileOSDisk>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<HciVmInstanceStorageProfileOSDisk>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |