Disk Class

Definition

Azure Managed Disk to attach to the Disk Pool.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DiskPool.Models.DiskTypeConverter))]
public class Disk : Microsoft.Azure.PowerShell.Cmdlets.DiskPool.Models.IDisk
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DiskPool.Models.DiskTypeConverter))>]
type Disk = class
    interface IDisk
    interface IJsonSerializable
Public Class Disk
Implements IDisk
Inheritance
Disk
Attributes
Implements

Constructors

Name Description
Disk()

Creates an new Disk instance.

Properties

Name Description
Id

Unique Azure Resource ID of the Managed Disk.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Disk.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Disk.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DiskPool.Models.IDisk.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Disk into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to