Skip to content

Commit dba3b30

Browse files
added example in help file and updated changeLog
1 parent 59e366e commit dba3b30

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

src/RecoveryServices/RecoveryServices/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020
## Upcoming Release
2121
* Azure Backup added support for fetching MAB items.
22+
* Azure Site Recovery support to update failover and test failover NIC names, existing NIC reuse.
2223

2324
## Version 2.9.1
2425
* Azure Site Recovery support for creating recovery plan for zone to zone replication from xml input.

src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesAsrVMNicConfig.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ Creates an ASR NIC config that contains the failover and test failover related c
1515
```
1616
New-AzRecoveryServicesAsrVMNicConfig -NicId <String> -ReplicationProtectedItem <ASRReplicationProtectedItem>
1717
[-RecoveryVMNetworkId <String>] [-RecoveryNicName <String>] [-RecoveryNicResourceGroupName <String>]
18-
[-ReuseExistingNic <Boolean>] [-RecoveryVMSubnetName <String>] [-RecoveryNetworkSecurityGroupId <String>]
18+
[-ReuseExistingNic] [-RecoveryVMSubnetName <String>] [-RecoveryNetworkSecurityGroupId <String>]
1919
[-EnableAcceleratedNetworkingOnRecovery] [-RecoveryNicStaticIPAddress <String>]
2020
[-RecoveryPublicIPAddressId <String>] [-RecoveryLBBackendAddressPoolId <String[]>] [-TfoVMNetworkId <String>]
21-
[-TfoNicName <String>] [-TfoNicResourceGroupName <String>] [-TfoReuseExistingNic <Boolean>]
22-
[-TfoVMSubnetName <String>] [-TfoNetworkSecurityGroupId <String>] [-EnableAcceleratedNetworkingOnTfo]
23-
[-TfoNicStaticIPAddress <String>] [-TfoPublicIPAddressId <String>] [-TfoLBBackendAddressPoolId <String[]>]
21+
[-TfoNicName <String>] [-TfoNicResourceGroupName <String>] [-TfoReuseExistingNic] [-TfoVMSubnetName <String>]
22+
[-TfoNetworkSecurityGroupId <String>] [-EnableAcceleratedNetworkingOnTfo] [-TfoNicStaticIPAddress <String>]
23+
[-TfoPublicIPAddressId <String>] [-TfoLBBackendAddressPoolId <String[]>]
2424
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2525
```
2626

@@ -38,6 +38,14 @@ PS C:\> $nicConfig = New-AzRecoveryServicesAsrVMNicConfig -NicId $AsrNicGuid -Re
3838
Creates an ASRVmNicConfig object with the failover and test faiover networking settings configured for the NIC. Any property that's not passed above is fetched from the protected item passed.
3939

4040
### Example 2
41+
```powershell
42+
PS C:\> $nicConfig = New-AzRecoveryServicesAsrVMNicConfig -NicId $AsrNicGuid -ReplicationProtectedItem $Rpi -TfoNicName $TfoNicName -TfoNicResourceGroupName $TfoNicRgName -TfoReuseExistingNic
43+
```
44+
45+
Creates an ASRVmNicConfig object with the test faiover networking settings configured for the NIC renaming. Any property that's not passed above is fetched from the protected item passed.
46+
47+
48+
### Example 3
4149

4250
Creates an ASR NIC config that contains the failover and test failover related configuration details. (autogenerated)
4351

@@ -247,7 +255,7 @@ Accept wildcard characters: False
247255
Specifies whether an existing NIC can be used during failover.
248256
249257
```yaml
250-
Type: System.Boolean
258+
Type: System.Management.Automation.SwitchParameter
251259
Parameter Sets: (All)
252260
Aliases:
253261

@@ -352,7 +360,7 @@ Accept wildcard characters: False
352360
Specifies whether an existing NIC can be used during test failover.
353361
354362
```yaml
355-
Type: System.Boolean
363+
Type: System.Management.Automation.SwitchParameter
356364
Parameter Sets: (All)
357365
Aliases:
358366

0 commit comments

Comments
 (0)