Skip to content

Commit

Permalink
Merge branch 'newApiVersion/asr2021-02-10-v2' of https://github.com/A…
Browse files Browse the repository at this point in the history
…srOneSdk/azure-powershell into newApiVersion/asr2021-02-10-v2
  • Loading branch information
nilgupta6 committed Apr 27, 2021
2 parents 2b49ae7 + b6bd7f8 commit a3b0ffb
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ New-AzRecoveryServicesAsrVMNicConfig -NicId <String> -ReplicationProtectedItem <
## DESCRIPTION
The **New-AzRecoveryServicesAsrVMNicConfig** cmdlet creates an ASR NIC config object that contains the failover and test failover related details. In case any information is not passed, the corresponding values are picked from the replication protected item to avoid these values being updated to null.

> [!IMPORTANT]
> We have deprecated the parameters corresponding to IP Configs from the cmdlet, and encapsulated them into a new cmdlet object. Please create a new object using the cmdlet **New-AzRecoveryServicesAsrVMNicIPConfig** and pass that as a parameter. Please refer to the examples below for more clarity.
## EXAMPLES

### Example 1
Expand All @@ -38,7 +41,7 @@ PS C:\> $nicConfig = New-AzRecoveryServicesAsrVMNicConfig -NicId $AsrNicGuid -Re
-TfoVMNetworkId $tfoNetworkId -IPConfig $ipConfigs
```

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.
Creates an ASRVmNicConfig object with the failover and test failover networking settings configured for the NIC. Any property that's not passed above is fetched from the protected item passed.

### Example 2
```powershell
Expand Down

0 comments on commit a3b0ffb

Please sign in to comment.