@@ -14,12 +14,14 @@ Creates an ASR NIC config that contains the failover and test failover related c
14
14
15
15
```
16
16
New-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>]
18
19
[-EnableAcceleratedNetworkingOnRecovery] [-RecoveryNicStaticIPAddress <String>]
19
20
[-RecoveryPublicIPAddressId <String>] [-RecoveryLBBackendAddressPoolId <String[]>] [-TfoVMNetworkId <String>]
21
+ [-TfoNicName <String>] [-TfoNicResourceGroupName <String>] [-TfoReuseExistingNic <Boolean>]
20
22
[-TfoVMSubnetName <String>] [-TfoNetworkSecurityGroupId <String>] [-EnableAcceleratedNetworkingOnTfo]
21
23
[-TfoNicStaticIPAddress <String>] [-TfoPublicIPAddressId <String>] [-TfoLBBackendAddressPoolId <String[]>]
22
- [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
24
+ [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [ <CommonParameters>]
23
25
```
24
26
25
27
## DESCRIPTION
@@ -39,7 +41,8 @@ Creates an ASRVmNicConfig object with the failover and test faiover networking s
39
41
40
42
Creates an ASR NIC config that contains the failover and test failover related configuration details. (autogenerated)
41
43
42
- ``` powershell <!-- Aladdin Generated Example -->
44
+ ``` powershell
45
+ <!-- Aladdin Generated Example -->
43
46
New-AzRecoveryServicesAsrVMNicConfig -NicId $AsrNicGuid -RecoveryNetworkSecurityGroupId <String> -RecoveryNicStaticIPAddress '10.0.0.1' -RecoveryVMNetworkId $recoveryNetworkId -RecoveryVMSubnetName $recoverySubnetName -ReplicationProtectedItem $Rpi -TfoNetworkSecurityGroupId <String> -TfoNicStaticIPAddress <String> -TfoVMNetworkId <String> -TfoVMSubnetName <String>
44
47
```
45
48
@@ -135,6 +138,36 @@ Accept pipeline input: False
135
138
Accept wildcard characters : False
136
139
` ` `
137
140
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
+
138
171
### -RecoveryNicStaticIPAddress
139
172
Specifies the IP address of the recovery NIC.
140
173
@@ -210,6 +243,21 @@ Accept pipeline input: False
210
243
Accept wildcard characters : False
211
244
` ` `
212
245
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
+
213
261
### -TfoLBBackendAddressPoolId
214
262
Specifies the IDs of backend address pools for the recovery NIC.
215
263
@@ -240,6 +288,36 @@ Accept pipeline input: False
240
288
Accept wildcard characters : False
241
289
` ` `
242
290
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
+
243
321
### -TfoNicStaticIPAddress
244
322
Specifies the IP address of the test failover NIC.
245
323
@@ -270,6 +348,21 @@ Accept pipeline input: False
270
348
Accept wildcard characters : False
271
349
` ` `
272
350
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
+
273
366
### -TfoVMNetworkId
274
367
Specifies the ID of the test failover virtual network.
275
368
@@ -300,6 +393,36 @@ Accept pipeline input: False
300
393
Accept wildcard characters : False
301
394
` ` `
302
395
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
+
303
426
### CommonParameters
304
427
This 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).
305
428
0 commit comments