ArmRecoveryServicesSiteRecoveryModelFactory.A2AEnableProtectionContent Method
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.
Initializes a new instance of A2AEnableProtectionContent.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AEnableProtectionContent A2AEnableProtectionContent (Azure.Core.ResourceIdentifier fabricObjectId = default, Azure.Core.ResourceIdentifier recoveryContainerId = default, Azure.Core.ResourceIdentifier recoveryResourceGroupId = default, string recoveryCloudServiceId = default, Azure.Core.ResourceIdentifier recoveryAvailabilitySetId = default, Azure.Core.ResourceIdentifier recoveryProximityPlacementGroupId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AVmDiskDetails> vmDisks = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AVmManagedDiskDetails> vmManagedDisks = default, string multiVmGroupName = default, string multiVmGroupId = default, Azure.Core.ResourceIdentifier recoveryBootDiagStorageAccountId = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskEncryptionInfo diskEncryptionInfo = default, string recoveryAvailabilityZone = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation recoveryExtendedLocation = default, Azure.Core.ResourceIdentifier recoveryAzureNetworkId = default, string recoverySubnetName = default, Azure.Core.ResourceIdentifier recoveryVirtualMachineScaleSetId = default, Azure.Core.ResourceIdentifier recoveryCapacityReservationGroupId = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk? autoProtectionOfDataDisk = default);
static member A2AEnableProtectionContent : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AVmDiskDetails> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AVmManagedDiskDetails> * string * string * Azure.Core.ResourceIdentifier * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskEncryptionInfo * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AEnableProtectionContent
Public Shared Function A2AEnableProtectionContent (Optional fabricObjectId As ResourceIdentifier = Nothing, Optional recoveryContainerId As ResourceIdentifier = Nothing, Optional recoveryResourceGroupId As ResourceIdentifier = Nothing, Optional recoveryCloudServiceId As String = Nothing, Optional recoveryAvailabilitySetId As ResourceIdentifier = Nothing, Optional recoveryProximityPlacementGroupId As ResourceIdentifier = Nothing, Optional vmDisks As IEnumerable(Of A2AVmDiskDetails) = Nothing, Optional vmManagedDisks As IEnumerable(Of A2AVmManagedDiskDetails) = Nothing, Optional multiVmGroupName As String = Nothing, Optional multiVmGroupId As String = Nothing, Optional recoveryBootDiagStorageAccountId As ResourceIdentifier = Nothing, Optional diskEncryptionInfo As SiteRecoveryDiskEncryptionInfo = Nothing, Optional recoveryAvailabilityZone As String = Nothing, Optional recoveryExtendedLocation As SiteRecoveryExtendedLocation = Nothing, Optional recoveryAzureNetworkId As ResourceIdentifier = Nothing, Optional recoverySubnetName As String = Nothing, Optional recoveryVirtualMachineScaleSetId As ResourceIdentifier = Nothing, Optional recoveryCapacityReservationGroupId As ResourceIdentifier = Nothing, Optional autoProtectionOfDataDisk As Nullable(Of AutoProtectionOfDataDisk) = Nothing) As A2AEnableProtectionContent
Parameters
- fabricObjectId
- ResourceIdentifier
The fabric specific object Id of the virtual machine.
- recoveryContainerId
- ResourceIdentifier
The recovery container Id.
- recoveryResourceGroupId
- ResourceIdentifier
The recovery resource group Id. Valid for V2 scenarios.
- recoveryCloudServiceId
- String
The recovery cloud service Id. Valid for V1 scenarios.
- recoveryAvailabilitySetId
- ResourceIdentifier
The recovery availability set Id.
- recoveryProximityPlacementGroupId
- ResourceIdentifier
The recovery proximity placement group Id.
- vmDisks
- IEnumerable<A2AVmDiskDetails>
The list of vm disk details.
- vmManagedDisks
- IEnumerable<A2AVmManagedDiskDetails>
The list of vm managed disk details.
- multiVmGroupName
- String
The multi vm group name.
- multiVmGroupId
- String
The multi vm group id.
- recoveryBootDiagStorageAccountId
- ResourceIdentifier
The boot diagnostic storage account.
- diskEncryptionInfo
- SiteRecoveryDiskEncryptionInfo
The recovery disk encryption information (for two pass flows).
- recoveryAvailabilityZone
- String
The recovery availability zone.
- recoveryExtendedLocation
- SiteRecoveryExtendedLocation
The recovery extended location.
- recoveryAzureNetworkId
- ResourceIdentifier
The recovery Azure virtual network ARM id.
- recoverySubnetName
- String
The recovery subnet name.
- recoveryVirtualMachineScaleSetId
- ResourceIdentifier
The virtual machine scale set Id.
- recoveryCapacityReservationGroupId
- ResourceIdentifier
The recovery capacity reservation group Id.
- autoProtectionOfDataDisk
- Nullable<AutoProtectionOfDataDisk>
A value indicating whether the auto protection is enabled.
Returns
A new A2AEnableProtectionContent instance for mocking.