Compartir a través de


OSDisk Class

Definition

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

Constructors

Name Description
OSDisk()

Creates an new OSDisk instance.

Properties

Name Description
DiskSizeGb

Specifies the size of os disk in gigabytes. This is the fully expanded disk size needed of the VHD image on the ASE. This disk size should be greater than the size of the VHD provided in vhdUri.

Name

The VHD name.

OSType

The OS type.

VhdUri

Specifies the virtual hard disk's uri.

Methods

Name Description
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.ConnectedNetwork.Models.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.

ToString()

Applies to