你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

OSDisk Class

Definition

Settings for the operating system disk.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.OSDiskTypeConverter))]
public class OSDisk : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.IOSDisk
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.OSDiskTypeConverter))>]
type OSDisk = class
    interface IOSDisk
    interface IJsonSerializable
Public Class OSDisk
Implements IOSDisk
Inheritance
OSDisk
Attributes
Implements

Constructors

OSDisk()

Creates an new OSDisk instance.

Properties

DiskSizeGb

The size of the OS Disk in gigabytes.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OSDisk.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OSDisk.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.IOSDisk.

FromJsonString(String)

Creates a new instance of OSDisk, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of OSDisk into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to