你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
HyperVToAzStackHciProtectedItemModelCustomProperties 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 HyperVToAzStackHciProtectedItemModelCustomProperties 的新实例。
public HyperVToAzStackHciProtectedItemModelCustomProperties (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 sourceDraName, string targetDraName, string customLocationRegion);
new Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciProtectedItemModelCustomProperties : 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.HyperVToAzStackHciProtectedItemModelCustomProperties
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, sourceDraName As String, targetDraName As String, customLocationRegion As String)
参数
- targetHciClusterId
- ResourceIdentifier
获取或设置目标 HCI 群集 ARM ID。
- targetArcClusterCustomLocationId
- ResourceIdentifier
获取或设置目标 Arc 群集自定义位置 ARM ID。
- fabricDiscoveryMachineId
- ResourceIdentifier
获取或设置已发现计算机的 ARM ID。
- disksToInclude
- IEnumerable<HyperVToAzStackHciDiskInput>
获取或设置要复制的磁盘列表。
- nicsToInclude
- IEnumerable<HyperVToAzStackHciNicInput>
获取或设置要复制的 VM NIC 的列表。
- targetResourceGroupId
- ResourceIdentifier
获取或设置目标资源组 ARM ID。
- storageContainerId
- ResourceIdentifier
获取或设置目标存储容器 ARM ID。
- hyperVGeneration
- String
获取或设置虚拟机的虚拟机监控程序生成。
- runAsAccountId
- String
获取或设置运行方式帐户 ID。
- sourceDraName
- String
获取或设置源 DRA 名称。
- targetDraName
- String
获取或设置目标 DRA 名称。
- customLocationRegion
- String
获取或设置 Azure Arc HCI 自定义位置资源的位置。
例外
targetHciClusterId
、targetArcClusterCustomLocationId
、fabricDiscoveryMachineId
、disksToInclude
、nicsToInclude
、targetResourceGroupId
、、storageContainerId
、runAsAccountId
hyperVGeneration
、sourceDraName
、 targetDraName
或 customLocationRegion
为 null。