A2ASwitchProtectionInput Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
A2ASwitchProtectionInput() |
Initializes a new instance of the A2ASwitchProtectionInput class. |
A2ASwitchProtectionInput(String, IList<A2AVmDiskInputDetails>, IList<A2AVmManagedDiskInputDetails>, String, String, String, String, String, String, String, String, String, DiskEncryptionInfo) |
Initializes a new instance of the A2ASwitchProtectionInput class. |
A2ASwitchProtectionInput()
Initializes a new instance of the A2ASwitchProtectionInput class.
public A2ASwitchProtectionInput ();
Public Sub New ()
Applies to
A2ASwitchProtectionInput(String, IList<A2AVmDiskInputDetails>, IList<A2AVmManagedDiskInputDetails>, String, String, String, String, String, String, String, String, String, DiskEncryptionInfo)
Initializes a new instance of the A2ASwitchProtectionInput class.
public A2ASwitchProtectionInput (string recoveryContainerId = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.A2AVmDiskInputDetails> vmDisks = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.A2AVmManagedDiskInputDetails> vmManagedDisks = default, string recoveryResourceGroupId = default, string recoveryCloudServiceId = default, string recoveryAvailabilitySetId = default, string policyId = default, string recoveryBootDiagStorageAccountId = default, string recoveryAvailabilityZone = default, string recoveryProximityPlacementGroupId = default, string recoveryVirtualMachineScaleSetId = default, string recoveryCapacityReservationGroupId = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.DiskEncryptionInfo diskEncryptionInfo = default);
new Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.A2ASwitchProtectionInput : string * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.A2AVmDiskInputDetails> * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.A2AVmManagedDiskInputDetails> * string * string * string * string * string * string * string * string * string * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.DiskEncryptionInfo -> Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.A2ASwitchProtectionInput
Public Sub New (Optional recoveryContainerId As String = Nothing, Optional vmDisks As IList(Of A2AVmDiskInputDetails) = Nothing, Optional vmManagedDisks As IList(Of A2AVmManagedDiskInputDetails) = Nothing, Optional recoveryResourceGroupId As String = Nothing, Optional recoveryCloudServiceId As String = Nothing, Optional recoveryAvailabilitySetId As String = Nothing, Optional policyId As String = Nothing, Optional recoveryBootDiagStorageAccountId As String = Nothing, Optional recoveryAvailabilityZone As String = Nothing, Optional recoveryProximityPlacementGroupId As String = Nothing, Optional recoveryVirtualMachineScaleSetId As String = Nothing, Optional recoveryCapacityReservationGroupId As String = Nothing, Optional diskEncryptionInfo As DiskEncryptionInfo = Nothing)
Parameters
- recoveryContainerId
- String
The recovery container Id.
- vmDisks
- IList<A2AVmDiskInputDetails>
The list of vm disk details.
- vmManagedDisks
- IList<A2AVmManagedDiskInputDetails>
The list of vm managed disk details.
- recoveryResourceGroupId
- String
The recovery resource group Id. Valid for V2 scenarios.
- recoveryCloudServiceId
- String
The recovery cloud service Id. Valid for V1 scenarios.
- recoveryAvailabilitySetId
- String
The recovery availability set.
- policyId
- String
The Policy Id.
- recoveryBootDiagStorageAccountId
- String
The boot diagnostic storage account.
- recoveryAvailabilityZone
- String
The recovery availability zone.
- recoveryProximityPlacementGroupId
- String
The recovery proximity placement group Id.
- recoveryVirtualMachineScaleSetId
- String
The virtual machine scale set id.
- recoveryCapacityReservationGroupId
- String
The recovery capacity reservation group Id.
- diskEncryptionInfo
- DiskEncryptionInfo
The recovery disk encryption information.