Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.VmNicDetails Method

Definition

Initializes a new instance of VmNicDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails VmNicDetails (string nicId = default, string replicaNicId = default, Azure.Core.ResourceIdentifier sourceNicArmId = default, string vmNetworkName = default, Azure.Core.ResourceIdentifier recoveryVmNetworkId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVIPConfigDetails> ipConfigs = default, string selectionType = default, string recoveryNetworkSecurityGroupId = default, bool? isAcceleratedNetworkingOnRecoveryEnabled = default, Azure.Core.ResourceIdentifier tfoVmNetworkId = default, string tfoNetworkSecurityGroupId = default, bool? isAcceleratedNetworkingOnTfoEnabled = default, string recoveryNicName = default, string recoveryNicResourceGroupName = default, bool? isReuseExistingNicAllowed = default, string tfoRecoveryNicName = default, string tfoRecoveryNicResourceGroupName = default, bool? isTfoReuseExistingNicAllowed = default, string targetNicName = default);
static member VmNicDetails : string * string * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVIPConfigDetails> * string * string * Nullable<bool> * Azure.Core.ResourceIdentifier * string * Nullable<bool> * string * string * Nullable<bool> * string * string * Nullable<bool> * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails
Public Shared Function VmNicDetails (Optional nicId As String = Nothing, Optional replicaNicId As String = Nothing, Optional sourceNicArmId As ResourceIdentifier = Nothing, Optional vmNetworkName As String = Nothing, Optional recoveryVmNetworkId As ResourceIdentifier = Nothing, Optional ipConfigs As IEnumerable(Of HyperVIPConfigDetails) = Nothing, Optional selectionType As String = Nothing, Optional recoveryNetworkSecurityGroupId As String = Nothing, Optional isAcceleratedNetworkingOnRecoveryEnabled As Nullable(Of Boolean) = Nothing, Optional tfoVmNetworkId As ResourceIdentifier = Nothing, Optional tfoNetworkSecurityGroupId As String = Nothing, Optional isAcceleratedNetworkingOnTfoEnabled As Nullable(Of Boolean) = Nothing, Optional recoveryNicName As String = Nothing, Optional recoveryNicResourceGroupName As String = Nothing, Optional isReuseExistingNicAllowed As Nullable(Of Boolean) = Nothing, Optional tfoRecoveryNicName As String = Nothing, Optional tfoRecoveryNicResourceGroupName As String = Nothing, Optional isTfoReuseExistingNicAllowed As Nullable(Of Boolean) = Nothing, Optional targetNicName As String = Nothing) As VmNicDetails

Parameters

nicId
String

The nic Id.

replicaNicId
String

The replica nic Id.

sourceNicArmId
ResourceIdentifier

The source nic ARM Id.

vmNetworkName
String

VM network name.

recoveryVmNetworkId
ResourceIdentifier

Recovery VM network Id.

ipConfigs
IEnumerable<HyperVIPConfigDetails>

The IP configurations of the NIC.

selectionType
String

Selection type for failover.

recoveryNetworkSecurityGroupId
String

The id of the NSG associated with the NIC.

isAcceleratedNetworkingOnRecoveryEnabled
Nullable<Boolean>

A value indicating whether the NIC has accelerated networking enabled.

tfoVmNetworkId
ResourceIdentifier

The network to be used by NIC during test failover.

tfoNetworkSecurityGroupId
String

The NSG to be used by NIC during test failover.

isAcceleratedNetworkingOnTfoEnabled
Nullable<Boolean>

Whether the TFO NIC has accelerated networking enabled.

recoveryNicName
String

The name of the NIC to be used when creating target NICs.

recoveryNicResourceGroupName
String

The resource group of the NIC to be used when creating target NICs.

isReuseExistingNicAllowed
Nullable<Boolean>

A value indicating whether an existing NIC is allowed to be reused during failover subject to availability.

tfoRecoveryNicName
String

The name of the NIC to be used when creating target NICs in TFO.

tfoRecoveryNicResourceGroupName
String

The resource group of the NIC to be used when creating target NICs in TFO.

isTfoReuseExistingNicAllowed
Nullable<Boolean>

A value indicating whether an existing NIC is allowed to be reused during test failover subject to availability.

targetNicName
String

Target NIC name.

Returns

A new VmNicDetails instance for mocking.

Applies to