@@ -14,12 +14,14 @@ Creates an ASR NIC config that contains the failover and test failover related c
1414
1515```
1616New-AzRecoveryServicesAsrVMNicConfig -NicId <String> -ReplicationProtectedItem <ASRReplicationProtectedItem>
17- [-RecoveryVMNetworkId <String>] [-RecoveryVMSubnetName <String>] [-RecoveryNetworkSecurityGroupId <String>]
17+ [-RecoveryVMNetworkId <String>] [-RecoveryNicName <String>] [-RecoveryNicResourceGroupName <String>]
18+ [-ReuseExistingNic <Boolean>] [-RecoveryVMSubnetName <String>] [-RecoveryNetworkSecurityGroupId <String>]
1819 [-EnableAcceleratedNetworkingOnRecovery] [-RecoveryNicStaticIPAddress <String>]
1920 [-RecoveryPublicIPAddressId <String>] [-RecoveryLBBackendAddressPoolId <String[]>] [-TfoVMNetworkId <String>]
21+ [-TfoNicName <String>] [-TfoNicResourceGroupName <String>] [-TfoReuseExistingNic <Boolean>]
2022 [-TfoVMSubnetName <String>] [-TfoNetworkSecurityGroupId <String>] [-EnableAcceleratedNetworkingOnTfo]
2123 [-TfoNicStaticIPAddress <String>] [-TfoPublicIPAddressId <String>] [-TfoLBBackendAddressPoolId <String[]>]
22- [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
24+ [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [ <CommonParameters>]
2325```
2426
2527## DESCRIPTION
@@ -39,7 +41,8 @@ Creates an ASRVmNicConfig object with the failover and test faiover networking s
3941
4042Creates an ASR NIC config that contains the failover and test failover related configuration details. (autogenerated)
4143
42- ``` powershell <!-- Aladdin Generated Example -->
44+ ``` powershell
45+ <!-- Aladdin Generated Example -->
4346New-AzRecoveryServicesAsrVMNicConfig -NicId $AsrNicGuid -RecoveryNetworkSecurityGroupId <String> -RecoveryNicStaticIPAddress '10.0.0.1' -RecoveryVMNetworkId $recoveryNetworkId -RecoveryVMSubnetName $recoverySubnetName -ReplicationProtectedItem $Rpi -TfoNetworkSecurityGroupId <String> -TfoNicStaticIPAddress <String> -TfoVMNetworkId <String> -TfoVMSubnetName <String>
4447```
4548
@@ -135,6 +138,36 @@ Accept pipeline input: False
135138Accept wildcard characters : False
136139` ` `
137140
141+ ### -RecoveryNicName
142+ Specifies the name of the recovery NIC.
143+
144+ ` ` ` yaml
145+ Type : System.String
146+ Parameter Sets : (All)
147+ Aliases :
148+
149+ Required : False
150+ Position : Named
151+ Default value : None
152+ Accept pipeline input : False
153+ Accept wildcard characters : False
154+ ` ` `
155+
156+ ### -RecoveryNicResourceGroupName
157+ Specifies the name of the recovery NIC resource group.
158+
159+ ` ` ` yaml
160+ Type : System.String
161+ Parameter Sets : (All)
162+ Aliases :
163+
164+ Required : False
165+ Position : Named
166+ Default value : None
167+ Accept pipeline input : False
168+ Accept wildcard characters : False
169+ ` ` `
170+
138171### -RecoveryNicStaticIPAddress
139172Specifies the IP address of the recovery NIC.
140173
@@ -210,6 +243,21 @@ Accept pipeline input: False
210243Accept wildcard characters : False
211244` ` `
212245
246+ ### -ReuseExistingNic
247+ Specifies whether an existing NIC can be used during failover.
248+
249+ ` ` ` yaml
250+ Type : System.Boolean
251+ Parameter Sets : (All)
252+ Aliases :
253+
254+ Required : False
255+ Position : Named
256+ Default value : None
257+ Accept pipeline input : False
258+ Accept wildcard characters : False
259+ ` ` `
260+
213261### -TfoLBBackendAddressPoolId
214262Specifies the IDs of backend address pools for the recovery NIC.
215263
@@ -240,6 +288,36 @@ Accept pipeline input: False
240288Accept wildcard characters : False
241289` ` `
242290
291+ ### -TfoNicName
292+ Specifies the name of the test failover NIC.
293+
294+ ` ` ` yaml
295+ Type : System.String
296+ Parameter Sets : (All)
297+ Aliases :
298+
299+ Required : False
300+ Position : Named
301+ Default value : None
302+ Accept pipeline input : False
303+ Accept wildcard characters : False
304+ ` ` `
305+
306+ ### -TfoNicResourceGroupName
307+ Specifies the name of the test failover NIC resource group.
308+
309+ ` ` ` yaml
310+ Type : System.String
311+ Parameter Sets : (All)
312+ Aliases :
313+
314+ Required : False
315+ Position : Named
316+ Default value : None
317+ Accept pipeline input : False
318+ Accept wildcard characters : False
319+ ` ` `
320+
243321### -TfoNicStaticIPAddress
244322Specifies the IP address of the test failover NIC.
245323
@@ -270,6 +348,21 @@ Accept pipeline input: False
270348Accept wildcard characters : False
271349` ` `
272350
351+ ### -TfoReuseExistingNic
352+ Specifies whether an existing NIC can be used during test failover.
353+
354+ ` ` ` yaml
355+ Type : System.Boolean
356+ Parameter Sets : (All)
357+ Aliases :
358+
359+ Required : False
360+ Position : Named
361+ Default value : None
362+ Accept pipeline input : False
363+ Accept wildcard characters : False
364+ ` ` `
365+
273366### -TfoVMNetworkId
274367Specifies the ID of the test failover virtual network.
275368
@@ -300,6 +393,36 @@ Accept pipeline input: False
300393Accept wildcard characters : False
301394` ` `
302395
396+ ### -Confirm
397+ Prompts you for confirmation before running the cmdlet.
398+
399+ ` ` ` yaml
400+ Type : System.Management.Automation.SwitchParameter
401+ Parameter Sets : (All)
402+ Aliases : cf
403+
404+ Required : False
405+ Position : Named
406+ Default value : None
407+ Accept pipeline input : False
408+ Accept wildcard characters : False
409+ ` ` `
410+
411+ ### -WhatIf
412+ Shows what would happen if the cmdlet runs. The cmdlet is not run.
413+
414+ ` ` ` yaml
415+ Type : System.Management.Automation.SwitchParameter
416+ Parameter Sets : (All)
417+ Aliases : wi
418+
419+ Required : False
420+ Position : Named
421+ Default value : None
422+ Accept pipeline input : False
423+ Accept wildcard characters : False
424+ ` ` `
425+
303426### CommonParameters
304427This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
305428
0 commit comments