共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.InMageReplicationDetails Method

Definition

Initializes a new instance of InMageReplicationDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageReplicationDetails InMageReplicationDetails (string activeSiteType = default, int? sourceVmCpuCount = default, int? sourceVmRamSizeInMB = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryOSDiskDetails osDetails = default, string protectionStage = default, string vmId = default, string vmProtectionState = default, string vmProtectionStateDescription = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InitialReplicationDetails resyncDetails = default, DateTimeOffset? retentionWindowStartOn = default, DateTimeOffset? retentionWindowEndOn = default, double? compressedDataRateInMB = default, double? uncompressedDataRateInMB = default, long? rpoInSeconds = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageProtectedDiskDetails> protectedDisks = default, System.Net.IPAddress ipAddress = default, DateTimeOffset? lastHeartbeatReceivedOn = default, Guid? processServerId = default, string masterTargetId = default, System.Collections.Generic.IReadOnlyDictionary<string,DateTimeOffset> consistencyPoints = default, string diskResized = default, string rebootAfterUpdateStatus = default, string multiVmGroupId = default, string multiVmGroupName = default, string multiVmSyncStatus = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAgentDetails agentDetails = default, string vCenterInfrastructureId = default, string infrastructureVmId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails> vmNics = default, string discoveryType = default, Azure.Core.ResourceIdentifier azureStorageAccountId = default, System.Collections.Generic.IEnumerable<string> datastores = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> validationErrors = default, DateTimeOffset? lastRpoCalculatedOn = default, DateTimeOffset? lastUpdateReceivedOn = default, string replicaId = default, string osVersion = default, bool? isAdditionalStatsAvailable = default, long? totalDataTransferred = default, string totalProgressHealth = default);
static member InMageReplicationDetails : string * Nullable<int> * Nullable<int> * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryOSDiskDetails * string * string * string * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InitialReplicationDetails * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<double> * Nullable<double> * Nullable<int64> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageProtectedDiskDetails> * System.Net.IPAddress * Nullable<DateTimeOffset> * Nullable<Guid> * string * System.Collections.Generic.IReadOnlyDictionary<string, DateTimeOffset> * string * string * string * string * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAgentDetails * string * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails> * string * Azure.Core.ResourceIdentifier * seq<string> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * Nullable<bool> * Nullable<int64> * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageReplicationDetails
Public Shared Function InMageReplicationDetails (Optional activeSiteType As String = Nothing, Optional sourceVmCpuCount As Nullable(Of Integer) = Nothing, Optional sourceVmRamSizeInMB As Nullable(Of Integer) = Nothing, Optional osDetails As SiteRecoveryOSDiskDetails = Nothing, Optional protectionStage As String = Nothing, Optional vmId As String = Nothing, Optional vmProtectionState As String = Nothing, Optional vmProtectionStateDescription As String = Nothing, Optional resyncDetails As InitialReplicationDetails = Nothing, Optional retentionWindowStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional retentionWindowEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional compressedDataRateInMB As Nullable(Of Double) = Nothing, Optional uncompressedDataRateInMB As Nullable(Of Double) = Nothing, Optional rpoInSeconds As Nullable(Of Long) = Nothing, Optional protectedDisks As IEnumerable(Of InMageProtectedDiskDetails) = Nothing, Optional ipAddress As IPAddress = Nothing, Optional lastHeartbeatReceivedOn As Nullable(Of DateTimeOffset) = Nothing, Optional processServerId As Nullable(Of Guid) = Nothing, Optional masterTargetId As String = Nothing, Optional consistencyPoints As IReadOnlyDictionary(Of String, DateTimeOffset) = Nothing, Optional diskResized As String = Nothing, Optional rebootAfterUpdateStatus As String = Nothing, Optional multiVmGroupId As String = Nothing, Optional multiVmGroupName As String = Nothing, Optional multiVmSyncStatus As String = Nothing, Optional agentDetails As InMageAgentDetails = Nothing, Optional vCenterInfrastructureId As String = Nothing, Optional infrastructureVmId As String = Nothing, Optional vmNics As IEnumerable(Of VmNicDetails) = Nothing, Optional discoveryType As String = Nothing, Optional azureStorageAccountId As ResourceIdentifier = Nothing, Optional datastores As IEnumerable(Of String) = Nothing, Optional validationErrors As IEnumerable(Of SiteRecoveryHealthError) = Nothing, Optional lastRpoCalculatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastUpdateReceivedOn As Nullable(Of DateTimeOffset) = Nothing, Optional replicaId As String = Nothing, Optional osVersion As String = Nothing, Optional isAdditionalStatsAvailable As Nullable(Of Boolean) = Nothing, Optional totalDataTransferred As Nullable(Of Long) = Nothing, Optional totalProgressHealth As String = Nothing) As InMageReplicationDetails

Parameters

activeSiteType
String

The active location of the VM. If the VM is being protected from Azure, this field will take values from { Azure, OnPrem }. If the VM is being protected between two data-centers, this field will be OnPrem always.

sourceVmCpuCount
Nullable<Int32>

The CPU count of the VM on the primary side.

sourceVmRamSizeInMB
Nullable<Int32>

The RAM size of the VM on the primary side.

osDetails
SiteRecoveryOSDiskDetails

The OS details.

protectionStage
String

The protection stage.

vmId
String

The virtual machine Id.

vmProtectionState
String

The protection state for the vm.

vmProtectionStateDescription
String

The protection state description for the vm.

resyncDetails
InitialReplicationDetails

The resync details of the machine.

retentionWindowStartOn
Nullable<DateTimeOffset>

The retention window start time.

retentionWindowEndOn
Nullable<DateTimeOffset>

The retention window end time.

compressedDataRateInMB
Nullable<Double>

The compressed data change rate in MB.

uncompressedDataRateInMB
Nullable<Double>

The uncompressed data change rate in MB.

rpoInSeconds
Nullable<Int64>

The RPO in seconds.

protectedDisks
IEnumerable<InMageProtectedDiskDetails>

The list of protected disks.

ipAddress
IPAddress

The source IP address.

lastHeartbeatReceivedOn
Nullable<DateTimeOffset>

The last heartbeat received from the source server.

processServerId
Nullable<Guid>

The process server Id.

masterTargetId
String

The master target Id.

consistencyPoints
IReadOnlyDictionary<String,DateTimeOffset>

The collection of Consistency points.

diskResized
String

A value indicating whether any disk is resized for this VM.

rebootAfterUpdateStatus
String

A value indicating whether the source server requires a restart after update.

multiVmGroupId
String

The multi vm group Id, if any.

multiVmGroupName
String

The multi vm group name, if any.

multiVmSyncStatus
String

A value indicating whether the multi vm sync is enabled or disabled.

agentDetails
InMageAgentDetails

The agent details.

vCenterInfrastructureId
String

The vCenter infrastructure Id.

infrastructureVmId
String

The infrastructure VM Id.

vmNics
IEnumerable<VmNicDetails>

The PE Network details.

discoveryType
String

A value indicating the discovery type of the machine.

azureStorageAccountId
ResourceIdentifier

A value indicating the underlying Azure storage account. If the VM is not running in Azure, this value shall be set to null.

datastores
IEnumerable<String>

The datastores of the on-premise machine Value can be list of strings that contain datastore names.

validationErrors
IEnumerable<SiteRecoveryHealthError>

The validation errors of the on-premise machine Value can be list of validation errors.

lastRpoCalculatedOn
Nullable<DateTimeOffset>

The last RPO calculated time.

lastUpdateReceivedOn
Nullable<DateTimeOffset>

The last update time received from on-prem components.

replicaId
String

The replica id of the protected item.

osVersion
String

The OS Version of the protected item.

isAdditionalStatsAvailable
Nullable<Boolean>

A value indicating whether additional IR stats are available or not.

totalDataTransferred
Nullable<Int64>

The total transferred data in bytes.

totalProgressHealth
String

The progress health.

Returns

A new InMageReplicationDetails instance for mocking.

Applies to