次の方法で共有


ImageOSDisk Class

Definition

Describes an Operating System disk.

public class ImageOSDisk : Azure.ResourceManager.Compute.Models.ImageDisk, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.ImageOSDisk>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.ImageOSDisk>
type ImageOSDisk = class
    inherit ImageDisk
    interface IJsonModel<ImageOSDisk>
    interface IPersistableModel<ImageOSDisk>
Public Class ImageOSDisk
Inherits ImageDisk
Implements IJsonModel(Of ImageOSDisk), IPersistableModel(Of ImageOSDisk)
Inheritance
ImageOSDisk
Implements

Constructors

ImageOSDisk(SupportedOperatingSystemType, OperatingSystemStateType)

Initializes a new instance of ImageOSDisk.

Properties

BlobUri

The Virtual Hard Disk.

(Inherited from ImageDisk)
Caching

Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage..

(Inherited from ImageDisk)
DiskEncryptionSetId

Gets or sets Id.

(Inherited from ImageDisk)
DiskSizeGB

Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB.

(Inherited from ImageDisk)
ManagedDiskId

Gets or sets Id.

(Inherited from ImageDisk)
OSState

The OS State. For managed images, use Generalized.

OSType

This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. Possible values are: Windows, Linux..

SnapshotId

Gets or sets Id.

(Inherited from ImageDisk)
StorageAccountType

Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.

(Inherited from ImageDisk)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ImageDisk)

Explicit Interface Implementations

IJsonModel<ImageDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from ImageDisk)
IJsonModel<ImageDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ImageDisk)
IJsonModel<ImageOSDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ImageOSDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ImageDisk>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ImageDisk)
IPersistableModel<ImageDisk>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ImageDisk)
IPersistableModel<ImageDisk>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ImageDisk)
IPersistableModel<ImageOSDisk>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ImageOSDisk>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ImageOSDisk>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to