Disk 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.
Describes a disk on the machine
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.DiskTypeConverter))]
public class Disk : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IDisk
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.DiskTypeConverter))>]
type Disk = class
interface IDisk
interface IJsonSerializable
Public Class Disk
Implements IDisk
- Inheritance
-
Disk
- Attributes
- Implements
Constructors
Disk() |
Creates an new Disk instance. |
Properties
GeneratedId |
The generated ID of the disk. |
Id |
The ID of the disk. |
MaxSizeInByte |
The size of the disk, in bytes |
Name |
The name of the disk. |
Path |
The path of the disk. |
Type |
The type of the disk. |
UsedSpaceInByte |
The amount of space used on the disk, in bytes |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Disk. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IDisk. |
FromJsonString(String) |
Creates a new instance of Disk, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |