Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.VMwareCbtNicDetails Method

Definition

Initializes a new instance of VMwareCbtNicDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtNicDetails VMwareCbtNicDetails (string nicId = default, string isPrimaryNic = default, System.Net.IPAddress sourceIPAddress = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEthernetAddressType? sourceIPAddressType = default, Azure.Core.ResourceIdentifier sourceNetworkId = default, System.Net.IPAddress targetIPAddress = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEthernetAddressType? targetIPAddressType = default, string targetSubnetName = default, Azure.Core.ResourceIdentifier testNetworkId = default, string testSubnetName = default, System.Net.IPAddress testIPAddress = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEthernetAddressType? testIPAddressType = default, string targetNicName = default, string isSelectedForMigration = default);
static member VMwareCbtNicDetails : string * string * System.Net.IPAddress * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEthernetAddressType> * Azure.Core.ResourceIdentifier * System.Net.IPAddress * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEthernetAddressType> * string * Azure.Core.ResourceIdentifier * string * System.Net.IPAddress * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEthernetAddressType> * string * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtNicDetails
Public Shared Function VMwareCbtNicDetails (Optional nicId As String = Nothing, Optional isPrimaryNic As String = Nothing, Optional sourceIPAddress As IPAddress = Nothing, Optional sourceIPAddressType As Nullable(Of SiteRecoveryEthernetAddressType) = Nothing, Optional sourceNetworkId As ResourceIdentifier = Nothing, Optional targetIPAddress As IPAddress = Nothing, Optional targetIPAddressType As Nullable(Of SiteRecoveryEthernetAddressType) = Nothing, Optional targetSubnetName As String = Nothing, Optional testNetworkId As ResourceIdentifier = Nothing, Optional testSubnetName As String = Nothing, Optional testIPAddress As IPAddress = Nothing, Optional testIPAddressType As Nullable(Of SiteRecoveryEthernetAddressType) = Nothing, Optional targetNicName As String = Nothing, Optional isSelectedForMigration As String = Nothing) As VMwareCbtNicDetails

Parameters

nicId
String

The NIC Id.

isPrimaryNic
String

A value indicating whether this is the primary NIC.

sourceIPAddress
IPAddress

The source IP address.

sourceIPAddressType
Nullable<SiteRecoveryEthernetAddressType>

The source IP address type.

sourceNetworkId
ResourceIdentifier

Source network Id.

targetIPAddress
IPAddress

The target IP address.

targetIPAddressType
Nullable<SiteRecoveryEthernetAddressType>

The target IP address type.

targetSubnetName
String

Target subnet name.

testNetworkId
ResourceIdentifier

Source network Id.

testSubnetName
String

Test subnet name.

testIPAddress
IPAddress

The test IP address.

testIPAddressType
Nullable<SiteRecoveryEthernetAddressType>

The test IP address type.

targetNicName
String

Target NIC name.

isSelectedForMigration
String

A value indicating whether this NIC is selected for migration.

Returns

A new VMwareCbtNicDetails instance for mocking.

Applies to