@azure/arm-elasticsan 1.0.0-alpha.20240118.1 → 1.0.0-alpha.20240126.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/CHANGELOG.md +1 -79
  2. package/LICENSE +1 -1
  3. package/dist/index.js +403 -230
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/elasticSansCreateSample.js +12 -8
  8. package/dist-esm/samples-dev/elasticSansCreateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/elasticSansUpdateSample.js +5 -3
  10. package/dist-esm/samples-dev/elasticSansUpdateSample.js.map +1 -1
  11. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +9 -7
  12. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +1 -1
  13. package/dist-esm/samples-dev/volumeGroupsCreateSample.js +19 -17
  14. package/dist-esm/samples-dev/volumeGroupsCreateSample.js.map +1 -1
  15. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js +19 -17
  16. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js.map +1 -1
  17. package/dist-esm/samples-dev/volumeSnapshotsCreateSample.js +8 -4
  18. package/dist-esm/samples-dev/volumeSnapshotsCreateSample.js.map +1 -1
  19. package/dist-esm/samples-dev/volumesCreateSample.js +6 -4
  20. package/dist-esm/samples-dev/volumesCreateSample.js.map +1 -1
  21. package/dist-esm/samples-dev/volumesUpdateSample.js +1 -1
  22. package/dist-esm/samples-dev/volumesUpdateSample.js.map +1 -1
  23. package/dist-esm/src/elasticSanManagement.js +1 -1
  24. package/dist-esm/src/elasticSanManagement.js.map +1 -1
  25. package/dist-esm/src/models/index.d.ts +169 -124
  26. package/dist-esm/src/models/index.d.ts.map +1 -1
  27. package/dist-esm/src/models/index.js.map +1 -1
  28. package/dist-esm/src/models/mappers.d.ts +9 -0
  29. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  30. package/dist-esm/src/models/mappers.js +393 -229
  31. package/dist-esm/src/models/mappers.js.map +1 -1
  32. package/dist-esm/test/elasticsan_examples.spec.js +37 -8
  33. package/dist-esm/test/elasticsan_examples.spec.js.map +1 -1
  34. package/package.json +5 -3
  35. package/review/arm-elasticsan.api.md +84 -39
  36. package/src/elasticSanManagement.ts +1 -1
  37. package/src/models/index.ts +178 -124
  38. package/src/models/mappers.ts +406 -262
  39. package/types/arm-elasticsan.d.ts +169 -115
package/dist/index.js CHANGED
@@ -608,6 +608,107 @@ const ElasticSanList = {
608
608
  }
609
609
  }
610
610
  };
611
+ const ElasticSanProperties = {
612
+ type: {
613
+ name: "Composite",
614
+ className: "ElasticSanProperties",
615
+ modelProperties: {
616
+ sku: {
617
+ serializedName: "sku",
618
+ type: {
619
+ name: "Composite",
620
+ className: "Sku"
621
+ }
622
+ },
623
+ availabilityZones: {
624
+ serializedName: "availabilityZones",
625
+ type: {
626
+ name: "Sequence",
627
+ element: {
628
+ type: {
629
+ name: "String"
630
+ }
631
+ }
632
+ }
633
+ },
634
+ provisioningState: {
635
+ serializedName: "provisioningState",
636
+ readOnly: true,
637
+ type: {
638
+ name: "String"
639
+ }
640
+ },
641
+ baseSizeTiB: {
642
+ serializedName: "baseSizeTiB",
643
+ required: true,
644
+ type: {
645
+ name: "Number"
646
+ }
647
+ },
648
+ extendedCapacitySizeTiB: {
649
+ serializedName: "extendedCapacitySizeTiB",
650
+ required: true,
651
+ type: {
652
+ name: "Number"
653
+ }
654
+ },
655
+ totalVolumeSizeGiB: {
656
+ serializedName: "totalVolumeSizeGiB",
657
+ readOnly: true,
658
+ type: {
659
+ name: "Number"
660
+ }
661
+ },
662
+ volumeGroupCount: {
663
+ serializedName: "volumeGroupCount",
664
+ readOnly: true,
665
+ type: {
666
+ name: "Number"
667
+ }
668
+ },
669
+ totalIops: {
670
+ serializedName: "totalIops",
671
+ readOnly: true,
672
+ type: {
673
+ name: "Number"
674
+ }
675
+ },
676
+ totalMBps: {
677
+ serializedName: "totalMBps",
678
+ readOnly: true,
679
+ type: {
680
+ name: "Number"
681
+ }
682
+ },
683
+ totalSizeTiB: {
684
+ serializedName: "totalSizeTiB",
685
+ readOnly: true,
686
+ type: {
687
+ name: "Number"
688
+ }
689
+ },
690
+ privateEndpointConnections: {
691
+ serializedName: "privateEndpointConnections",
692
+ readOnly: true,
693
+ type: {
694
+ name: "Sequence",
695
+ element: {
696
+ type: {
697
+ name: "Composite",
698
+ className: "PrivateEndpointConnection"
699
+ }
700
+ }
701
+ }
702
+ },
703
+ publicNetworkAccess: {
704
+ serializedName: "publicNetworkAccess",
705
+ type: {
706
+ name: "String"
707
+ }
708
+ }
709
+ }
710
+ }
711
+ };
611
712
  const Sku = {
612
713
  type: {
613
714
  name: "Composite",
@@ -629,6 +730,46 @@ const Sku = {
629
730
  }
630
731
  }
631
732
  };
733
+ const PrivateEndpointConnectionProperties = {
734
+ type: {
735
+ name: "Composite",
736
+ className: "PrivateEndpointConnectionProperties",
737
+ modelProperties: {
738
+ provisioningState: {
739
+ serializedName: "provisioningState",
740
+ readOnly: true,
741
+ type: {
742
+ name: "String"
743
+ }
744
+ },
745
+ privateEndpoint: {
746
+ serializedName: "privateEndpoint",
747
+ type: {
748
+ name: "Composite",
749
+ className: "PrivateEndpoint"
750
+ }
751
+ },
752
+ privateLinkServiceConnectionState: {
753
+ serializedName: "privateLinkServiceConnectionState",
754
+ type: {
755
+ name: "Composite",
756
+ className: "PrivateLinkServiceConnectionState"
757
+ }
758
+ },
759
+ groupIds: {
760
+ serializedName: "groupIds",
761
+ type: {
762
+ name: "Sequence",
763
+ element: {
764
+ type: {
765
+ name: "String"
766
+ }
767
+ }
768
+ }
769
+ }
770
+ }
771
+ }
772
+ };
632
773
  const PrivateEndpoint = {
633
774
  type: {
634
775
  name: "Composite",
@@ -755,27 +896,42 @@ const ElasticSanUpdate = {
755
896
  name: "Composite",
756
897
  className: "ElasticSanUpdate",
757
898
  modelProperties: {
899
+ properties: {
900
+ serializedName: "properties",
901
+ type: {
902
+ name: "Composite",
903
+ className: "ElasticSanUpdateProperties"
904
+ }
905
+ },
758
906
  tags: {
759
907
  serializedName: "tags",
760
908
  type: {
761
909
  name: "Dictionary",
762
910
  value: { type: { name: "String" } }
763
911
  }
764
- },
912
+ }
913
+ }
914
+ }
915
+ };
916
+ const ElasticSanUpdateProperties = {
917
+ type: {
918
+ name: "Composite",
919
+ className: "ElasticSanUpdateProperties",
920
+ modelProperties: {
765
921
  baseSizeTiB: {
766
- serializedName: "properties.baseSizeTiB",
922
+ serializedName: "baseSizeTiB",
767
923
  type: {
768
924
  name: "Number"
769
925
  }
770
926
  },
771
927
  extendedCapacitySizeTiB: {
772
- serializedName: "properties.extendedCapacitySizeTiB",
928
+ serializedName: "extendedCapacitySizeTiB",
773
929
  type: {
774
930
  name: "Number"
775
931
  }
776
932
  },
777
933
  publicNetworkAccess: {
778
- serializedName: "properties.publicNetworkAccess",
934
+ serializedName: "publicNetworkAccess",
779
935
  type: {
780
936
  name: "String"
781
937
  }
@@ -870,6 +1026,60 @@ const UserAssignedIdentity = {
870
1026
  }
871
1027
  }
872
1028
  };
1029
+ const VolumeGroupProperties = {
1030
+ type: {
1031
+ name: "Composite",
1032
+ className: "VolumeGroupProperties",
1033
+ modelProperties: {
1034
+ provisioningState: {
1035
+ serializedName: "provisioningState",
1036
+ readOnly: true,
1037
+ type: {
1038
+ name: "String"
1039
+ }
1040
+ },
1041
+ protocolType: {
1042
+ serializedName: "protocolType",
1043
+ type: {
1044
+ name: "String"
1045
+ }
1046
+ },
1047
+ encryption: {
1048
+ serializedName: "encryption",
1049
+ type: {
1050
+ name: "String"
1051
+ }
1052
+ },
1053
+ encryptionProperties: {
1054
+ serializedName: "encryptionProperties",
1055
+ type: {
1056
+ name: "Composite",
1057
+ className: "EncryptionProperties"
1058
+ }
1059
+ },
1060
+ networkAcls: {
1061
+ serializedName: "networkAcls",
1062
+ type: {
1063
+ name: "Composite",
1064
+ className: "NetworkRuleSet"
1065
+ }
1066
+ },
1067
+ privateEndpointConnections: {
1068
+ serializedName: "privateEndpointConnections",
1069
+ readOnly: true,
1070
+ type: {
1071
+ name: "Sequence",
1072
+ element: {
1073
+ type: {
1074
+ name: "Composite",
1075
+ className: "PrivateEndpointConnection"
1076
+ }
1077
+ }
1078
+ }
1079
+ }
1080
+ }
1081
+ }
1082
+ };
873
1083
  const EncryptionProperties = {
874
1084
  type: {
875
1085
  name: "Composite",
@@ -1007,27 +1217,42 @@ const VolumeGroupUpdate = {
1007
1217
  className: "Identity"
1008
1218
  }
1009
1219
  },
1220
+ properties: {
1221
+ serializedName: "properties",
1222
+ type: {
1223
+ name: "Composite",
1224
+ className: "VolumeGroupUpdateProperties"
1225
+ }
1226
+ }
1227
+ }
1228
+ }
1229
+ };
1230
+ const VolumeGroupUpdateProperties = {
1231
+ type: {
1232
+ name: "Composite",
1233
+ className: "VolumeGroupUpdateProperties",
1234
+ modelProperties: {
1010
1235
  protocolType: {
1011
- serializedName: "properties.protocolType",
1236
+ serializedName: "protocolType",
1012
1237
  type: {
1013
1238
  name: "String"
1014
1239
  }
1015
1240
  },
1016
1241
  encryption: {
1017
- serializedName: "properties.encryption",
1242
+ serializedName: "encryption",
1018
1243
  type: {
1019
1244
  name: "String"
1020
1245
  }
1021
1246
  },
1022
1247
  encryptionProperties: {
1023
- serializedName: "properties.encryptionProperties",
1248
+ serializedName: "encryptionProperties",
1024
1249
  type: {
1025
1250
  name: "Composite",
1026
1251
  className: "EncryptionProperties"
1027
1252
  }
1028
1253
  },
1029
1254
  networkAcls: {
1030
- serializedName: "properties.networkAcls",
1255
+ serializedName: "networkAcls",
1031
1256
  type: {
1032
1257
  name: "Composite",
1033
1258
  className: "NetworkRuleSet"
@@ -1036,6 +1261,56 @@ const VolumeGroupUpdate = {
1036
1261
  }
1037
1262
  }
1038
1263
  };
1264
+ const VolumeProperties = {
1265
+ type: {
1266
+ name: "Composite",
1267
+ className: "VolumeProperties",
1268
+ modelProperties: {
1269
+ volumeId: {
1270
+ serializedName: "volumeId",
1271
+ readOnly: true,
1272
+ type: {
1273
+ name: "String"
1274
+ }
1275
+ },
1276
+ creationData: {
1277
+ serializedName: "creationData",
1278
+ type: {
1279
+ name: "Composite",
1280
+ className: "SourceCreationData"
1281
+ }
1282
+ },
1283
+ sizeGiB: {
1284
+ serializedName: "sizeGiB",
1285
+ required: true,
1286
+ type: {
1287
+ name: "Number"
1288
+ }
1289
+ },
1290
+ storageTarget: {
1291
+ serializedName: "storageTarget",
1292
+ type: {
1293
+ name: "Composite",
1294
+ className: "IscsiTargetInfo"
1295
+ }
1296
+ },
1297
+ managedBy: {
1298
+ serializedName: "managedBy",
1299
+ type: {
1300
+ name: "Composite",
1301
+ className: "ManagedByInfo"
1302
+ }
1303
+ },
1304
+ provisioningState: {
1305
+ serializedName: "provisioningState",
1306
+ readOnly: true,
1307
+ type: {
1308
+ name: "String"
1309
+ }
1310
+ }
1311
+ }
1312
+ }
1313
+ };
1039
1314
  const SourceCreationData = {
1040
1315
  type: {
1041
1316
  name: "Composite",
@@ -1116,15 +1391,30 @@ const VolumeUpdate = {
1116
1391
  type: {
1117
1392
  name: "Composite",
1118
1393
  className: "VolumeUpdate",
1394
+ modelProperties: {
1395
+ properties: {
1396
+ serializedName: "properties",
1397
+ type: {
1398
+ name: "Composite",
1399
+ className: "VolumeUpdateProperties"
1400
+ }
1401
+ }
1402
+ }
1403
+ }
1404
+ };
1405
+ const VolumeUpdateProperties = {
1406
+ type: {
1407
+ name: "Composite",
1408
+ className: "VolumeUpdateProperties",
1119
1409
  modelProperties: {
1120
1410
  sizeGiB: {
1121
- serializedName: "properties.sizeGiB",
1411
+ serializedName: "sizeGiB",
1122
1412
  type: {
1123
1413
  name: "Number"
1124
1414
  }
1125
1415
  },
1126
1416
  managedBy: {
1127
- serializedName: "properties.managedBy",
1417
+ serializedName: "managedBy",
1128
1418
  type: {
1129
1419
  name: "Composite",
1130
1420
  className: "ManagedByInfo"
@@ -1214,6 +1504,44 @@ const PrivateLinkResourceListResult = {
1214
1504
  }
1215
1505
  }
1216
1506
  };
1507
+ const PrivateLinkResourceProperties = {
1508
+ type: {
1509
+ name: "Composite",
1510
+ className: "PrivateLinkResourceProperties",
1511
+ modelProperties: {
1512
+ groupId: {
1513
+ serializedName: "groupId",
1514
+ readOnly: true,
1515
+ type: {
1516
+ name: "String"
1517
+ }
1518
+ },
1519
+ requiredMembers: {
1520
+ serializedName: "requiredMembers",
1521
+ readOnly: true,
1522
+ type: {
1523
+ name: "Sequence",
1524
+ element: {
1525
+ type: {
1526
+ name: "String"
1527
+ }
1528
+ }
1529
+ }
1530
+ },
1531
+ requiredZoneNames: {
1532
+ serializedName: "requiredZoneNames",
1533
+ type: {
1534
+ name: "Sequence",
1535
+ element: {
1536
+ type: {
1537
+ name: "String"
1538
+ }
1539
+ }
1540
+ }
1541
+ }
1542
+ }
1543
+ }
1544
+ };
1217
1545
  const SnapshotList = {
1218
1546
  type: {
1219
1547
  name: "Composite",
@@ -1241,6 +1569,42 @@ const SnapshotList = {
1241
1569
  }
1242
1570
  }
1243
1571
  };
1572
+ const SnapshotProperties = {
1573
+ type: {
1574
+ name: "Composite",
1575
+ className: "SnapshotProperties",
1576
+ modelProperties: {
1577
+ creationData: {
1578
+ serializedName: "creationData",
1579
+ type: {
1580
+ name: "Composite",
1581
+ className: "SnapshotCreationData"
1582
+ }
1583
+ },
1584
+ provisioningState: {
1585
+ serializedName: "provisioningState",
1586
+ readOnly: true,
1587
+ type: {
1588
+ name: "String"
1589
+ }
1590
+ },
1591
+ sourceVolumeSizeGiB: {
1592
+ serializedName: "sourceVolumeSizeGiB",
1593
+ readOnly: true,
1594
+ type: {
1595
+ name: "Number"
1596
+ }
1597
+ },
1598
+ volumeName: {
1599
+ serializedName: "volumeName",
1600
+ readOnly: true,
1601
+ type: {
1602
+ name: "String"
1603
+ }
1604
+ }
1605
+ }
1606
+ }
1607
+ };
1244
1608
  const SnapshotCreationData = {
1245
1609
  type: {
1246
1610
  name: "Composite",
@@ -1260,33 +1624,11 @@ const PrivateEndpointConnection = {
1260
1624
  type: {
1261
1625
  name: "Composite",
1262
1626
  className: "PrivateEndpointConnection",
1263
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { provisioningState: {
1264
- serializedName: "properties.provisioningState",
1265
- readOnly: true,
1266
- type: {
1267
- name: "String"
1268
- }
1269
- }, privateEndpoint: {
1270
- serializedName: "properties.privateEndpoint",
1271
- type: {
1272
- name: "Composite",
1273
- className: "PrivateEndpoint"
1274
- }
1275
- }, privateLinkServiceConnectionState: {
1276
- serializedName: "properties.privateLinkServiceConnectionState",
1627
+ modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { properties: {
1628
+ serializedName: "properties",
1277
1629
  type: {
1278
1630
  name: "Composite",
1279
- className: "PrivateLinkServiceConnectionState"
1280
- }
1281
- }, groupIds: {
1282
- serializedName: "properties.groupIds",
1283
- type: {
1284
- name: "Sequence",
1285
- element: {
1286
- type: {
1287
- name: "String"
1288
- }
1289
- }
1631
+ className: "PrivateEndpointConnectionProperties"
1290
1632
  }
1291
1633
  } })
1292
1634
  }
@@ -1321,32 +1663,11 @@ const PrivateLinkResource = {
1321
1663
  type: {
1322
1664
  name: "Composite",
1323
1665
  className: "PrivateLinkResource",
1324
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { groupId: {
1325
- serializedName: "properties.groupId",
1326
- readOnly: true,
1327
- type: {
1328
- name: "String"
1329
- }
1330
- }, requiredMembers: {
1331
- serializedName: "properties.requiredMembers",
1332
- readOnly: true,
1666
+ modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { properties: {
1667
+ serializedName: "properties",
1333
1668
  type: {
1334
- name: "Sequence",
1335
- element: {
1336
- type: {
1337
- name: "String"
1338
- }
1339
- }
1340
- }
1341
- }, requiredZoneNames: {
1342
- serializedName: "properties.requiredZoneNames",
1343
- type: {
1344
- name: "Sequence",
1345
- element: {
1346
- type: {
1347
- name: "String"
1348
- }
1349
- }
1669
+ name: "Composite",
1670
+ className: "PrivateLinkResourceProperties"
1350
1671
  }
1351
1672
  } })
1352
1673
  }
@@ -1355,86 +1676,11 @@ const ElasticSan = {
1355
1676
  type: {
1356
1677
  name: "Composite",
1357
1678
  className: "ElasticSan",
1358
- modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { sku: {
1359
- serializedName: "properties.sku",
1679
+ modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { properties: {
1680
+ serializedName: "properties",
1360
1681
  type: {
1361
1682
  name: "Composite",
1362
- className: "Sku"
1363
- }
1364
- }, availabilityZones: {
1365
- serializedName: "properties.availabilityZones",
1366
- type: {
1367
- name: "Sequence",
1368
- element: {
1369
- type: {
1370
- name: "String"
1371
- }
1372
- }
1373
- }
1374
- }, provisioningState: {
1375
- serializedName: "properties.provisioningState",
1376
- readOnly: true,
1377
- type: {
1378
- name: "String"
1379
- }
1380
- }, baseSizeTiB: {
1381
- serializedName: "properties.baseSizeTiB",
1382
- required: true,
1383
- type: {
1384
- name: "Number"
1385
- }
1386
- }, extendedCapacitySizeTiB: {
1387
- serializedName: "properties.extendedCapacitySizeTiB",
1388
- required: true,
1389
- type: {
1390
- name: "Number"
1391
- }
1392
- }, totalVolumeSizeGiB: {
1393
- serializedName: "properties.totalVolumeSizeGiB",
1394
- readOnly: true,
1395
- type: {
1396
- name: "Number"
1397
- }
1398
- }, volumeGroupCount: {
1399
- serializedName: "properties.volumeGroupCount",
1400
- readOnly: true,
1401
- type: {
1402
- name: "Number"
1403
- }
1404
- }, totalIops: {
1405
- serializedName: "properties.totalIops",
1406
- readOnly: true,
1407
- type: {
1408
- name: "Number"
1409
- }
1410
- }, totalMBps: {
1411
- serializedName: "properties.totalMBps",
1412
- readOnly: true,
1413
- type: {
1414
- name: "Number"
1415
- }
1416
- }, totalSizeTiB: {
1417
- serializedName: "properties.totalSizeTiB",
1418
- readOnly: true,
1419
- type: {
1420
- name: "Number"
1421
- }
1422
- }, privateEndpointConnections: {
1423
- serializedName: "properties.privateEndpointConnections",
1424
- readOnly: true,
1425
- type: {
1426
- name: "Sequence",
1427
- element: {
1428
- type: {
1429
- name: "Composite",
1430
- className: "PrivateEndpointConnection"
1431
- }
1432
- }
1433
- }
1434
- }, publicNetworkAccess: {
1435
- serializedName: "properties.publicNetworkAccess",
1436
- type: {
1437
- name: "String"
1683
+ className: "ElasticSanProperties"
1438
1684
  }
1439
1685
  } })
1440
1686
  }
@@ -1449,45 +1695,11 @@ const VolumeGroup = {
1449
1695
  name: "Composite",
1450
1696
  className: "Identity"
1451
1697
  }
1452
- }, provisioningState: {
1453
- serializedName: "properties.provisioningState",
1454
- readOnly: true,
1455
- type: {
1456
- name: "String"
1457
- }
1458
- }, protocolType: {
1459
- serializedName: "properties.protocolType",
1460
- type: {
1461
- name: "String"
1462
- }
1463
- }, encryption: {
1464
- serializedName: "properties.encryption",
1465
- type: {
1466
- name: "String"
1467
- }
1468
- }, encryptionProperties: {
1469
- serializedName: "properties.encryptionProperties",
1470
- type: {
1471
- name: "Composite",
1472
- className: "EncryptionProperties"
1473
- }
1474
- }, networkAcls: {
1475
- serializedName: "properties.networkAcls",
1698
+ }, properties: {
1699
+ serializedName: "properties",
1476
1700
  type: {
1477
1701
  name: "Composite",
1478
- className: "NetworkRuleSet"
1479
- }
1480
- }, privateEndpointConnections: {
1481
- serializedName: "properties.privateEndpointConnections",
1482
- readOnly: true,
1483
- type: {
1484
- name: "Sequence",
1485
- element: {
1486
- type: {
1487
- name: "Composite",
1488
- className: "PrivateEndpointConnection"
1489
- }
1490
- }
1702
+ className: "VolumeGroupProperties"
1491
1703
  }
1492
1704
  } })
1493
1705
  }
@@ -1496,41 +1708,11 @@ const Volume = {
1496
1708
  type: {
1497
1709
  name: "Composite",
1498
1710
  className: "Volume",
1499
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { volumeId: {
1500
- serializedName: "properties.volumeId",
1501
- readOnly: true,
1502
- type: {
1503
- name: "String"
1504
- }
1505
- }, creationData: {
1506
- serializedName: "properties.creationData",
1507
- type: {
1508
- name: "Composite",
1509
- className: "SourceCreationData"
1510
- }
1511
- }, sizeGiB: {
1512
- serializedName: "properties.sizeGiB",
1513
- required: true,
1514
- type: {
1515
- name: "Number"
1516
- }
1517
- }, storageTarget: {
1518
- serializedName: "properties.storageTarget",
1519
- type: {
1520
- name: "Composite",
1521
- className: "IscsiTargetInfo"
1522
- }
1523
- }, managedBy: {
1524
- serializedName: "properties.managedBy",
1711
+ modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { properties: {
1712
+ serializedName: "properties",
1525
1713
  type: {
1526
1714
  name: "Composite",
1527
- className: "ManagedByInfo"
1528
- }
1529
- }, provisioningState: {
1530
- serializedName: "properties.provisioningState",
1531
- readOnly: true,
1532
- type: {
1533
- name: "String"
1715
+ className: "VolumeProperties"
1534
1716
  }
1535
1717
  } })
1536
1718
  }
@@ -1539,29 +1721,11 @@ const Snapshot = {
1539
1721
  type: {
1540
1722
  name: "Composite",
1541
1723
  className: "Snapshot",
1542
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { creationData: {
1543
- serializedName: "properties.creationData",
1724
+ modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { properties: {
1725
+ serializedName: "properties",
1544
1726
  type: {
1545
1727
  name: "Composite",
1546
- className: "SnapshotCreationData"
1547
- }
1548
- }, provisioningState: {
1549
- serializedName: "properties.provisioningState",
1550
- readOnly: true,
1551
- type: {
1552
- name: "String"
1553
- }
1554
- }, sourceVolumeSizeGiB: {
1555
- serializedName: "properties.sourceVolumeSizeGiB",
1556
- readOnly: true,
1557
- type: {
1558
- name: "Number"
1559
- }
1560
- }, volumeName: {
1561
- serializedName: "properties.volumeName",
1562
- readOnly: true,
1563
- type: {
1564
- name: "String"
1728
+ className: "SnapshotProperties"
1565
1729
  }
1566
1730
  } })
1567
1731
  }
@@ -1683,7 +1847,9 @@ var Mappers = /*#__PURE__*/Object.freeze({
1683
1847
  __proto__: null,
1684
1848
  ElasticSan: ElasticSan,
1685
1849
  ElasticSanList: ElasticSanList,
1850
+ ElasticSanProperties: ElasticSanProperties,
1686
1851
  ElasticSanUpdate: ElasticSanUpdate,
1852
+ ElasticSanUpdateProperties: ElasticSanUpdateProperties,
1687
1853
  ElasticSansDeleteHeaders: ElasticSansDeleteHeaders,
1688
1854
  ElasticSansUpdateHeaders: ElasticSansUpdateHeaders,
1689
1855
  EncryptionIdentity: EncryptionIdentity,
@@ -1702,9 +1868,11 @@ var Mappers = /*#__PURE__*/Object.freeze({
1702
1868
  PrivateEndpoint: PrivateEndpoint,
1703
1869
  PrivateEndpointConnection: PrivateEndpointConnection,
1704
1870
  PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
1871
+ PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
1705
1872
  PrivateEndpointConnectionsDeleteHeaders: PrivateEndpointConnectionsDeleteHeaders,
1706
1873
  PrivateLinkResource: PrivateLinkResource,
1707
1874
  PrivateLinkResourceListResult: PrivateLinkResourceListResult,
1875
+ PrivateLinkResourceProperties: PrivateLinkResourceProperties,
1708
1876
  PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
1709
1877
  ProxyResource: ProxyResource,
1710
1878
  Resource: Resource,
@@ -1716,6 +1884,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
1716
1884
  Snapshot: Snapshot,
1717
1885
  SnapshotCreationData: SnapshotCreationData,
1718
1886
  SnapshotList: SnapshotList,
1887
+ SnapshotProperties: SnapshotProperties,
1719
1888
  SourceCreationData: SourceCreationData,
1720
1889
  SystemData: SystemData,
1721
1890
  TrackedResource: TrackedResource,
@@ -1724,12 +1893,16 @@ var Mappers = /*#__PURE__*/Object.freeze({
1724
1893
  Volume: Volume,
1725
1894
  VolumeGroup: VolumeGroup,
1726
1895
  VolumeGroupList: VolumeGroupList,
1896
+ VolumeGroupProperties: VolumeGroupProperties,
1727
1897
  VolumeGroupUpdate: VolumeGroupUpdate,
1898
+ VolumeGroupUpdateProperties: VolumeGroupUpdateProperties,
1728
1899
  VolumeGroupsDeleteHeaders: VolumeGroupsDeleteHeaders,
1729
1900
  VolumeGroupsUpdateHeaders: VolumeGroupsUpdateHeaders,
1730
1901
  VolumeList: VolumeList,
1902
+ VolumeProperties: VolumeProperties,
1731
1903
  VolumeSnapshotsDeleteHeaders: VolumeSnapshotsDeleteHeaders,
1732
1904
  VolumeUpdate: VolumeUpdate,
1905
+ VolumeUpdateProperties: VolumeUpdateProperties,
1733
1906
  VolumesDeleteHeaders: VolumesDeleteHeaders,
1734
1907
  VolumesUpdateHeaders: VolumesUpdateHeaders
1735
1908
  });
@@ -4428,7 +4601,7 @@ class ElasticSanManagement extends coreClient__namespace.ServiceClient {
4428
4601
  requestContentType: "application/json; charset=utf-8",
4429
4602
  credential: credentials
4430
4603
  };
4431
- const packageDetails = `azsdk-js-arm-elasticsan/1.0.0-beta.4`;
4604
+ const packageDetails = `azsdk-js-arm-elasticsan/1.0.0`;
4432
4605
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
4433
4606
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
4434
4607
  : `${packageDetails}`;