@@ -947,6 +947,11 @@ public ASRVMNicDetails(
947
947
this . RecoveryNetworkSecurityGroupId = vMNicDetails . RecoveryNetworkSecurityGroupId ;
948
948
this . RecoveryLBBackendAddressPoolId =
949
949
vMNicDetails . RecoveryLBBackendAddressPoolIds ? . ToList ( ) ?? new List < string > ( ) ;
950
+ this . TfoVMNetworkId = vMNicDetails . TfoVMNetworkId ;
951
+ this . TfoVMSubnetName = vMNicDetails . TfoVMSubnetName ;
952
+ this . TfoNetworkSecurityGroupId = vMNicDetails . TfoNetworkSecurityGroupId ;
953
+ this . TfoIPConfigs = vMNicDetails . TfoIPConfigs ? . ToList ( ) ?? new List < IPConfig > ( ) ;
954
+ this . EnableAcceleratedNetworkingOnTfo = vMNicDetails . EnableAcceleratedNetworkingOnTfo ;
950
955
}
951
956
952
957
//
@@ -1028,6 +1033,31 @@ public ASRVMNicDetails(
1028
1033
/// Gets or sets the target backend address pools for the NIC.
1029
1034
/// </summary>
1030
1035
public List < string > RecoveryLBBackendAddressPoolId { get ; set ; }
1036
+
1037
+ /// <summary>
1038
+ /// Gets or sets test failover network Id.
1039
+ /// </summary>
1040
+ public string TfoVMNetworkId { get ; set ; }
1041
+
1042
+ /// <summary>
1043
+ /// Gets or sets test failover subnet name.
1044
+ /// </summary>
1045
+ public string TfoVMSubnetName { get ; set ; }
1046
+
1047
+ /// <summary>
1048
+ /// Gets or sets the id of the NSG associated with the test failover NIC.
1049
+ /// </summary>
1050
+ public string TfoNetworkSecurityGroupId { get ; set ; }
1051
+
1052
+ /// <summary>
1053
+ /// Gets or sets the IP configuration details for test failover NIC.
1054
+ /// </summary>
1055
+ public List < IPConfig > TfoIPConfigs { get ; set ; }
1056
+
1057
+ //
1058
+ // Summary:
1059
+ // Gets or sets whether accelerated networking is enabled on test failover NIC.
1060
+ public bool ? EnableAcceleratedNetworkingOnTfo { get ; set ; }
1031
1061
}
1032
1062
1033
1063
/// <summary>
@@ -1422,8 +1452,10 @@ public ASRReplicationProtectedItem(
1422
1452
var a2aProviderSpecificDetails = ( A2AReplicationDetails ) rpi . Properties . ProviderSpecificDetails ;
1423
1453
1424
1454
this . RecoveryAzureVMName = a2aProviderSpecificDetails . RecoveryAzureVMName ;
1455
+ this . TfoAzureVMName = a2aProviderSpecificDetails . TfoAzureVMName ;
1425
1456
this . RecoveryAzureVMSize = a2aProviderSpecificDetails . RecoveryAzureVMSize ;
1426
1457
this . SelectedRecoveryAzureNetworkId = a2aProviderSpecificDetails . SelectedRecoveryAzureNetworkId ;
1458
+ this . SelectedTfoAzureNetworkId = a2aProviderSpecificDetails . SelectedTfoAzureNetworkId ;
1427
1459
this . ProtectionState = a2aProviderSpecificDetails . VmProtectionState ;
1428
1460
this . ProtectionStateDescription = a2aProviderSpecificDetails . VmProtectionStateDescription ;
1429
1461
this . ProviderSpecificDetails = new ASRAzureToAzureSpecificRPIDetails ( a2aProviderSpecificDetails ) ;
@@ -1610,6 +1642,16 @@ public ASRReplicationProtectedItem(
1610
1642
/// Gets or sets type of the Protection entity.
1611
1643
/// </summary>
1612
1644
public string Type { get ; set ; }
1645
+
1646
+ /// <summary>
1647
+ /// Gets or sets name of the test failover virtual machine.
1648
+ /// </summary>
1649
+ public string TfoAzureVMName { get ; set ; }
1650
+
1651
+ /// <summary>
1652
+ /// Gets or sets Id of the test failover virtual network.
1653
+ /// </summary>
1654
+ public string SelectedTfoAzureNetworkId { get ; set ; }
1613
1655
}
1614
1656
1615
1657
/// <summary>
@@ -2281,23 +2323,17 @@ public class AsrVolume
2281
2323
}
2282
2324
2283
2325
/// <summary>
2284
- /// Partial details of a NIC of a VM .
2326
+ /// Partial ASR details of a NIC.
2285
2327
/// </summary>
2286
2328
[ DataContract ( Namespace = "http://schemas.microsoft.com/windowsazure" ) ]
2287
- public class VMNic
2329
+ public class ASRVMNicConfig
2288
2330
{
2289
2331
/// <summary>
2290
2332
/// Gets or sets ID of the NIC.
2291
2333
/// </summary>
2292
2334
[ DataMember ]
2293
2335
public string NicId { get ; set ; }
2294
2336
2295
- /// <summary>
2296
- /// Gets or sets the static IP address of the replica NIC.
2297
- /// </summary>
2298
- [ DataMember ]
2299
- public string RecoveryNicStaticIPAddress { get ; set ; }
2300
-
2301
2337
/// <summary>
2302
2338
/// Gets or sets Id of the recovery VM Network.
2303
2339
/// </summary>
@@ -2311,16 +2347,52 @@ public class VMNic
2311
2347
public string RecoveryVMSubnetName { get ; set ; }
2312
2348
2313
2349
/// <summary>
2314
- /// Gets or sets Name of the VM network .
2350
+ /// Gets or sets the id of the NSG associated with the recovery NIC .
2315
2351
/// </summary>
2316
2352
[ DataMember ]
2317
- public string VMNetworkName { get ; set ; }
2353
+ public string RecoveryNetworkSecurityGroupId { get ; set ; }
2318
2354
2319
2355
/// <summary>
2320
- /// Gets or sets Name of the VM subnet .
2356
+ /// Gets or sets the IP configuration details for the recovery NIC .
2321
2357
/// </summary>
2322
2358
[ DataMember ]
2323
- public string VMSubnetName { get ; set ; }
2359
+ public List < IPConfig > RecoveryIPConfigs { get ; set ; }
2360
+
2361
+ /// <summary>
2362
+ /// Gets or sets whether the recovery NIC has accelerated networking enabled.
2363
+ /// </summary>
2364
+ [ DataMember ]
2365
+ public bool EnableAcceleratedNetworkingOnRecovery { get ; set ; }
2366
+
2367
+ /// <summary>
2368
+ /// Gets or sets Id of the test failover VM Network.
2369
+ /// </summary>
2370
+ [ DataMember ]
2371
+ public string TfoVMNetworkId { get ; set ; }
2372
+
2373
+ /// <summary>
2374
+ /// Gets or sets the name of the test failover VM subnet.
2375
+ /// </summary>
2376
+ [ DataMember ]
2377
+ public string TfoVMSubnetName { get ; set ; }
2378
+
2379
+ /// <summary>
2380
+ /// Gets or sets the id of the NSG associated with the test failover NIC.
2381
+ /// </summary>
2382
+ [ DataMember ]
2383
+ public string TfoNetworkSecurityGroupId { get ; set ; }
2384
+
2385
+ /// <summary>
2386
+ /// Gets or sets the IP configuration details for the test failover NIC.
2387
+ /// </summary>
2388
+ [ DataMember ]
2389
+ public List < IPConfig > TfoIPConfigs { get ; set ; }
2390
+
2391
+ /// <summary>
2392
+ /// Gets or sets whether the test failover NIC has accelerated networking enabled.
2393
+ /// </summary>
2394
+ [ DataMember ]
2395
+ public bool EnableAcceleratedNetworkingOnTfo { get ; set ; }
2324
2396
}
2325
2397
2326
2398
/// <summary>
@@ -2450,6 +2522,16 @@ public ASRAzuretoAzureDiskReplicationConfig()
2450
2522
/// Gets or sets KeyEncryptionVaultId.
2451
2523
/// </summary>
2452
2524
public string KeyEncryptionVaultId { get ; set ; }
2525
+
2526
+ /// <summary>
2527
+ /// Gets or sets the failover disk name.
2528
+ /// </summary>
2529
+ public string FailoverDiskName { get ; set ; }
2530
+
2531
+ /// <summary>
2532
+ /// Gets or sets the test failover disk name.
2533
+ /// </summary>
2534
+ public string TfoDiskName { get ; set ; }
2453
2535
}
2454
2536
2455
2537
/// <summary>
@@ -2522,6 +2604,8 @@ public ASRAzureToAzureProtectedDiskDetails(A2AProtectedManagedDiskDetails disk)
2522
2604
this . KekKeyVaultArmId = disk . KekKeyVaultArmId ;
2523
2605
this . KeyIdentifier = disk . KeyIdentifier ;
2524
2606
this . RecoveryDiskEncryptionSetId = disk . RecoveryDiskEncryptionSetId ;
2607
+ this . FailoverDiskName = disk . FailoverDiskName ;
2608
+ this . TfoDiskName = disk . TfoDiskName ;
2525
2609
}
2526
2610
2527
2611
/// <summary>
@@ -2657,6 +2741,16 @@ public ASRAzureToAzureProtectedDiskDetails(A2AProtectedManagedDiskDetails disk)
2657
2741
/// Gets or sets the data pending at source virtual machine in MB.
2658
2742
/// </summary>
2659
2743
public double ? DataPendingAtSourceAgentInMB { get ; set ; }
2744
+
2745
+ /// <summary>
2746
+ /// Gets or sets the failover disk name.
2747
+ /// </summary>
2748
+ public string FailoverDiskName { get ; set ; }
2749
+
2750
+ /// <summary>
2751
+ /// Gets or sets the test failover disk name.
2752
+ /// </summary>
2753
+ public string TfoDiskName { get ; set ; }
2660
2754
}
2661
2755
2662
2756
/// <summary>
0 commit comments