Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.InMageAzureV2ProtectedDiskDetails Method

Definition

Initializes a new instance of InMageAzureV2ProtectedDiskDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2ProtectedDiskDetails InMageAzureV2ProtectedDiskDetails (string diskId = default, string diskName = default, string protectionStage = default, string healthErrorCode = default, long? rpoInSeconds = default, string resyncRequired = default, int? resyncProgressPercentage = default, long? resyncDurationInSeconds = default, long? diskCapacityInBytes = default, long? fileSystemCapacityInBytes = default, double? sourceDataInMegaBytes = default, double? psDataInMegaBytes = default, double? targetDataInMegaBytes = default, string diskResized = default, DateTimeOffset? lastRpoCalculatedOn = default, long? resyncProcessedBytes = default, long? resyncTotalTransferredBytes = default, long? resyncLast15MinutesTransferredBytes = default, DateTimeOffset? resyncLastDataTransferOn = default, DateTimeOffset? resyncStartOn = default, string progressHealth = default, string progressStatus = default, long? secondsToTakeSwitchProvider = default);
static member InMageAzureV2ProtectedDiskDetails : string * string * string * string * Nullable<int64> * string * Nullable<int> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<double> * Nullable<double> * Nullable<double> * string * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * Nullable<int64> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2ProtectedDiskDetails
Public Shared Function InMageAzureV2ProtectedDiskDetails (Optional diskId As String = Nothing, Optional diskName As String = Nothing, Optional protectionStage As String = Nothing, Optional healthErrorCode As String = Nothing, Optional rpoInSeconds As Nullable(Of Long) = Nothing, Optional resyncRequired As String = Nothing, Optional resyncProgressPercentage As Nullable(Of Integer) = Nothing, Optional resyncDurationInSeconds As Nullable(Of Long) = Nothing, Optional diskCapacityInBytes As Nullable(Of Long) = Nothing, Optional fileSystemCapacityInBytes As Nullable(Of Long) = Nothing, Optional sourceDataInMegaBytes As Nullable(Of Double) = Nothing, Optional psDataInMegaBytes As Nullable(Of Double) = Nothing, Optional targetDataInMegaBytes As Nullable(Of Double) = Nothing, Optional diskResized As String = Nothing, Optional lastRpoCalculatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional resyncProcessedBytes As Nullable(Of Long) = Nothing, Optional resyncTotalTransferredBytes As Nullable(Of Long) = Nothing, Optional resyncLast15MinutesTransferredBytes As Nullable(Of Long) = Nothing, Optional resyncLastDataTransferOn As Nullable(Of DateTimeOffset) = Nothing, Optional resyncStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional progressHealth As String = Nothing, Optional progressStatus As String = Nothing, Optional secondsToTakeSwitchProvider As Nullable(Of Long) = Nothing) As InMageAzureV2ProtectedDiskDetails

Parameters

diskId
String

The disk id.

diskName
String

The disk name.

protectionStage
String

The protection stage.

healthErrorCode
String

The health error code for the disk.

rpoInSeconds
Nullable<Int64>

The RPO in seconds.

resyncRequired
String

A value indicating whether resync is required for this disk.

resyncProgressPercentage
Nullable<Int32>

The resync progress percentage.

resyncDurationInSeconds
Nullable<Int64>

The resync duration in seconds.

diskCapacityInBytes
Nullable<Int64>

The disk capacity in bytes.

fileSystemCapacityInBytes
Nullable<Int64>

The disk file system capacity in bytes.

sourceDataInMegaBytes
Nullable<Double>

The source data transit in MB.

psDataInMegaBytes
Nullable<Double>

The PS data transit in MB.

targetDataInMegaBytes
Nullable<Double>

The target data transit in MB.

diskResized
String

A value indicating whether disk is resized.

lastRpoCalculatedOn
Nullable<DateTimeOffset>

The last RPO calculated time.

resyncProcessedBytes
Nullable<Int64>

The resync processed bytes.

resyncTotalTransferredBytes
Nullable<Int64>

The resync total transferred bytes.

resyncLast15MinutesTransferredBytes
Nullable<Int64>

The resync last 15 minutes transferred bytes.

resyncLastDataTransferOn
Nullable<DateTimeOffset>

The last data transfer time in UTC.

resyncStartOn
Nullable<DateTimeOffset>

The resync start time.

progressHealth
String

The Progress Health.

progressStatus
String

The Progress Status.

secondsToTakeSwitchProvider
Nullable<Int64>

The seconds to take for switch provider.

Returns

A new InMageAzureV2ProtectedDiskDetails instance for mocking.

Applies to