Udostępnij za pośrednictwem


ArmRecoveryServicesSiteRecoveryModelFactory.InMageRcmNicDetails Method

Definition

Initializes a new instance of InMageRcmNicDetails.

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

Parameters

nicId
String

The NIC Id.

isPrimaryNic
String

A value indicating whether this is the primary NIC.

isSelectedForFailover
String

A value indicating whether this NIC is selected for failover.

sourceIPAddress
IPAddress

The source IP address.

sourceIPAddressType
Nullable<SiteRecoveryEthernetAddressType>

The source IP address type.

sourceNetworkId
ResourceIdentifier

Source network Id.

sourceSubnetName
String

Source subnet name.

targetIPAddress
IPAddress

The target IP address.

targetIPAddressType
Nullable<SiteRecoveryEthernetAddressType>

The target IP address type.

targetSubnetName
String

Target subnet name.

testSubnetName
String

Test subnet name.

testIPAddress
IPAddress

The test IP address.

testIPAddressType
Nullable<SiteRecoveryEthernetAddressType>

The test IP address type.

Returns

A new InMageRcmNicDetails instance for mocking.

Applies to