Share via


A2ACreateProtectionIntentInput Constructors

Definition

Overloads

A2ACreateProtectionIntentInput()

Initializes a new instance of the A2ACreateProtectionIntentInput class.

A2ACreateProtectionIntentInput(String, String, String, String, String, String, ProtectionProfileCustomDetails, StorageAccountCustomDetails, RecoveryAvailabilitySetCustomDetails, RecoveryVirtualNetworkCustomDetails, RecoveryProximityPlacementGroupCustomDetails, String, IList<A2AProtectionIntentDiskInputDetails>, IList<A2AProtectionIntentManagedDiskInputDetails>, String, String, StorageAccountCustomDetails, DiskEncryptionInfo, String, String, String, String)

Initializes a new instance of the A2ACreateProtectionIntentInput class.

A2ACreateProtectionIntentInput()

Initializes a new instance of the A2ACreateProtectionIntentInput class.

public A2ACreateProtectionIntentInput ();
Public Sub New ()

Applies to

A2ACreateProtectionIntentInput(String, String, String, String, String, String, ProtectionProfileCustomDetails, StorageAccountCustomDetails, RecoveryAvailabilitySetCustomDetails, RecoveryVirtualNetworkCustomDetails, RecoveryProximityPlacementGroupCustomDetails, String, IList<A2AProtectionIntentDiskInputDetails>, IList<A2AProtectionIntentManagedDiskInputDetails>, String, String, StorageAccountCustomDetails, DiskEncryptionInfo, String, String, String, String)

Initializes a new instance of the A2ACreateProtectionIntentInput class.

public A2ACreateProtectionIntentInput (string fabricObjectId, string primaryLocation, string recoveryLocation, string recoverySubscriptionId, string recoveryAvailabilityType, string recoveryResourceGroupId, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ProtectionProfileCustomDetails protectionProfileCustomInput = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.StorageAccountCustomDetails primaryStagingStorageAccountCustomInput = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.RecoveryAvailabilitySetCustomDetails recoveryAvailabilitySetCustomInput = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.RecoveryVirtualNetworkCustomDetails recoveryVirtualNetworkCustomInput = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.RecoveryProximityPlacementGroupCustomDetails recoveryProximityPlacementGroupCustomInput = default, string autoProtectionOfDataDisk = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.A2AProtectionIntentDiskInputDetails> vmDisks = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.A2AProtectionIntentManagedDiskInputDetails> vmManagedDisks = default, string multiVMGroupName = default, string multiVMGroupId = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.StorageAccountCustomDetails recoveryBootDiagStorageAccount = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.DiskEncryptionInfo diskEncryptionInfo = default, string recoveryAvailabilityZone = default, string agentAutoUpdateStatus = default, string automationAccountAuthenticationType = default, string automationAccountArmId = default);
new Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.A2ACreateProtectionIntentInput : string * string * string * string * string * string * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ProtectionProfileCustomDetails * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.StorageAccountCustomDetails * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.RecoveryAvailabilitySetCustomDetails * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.RecoveryVirtualNetworkCustomDetails * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.RecoveryProximityPlacementGroupCustomDetails * string * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.A2AProtectionIntentDiskInputDetails> * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.A2AProtectionIntentManagedDiskInputDetails> * string * string * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.StorageAccountCustomDetails * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.DiskEncryptionInfo * string * string * string * string -> Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.A2ACreateProtectionIntentInput
Public Sub New (fabricObjectId As String, primaryLocation As String, recoveryLocation As String, recoverySubscriptionId As String, recoveryAvailabilityType As String, recoveryResourceGroupId As String, Optional protectionProfileCustomInput As ProtectionProfileCustomDetails = Nothing, Optional primaryStagingStorageAccountCustomInput As StorageAccountCustomDetails = Nothing, Optional recoveryAvailabilitySetCustomInput As RecoveryAvailabilitySetCustomDetails = Nothing, Optional recoveryVirtualNetworkCustomInput As RecoveryVirtualNetworkCustomDetails = Nothing, Optional recoveryProximityPlacementGroupCustomInput As RecoveryProximityPlacementGroupCustomDetails = Nothing, Optional autoProtectionOfDataDisk As String = Nothing, Optional vmDisks As IList(Of A2AProtectionIntentDiskInputDetails) = Nothing, Optional vmManagedDisks As IList(Of A2AProtectionIntentManagedDiskInputDetails) = Nothing, Optional multiVMGroupName As String = Nothing, Optional multiVMGroupId As String = Nothing, Optional recoveryBootDiagStorageAccount As StorageAccountCustomDetails = Nothing, Optional diskEncryptionInfo As DiskEncryptionInfo = Nothing, Optional recoveryAvailabilityZone As String = Nothing, Optional agentAutoUpdateStatus As String = Nothing, Optional automationAccountAuthenticationType As String = Nothing, Optional automationAccountArmId As String = Nothing)

Parameters

fabricObjectId
String

The fabric specific object Id of the virtual machine.

primaryLocation
String

The primary location for the virtual machine.

recoveryLocation
String

The recovery location for the virtual machine.

recoverySubscriptionId
String

The recovery subscription Id of the virtual machine.

recoveryAvailabilityType
String

The recovery availability type of the virtual machine. Possible values include: 'Single', 'AvailabilitySet', 'AvailabilityZone'

recoveryResourceGroupId
String

The recovery resource group Id. Valid for V2 scenarios.

protectionProfileCustomInput
ProtectionProfileCustomDetails

The protection profile custom inputs.

primaryStagingStorageAccountCustomInput
StorageAccountCustomDetails

The primary staging storage account input.

recoveryAvailabilitySetCustomInput
RecoveryAvailabilitySetCustomDetails

The recovery availability set input.

recoveryVirtualNetworkCustomInput
RecoveryVirtualNetworkCustomDetails

The recovery virtual network input.

recoveryProximityPlacementGroupCustomInput
RecoveryProximityPlacementGroupCustomDetails

The recovery proximity placement group custom input.

autoProtectionOfDataDisk
String

A value indicating whether the auto protection is enabled. Possible values include: 'Disabled', 'Enabled'

vmDisks
IList<A2AProtectionIntentDiskInputDetails>

The list of vm disk inputs.

vmManagedDisks
IList<A2AProtectionIntentManagedDiskInputDetails>

The list of vm managed disk inputs.

multiVMGroupName
String

The multi vm group name.

multiVMGroupId
String

The multi vm group id.

recoveryBootDiagStorageAccount
StorageAccountCustomDetails

The boot diagnostic storage account.

diskEncryptionInfo
DiskEncryptionInfo

The recovery disk encryption information (for two pass flows).

recoveryAvailabilityZone
String

The recovery availability zone.

agentAutoUpdateStatus
String

A value indicating whether the auto update is enabled. Possible values include: 'Disabled', 'Enabled'

automationAccountAuthenticationType
String

A value indicating the authentication type for automation account. The default value is "RunAsAccount". Possible values include: 'RunAsAccount', 'SystemAssignedIdentity'

automationAccountArmId
String

The automation account arm id.

Applies to