Freigeben über


MachineDisk Class

Definition

Disk represents the properties of the disk.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.MachineDiskTypeConverter))]
public class MachineDisk : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IMachineDisk
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.MachineDiskTypeConverter))>]
type MachineDisk = class
    interface IMachineDisk
    interface IJsonSerializable
Public Class MachineDisk
Implements IMachineDisk
Inheritance
MachineDisk
Attributes
Implements

Constructors

MachineDisk()

Creates an new MachineDisk instance.

Properties

CapacityGb

The maximum amount of storage in GB.

Connection

The connection type of the rack SKU resource.

Type

The disk type of rack SKU resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MachineDisk.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MachineDisk.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IMachineDisk.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of MachineDisk into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to