Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.InMageAzureV2ReplicationDetails Method

Definition

Initializes a new instance of InMageAzureV2ReplicationDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2ReplicationDetails InMageAzureV2ReplicationDetails (string infrastructureVmId = default, string vCenterInfrastructureId = default, string protectionStage = default, string vmId = default, string vmProtectionState = default, string vmProtectionStateDescription = default, int? resyncProgressPercentage = default, long? rpoInSeconds = default, double? compressedDataRateInMB = default, double? uncompressedDataRateInMB = default, System.Net.IPAddress ipAddress = default, string agentVersion = default, DateTimeOffset? agentExpireOn = default, string isAgentUpdateRequired = default, string isRebootAfterUpdateRequired = default, DateTimeOffset? lastHeartbeat = default, Guid? processServerId = default, string processServerName = default, string multiVmGroupId = default, string multiVmGroupName = default, string multiVmSyncStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2ProtectedDiskDetails> protectedDisks = default, string diskResized = default, string masterTargetId = default, int? sourceVmCpuCount = default, int? sourceVmRamSizeInMB = default, string osType = default, string vhdName = default, string osDiskId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVmDiskDetails> azureVmDiskDetails = default, string recoveryAzureVmName = default, string recoveryAzureVmSize = default, string recoveryAzureStorageAccount = default, Azure.Core.ResourceIdentifier recoveryAzureLogStorageAccountId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails> vmNics = default, Azure.Core.ResourceIdentifier selectedRecoveryAzureNetworkId = default, Azure.Core.ResourceIdentifier selectedTfoAzureNetworkId = default, string selectedSourceNicId = default, string discoveryType = default, string enableRdpOnTargetOption = default, System.Collections.Generic.IEnumerable<string> datastores = default, string targetVmId = default, Azure.Core.ResourceIdentifier recoveryAzureResourceGroupId = default, Azure.Core.ResourceIdentifier recoveryAvailabilitySetId = default, string targetAvailabilityZone = default, Azure.Core.ResourceIdentifier targetProximityPlacementGroupId = default, string useManagedDisks = default, string licenseType = default, string sqlServerLicenseType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> validationErrors = default, DateTimeOffset? lastRpoCalculatedOn = default, DateTimeOffset? lastUpdateReceivedOn = default, string replicaId = default, string osVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2ManagedDiskDetails> protectedManagedDisks = default, DateTimeOffset? lastRecoveryPointReceived = default, string firmwareType = default, string azureVmGeneration = default, bool? isAdditionalStatsAvailable = default, long? totalDataTransferred = default, string totalProgressHealth = default, System.Collections.Generic.IReadOnlyDictionary<string,string> targetVmTags = default, System.Collections.Generic.IReadOnlyDictionary<string,string> seedManagedDiskTags = default, System.Collections.Generic.IReadOnlyDictionary<string,string> targetManagedDiskTags = default, System.Collections.Generic.IReadOnlyDictionary<string,string> targetNicTags = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2SwitchProviderBlockingErrorDetails> switchProviderBlockingErrorDetails = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2SwitchProviderDetails switchProviderDetails = default, System.Collections.Generic.IEnumerable<string> supportedOSVersions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.OSUpgradeSupportedVersions> allAvailableOSUpgradeConfigurations = default, string osName = default);
static member InMageAzureV2ReplicationDetails : string * string * string * string * string * string * Nullable<int> * Nullable<int64> * Nullable<double> * Nullable<double> * System.Net.IPAddress * string * Nullable<DateTimeOffset> * string * string * Nullable<DateTimeOffset> * Nullable<Guid> * string * string * string * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2ProtectedDiskDetails> * string * string * Nullable<int> * Nullable<int> * string * string * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVmDiskDetails> * string * string * string * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * string * string * seq<string> * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * string * string * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2ManagedDiskDetails> * Nullable<DateTimeOffset> * string * string * Nullable<bool> * Nullable<int64> * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * System.Collections.Generic.IReadOnlyDictionary<string, string> * System.Collections.Generic.IReadOnlyDictionary<string, string> * System.Collections.Generic.IReadOnlyDictionary<string, string> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2SwitchProviderBlockingErrorDetails> * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2SwitchProviderDetails * seq<string> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.OSUpgradeSupportedVersions> * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2ReplicationDetails
Public Shared Function InMageAzureV2ReplicationDetails (Optional infrastructureVmId As String = Nothing, Optional vCenterInfrastructureId As String = Nothing, Optional protectionStage As String = Nothing, Optional vmId As String = Nothing, Optional vmProtectionState As String = Nothing, Optional vmProtectionStateDescription As String = Nothing, Optional resyncProgressPercentage As Nullable(Of Integer) = Nothing, Optional rpoInSeconds As Nullable(Of Long) = Nothing, Optional compressedDataRateInMB As Nullable(Of Double) = Nothing, Optional uncompressedDataRateInMB As Nullable(Of Double) = Nothing, Optional ipAddress As IPAddress = Nothing, Optional agentVersion As String = Nothing, Optional agentExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional isAgentUpdateRequired As String = Nothing, Optional isRebootAfterUpdateRequired As String = Nothing, Optional lastHeartbeat As Nullable(Of DateTimeOffset) = Nothing, Optional processServerId As Nullable(Of Guid) = Nothing, Optional processServerName As String = Nothing, Optional multiVmGroupId As String = Nothing, Optional multiVmGroupName As String = Nothing, Optional multiVmSyncStatus As String = Nothing, Optional protectedDisks As IEnumerable(Of InMageAzureV2ProtectedDiskDetails) = Nothing, Optional diskResized As String = Nothing, Optional masterTargetId As String = Nothing, Optional sourceVmCpuCount As Nullable(Of Integer) = Nothing, Optional sourceVmRamSizeInMB As Nullable(Of Integer) = Nothing, Optional osType As String = Nothing, Optional vhdName As String = Nothing, Optional osDiskId As String = Nothing, Optional azureVmDiskDetails As IEnumerable(Of SiteRecoveryVmDiskDetails) = Nothing, Optional recoveryAzureVmName As String = Nothing, Optional recoveryAzureVmSize As String = Nothing, Optional recoveryAzureStorageAccount As String = Nothing, Optional recoveryAzureLogStorageAccountId As ResourceIdentifier = Nothing, Optional vmNics As IEnumerable(Of VmNicDetails) = Nothing, Optional selectedRecoveryAzureNetworkId As ResourceIdentifier = Nothing, Optional selectedTfoAzureNetworkId As ResourceIdentifier = Nothing, Optional selectedSourceNicId As String = Nothing, Optional discoveryType As String = Nothing, Optional enableRdpOnTargetOption As String = Nothing, Optional datastores As IEnumerable(Of String) = Nothing, Optional targetVmId As String = Nothing, Optional recoveryAzureResourceGroupId As ResourceIdentifier = Nothing, Optional recoveryAvailabilitySetId As ResourceIdentifier = Nothing, Optional targetAvailabilityZone As String = Nothing, Optional targetProximityPlacementGroupId As ResourceIdentifier = Nothing, Optional useManagedDisks As String = Nothing, Optional licenseType As String = Nothing, Optional sqlServerLicenseType As 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 protectedManagedDisks As IEnumerable(Of InMageAzureV2ManagedDiskDetails) = Nothing, Optional lastRecoveryPointReceived As Nullable(Of DateTimeOffset) = Nothing, Optional firmwareType As String = Nothing, Optional azureVmGeneration As String = Nothing, Optional isAdditionalStatsAvailable As Nullable(Of Boolean) = Nothing, Optional totalDataTransferred As Nullable(Of Long) = Nothing, Optional totalProgressHealth As String = Nothing, Optional targetVmTags As IReadOnlyDictionary(Of String, String) = Nothing, Optional seedManagedDiskTags As IReadOnlyDictionary(Of String, String) = Nothing, Optional targetManagedDiskTags As IReadOnlyDictionary(Of String, String) = Nothing, Optional targetNicTags As IReadOnlyDictionary(Of String, String) = Nothing, Optional switchProviderBlockingErrorDetails As IEnumerable(Of InMageAzureV2SwitchProviderBlockingErrorDetails) = Nothing, Optional switchProviderDetails As InMageAzureV2SwitchProviderDetails = Nothing, Optional supportedOSVersions As IEnumerable(Of String) = Nothing, Optional allAvailableOSUpgradeConfigurations As IEnumerable(Of OSUpgradeSupportedVersions) = Nothing, Optional osName As String = Nothing) As InMageAzureV2ReplicationDetails

Parameters

infrastructureVmId
String

The infrastructure VM Id.

vCenterInfrastructureId
String

The vCenter infrastructure Id.

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.

resyncProgressPercentage
Nullable<Int32>

The resync progress percentage.

rpoInSeconds
Nullable<Int64>

The RPO in seconds.

compressedDataRateInMB
Nullable<Double>

The compressed data change rate in MB.

uncompressedDataRateInMB
Nullable<Double>

The uncompressed data change rate in MB.

ipAddress
IPAddress

The source IP address.

agentVersion
String

The agent version.

agentExpireOn
Nullable<DateTimeOffset>

Agent expiry date.

isAgentUpdateRequired
String

A value indicating whether installed agent needs to be updated.

isRebootAfterUpdateRequired
String

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

lastHeartbeat
Nullable<DateTimeOffset>

The last heartbeat received from the source server.

processServerId
Nullable<Guid>

The process server Id.

processServerName
String

The process server name.

multiVmGroupId
String

The multi vm group Id.

multiVmGroupName
String

The multi vm group name.

multiVmSyncStatus
String

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

protectedDisks
IEnumerable<InMageAzureV2ProtectedDiskDetails>

The list of protected disks.

diskResized
String

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

masterTargetId
String

The master target Id.

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.

osType
String

The type of the OS on the VM.

vhdName
String

The OS disk VHD name.

osDiskId
String

The id of the disk containing the OS.

azureVmDiskDetails
IEnumerable<SiteRecoveryVmDiskDetails>

Azure VM Disk details.

recoveryAzureVmName
String

Recovery Azure given name.

recoveryAzureVmSize
String

The Recovery Azure VM size.

recoveryAzureStorageAccount
String

The recovery Azure storage account.

recoveryAzureLogStorageAccountId
ResourceIdentifier

The ARM id of the log storage account used for replication. This will be set to null if no log storage account was provided during enable protection.

vmNics
IEnumerable<VmNicDetails>

The PE Network details.

selectedRecoveryAzureNetworkId
ResourceIdentifier

The selected recovery azure network Id.

selectedTfoAzureNetworkId
ResourceIdentifier

The test failover virtual network.

selectedSourceNicId
String

The selected source nic Id which will be used as the primary nic during failover.

discoveryType
String

A value indicating the discovery type of the machine. Value can be vCenter or physical.

enableRdpOnTargetOption
String

The selected option to enable RDP\SSH on target vm after failover. String value of SrsDataContract.EnableRDPOnTargetOption enum.

datastores
IEnumerable<String>

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

targetVmId
String

The ARM Id of the target Azure VM. This value will be null until the VM is failed over. Only after failure it will be populated with the ARM Id of the Azure VM.

recoveryAzureResourceGroupId
ResourceIdentifier

The target resource group Id.

recoveryAvailabilitySetId
ResourceIdentifier

The recovery availability set Id.

targetAvailabilityZone
String

The target availability zone.

targetProximityPlacementGroupId
ResourceIdentifier

The target proximity placement group Id.

useManagedDisks
String

A value indicating whether managed disks should be used during failover.

licenseType
String

License Type of the VM to be used.

sqlServerLicenseType
String

The SQL Server license type.

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.

protectedManagedDisks
IEnumerable<InMageAzureV2ManagedDiskDetails>

The list of protected managed disks.

lastRecoveryPointReceived
Nullable<DateTimeOffset>

The last recovery point received time.

firmwareType
String

The firmware type of this protected item.

azureVmGeneration
String

The target generation for this 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.

targetVmTags
IReadOnlyDictionary<String,String>

The target VM tags.

seedManagedDiskTags
IReadOnlyDictionary<String,String>

The tags for the seed managed disks.

targetManagedDiskTags
IReadOnlyDictionary<String,String>

The tags for the target managed disks.

targetNicTags
IReadOnlyDictionary<String,String>

The tags for the target NICs.

switchProviderBlockingErrorDetails
IEnumerable<InMageAzureV2SwitchProviderBlockingErrorDetails>

The switch provider blocking error information.

switchProviderDetails
InMageAzureV2SwitchProviderDetails

The switch provider blocking error information.

supportedOSVersions
IEnumerable<String>

A value indicating the inplace OS Upgrade version.

allAvailableOSUpgradeConfigurations
IEnumerable<OSUpgradeSupportedVersions>

A value indicating all available inplace OS Upgrade configurations.

osName
String

The name of the OS on the VM.

Returns

A new InMageAzureV2ReplicationDetails instance for mocking.

Applies to