@@ -934,42 +934,22 @@ public ASRVMNicDetails(
934
934
this . ReplicaNicId = vMNicDetails . ReplicaNicId ;
935
935
this . SourceNicArmId = vMNicDetails . SourceNicArmId ;
936
936
this . VMNetworkName = vMNicDetails . VMNetworkName ;
937
- this . VMSubnetName = vMNicDetails . VMSubnetName ;
938
937
this . RecoveryVMNetworkId = vMNicDetails . RecoveryVMNetworkId ;
939
938
this . RecoveryNicName = vMNicDetails . RecoveryNicName ;
940
939
this . RecoveryNicResourceGroupName = vMNicDetails . RecoveryNicResourceGroupName ;
941
940
this . ReuseExistingNic = vMNicDetails . ReuseExistingNic ;
942
- this . RecoveryVMSubnetName = vMNicDetails . RecoveryVMSubnetName ;
943
- this . ReplicaNicStaticIPAddress = vMNicDetails . ReplicaNicStaticIPAddress ;
944
- this . IpAddressType = vMNicDetails . IpAddressType ;
945
941
this . SelectionType = vMNicDetails . SelectionType ;
946
- this . PrimaryNicStaticIPAddress = vMNicDetails . PrimaryNicStaticIPAddress ;
947
- this . RecoveryNicIpAddressType = vMNicDetails . RecoveryNicIpAddressType ;
948
942
this . EnableAcceleratedNetworkingOnRecovery = vMNicDetails . EnableAcceleratedNetworkingOnRecovery ;
949
- this . RecoveryPublicIPAddressId = vMNicDetails . RecoveryPublicIpAddressId ;
950
943
this . RecoveryNetworkSecurityGroupId = vMNicDetails . RecoveryNetworkSecurityGroupId ;
951
- this . RecoveryLBBackendAddressPoolId =
952
- vMNicDetails . RecoveryLBBackendAddressPoolIds ? . ToList ( ) ?? new List < string > ( ) ;
944
+ this . IpConfigs = vMNicDetails . IpConfigs ;
953
945
this . TfoVMNetworkId = vMNicDetails . TfoVMNetworkId ;
954
946
this . TfoNicName = vMNicDetails . TfoRecoveryNicName ;
955
947
this . TfoNicResourceGroupName = vMNicDetails . TfoRecoveryNicResourceGroupName ;
956
948
this . TfoReuseExistingNic = vMNicDetails . TfoReuseExistingNic ;
957
- this . TfoVMSubnetName = vMNicDetails . TfoVMSubnetName ;
958
949
this . TfoNetworkSecurityGroupId = vMNicDetails . TfoNetworkSecurityGroupId ;
959
- this . TfoIPConfigs = vMNicDetails . TfoIPConfigs ? . ToList ( ) ?? new List < IPConfig > ( ) ;
960
950
this . EnableAcceleratedNetworkingOnTfo = vMNicDetails . EnableAcceleratedNetworkingOnTfo ;
961
951
}
962
952
963
- //
964
- // Summary:
965
- // Gets or sets primary nic static IP address.
966
- public string PrimaryNicStaticIPAddress { get ; set ; }
967
-
968
- //
969
- // Summary:
970
- // Gets or sets IP allocation type for recovery VM.
971
- public string RecoveryNicIpAddressType { get ; set ; }
972
-
973
953
//
974
954
// Summary:
975
955
// Gets or sets Enable Accelerated Networking On Recovery.
@@ -985,11 +965,6 @@ public ASRVMNicDetails(
985
965
// Gets or sets the source nic ARM Id.
986
966
public string SourceNicArmId { get ; set ; }
987
967
988
- /// <summary>
989
- /// Gets or sets ipv4 address type.
990
- /// </summary>
991
- public string IpAddressType { get ; set ; }
992
-
993
968
/// <summary>
994
969
/// Gets or sets the nic Id.
995
970
/// </summary>
@@ -1015,16 +990,6 @@ public ASRVMNicDetails(
1015
990
/// </summary>
1016
991
public string RecoveryVMNetworkId { get ; set ; }
1017
992
1018
- /// <summary>
1019
- /// Gets or sets recovery VM subnet name.
1020
- /// </summary>
1021
- public string RecoveryVMSubnetName { get ; set ; }
1022
-
1023
- /// <summary>
1024
- /// Gets or sets replica nic static IP address.
1025
- /// </summary>
1026
- public string ReplicaNicStaticIPAddress { get ; set ; }
1027
-
1028
993
/// <summary>
1029
994
/// Gets or sets selection type for failover.
1030
995
/// </summary>
@@ -1035,26 +1000,11 @@ public ASRVMNicDetails(
1035
1000
/// </summary>
1036
1001
public string VMNetworkName { get ; set ; }
1037
1002
1038
- /// <summary>
1039
- /// Gets or sets VM subnet name.
1040
- /// </summary>
1041
- public string VMSubnetName { get ; set ; }
1042
-
1043
- /// <summary>
1044
- /// Gets or sets the id of the public IP address resource associated with the NIC.
1045
- /// </summary>
1046
- public string RecoveryPublicIPAddressId { get ; set ; }
1047
-
1048
1003
/// <summary>
1049
1004
/// Gets or sets the id of the NSG associated with the NIC.
1050
1005
/// </summary>
1051
1006
public string RecoveryNetworkSecurityGroupId { get ; set ; }
1052
1007
1053
- /// <summary>
1054
- /// Gets or sets the target backend address pools for the NIC.
1055
- /// </summary>
1056
- public List < string > RecoveryLBBackendAddressPoolId { get ; set ; }
1057
-
1058
1008
/// <summary>
1059
1009
/// Gets or sets test failover network Id.
1060
1010
/// </summary>
@@ -1075,21 +1025,15 @@ public ASRVMNicDetails(
1075
1025
/// </summary>
1076
1026
public bool ? TfoReuseExistingNic { get ; set ; }
1077
1027
1078
- /// <summary>
1079
- /// Gets or sets test failover subnet name.
1080
- /// </summary>
1081
- public string TfoVMSubnetName { get ; set ; }
1082
-
1083
1028
/// <summary>
1084
1029
/// Gets or sets the id of the NSG associated with the test failover NIC.
1085
1030
/// </summary>
1086
1031
public string TfoNetworkSecurityGroupId { get ; set ; }
1087
1032
1088
1033
/// <summary>
1089
- /// Gets or sets the IP configuration details for test failover NIC.
1034
+ /// Gets or sets the IP configuration details of a NIC.
1090
1035
/// </summary>
1091
- public List < IPConfig > TfoIPConfigs { get ; set ; }
1092
-
1036
+ public IList < IPConfigDetails > IpConfigs { get ; set ; }
1093
1037
//
1094
1038
// Summary:
1095
1039
// Gets or sets whether accelerated networking is enabled on test failover NIC.
@@ -2394,12 +2338,6 @@ public class ASRVMNicConfig
2394
2338
[ DataMember ]
2395
2339
public bool ReuseExistingNic { get ; set ; }
2396
2340
2397
- /// <summary>
2398
- /// Gets or sets the name of the recovery VM subnet.
2399
- /// </summary>
2400
- [ DataMember ]
2401
- public string RecoveryVMSubnetName { get ; set ; }
2402
-
2403
2341
/// <summary>
2404
2342
/// Gets or sets the id of the NSG associated with the recovery NIC.
2405
2343
/// </summary>
@@ -2410,7 +2348,7 @@ public class ASRVMNicConfig
2410
2348
/// Gets or sets the IP configuration details for the recovery NIC.
2411
2349
/// </summary>
2412
2350
[ DataMember ]
2413
- public List < IPConfig > RecoveryIPConfigs { get ; set ; }
2351
+ public List < IPConfigInputDetails > IPConfigs { get ; set ; }
2414
2352
2415
2353
/// <summary>
2416
2354
/// Gets or sets whether the recovery NIC has accelerated networking enabled.
@@ -2442,24 +2380,12 @@ public class ASRVMNicConfig
2442
2380
[ DataMember ]
2443
2381
public bool TfoReuseExistingNic { get ; set ; }
2444
2382
2445
- /// <summary>
2446
- /// Gets or sets the name of the test failover VM subnet.
2447
- /// </summary>
2448
- [ DataMember ]
2449
- public string TfoVMSubnetName { get ; set ; }
2450
-
2451
2383
/// <summary>
2452
2384
/// Gets or sets the id of the NSG associated with the test failover NIC.
2453
2385
/// </summary>
2454
2386
[ DataMember ]
2455
2387
public string TfoNetworkSecurityGroupId { get ; set ; }
2456
2388
2457
- /// <summary>
2458
- /// Gets or sets the IP configuration details for the test failover NIC.
2459
- /// </summary>
2460
- [ DataMember ]
2461
- public List < IPConfig > TfoIPConfigs { get ; set ; }
2462
-
2463
2389
/// <summary>
2464
2390
/// Gets or sets whether the test failover NIC has accelerated networking enabled.
2465
2391
/// </summary>
0 commit comments