Dela via


HyperVToAzStackHciNicInput(String, String, String, VmNicSelection) Constructor

Definition

Initializes a new instance of HyperVToAzStackHciNicInput.

public HyperVToAzStackHciNicInput (string nicId, string targetNetworkId, string testNetworkId, Azure.ResourceManager.RecoveryServicesDataReplication.Models.VmNicSelection selectionTypeForFailover);
new Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciNicInput : string * string * string * Azure.ResourceManager.RecoveryServicesDataReplication.Models.VmNicSelection -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciNicInput
Public Sub New (nicId As String, targetNetworkId As String, testNetworkId As String, selectionTypeForFailover As VmNicSelection)

Parameters

nicId
String

Gets or sets the NIC Id.

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.

selectionTypeForFailover
VmNicSelection

Gets or sets the selection type of the NIC.

Exceptions

nicId, targetNetworkId or testNetworkId is null.

Applies to