Share via


ArmRecoveryServicesSiteRecoveryModelFactory.HyperVReplicaAzureReplicationDetails Method

Definition

Initializes a new instance of HyperVReplicaAzureReplicationDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaAzureReplicationDetails HyperVReplicaAzureReplicationDetails (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, DateTimeOffset? lastReplicatedOn = default, long? rpoInSeconds = default, DateTimeOffset? lastRpoCalculatedOn = default, string vmId = default, string vmProtectionState = default, string vmProtectionStateDescription = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InitialReplicationDetails initialReplicationDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails> vmNics = default, Azure.Core.ResourceIdentifier selectedRecoveryAzureNetworkId = default, string selectedSourceNicId = default, string encryption = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryOSDetails osDetails = default, int? sourceVmRamSizeInMB = default, int? sourceVmCpuCount = default, string enableRdpOnTargetOption = 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, DateTimeOffset? lastRecoveryPointReceived = 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.HyperVReplicaAzureManagedDiskDetails> protectedManagedDisks = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.OSUpgradeSupportedVersions> allAvailableOSUpgradeConfigurations = default);
static member HyperVReplicaAzureReplicationDetails : seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVmDiskDetails> * string * string * string * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<DateTimeOffset> * string * string * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InitialReplicationDetails * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails> * Azure.Core.ResourceIdentifier * string * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryOSDetails * Nullable<int> * Nullable<int> * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * string * string * string * Nullable<DateTimeOffset> * 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.HyperVReplicaAzureManagedDiskDetails> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.OSUpgradeSupportedVersions> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaAzureReplicationDetails
Public Shared Function HyperVReplicaAzureReplicationDetails (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 lastReplicatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional rpoInSeconds As Nullable(Of Long) = Nothing, Optional lastRpoCalculatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional vmId As String = Nothing, Optional vmProtectionState As String = Nothing, Optional vmProtectionStateDescription As String = Nothing, Optional initialReplicationDetails As InitialReplicationDetails = Nothing, Optional vmNics As IEnumerable(Of VmNicDetails) = Nothing, Optional selectedRecoveryAzureNetworkId As ResourceIdentifier = Nothing, Optional selectedSourceNicId As String = Nothing, Optional encryption As String = Nothing, Optional osDetails As SiteRecoveryOSDetails = Nothing, Optional sourceVmRamSizeInMB As Nullable(Of Integer) = Nothing, Optional sourceVmCpuCount As Nullable(Of Integer) = Nothing, Optional enableRdpOnTargetOption 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 lastRecoveryPointReceived As Nullable(Of DateTimeOffset) = 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 protectedManagedDisks As IEnumerable(Of HyperVReplicaAzureManagedDiskDetails) = Nothing, Optional allAvailableOSUpgradeConfigurations As IEnumerable(Of OSUpgradeSupportedVersions) = Nothing) As HyperVReplicaAzureReplicationDetails

Parameters

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.

lastReplicatedOn
Nullable<DateTimeOffset>

The Last replication time.

rpoInSeconds
Nullable<Int64>

Last RPO value.

lastRpoCalculatedOn
Nullable<DateTimeOffset>

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
IEnumerable<VmNicDetails>

The PE Network details.

selectedRecoveryAzureNetworkId
ResourceIdentifier

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
SiteRecoveryOSDetails

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
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.

lastRecoveryPointReceived
Nullable<DateTimeOffset>

The last recovery point received time.

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.

protectedManagedDisks
IEnumerable<HyperVReplicaAzureManagedDiskDetails>

The list of protected managed disks.

allAvailableOSUpgradeConfigurations
IEnumerable<OSUpgradeSupportedVersions>

A value indicating all available inplace OS Upgrade configurations.

Returns

A new HyperVReplicaAzureReplicationDetails instance for mocking.

Applies to