Share via


RetentionVolume Class

Definition

The retention details of the MT.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.RetentionVolumeTypeConverter))]
public class RetentionVolume : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IRetentionVolume
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.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.Api202301.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