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

RetentionVolume Class

Definition

The retention details of the MT.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.RetentionVolumeTypeConverter))]
public class RetentionVolume : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IRetentionVolume
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.RetentionVolumeTypeConverter))>]
type RetentionVolume = class
    interface IRetentionVolume
    interface IJsonSerializable
Public Class RetentionVolume
Implements IRetentionVolume
Inheritance
RetentionVolume
Attributes
Implements

Constructors

RetentionVolume()

Creates an new RetentionVolume instance.

Properties

CapacityInByte

The volume capacity.

FreeSpaceInByte

The free space available in this volume.

ThresholdPercentage

The threshold percentage.

VolumeName

The volume name.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RetentionVolume.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RetentionVolume.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IRetentionVolume.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RetentionVolume into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to