ArmRecoveryServicesDataReplicationModelFactory.HyperVToAzStackHciProtectedNicProperties 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 HyperVToAzStackHciProtectedNicProperties.
public static Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciProtectedNicProperties HyperVToAzStackHciProtectedNicProperties (string nicId = default, string macAddress = default, string networkName = default, string targetNetworkId = default, string testNetworkId = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.VmNicSelection? selectionTypeForFailover = default);
static member HyperVToAzStackHciProtectedNicProperties : string * string * string * string * string * Nullable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.VmNicSelection> -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.HyperVToAzStackHciProtectedNicProperties
Public Shared Function HyperVToAzStackHciProtectedNicProperties (Optional nicId As String = Nothing, Optional macAddress As String = Nothing, Optional networkName As String = Nothing, Optional targetNetworkId As String = Nothing, Optional testNetworkId As String = Nothing, Optional selectionTypeForFailover As Nullable(Of VmNicSelection) = Nothing) As HyperVToAzStackHciProtectedNicProperties
Parameters
- nicId
- String
Gets or sets the NIC Id.
- macAddress
- String
Gets or sets the NIC mac address.
- networkName
- String
Gets or sets the network name.
- 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
- Nullable<VmNicSelection>
Gets or sets the selection type of the NIC.
Returns
A new HyperVToAzStackHciProtectedNicProperties instance for mocking.
Applies to
Azure SDK for .NET