Share via


HyperVReplicaAzureEnableProtectionInput Constructors

Definition

Overloads

HyperVReplicaAzureEnableProtectionInput()

Initializes a new instance of the HyperVReplicaAzureEnableProtectionInput class.

HyperVReplicaAzureEnableProtectionInput(String, String, String, String, String, String, String, String, String, String, IList<String>, String, String, String, String, String, String, String, String, String, String, String, IList<HyperVReplicaAzureDiskInputDetails>, String, IDictionary<String,String>, IDictionary<String,String>, IDictionary<String,String>, IDictionary<String,String>)

Initializes a new instance of the HyperVReplicaAzureEnableProtectionInput class.

HyperVReplicaAzureEnableProtectionInput()

Initializes a new instance of the HyperVReplicaAzureEnableProtectionInput class.

public HyperVReplicaAzureEnableProtectionInput ();
Public Sub New ()

Applies to

HyperVReplicaAzureEnableProtectionInput(String, String, String, String, String, String, String, String, String, String, IList<String>, String, String, String, String, String, String, String, String, String, String, String, IList<HyperVReplicaAzureDiskInputDetails>, String, IDictionary<String,String>, IDictionary<String,String>, IDictionary<String,String>, IDictionary<String,String>)

Initializes a new instance of the HyperVReplicaAzureEnableProtectionInput class.

public HyperVReplicaAzureEnableProtectionInput (string hvHostVMId = default, string vmName = default, string osType = default, string vhdId = default, string targetStorageAccountId = default, string targetAzureNetworkId = default, string targetAzureSubnetId = default, string enableRdpOnTargetOption = default, string targetAzureVMName = default, string logStorageAccountId = default, System.Collections.Generic.IList<string> disksToInclude = default, string targetAzureV1ResourceGroupId = default, string targetAzureV2ResourceGroupId = default, string useManagedDisks = default, string targetAvailabilitySetId = default, string targetAvailabilityZone = default, string licenseType = default, string sqlServerLicenseType = default, string targetVMSize = default, string targetProximityPlacementGroupId = default, string useManagedDisksForReplication = default, string diskType = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HyperVReplicaAzureDiskInputDetails> disksToIncludeForManagedDisks = default, string diskEncryptionSetId = 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);
new Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HyperVReplicaAzureEnableProtectionInput : string * string * string * string * string * string * string * string * string * string * System.Collections.Generic.IList<string> * string * string * string * string * string * string * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HyperVReplicaAzureDiskInputDetails> * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HyperVReplicaAzureEnableProtectionInput
Public Sub New (Optional hvHostVMId As String = Nothing, Optional vmName As String = Nothing, Optional osType As String = Nothing, Optional vhdId As String = Nothing, Optional targetStorageAccountId As String = Nothing, Optional targetAzureNetworkId As String = Nothing, Optional targetAzureSubnetId As String = Nothing, Optional enableRdpOnTargetOption As String = Nothing, Optional targetAzureVMName As String = Nothing, Optional logStorageAccountId As String = Nothing, Optional disksToInclude As IList(Of String) = Nothing, Optional targetAzureV1ResourceGroupId As String = Nothing, Optional targetAzureV2ResourceGroupId As String = Nothing, Optional useManagedDisks As String = Nothing, Optional targetAvailabilitySetId As String = Nothing, Optional targetAvailabilityZone As String = Nothing, Optional licenseType As String = Nothing, Optional sqlServerLicenseType As String = Nothing, Optional targetVMSize As String = Nothing, Optional targetProximityPlacementGroupId As String = Nothing, Optional useManagedDisksForReplication As String = Nothing, Optional diskType As String = Nothing, Optional disksToIncludeForManagedDisks As IList(Of HyperVReplicaAzureDiskInputDetails) = Nothing, Optional diskEncryptionSetId As String = 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)

Parameters

hvHostVMId
String

The Hyper-V host VM Id.

vmName
String

The VM Name.

osType
String

The OS type associated with VM.

vhdId
String

The OS disk VHD id associated with VM.

targetStorageAccountId
String

The storage account Id.

targetAzureNetworkId
String

The selected target Azure network Id.

targetAzureSubnetId
String

The selected target Azure subnet Id.

enableRdpOnTargetOption
String

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

targetAzureVMName
String

The target azure VM Name.

logStorageAccountId
String

The storage account to be used for logging during replication.

disksToInclude
IList<String>

The list of VHD Ids of disks to be protected.

targetAzureV1ResourceGroupId
String

The Id of the target resource group (for classic deployment) in which the failover VM is to be created.

targetAzureV2ResourceGroupId
String

The Id of the target resource group (for resource manager deployment) in which the failover VM is to be created.

useManagedDisks
String

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

targetAvailabilitySetId
String

The target availability set ARM Id for resource manager deployment.

targetAvailabilityZone
String

The target availability zone.

licenseType
String

License type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer'

sqlServerLicenseType
String

The SQL Server license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'PAYG', 'AHUB'

targetVMSize
String

The target VM size.

targetProximityPlacementGroupId
String

The proximity placement group ARM Id.

useManagedDisksForReplication
String

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

diskType
String

The DiskType. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'

disksToIncludeForManagedDisks
IList<HyperVReplicaAzureDiskInputDetails>

The disks to include list for managed disks.

diskEncryptionSetId
String

The DiskEncryptionSet ARM Id.

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.

Applies to