ArmRecoveryServicesDataReplicationModelFactory.HyperVToAzStackHciProtectedItemModelCustomProperties 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 HyperVToAzStackHciProtectedItemModelCustomProperties.
public static Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciProtectedItemModelCustomProperties HyperVToAzStackHciProtectedItemModelCustomProperties (Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemActiveLocation? activeLocation = default, Azure.Core.ResourceIdentifier targetHciClusterId = default, Azure.Core.ResourceIdentifier targetArcClusterCustomLocationId = default, string targetAzStackHciClusterName = default, Azure.Core.ResourceIdentifier fabricDiscoveryMachineId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciDiskInput> disksToInclude = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciNicInput> nicsToInclude = default, string sourceVmName = default, int? sourceCpuCores = default, double? sourceMemoryInMegaBytes = default, string targetVmName = default, Azure.Core.ResourceIdentifier targetResourceGroupId = default, Azure.Core.ResourceIdentifier storageContainerId = default, string hyperVGeneration = default, string targetNetworkId = default, string testNetworkId = default, int? targetCpuCores = default, bool? isDynamicRam = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemDynamicMemoryConfig dynamicMemoryConfig = default, int? targetMemoryInMegaBytes = default, string runAsAccountId = default, string sourceDraName = default, string targetDraName = default, string sourceApplianceName = default, string targetApplianceName = default, string osType = default, string osName = default, string firmwareType = default, string targetLocation = default, string customLocationRegion = default, string failoverRecoveryPointId = default, DateTimeOffset? lastRecoveryPointReceived = default, string lastRecoveryPointId = default, int? initialReplicationProgressPercentage = default, int? resyncProgressPercentage = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciProtectedDiskProperties> protectedDisks = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciProtectedNicProperties> protectedNics = default, string targetVmBiosId = default, DateTimeOffset? lastReplicationUpdateOn = default);
static member HyperVToAzStackHciProtectedItemModelCustomProperties : Nullable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemActiveLocation> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciDiskInput> * seq<Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciNicInput> * string * Nullable<int> * Nullable<double> * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * string * string * Nullable<int> * Nullable<bool> * Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemDynamicMemoryConfig * Nullable<int> * string * string * string * string * string * string * string * string * string * string * string * Nullable<DateTimeOffset> * string * Nullable<int> * Nullable<int> * seq<Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciProtectedDiskProperties> * seq<Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciProtectedNicProperties> * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciProtectedItemModelCustomProperties
Public Shared Function HyperVToAzStackHciProtectedItemModelCustomProperties (Optional activeLocation As Nullable(Of ProtectedItemActiveLocation) = Nothing, Optional targetHciClusterId As ResourceIdentifier = Nothing, Optional targetArcClusterCustomLocationId As ResourceIdentifier = Nothing, Optional targetAzStackHciClusterName As String = Nothing, Optional fabricDiscoveryMachineId As ResourceIdentifier = Nothing, Optional disksToInclude As IEnumerable(Of HyperVToAzStackHciDiskInput) = Nothing, Optional nicsToInclude As IEnumerable(Of HyperVToAzStackHciNicInput) = Nothing, Optional sourceVmName As String = Nothing, Optional sourceCpuCores As Nullable(Of Integer) = Nothing, Optional sourceMemoryInMegaBytes As Nullable(Of Double) = Nothing, Optional targetVmName As String = Nothing, Optional targetResourceGroupId As ResourceIdentifier = Nothing, Optional storageContainerId As ResourceIdentifier = Nothing, Optional hyperVGeneration As String = Nothing, Optional targetNetworkId As String = Nothing, Optional testNetworkId As String = Nothing, Optional targetCpuCores As Nullable(Of Integer) = Nothing, Optional isDynamicRam As Nullable(Of Boolean) = Nothing, Optional dynamicMemoryConfig As ProtectedItemDynamicMemoryConfig = Nothing, Optional targetMemoryInMegaBytes As Nullable(Of Integer) = Nothing, Optional runAsAccountId As String = Nothing, Optional sourceDraName As String = Nothing, Optional targetDraName As String = Nothing, Optional sourceApplianceName As String = Nothing, Optional targetApplianceName As String = Nothing, Optional osType As String = Nothing, Optional osName As String = Nothing, Optional firmwareType As String = Nothing, Optional targetLocation As String = Nothing, Optional customLocationRegion As String = Nothing, Optional failoverRecoveryPointId As String = Nothing, Optional lastRecoveryPointReceived As Nullable(Of DateTimeOffset) = Nothing, Optional lastRecoveryPointId As String = Nothing, Optional initialReplicationProgressPercentage As Nullable(Of Integer) = Nothing, Optional resyncProgressPercentage As Nullable(Of Integer) = Nothing, Optional protectedDisks As IEnumerable(Of HyperVToAzStackHciProtectedDiskProperties) = Nothing, Optional protectedNics As IEnumerable(Of HyperVToAzStackHciProtectedNicProperties) = Nothing, Optional targetVmBiosId As String = Nothing, Optional lastReplicationUpdateOn As Nullable(Of DateTimeOffset) = Nothing) As HyperVToAzStackHciProtectedItemModelCustomProperties
Parameters
- activeLocation
- Nullable<ProtectedItemActiveLocation>
Gets or sets the location of the protected item.
- targetHciClusterId
- ResourceIdentifier
Gets or sets the Target HCI Cluster ARM Id.
- targetArcClusterCustomLocationId
- ResourceIdentifier
Gets or sets the Target Arc Cluster Custom Location ARM Id.
- targetAzStackHciClusterName
- String
Gets or sets the Target AzStackHCI cluster name.
- fabricDiscoveryMachineId
- ResourceIdentifier
Gets or sets the ARM Id of the discovered machine.
- disksToInclude
- IEnumerable<HyperVToAzStackHciDiskInput>
Gets or sets the list of disks to replicate.
- nicsToInclude
- IEnumerable<HyperVToAzStackHciNicInput>
Gets or sets the list of VM NIC to replicate.
- sourceVmName
- String
Gets or sets the source VM display name.
- targetVmName
- String
Gets or sets the target VM display name.
- targetResourceGroupId
- ResourceIdentifier
Gets or sets the target resource group ARM Id.
- storageContainerId
- ResourceIdentifier
Gets or sets the target storage container ARM Id.
- hyperVGeneration
- String
Gets or sets the hypervisor generation of the virtual machine.
- targetNetworkId
- String
Gets or sets the target network Id within AzStackHCI Cluster.
- testNetworkId
- String
Gets or sets the target test network Id within AzStackHCI Cluster.
- dynamicMemoryConfig
- ProtectedItemDynamicMemoryConfig
Protected item dynamic memory config.
- runAsAccountId
- String
Gets or sets the Run As account Id.
- sourceDraName
- String
Gets or sets the source DRA name.
- targetDraName
- String
Gets or sets the target DRA name.
- sourceApplianceName
- String
Gets or sets the source appliance name.
- targetApplianceName
- String
Gets or sets the target appliance name.
- osType
- String
Gets or sets the type of the OS.
- osName
- String
Gets or sets the name of the OS.
- firmwareType
- String
Gets or sets the firmware type.
- targetLocation
- String
Gets or sets the target location.
- customLocationRegion
- String
Gets or sets the location of Azure Arc HCI custom location resource.
- failoverRecoveryPointId
- String
Gets or sets the recovery point Id to which the VM was failed over.
- lastRecoveryPointReceived
- Nullable<DateTimeOffset>
Gets or sets the last recovery point received time.
- lastRecoveryPointId
- String
Gets or sets the last recovery point Id.
Gets or sets the initial replication progress percentage. This is calculated based on total bytes processed for all disks in the source VM.
Gets or sets the resync progress percentage. This is calculated based on total bytes processed for all disks in the source VM.
- protectedDisks
- IEnumerable<HyperVToAzStackHciProtectedDiskProperties>
Gets or sets the list of protected disks.
- protectedNics
- IEnumerable<HyperVToAzStackHciProtectedNicProperties>
Gets or sets the VM NIC details.
- targetVmBiosId
- String
Gets or sets the BIOS Id of the target AzStackHCI VM.
- lastReplicationUpdateOn
- Nullable<DateTimeOffset>
Gets or sets the latest timestamp that replication status is updated.
Returns
A new HyperVToAzStackHciProtectedItemModelCustomProperties instance for mocking.
Applies to
Azure SDK for .NET