Udostępnij za pośrednictwem


ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryRetentionVolume Method

Definition

Initializes a new instance of SiteRecoveryRetentionVolume.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryRetentionVolume SiteRecoveryRetentionVolume (string volumeName = default, long? capacityInBytes = default, long? freeSpaceInBytes = default, int? thresholdPercentage = default);
static member SiteRecoveryRetentionVolume : string * Nullable<int64> * Nullable<int64> * Nullable<int> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryRetentionVolume
Public Shared Function SiteRecoveryRetentionVolume (Optional volumeName As String = Nothing, Optional capacityInBytes As Nullable(Of Long) = Nothing, Optional freeSpaceInBytes As Nullable(Of Long) = Nothing, Optional thresholdPercentage As Nullable(Of Integer) = Nothing) As SiteRecoveryRetentionVolume

Parameters

volumeName
String

The volume name.

capacityInBytes
Nullable<Int64>

The volume capacity.

freeSpaceInBytes
Nullable<Int64>

The free space available in this volume.

thresholdPercentage
Nullable<Int32>

The threshold percentage.

Returns

A new SiteRecoveryRetentionVolume instance for mocking.

Applies to