通过


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

PersistentDisk Class

Definition

Persistent disk payload

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.PersistentDiskTypeConverter))]
public class PersistentDisk : Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IPersistentDisk
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.PersistentDiskTypeConverter))>]
type PersistentDisk = class
    interface IPersistentDisk
    interface IJsonSerializable
Public Class PersistentDisk
Implements IPersistentDisk
Inheritance
PersistentDisk
Attributes
Implements

Constructors

Name Description
PersistentDisk()

Creates an new PersistentDisk instance.

Properties

Name Description
MountPath

Mount path of the persistent disk

SizeInGb

Size of the persistent disk in GB

UsedInGb

Size of the used persistent disk in GB

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PersistentDisk.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PersistentDisk.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IPersistentDisk.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PersistentDisk into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to