Condividi tramite


HyperVToAzStackHciProtectedItemCustomProperties Constructor

Definition

Initializes a new instance of HyperVToAzStackHciProtectedItemCustomProperties.

public HyperVToAzStackHciProtectedItemCustomProperties(Azure.Core.ResourceIdentifier targetHciClusterId, Azure.Core.ResourceIdentifier targetArcClusterCustomLocationId, Azure.Core.ResourceIdentifier fabricDiscoveryMachineId, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciDiskInput> disksToInclude, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciNicInput> nicsToInclude, Azure.Core.ResourceIdentifier targetResourceGroupId, Azure.Core.ResourceIdentifier storageContainerId, string hyperVGeneration, string runAsAccountId, string sourceFabricAgentName, string targetFabricAgentName, string customLocationRegion);
new Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciProtectedItemCustomProperties : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciDiskInput> * seq<Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciNicInput> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * string * string * string * string -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciProtectedItemCustomProperties
Public Sub New (targetHciClusterId As ResourceIdentifier, targetArcClusterCustomLocationId As ResourceIdentifier, fabricDiscoveryMachineId As ResourceIdentifier, disksToInclude As IEnumerable(Of HyperVToAzStackHciDiskInput), nicsToInclude As IEnumerable(Of HyperVToAzStackHciNicInput), targetResourceGroupId As ResourceIdentifier, storageContainerId As ResourceIdentifier, hyperVGeneration As String, runAsAccountId As String, sourceFabricAgentName As String, targetFabricAgentName As String, customLocationRegion As String)

Parameters

targetHciClusterId
ResourceIdentifier

Gets or sets the Target HCI Cluster ARM Id.

targetArcClusterCustomLocationId
ResourceIdentifier

Gets or sets the Target Arc Cluster Custom Location ARM Id.

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.

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.

runAsAccountId
String

Gets or sets the Run As account Id.

sourceFabricAgentName
String

Gets or sets the source fabric agent name.

targetFabricAgentName
String

Gets or sets the target fabric agent name.

customLocationRegion
String

Gets or sets the location of Azure Arc HCI custom location resource.

Exceptions

targetHciClusterId, targetArcClusterCustomLocationId, fabricDiscoveryMachineId, disksToInclude, nicsToInclude, targetResourceGroupId, storageContainerId, hyperVGeneration, runAsAccountId, sourceFabricAgentName, targetFabricAgentName or customLocationRegion is null.

Applies to