Partager via


HyperVReplicaAzureReplicationDetails Constructors

Definition

Overloads

HyperVReplicaAzureReplicationDetails()

Initializes a new instance of the HyperVReplicaAzureReplicationDetails class.

HyperVReplicaAzureReplicationDetails(IList<AzureVmDiskDetails>, String, String, String, String, Nullable<DateTime>, Nullable<Int64>, Nullable<DateTime>, String, String, String, InitialReplicationDetails, IList<VMNicDetails>, String, String, String, OSDetails, Nullable<Int32>, Nullable<Int32>, String, String, String, String, String, String, String, String, Nullable<DateTime>, IDictionary<String,String>, IDictionary<String,String>, IDictionary<String,String>, IDictionary<String, String>, IList<HyperVReplicaAzureManagedDiskDetails>)

Initializes a new instance of the HyperVReplicaAzureReplicationDetails class.

HyperVReplicaAzureReplicationDetails()

Initializes a new instance of the HyperVReplicaAzureReplicationDetails class.

public HyperVReplicaAzureReplicationDetails ();
Public Sub New ()

Applies to

HyperVReplicaAzureReplicationDetails(IList<AzureVmDiskDetails>, String, String, String, String, Nullable<DateTime>, Nullable<Int64>, Nullable<DateTime>, String, String, String, InitialReplicationDetails, IList<VMNicDetails>, String, String, String, OSDetails, Nullable<Int32>, Nullable<Int32>, String, String, String, String, String, String, String, String, Nullable<DateTime>, IDictionary<String,String>, IDictionary<String,String>, IDictionary<String,String>, IDictionary<String, String>, IList<HyperVReplicaAzureManagedDiskDetails>)

Initializes a new instance of the HyperVReplicaAzureReplicationDetails class.

public HyperVReplicaAzureReplicationDetails (System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.AzureVmDiskDetails> azureVMDiskDetails = default, string recoveryAzureVMName = default, string recoveryAzureVMSize = default, string recoveryAzureStorageAccount = default, string recoveryAzureLogStorageAccountId = default, DateTime? lastReplicatedTime = default, long? rpoInSeconds = default, DateTime? lastRpoCalculatedTime = default, string vmId = default, string vmProtectionState = default, string vmProtectionStateDescription = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.InitialReplicationDetails initialReplicationDetails = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.VMNicDetails> vmNics = default, string selectedRecoveryAzureNetworkId = default, string selectedSourceNicId = default, string encryption = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.OSDetails osDetails = default, int? sourceVMRamSizeInMb = default, int? sourceVMCpuCount = default, string enableRdpOnTargetOption = default, string recoveryAzureResourceGroupId = default, string recoveryAvailabilitySetId = default, string targetAvailabilityZone = default, string targetProximityPlacementGroupId = default, string useManagedDisks = default, string licenseType = default, string sqlServerLicenseType = default, DateTime? lastRecoveryPointReceived = default, System.Collections.Generic.IDictionary<string,string> targetVMTags = default, System.Collections.Generic.IDictionary<string,string> seedManagedDiskTags = default, System.Collections.Generic.IDictionary<string,string> targetManagedDiskTags = default, System.Collections.Generic.IDictionary<string,string> targetNicTags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HyperVReplicaAzureManagedDiskDetails> protectedManagedDisks = default);
new Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HyperVReplicaAzureReplicationDetails : System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.AzureVmDiskDetails> * string * string * string * string * Nullable<DateTime> * Nullable<int64> * Nullable<DateTime> * string * string * string * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.InitialReplicationDetails * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.VMNicDetails> * string * string * string * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.OSDetails * Nullable<int> * Nullable<int> * string * string * string * string * string * string * string * string * Nullable<DateTime> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HyperVReplicaAzureManagedDiskDetails> -> Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HyperVReplicaAzureReplicationDetails
Public Sub New (Optional azureVMDiskDetails As IList(Of AzureVmDiskDetails) = Nothing, Optional recoveryAzureVMName As String = Nothing, Optional recoveryAzureVMSize As String = Nothing, Optional recoveryAzureStorageAccount As String = Nothing, Optional recoveryAzureLogStorageAccountId As String = Nothing, Optional lastReplicatedTime As Nullable(Of DateTime) = Nothing, Optional rpoInSeconds As Nullable(Of Long) = Nothing, Optional lastRpoCalculatedTime As Nullable(Of DateTime) = Nothing, Optional vmId As String = Nothing, Optional vmProtectionState As String = Nothing, Optional vmProtectionStateDescription As String = Nothing, Optional initialReplicationDetails As InitialReplicationDetails = Nothing, Optional vmNics As IList(Of VMNicDetails) = Nothing, Optional selectedRecoveryAzureNetworkId As String = Nothing, Optional selectedSourceNicId As String = Nothing, Optional encryption As String = Nothing, Optional osDetails As OSDetails = Nothing, Optional sourceVMRamSizeInMb As Nullable(Of Integer) = Nothing, Optional sourceVMCpuCount As Nullable(Of Integer) = Nothing, Optional enableRdpOnTargetOption As String = Nothing, Optional recoveryAzureResourceGroupId As String = Nothing, Optional recoveryAvailabilitySetId As String = Nothing, Optional targetAvailabilityZone As String = Nothing, Optional targetProximityPlacementGroupId As String = Nothing, Optional useManagedDisks As String = Nothing, Optional licenseType As String = Nothing, Optional sqlServerLicenseType As String = Nothing, Optional lastRecoveryPointReceived As Nullable(Of DateTime) = Nothing, Optional targetVMTags As IDictionary(Of String, String) = Nothing, Optional seedManagedDiskTags As IDictionary(Of String, String) = Nothing, Optional targetManagedDiskTags As IDictionary(Of String, String) = Nothing, Optional targetNicTags As IDictionary(Of String, String) = Nothing, Optional protectedManagedDisks As IList(Of HyperVReplicaAzureManagedDiskDetails) = Nothing)

Parameters

azureVMDiskDetails
IList<AzureVmDiskDetails>

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
String

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.

lastReplicatedTime
Nullable<DateTime>

The Last replication time.

rpoInSeconds
Nullable<Int64>

Last RPO value.

lastRpoCalculatedTime
Nullable<DateTime>

The last RPO calculated time.

vmId
String

The virtual machine Id.

vmProtectionState
String

The protection state for the vm.

vmProtectionStateDescription
String

The protection state description for the vm.

initialReplicationDetails
InitialReplicationDetails

Initial replication details.

vmNics
IList<VMNicDetails>

The PE Network details.

selectedRecoveryAzureNetworkId
String

The selected recovery azure network Id.

selectedSourceNicId
String

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

encryption
String

The encryption info.

osDetails
OSDetails

The operating system info.

sourceVMRamSizeInMb
Nullable<Int32>

The RAM size of the VM on the primary side.

sourceVMCpuCount
Nullable<Int32>

The CPU count of the VM on the primary side.

enableRdpOnTargetOption
String

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

recoveryAzureResourceGroupId
String

The target resource group Id.

recoveryAvailabilitySetId
String

The recovery availability set Id.

targetAvailabilityZone
String

The target availability zone.

targetProximityPlacementGroupId
String

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.

lastRecoveryPointReceived
Nullable<DateTime>

The last recovery point received time.

targetVMTags
IDictionary<String,String>

The target VM tags.

seedManagedDiskTags
IDictionary<String,String>

The tags for the seed managed disks.

targetManagedDiskTags
IDictionary<String,String>

The tags for the target managed disks.

targetNicTags
IDictionary<String,String>

The tags for the target NICs.

protectedManagedDisks
IList<HyperVReplicaAzureManagedDiskDetails>

The list of protected managed disks.

Applies to