@azure/arm-elasticsan 1.0.1-alpha.20240925.1 → 1.1.0

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 (97) hide show
  1. package/CHANGELOG.md +7 -9
  2. package/dist/index.js +849 -837
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/elasticSansCreateSample.js +6 -6
  7. package/dist-esm/samples-dev/elasticSansDeleteSample.js +2 -2
  8. package/dist-esm/samples-dev/elasticSansGetSample.js +2 -2
  9. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js +2 -2
  10. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js +2 -2
  11. package/dist-esm/samples-dev/elasticSansUpdateSample.js +4 -4
  12. package/dist-esm/samples-dev/operationsListSample.js +2 -2
  13. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +7 -7
  14. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +1 -1
  15. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +2 -2
  16. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +2 -2
  17. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +2 -2
  18. package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.js +2 -2
  19. package/dist-esm/samples-dev/skusListSample.js +3 -3
  20. package/dist-esm/samples-dev/skusListSample.js.map +1 -1
  21. package/dist-esm/samples-dev/volumeGroupsCreateSample.js +17 -14
  22. package/dist-esm/samples-dev/volumeGroupsCreateSample.js.map +1 -1
  23. package/dist-esm/samples-dev/volumeGroupsDeleteSample.js +2 -2
  24. package/dist-esm/samples-dev/volumeGroupsGetSample.js +2 -2
  25. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js +2 -2
  26. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js +16 -13
  27. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js.map +1 -1
  28. package/dist-esm/samples-dev/volumeSnapshotsCreateSample.js +8 -8
  29. package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.js +2 -2
  30. package/dist-esm/samples-dev/volumeSnapshotsGetSample.js +2 -2
  31. package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.js +3 -3
  32. package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.js.map +1 -1
  33. package/dist-esm/samples-dev/volumesCreateSample.js +4 -4
  34. package/dist-esm/samples-dev/volumesDeleteSample.js +4 -4
  35. package/dist-esm/samples-dev/volumesDeleteSample.js.map +1 -1
  36. package/dist-esm/samples-dev/volumesGetSample.js +2 -2
  37. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js +2 -2
  38. package/dist-esm/samples-dev/volumesUpdateSample.js +2 -2
  39. package/dist-esm/src/elasticSanManagement.d.ts.map +1 -1
  40. package/dist-esm/src/elasticSanManagement.js +9 -9
  41. package/dist-esm/src/elasticSanManagement.js.map +1 -1
  42. package/dist-esm/src/lroImpl.js +1 -1
  43. package/dist-esm/src/models/index.d.ts +4 -0
  44. package/dist-esm/src/models/index.d.ts.map +1 -1
  45. package/dist-esm/src/models/index.js.map +1 -1
  46. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  47. package/dist-esm/src/models/mappers.js +531 -519
  48. package/dist-esm/src/models/mappers.js.map +1 -1
  49. package/dist-esm/src/models/parameters.js +61 -61
  50. package/dist-esm/src/models/parameters.js.map +1 -1
  51. package/dist-esm/src/operations/elasticSans.d.ts.map +1 -1
  52. package/dist-esm/src/operations/elasticSans.js +59 -59
  53. package/dist-esm/src/operations/elasticSans.js.map +1 -1
  54. package/dist-esm/src/operations/operations.js +5 -5
  55. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  56. package/dist-esm/src/operations/privateEndpointConnections.js +35 -35
  57. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  58. package/dist-esm/src/operations/privateLinkResources.js +5 -5
  59. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  60. package/dist-esm/src/operations/skus.js +5 -5
  61. package/dist-esm/src/operations/volumeGroups.d.ts.map +1 -1
  62. package/dist-esm/src/operations/volumeGroups.js +51 -51
  63. package/dist-esm/src/operations/volumeGroups.js.map +1 -1
  64. package/dist-esm/src/operations/volumeSnapshots.d.ts.map +1 -1
  65. package/dist-esm/src/operations/volumeSnapshots.js +40 -40
  66. package/dist-esm/src/operations/volumeSnapshots.js.map +1 -1
  67. package/dist-esm/src/operations/volumes.d.ts.map +1 -1
  68. package/dist-esm/src/operations/volumes.js +54 -54
  69. package/dist-esm/src/operations/volumes.js.map +1 -1
  70. package/dist-esm/test/elasticsan_examples.spec.d.ts.map +1 -1
  71. package/dist-esm/test/elasticsan_examples.spec.js +28 -9
  72. package/dist-esm/test/elasticsan_examples.spec.js.map +1 -1
  73. package/package.json +6 -6
  74. package/review/arm-elasticsan.api.md +2 -0
  75. package/src/elasticSanManagement.ts +18 -17
  76. package/src/lroImpl.ts +3 -3
  77. package/src/models/index.ts +26 -19
  78. package/src/models/mappers.ts +549 -536
  79. package/src/models/parameters.ts +62 -62
  80. package/src/operations/elasticSans.ts +115 -124
  81. package/src/operations/operations.ts +10 -10
  82. package/src/operations/privateEndpointConnections.ts +71 -76
  83. package/src/operations/privateLinkResources.ts +9 -10
  84. package/src/operations/skus.ts +9 -9
  85. package/src/operations/volumeGroups.ts +101 -109
  86. package/src/operations/volumeSnapshots.ts +79 -85
  87. package/src/operations/volumes.ts +104 -112
  88. package/src/operationsInterfaces/elasticSans.ts +10 -10
  89. package/src/operationsInterfaces/operations.ts +1 -1
  90. package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
  91. package/src/operationsInterfaces/privateLinkResources.ts +2 -2
  92. package/src/operationsInterfaces/skus.ts +1 -1
  93. package/src/operationsInterfaces/volumeGroups.ts +9 -9
  94. package/src/operationsInterfaces/volumeSnapshots.ts +7 -7
  95. package/src/operationsInterfaces/volumes.ts +9 -9
  96. package/src/pagingHelper.ts +1 -1
  97. package/types/arm-elasticsan.d.ts +4 -0
package/dist/index.js CHANGED
@@ -251,20 +251,20 @@ const OperationListResult = {
251
251
  element: {
252
252
  type: {
253
253
  name: "Composite",
254
- className: "Operation"
255
- }
256
- }
257
- }
254
+ className: "Operation",
255
+ },
256
+ },
257
+ },
258
258
  },
259
259
  nextLink: {
260
260
  serializedName: "nextLink",
261
261
  readOnly: true,
262
262
  type: {
263
- name: "String"
264
- }
265
- }
266
- }
267
- }
263
+ name: "String",
264
+ },
265
+ },
266
+ },
267
+ },
268
268
  };
269
269
  const Operation = {
270
270
  type: {
@@ -275,39 +275,39 @@ const Operation = {
275
275
  serializedName: "name",
276
276
  readOnly: true,
277
277
  type: {
278
- name: "String"
279
- }
278
+ name: "String",
279
+ },
280
280
  },
281
281
  isDataAction: {
282
282
  serializedName: "isDataAction",
283
283
  readOnly: true,
284
284
  type: {
285
- name: "Boolean"
286
- }
285
+ name: "Boolean",
286
+ },
287
287
  },
288
288
  display: {
289
289
  serializedName: "display",
290
290
  type: {
291
291
  name: "Composite",
292
- className: "OperationDisplay"
293
- }
292
+ className: "OperationDisplay",
293
+ },
294
294
  },
295
295
  origin: {
296
296
  serializedName: "origin",
297
297
  readOnly: true,
298
298
  type: {
299
- name: "String"
300
- }
299
+ name: "String",
300
+ },
301
301
  },
302
302
  actionType: {
303
303
  serializedName: "actionType",
304
304
  readOnly: true,
305
305
  type: {
306
- name: "String"
307
- }
308
- }
309
- }
310
- }
306
+ name: "String",
307
+ },
308
+ },
309
+ },
310
+ },
311
311
  };
312
312
  const OperationDisplay = {
313
313
  type: {
@@ -318,32 +318,32 @@ const OperationDisplay = {
318
318
  serializedName: "provider",
319
319
  readOnly: true,
320
320
  type: {
321
- name: "String"
322
- }
321
+ name: "String",
322
+ },
323
323
  },
324
324
  resource: {
325
325
  serializedName: "resource",
326
326
  readOnly: true,
327
327
  type: {
328
- name: "String"
329
- }
328
+ name: "String",
329
+ },
330
330
  },
331
331
  operation: {
332
332
  serializedName: "operation",
333
333
  readOnly: true,
334
334
  type: {
335
- name: "String"
336
- }
335
+ name: "String",
336
+ },
337
337
  },
338
338
  description: {
339
339
  serializedName: "description",
340
340
  readOnly: true,
341
341
  type: {
342
- name: "String"
343
- }
344
- }
345
- }
346
- }
342
+ name: "String",
343
+ },
344
+ },
345
+ },
346
+ },
347
347
  };
348
348
  const ErrorResponse = {
349
349
  type: {
@@ -354,11 +354,11 @@ const ErrorResponse = {
354
354
  serializedName: "error",
355
355
  type: {
356
356
  name: "Composite",
357
- className: "ErrorDetail"
358
- }
359
- }
360
- }
361
- }
357
+ className: "ErrorDetail",
358
+ },
359
+ },
360
+ },
361
+ },
362
362
  };
363
363
  const ErrorDetail = {
364
364
  type: {
@@ -369,22 +369,22 @@ const ErrorDetail = {
369
369
  serializedName: "code",
370
370
  readOnly: true,
371
371
  type: {
372
- name: "String"
373
- }
372
+ name: "String",
373
+ },
374
374
  },
375
375
  message: {
376
376
  serializedName: "message",
377
377
  readOnly: true,
378
378
  type: {
379
- name: "String"
380
- }
379
+ name: "String",
380
+ },
381
381
  },
382
382
  target: {
383
383
  serializedName: "target",
384
384
  readOnly: true,
385
385
  type: {
386
- name: "String"
387
- }
386
+ name: "String",
387
+ },
388
388
  },
389
389
  details: {
390
390
  serializedName: "details",
@@ -394,10 +394,10 @@ const ErrorDetail = {
394
394
  element: {
395
395
  type: {
396
396
  name: "Composite",
397
- className: "ErrorDetail"
398
- }
399
- }
400
- }
397
+ className: "ErrorDetail",
398
+ },
399
+ },
400
+ },
401
401
  },
402
402
  additionalInfo: {
403
403
  serializedName: "additionalInfo",
@@ -407,13 +407,13 @@ const ErrorDetail = {
407
407
  element: {
408
408
  type: {
409
409
  name: "Composite",
410
- className: "ErrorAdditionalInfo"
411
- }
412
- }
413
- }
414
- }
415
- }
416
- }
410
+ className: "ErrorAdditionalInfo",
411
+ },
412
+ },
413
+ },
414
+ },
415
+ },
416
+ },
417
417
  };
418
418
  const ErrorAdditionalInfo = {
419
419
  type: {
@@ -424,19 +424,19 @@ const ErrorAdditionalInfo = {
424
424
  serializedName: "type",
425
425
  readOnly: true,
426
426
  type: {
427
- name: "String"
428
- }
427
+ name: "String",
428
+ },
429
429
  },
430
430
  info: {
431
431
  serializedName: "info",
432
432
  readOnly: true,
433
433
  type: {
434
434
  name: "Dictionary",
435
- value: { type: { name: "any" } }
436
- }
437
- }
438
- }
439
- }
435
+ value: { type: { name: "any" } },
436
+ },
437
+ },
438
+ },
439
+ },
440
440
  };
441
441
  const SkuInformationList = {
442
442
  type: {
@@ -451,20 +451,20 @@ const SkuInformationList = {
451
451
  element: {
452
452
  type: {
453
453
  name: "Composite",
454
- className: "SkuInformation"
455
- }
456
- }
457
- }
454
+ className: "SkuInformation",
455
+ },
456
+ },
457
+ },
458
458
  },
459
459
  nextLink: {
460
460
  serializedName: "nextLink",
461
461
  readOnly: true,
462
462
  type: {
463
- name: "String"
464
- }
465
- }
466
- }
467
- }
463
+ name: "String",
464
+ },
465
+ },
466
+ },
467
+ },
468
468
  };
469
469
  const SkuInformation = {
470
470
  type: {
@@ -475,21 +475,21 @@ const SkuInformation = {
475
475
  serializedName: "name",
476
476
  required: true,
477
477
  type: {
478
- name: "String"
479
- }
478
+ name: "String",
479
+ },
480
480
  },
481
481
  tier: {
482
482
  serializedName: "tier",
483
483
  type: {
484
- name: "String"
485
- }
484
+ name: "String",
485
+ },
486
486
  },
487
487
  resourceType: {
488
488
  serializedName: "resourceType",
489
489
  readOnly: true,
490
490
  type: {
491
- name: "String"
492
- }
491
+ name: "String",
492
+ },
493
493
  },
494
494
  locations: {
495
495
  serializedName: "locations",
@@ -498,10 +498,10 @@ const SkuInformation = {
498
498
  name: "Sequence",
499
499
  element: {
500
500
  type: {
501
- name: "String"
502
- }
503
- }
504
- }
501
+ name: "String",
502
+ },
503
+ },
504
+ },
505
505
  },
506
506
  locationInfo: {
507
507
  serializedName: "locationInfo",
@@ -511,10 +511,10 @@ const SkuInformation = {
511
511
  element: {
512
512
  type: {
513
513
  name: "Composite",
514
- className: "SkuLocationInfo"
515
- }
516
- }
517
- }
514
+ className: "SkuLocationInfo",
515
+ },
516
+ },
517
+ },
518
518
  },
519
519
  capabilities: {
520
520
  serializedName: "capabilities",
@@ -524,13 +524,13 @@ const SkuInformation = {
524
524
  element: {
525
525
  type: {
526
526
  name: "Composite",
527
- className: "SKUCapability"
528
- }
529
- }
530
- }
531
- }
532
- }
533
- }
527
+ className: "SKUCapability",
528
+ },
529
+ },
530
+ },
531
+ },
532
+ },
533
+ },
534
534
  };
535
535
  const SkuLocationInfo = {
536
536
  type: {
@@ -541,8 +541,8 @@ const SkuLocationInfo = {
541
541
  serializedName: "location",
542
542
  readOnly: true,
543
543
  type: {
544
- name: "String"
545
- }
544
+ name: "String",
545
+ },
546
546
  },
547
547
  zones: {
548
548
  serializedName: "zones",
@@ -551,13 +551,13 @@ const SkuLocationInfo = {
551
551
  name: "Sequence",
552
552
  element: {
553
553
  type: {
554
- name: "String"
555
- }
556
- }
557
- }
558
- }
559
- }
560
- }
554
+ name: "String",
555
+ },
556
+ },
557
+ },
558
+ },
559
+ },
560
+ },
561
561
  };
562
562
  const SKUCapability = {
563
563
  type: {
@@ -568,18 +568,18 @@ const SKUCapability = {
568
568
  serializedName: "name",
569
569
  readOnly: true,
570
570
  type: {
571
- name: "String"
572
- }
571
+ name: "String",
572
+ },
573
573
  },
574
574
  value: {
575
575
  serializedName: "value",
576
576
  readOnly: true,
577
577
  type: {
578
- name: "String"
579
- }
580
- }
581
- }
582
- }
578
+ name: "String",
579
+ },
580
+ },
581
+ },
582
+ },
583
583
  };
584
584
  const ElasticSanList = {
585
585
  type: {
@@ -593,20 +593,20 @@ const ElasticSanList = {
593
593
  element: {
594
594
  type: {
595
595
  name: "Composite",
596
- className: "ElasticSan"
597
- }
598
- }
599
- }
596
+ className: "ElasticSan",
597
+ },
598
+ },
599
+ },
600
600
  },
601
601
  nextLink: {
602
602
  serializedName: "nextLink",
603
603
  readOnly: true,
604
604
  type: {
605
- name: "String"
606
- }
607
- }
608
- }
609
- }
605
+ name: "String",
606
+ },
607
+ },
608
+ },
609
+ },
610
610
  };
611
611
  const ElasticSanProperties = {
612
612
  type: {
@@ -617,8 +617,8 @@ const ElasticSanProperties = {
617
617
  serializedName: "sku",
618
618
  type: {
619
619
  name: "Composite",
620
- className: "Sku"
621
- }
620
+ className: "Sku",
621
+ },
622
622
  },
623
623
  availabilityZones: {
624
624
  serializedName: "availabilityZones",
@@ -626,66 +626,66 @@ const ElasticSanProperties = {
626
626
  name: "Sequence",
627
627
  element: {
628
628
  type: {
629
- name: "String"
630
- }
631
- }
632
- }
629
+ name: "String",
630
+ },
631
+ },
632
+ },
633
633
  },
634
634
  provisioningState: {
635
635
  serializedName: "provisioningState",
636
636
  readOnly: true,
637
637
  type: {
638
- name: "String"
639
- }
638
+ name: "String",
639
+ },
640
640
  },
641
641
  baseSizeTiB: {
642
642
  serializedName: "baseSizeTiB",
643
643
  required: true,
644
644
  type: {
645
- name: "Number"
646
- }
645
+ name: "Number",
646
+ },
647
647
  },
648
648
  extendedCapacitySizeTiB: {
649
649
  serializedName: "extendedCapacitySizeTiB",
650
650
  required: true,
651
651
  type: {
652
- name: "Number"
653
- }
652
+ name: "Number",
653
+ },
654
654
  },
655
655
  totalVolumeSizeGiB: {
656
656
  serializedName: "totalVolumeSizeGiB",
657
657
  readOnly: true,
658
658
  type: {
659
- name: "Number"
660
- }
659
+ name: "Number",
660
+ },
661
661
  },
662
662
  volumeGroupCount: {
663
663
  serializedName: "volumeGroupCount",
664
664
  readOnly: true,
665
665
  type: {
666
- name: "Number"
667
- }
666
+ name: "Number",
667
+ },
668
668
  },
669
669
  totalIops: {
670
670
  serializedName: "totalIops",
671
671
  readOnly: true,
672
672
  type: {
673
- name: "Number"
674
- }
673
+ name: "Number",
674
+ },
675
675
  },
676
676
  totalMBps: {
677
677
  serializedName: "totalMBps",
678
678
  readOnly: true,
679
679
  type: {
680
- name: "Number"
681
- }
680
+ name: "Number",
681
+ },
682
682
  },
683
683
  totalSizeTiB: {
684
684
  serializedName: "totalSizeTiB",
685
685
  readOnly: true,
686
686
  type: {
687
- name: "Number"
688
- }
687
+ name: "Number",
688
+ },
689
689
  },
690
690
  privateEndpointConnections: {
691
691
  serializedName: "privateEndpointConnections",
@@ -695,19 +695,19 @@ const ElasticSanProperties = {
695
695
  element: {
696
696
  type: {
697
697
  name: "Composite",
698
- className: "PrivateEndpointConnection"
699
- }
700
- }
701
- }
698
+ className: "PrivateEndpointConnection",
699
+ },
700
+ },
701
+ },
702
702
  },
703
703
  publicNetworkAccess: {
704
704
  serializedName: "publicNetworkAccess",
705
705
  type: {
706
- name: "String"
707
- }
708
- }
709
- }
710
- }
706
+ name: "String",
707
+ },
708
+ },
709
+ },
710
+ },
711
711
  };
712
712
  const Sku = {
713
713
  type: {
@@ -718,17 +718,17 @@ const Sku = {
718
718
  serializedName: "name",
719
719
  required: true,
720
720
  type: {
721
- name: "String"
722
- }
721
+ name: "String",
722
+ },
723
723
  },
724
724
  tier: {
725
725
  serializedName: "tier",
726
726
  type: {
727
- name: "String"
728
- }
729
- }
730
- }
731
- }
727
+ name: "String",
728
+ },
729
+ },
730
+ },
731
+ },
732
732
  };
733
733
  const PrivateEndpointConnectionProperties = {
734
734
  type: {
@@ -739,22 +739,22 @@ const PrivateEndpointConnectionProperties = {
739
739
  serializedName: "provisioningState",
740
740
  readOnly: true,
741
741
  type: {
742
- name: "String"
743
- }
742
+ name: "String",
743
+ },
744
744
  },
745
745
  privateEndpoint: {
746
746
  serializedName: "privateEndpoint",
747
747
  type: {
748
748
  name: "Composite",
749
- className: "PrivateEndpoint"
750
- }
749
+ className: "PrivateEndpoint",
750
+ },
751
751
  },
752
752
  privateLinkServiceConnectionState: {
753
753
  serializedName: "privateLinkServiceConnectionState",
754
754
  type: {
755
755
  name: "Composite",
756
- className: "PrivateLinkServiceConnectionState"
757
- }
756
+ className: "PrivateLinkServiceConnectionState",
757
+ },
758
758
  },
759
759
  groupIds: {
760
760
  serializedName: "groupIds",
@@ -762,13 +762,13 @@ const PrivateEndpointConnectionProperties = {
762
762
  name: "Sequence",
763
763
  element: {
764
764
  type: {
765
- name: "String"
766
- }
767
- }
768
- }
769
- }
770
- }
771
- }
765
+ name: "String",
766
+ },
767
+ },
768
+ },
769
+ },
770
+ },
771
+ },
772
772
  };
773
773
  const PrivateEndpoint = {
774
774
  type: {
@@ -779,11 +779,11 @@ const PrivateEndpoint = {
779
779
  serializedName: "id",
780
780
  readOnly: true,
781
781
  type: {
782
- name: "String"
783
- }
784
- }
785
- }
786
- }
782
+ name: "String",
783
+ },
784
+ },
785
+ },
786
+ },
787
787
  };
788
788
  const PrivateLinkServiceConnectionState = {
789
789
  type: {
@@ -793,23 +793,23 @@ const PrivateLinkServiceConnectionState = {
793
793
  status: {
794
794
  serializedName: "status",
795
795
  type: {
796
- name: "String"
797
- }
796
+ name: "String",
797
+ },
798
798
  },
799
799
  description: {
800
800
  serializedName: "description",
801
801
  type: {
802
- name: "String"
803
- }
802
+ name: "String",
803
+ },
804
804
  },
805
805
  actionsRequired: {
806
806
  serializedName: "actionsRequired",
807
807
  type: {
808
- name: "String"
809
- }
810
- }
811
- }
812
- }
808
+ name: "String",
809
+ },
810
+ },
811
+ },
812
+ },
813
813
  };
814
814
  const Resource = {
815
815
  type: {
@@ -820,32 +820,32 @@ const Resource = {
820
820
  serializedName: "id",
821
821
  readOnly: true,
822
822
  type: {
823
- name: "String"
824
- }
823
+ name: "String",
824
+ },
825
825
  },
826
826
  name: {
827
827
  serializedName: "name",
828
828
  readOnly: true,
829
829
  type: {
830
- name: "String"
831
- }
830
+ name: "String",
831
+ },
832
832
  },
833
833
  type: {
834
834
  serializedName: "type",
835
835
  readOnly: true,
836
836
  type: {
837
- name: "String"
838
- }
837
+ name: "String",
838
+ },
839
839
  },
840
840
  systemData: {
841
841
  serializedName: "systemData",
842
842
  type: {
843
843
  name: "Composite",
844
- className: "SystemData"
845
- }
846
- }
847
- }
848
- }
844
+ className: "SystemData",
845
+ },
846
+ },
847
+ },
848
+ },
849
849
  };
850
850
  const SystemData = {
851
851
  type: {
@@ -855,41 +855,41 @@ const SystemData = {
855
855
  createdBy: {
856
856
  serializedName: "createdBy",
857
857
  type: {
858
- name: "String"
859
- }
858
+ name: "String",
859
+ },
860
860
  },
861
861
  createdByType: {
862
862
  serializedName: "createdByType",
863
863
  type: {
864
- name: "String"
865
- }
864
+ name: "String",
865
+ },
866
866
  },
867
867
  createdAt: {
868
868
  serializedName: "createdAt",
869
869
  type: {
870
- name: "DateTime"
871
- }
870
+ name: "DateTime",
871
+ },
872
872
  },
873
873
  lastModifiedBy: {
874
874
  serializedName: "lastModifiedBy",
875
875
  type: {
876
- name: "String"
877
- }
876
+ name: "String",
877
+ },
878
878
  },
879
879
  lastModifiedByType: {
880
880
  serializedName: "lastModifiedByType",
881
881
  type: {
882
- name: "String"
883
- }
882
+ name: "String",
883
+ },
884
884
  },
885
885
  lastModifiedAt: {
886
886
  serializedName: "lastModifiedAt",
887
887
  type: {
888
- name: "DateTime"
889
- }
890
- }
891
- }
892
- }
888
+ name: "DateTime",
889
+ },
890
+ },
891
+ },
892
+ },
893
893
  };
894
894
  const ElasticSanUpdate = {
895
895
  type: {
@@ -900,18 +900,18 @@ const ElasticSanUpdate = {
900
900
  serializedName: "properties",
901
901
  type: {
902
902
  name: "Composite",
903
- className: "ElasticSanUpdateProperties"
904
- }
903
+ className: "ElasticSanUpdateProperties",
904
+ },
905
905
  },
906
906
  tags: {
907
907
  serializedName: "tags",
908
908
  type: {
909
909
  name: "Dictionary",
910
- value: { type: { name: "String" } }
911
- }
912
- }
913
- }
914
- }
910
+ value: { type: { name: "String" } },
911
+ },
912
+ },
913
+ },
914
+ },
915
915
  };
916
916
  const ElasticSanUpdateProperties = {
917
917
  type: {
@@ -921,23 +921,23 @@ const ElasticSanUpdateProperties = {
921
921
  baseSizeTiB: {
922
922
  serializedName: "baseSizeTiB",
923
923
  type: {
924
- name: "Number"
925
- }
924
+ name: "Number",
925
+ },
926
926
  },
927
927
  extendedCapacitySizeTiB: {
928
928
  serializedName: "extendedCapacitySizeTiB",
929
929
  type: {
930
- name: "Number"
931
- }
930
+ name: "Number",
931
+ },
932
932
  },
933
933
  publicNetworkAccess: {
934
934
  serializedName: "publicNetworkAccess",
935
935
  type: {
936
- name: "String"
937
- }
938
- }
939
- }
940
- }
936
+ name: "String",
937
+ },
938
+ },
939
+ },
940
+ },
941
941
  };
942
942
  const VolumeGroupList = {
943
943
  type: {
@@ -951,20 +951,20 @@ const VolumeGroupList = {
951
951
  element: {
952
952
  type: {
953
953
  name: "Composite",
954
- className: "VolumeGroup"
955
- }
956
- }
957
- }
954
+ className: "VolumeGroup",
955
+ },
956
+ },
957
+ },
958
958
  },
959
959
  nextLink: {
960
960
  serializedName: "nextLink",
961
961
  readOnly: true,
962
962
  type: {
963
- name: "String"
964
- }
965
- }
966
- }
967
- }
963
+ name: "String",
964
+ },
965
+ },
966
+ },
967
+ },
968
968
  };
969
969
  const Identity = {
970
970
  type: {
@@ -975,34 +975,34 @@ const Identity = {
975
975
  serializedName: "principalId",
976
976
  readOnly: true,
977
977
  type: {
978
- name: "String"
979
- }
978
+ name: "String",
979
+ },
980
980
  },
981
981
  tenantId: {
982
982
  serializedName: "tenantId",
983
983
  readOnly: true,
984
984
  type: {
985
- name: "String"
986
- }
985
+ name: "String",
986
+ },
987
987
  },
988
988
  type: {
989
989
  serializedName: "type",
990
990
  required: true,
991
991
  type: {
992
- name: "String"
993
- }
992
+ name: "String",
993
+ },
994
994
  },
995
995
  userAssignedIdentities: {
996
996
  serializedName: "userAssignedIdentities",
997
997
  type: {
998
998
  name: "Dictionary",
999
999
  value: {
1000
- type: { name: "Composite", className: "UserAssignedIdentity" }
1001
- }
1002
- }
1003
- }
1004
- }
1005
- }
1000
+ type: { name: "Composite", className: "UserAssignedIdentity" },
1001
+ },
1002
+ },
1003
+ },
1004
+ },
1005
+ },
1006
1006
  };
1007
1007
  const UserAssignedIdentity = {
1008
1008
  type: {
@@ -1013,18 +1013,18 @@ const UserAssignedIdentity = {
1013
1013
  serializedName: "principalId",
1014
1014
  readOnly: true,
1015
1015
  type: {
1016
- name: "String"
1017
- }
1016
+ name: "String",
1017
+ },
1018
1018
  },
1019
1019
  clientId: {
1020
1020
  serializedName: "clientId",
1021
1021
  readOnly: true,
1022
1022
  type: {
1023
- name: "String"
1024
- }
1025
- }
1026
- }
1027
- }
1023
+ name: "String",
1024
+ },
1025
+ },
1026
+ },
1027
+ },
1028
1028
  };
1029
1029
  const VolumeGroupProperties = {
1030
1030
  type: {
@@ -1035,34 +1035,34 @@ const VolumeGroupProperties = {
1035
1035
  serializedName: "provisioningState",
1036
1036
  readOnly: true,
1037
1037
  type: {
1038
- name: "String"
1039
- }
1038
+ name: "String",
1039
+ },
1040
1040
  },
1041
1041
  protocolType: {
1042
1042
  serializedName: "protocolType",
1043
1043
  type: {
1044
- name: "String"
1045
- }
1044
+ name: "String",
1045
+ },
1046
1046
  },
1047
1047
  encryption: {
1048
1048
  serializedName: "encryption",
1049
1049
  type: {
1050
- name: "String"
1051
- }
1050
+ name: "String",
1051
+ },
1052
1052
  },
1053
1053
  encryptionProperties: {
1054
1054
  serializedName: "encryptionProperties",
1055
1055
  type: {
1056
1056
  name: "Composite",
1057
- className: "EncryptionProperties"
1058
- }
1057
+ className: "EncryptionProperties",
1058
+ },
1059
1059
  },
1060
1060
  networkAcls: {
1061
1061
  serializedName: "networkAcls",
1062
1062
  type: {
1063
1063
  name: "Composite",
1064
- className: "NetworkRuleSet"
1065
- }
1064
+ className: "NetworkRuleSet",
1065
+ },
1066
1066
  },
1067
1067
  privateEndpointConnections: {
1068
1068
  serializedName: "privateEndpointConnections",
@@ -1072,13 +1072,19 @@ const VolumeGroupProperties = {
1072
1072
  element: {
1073
1073
  type: {
1074
1074
  name: "Composite",
1075
- className: "PrivateEndpointConnection"
1076
- }
1077
- }
1078
- }
1079
- }
1080
- }
1081
- }
1075
+ className: "PrivateEndpointConnection",
1076
+ },
1077
+ },
1078
+ },
1079
+ },
1080
+ enforceDataIntegrityCheckForIscsi: {
1081
+ serializedName: "enforceDataIntegrityCheckForIscsi",
1082
+ type: {
1083
+ name: "Boolean",
1084
+ },
1085
+ },
1086
+ },
1087
+ },
1082
1088
  };
1083
1089
  const EncryptionProperties = {
1084
1090
  type: {
@@ -1089,18 +1095,18 @@ const EncryptionProperties = {
1089
1095
  serializedName: "keyVaultProperties",
1090
1096
  type: {
1091
1097
  name: "Composite",
1092
- className: "KeyVaultProperties"
1093
- }
1098
+ className: "KeyVaultProperties",
1099
+ },
1094
1100
  },
1095
1101
  encryptionIdentity: {
1096
1102
  serializedName: "identity",
1097
1103
  type: {
1098
1104
  name: "Composite",
1099
- className: "EncryptionIdentity"
1100
- }
1101
- }
1102
- }
1103
- }
1105
+ className: "EncryptionIdentity",
1106
+ },
1107
+ },
1108
+ },
1109
+ },
1104
1110
  };
1105
1111
  const KeyVaultProperties = {
1106
1112
  type: {
@@ -1110,44 +1116,44 @@ const KeyVaultProperties = {
1110
1116
  keyName: {
1111
1117
  serializedName: "keyName",
1112
1118
  type: {
1113
- name: "String"
1114
- }
1119
+ name: "String",
1120
+ },
1115
1121
  },
1116
1122
  keyVersion: {
1117
1123
  serializedName: "keyVersion",
1118
1124
  type: {
1119
- name: "String"
1120
- }
1125
+ name: "String",
1126
+ },
1121
1127
  },
1122
1128
  keyVaultUri: {
1123
1129
  serializedName: "keyVaultUri",
1124
1130
  type: {
1125
- name: "String"
1126
- }
1131
+ name: "String",
1132
+ },
1127
1133
  },
1128
1134
  currentVersionedKeyIdentifier: {
1129
1135
  serializedName: "currentVersionedKeyIdentifier",
1130
1136
  readOnly: true,
1131
1137
  type: {
1132
- name: "String"
1133
- }
1138
+ name: "String",
1139
+ },
1134
1140
  },
1135
1141
  lastKeyRotationTimestamp: {
1136
1142
  serializedName: "lastKeyRotationTimestamp",
1137
1143
  readOnly: true,
1138
1144
  type: {
1139
- name: "DateTime"
1140
- }
1145
+ name: "DateTime",
1146
+ },
1141
1147
  },
1142
1148
  currentVersionedKeyExpirationTimestamp: {
1143
1149
  serializedName: "currentVersionedKeyExpirationTimestamp",
1144
1150
  readOnly: true,
1145
1151
  type: {
1146
- name: "DateTime"
1147
- }
1148
- }
1149
- }
1150
- }
1152
+ name: "DateTime",
1153
+ },
1154
+ },
1155
+ },
1156
+ },
1151
1157
  };
1152
1158
  const EncryptionIdentity = {
1153
1159
  type: {
@@ -1157,11 +1163,11 @@ const EncryptionIdentity = {
1157
1163
  encryptionUserAssignedIdentity: {
1158
1164
  serializedName: "userAssignedIdentity",
1159
1165
  type: {
1160
- name: "String"
1161
- }
1162
- }
1163
- }
1164
- }
1166
+ name: "String",
1167
+ },
1168
+ },
1169
+ },
1170
+ },
1165
1171
  };
1166
1172
  const NetworkRuleSet = {
1167
1173
  type: {
@@ -1175,13 +1181,13 @@ const NetworkRuleSet = {
1175
1181
  element: {
1176
1182
  type: {
1177
1183
  name: "Composite",
1178
- className: "VirtualNetworkRule"
1179
- }
1180
- }
1181
- }
1182
- }
1183
- }
1184
- }
1184
+ className: "VirtualNetworkRule",
1185
+ },
1186
+ },
1187
+ },
1188
+ },
1189
+ },
1190
+ },
1185
1191
  };
1186
1192
  const VirtualNetworkRule = {
1187
1193
  type: {
@@ -1192,18 +1198,18 @@ const VirtualNetworkRule = {
1192
1198
  serializedName: "id",
1193
1199
  required: true,
1194
1200
  type: {
1195
- name: "String"
1196
- }
1201
+ name: "String",
1202
+ },
1197
1203
  },
1198
1204
  action: {
1199
1205
  defaultValue: "Allow",
1200
1206
  serializedName: "action",
1201
1207
  type: {
1202
- name: "String"
1203
- }
1204
- }
1205
- }
1206
- }
1208
+ name: "String",
1209
+ },
1210
+ },
1211
+ },
1212
+ },
1207
1213
  };
1208
1214
  const VolumeGroupUpdate = {
1209
1215
  type: {
@@ -1214,18 +1220,18 @@ const VolumeGroupUpdate = {
1214
1220
  serializedName: "identity",
1215
1221
  type: {
1216
1222
  name: "Composite",
1217
- className: "Identity"
1218
- }
1223
+ className: "Identity",
1224
+ },
1219
1225
  },
1220
1226
  properties: {
1221
1227
  serializedName: "properties",
1222
1228
  type: {
1223
1229
  name: "Composite",
1224
- className: "VolumeGroupUpdateProperties"
1225
- }
1226
- }
1227
- }
1228
- }
1230
+ className: "VolumeGroupUpdateProperties",
1231
+ },
1232
+ },
1233
+ },
1234
+ },
1229
1235
  };
1230
1236
  const VolumeGroupUpdateProperties = {
1231
1237
  type: {
@@ -1235,31 +1241,37 @@ const VolumeGroupUpdateProperties = {
1235
1241
  protocolType: {
1236
1242
  serializedName: "protocolType",
1237
1243
  type: {
1238
- name: "String"
1239
- }
1244
+ name: "String",
1245
+ },
1240
1246
  },
1241
1247
  encryption: {
1242
1248
  serializedName: "encryption",
1243
1249
  type: {
1244
- name: "String"
1245
- }
1250
+ name: "String",
1251
+ },
1246
1252
  },
1247
1253
  encryptionProperties: {
1248
1254
  serializedName: "encryptionProperties",
1249
1255
  type: {
1250
1256
  name: "Composite",
1251
- className: "EncryptionProperties"
1252
- }
1257
+ className: "EncryptionProperties",
1258
+ },
1253
1259
  },
1254
1260
  networkAcls: {
1255
1261
  serializedName: "networkAcls",
1256
1262
  type: {
1257
1263
  name: "Composite",
1258
- className: "NetworkRuleSet"
1259
- }
1260
- }
1261
- }
1262
- }
1264
+ className: "NetworkRuleSet",
1265
+ },
1266
+ },
1267
+ enforceDataIntegrityCheckForIscsi: {
1268
+ serializedName: "enforceDataIntegrityCheckForIscsi",
1269
+ type: {
1270
+ name: "Boolean",
1271
+ },
1272
+ },
1273
+ },
1274
+ },
1263
1275
  };
1264
1276
  const VolumeProperties = {
1265
1277
  type: {
@@ -1270,46 +1282,46 @@ const VolumeProperties = {
1270
1282
  serializedName: "volumeId",
1271
1283
  readOnly: true,
1272
1284
  type: {
1273
- name: "String"
1274
- }
1285
+ name: "String",
1286
+ },
1275
1287
  },
1276
1288
  creationData: {
1277
1289
  serializedName: "creationData",
1278
1290
  type: {
1279
1291
  name: "Composite",
1280
- className: "SourceCreationData"
1281
- }
1292
+ className: "SourceCreationData",
1293
+ },
1282
1294
  },
1283
1295
  sizeGiB: {
1284
1296
  serializedName: "sizeGiB",
1285
1297
  required: true,
1286
1298
  type: {
1287
- name: "Number"
1288
- }
1299
+ name: "Number",
1300
+ },
1289
1301
  },
1290
1302
  storageTarget: {
1291
1303
  serializedName: "storageTarget",
1292
1304
  type: {
1293
1305
  name: "Composite",
1294
- className: "IscsiTargetInfo"
1295
- }
1306
+ className: "IscsiTargetInfo",
1307
+ },
1296
1308
  },
1297
1309
  managedBy: {
1298
1310
  serializedName: "managedBy",
1299
1311
  type: {
1300
1312
  name: "Composite",
1301
- className: "ManagedByInfo"
1302
- }
1313
+ className: "ManagedByInfo",
1314
+ },
1303
1315
  },
1304
1316
  provisioningState: {
1305
1317
  serializedName: "provisioningState",
1306
1318
  readOnly: true,
1307
1319
  type: {
1308
- name: "String"
1309
- }
1310
- }
1311
- }
1312
- }
1320
+ name: "String",
1321
+ },
1322
+ },
1323
+ },
1324
+ },
1313
1325
  };
1314
1326
  const SourceCreationData = {
1315
1327
  type: {
@@ -1319,17 +1331,17 @@ const SourceCreationData = {
1319
1331
  createSource: {
1320
1332
  serializedName: "createSource",
1321
1333
  type: {
1322
- name: "String"
1323
- }
1334
+ name: "String",
1335
+ },
1324
1336
  },
1325
1337
  sourceId: {
1326
1338
  serializedName: "sourceId",
1327
1339
  type: {
1328
- name: "String"
1329
- }
1330
- }
1331
- }
1332
- }
1340
+ name: "String",
1341
+ },
1342
+ },
1343
+ },
1344
+ },
1333
1345
  };
1334
1346
  const IscsiTargetInfo = {
1335
1347
  type: {
@@ -1340,38 +1352,38 @@ const IscsiTargetInfo = {
1340
1352
  serializedName: "targetIqn",
1341
1353
  readOnly: true,
1342
1354
  type: {
1343
- name: "String"
1344
- }
1355
+ name: "String",
1356
+ },
1345
1357
  },
1346
1358
  targetPortalHostname: {
1347
1359
  serializedName: "targetPortalHostname",
1348
1360
  readOnly: true,
1349
1361
  type: {
1350
- name: "String"
1351
- }
1362
+ name: "String",
1363
+ },
1352
1364
  },
1353
1365
  targetPortalPort: {
1354
1366
  serializedName: "targetPortalPort",
1355
1367
  readOnly: true,
1356
1368
  type: {
1357
- name: "Number"
1358
- }
1369
+ name: "Number",
1370
+ },
1359
1371
  },
1360
1372
  provisioningState: {
1361
1373
  serializedName: "provisioningState",
1362
1374
  readOnly: true,
1363
1375
  type: {
1364
- name: "String"
1365
- }
1376
+ name: "String",
1377
+ },
1366
1378
  },
1367
1379
  status: {
1368
1380
  serializedName: "status",
1369
1381
  type: {
1370
- name: "String"
1371
- }
1372
- }
1373
- }
1374
- }
1382
+ name: "String",
1383
+ },
1384
+ },
1385
+ },
1386
+ },
1375
1387
  };
1376
1388
  const ManagedByInfo = {
1377
1389
  type: {
@@ -1381,11 +1393,11 @@ const ManagedByInfo = {
1381
1393
  resourceId: {
1382
1394
  serializedName: "resourceId",
1383
1395
  type: {
1384
- name: "String"
1385
- }
1386
- }
1387
- }
1388
- }
1396
+ name: "String",
1397
+ },
1398
+ },
1399
+ },
1400
+ },
1389
1401
  };
1390
1402
  const VolumeUpdate = {
1391
1403
  type: {
@@ -1396,11 +1408,11 @@ const VolumeUpdate = {
1396
1408
  serializedName: "properties",
1397
1409
  type: {
1398
1410
  name: "Composite",
1399
- className: "VolumeUpdateProperties"
1400
- }
1401
- }
1402
- }
1403
- }
1411
+ className: "VolumeUpdateProperties",
1412
+ },
1413
+ },
1414
+ },
1415
+ },
1404
1416
  };
1405
1417
  const VolumeUpdateProperties = {
1406
1418
  type: {
@@ -1410,18 +1422,18 @@ const VolumeUpdateProperties = {
1410
1422
  sizeGiB: {
1411
1423
  serializedName: "sizeGiB",
1412
1424
  type: {
1413
- name: "Number"
1414
- }
1425
+ name: "Number",
1426
+ },
1415
1427
  },
1416
1428
  managedBy: {
1417
1429
  serializedName: "managedBy",
1418
1430
  type: {
1419
1431
  name: "Composite",
1420
- className: "ManagedByInfo"
1421
- }
1422
- }
1423
- }
1424
- }
1432
+ className: "ManagedByInfo",
1433
+ },
1434
+ },
1435
+ },
1436
+ },
1425
1437
  };
1426
1438
  const VolumeList = {
1427
1439
  type: {
@@ -1435,20 +1447,20 @@ const VolumeList = {
1435
1447
  element: {
1436
1448
  type: {
1437
1449
  name: "Composite",
1438
- className: "Volume"
1439
- }
1440
- }
1441
- }
1450
+ className: "Volume",
1451
+ },
1452
+ },
1453
+ },
1442
1454
  },
1443
1455
  nextLink: {
1444
1456
  serializedName: "nextLink",
1445
1457
  readOnly: true,
1446
1458
  type: {
1447
- name: "String"
1448
- }
1449
- }
1450
- }
1451
- }
1459
+ name: "String",
1460
+ },
1461
+ },
1462
+ },
1463
+ },
1452
1464
  };
1453
1465
  const PrivateEndpointConnectionListResult = {
1454
1466
  type: {
@@ -1462,20 +1474,20 @@ const PrivateEndpointConnectionListResult = {
1462
1474
  element: {
1463
1475
  type: {
1464
1476
  name: "Composite",
1465
- className: "PrivateEndpointConnection"
1466
- }
1467
- }
1468
- }
1477
+ className: "PrivateEndpointConnection",
1478
+ },
1479
+ },
1480
+ },
1469
1481
  },
1470
1482
  nextLink: {
1471
1483
  serializedName: "nextLink",
1472
1484
  readOnly: true,
1473
1485
  type: {
1474
- name: "String"
1475
- }
1476
- }
1477
- }
1478
- }
1486
+ name: "String",
1487
+ },
1488
+ },
1489
+ },
1490
+ },
1479
1491
  };
1480
1492
  const PrivateLinkResourceListResult = {
1481
1493
  type: {
@@ -1489,20 +1501,20 @@ const PrivateLinkResourceListResult = {
1489
1501
  element: {
1490
1502
  type: {
1491
1503
  name: "Composite",
1492
- className: "PrivateLinkResource"
1493
- }
1494
- }
1495
- }
1504
+ className: "PrivateLinkResource",
1505
+ },
1506
+ },
1507
+ },
1496
1508
  },
1497
1509
  nextLink: {
1498
1510
  serializedName: "nextLink",
1499
1511
  readOnly: true,
1500
1512
  type: {
1501
- name: "String"
1502
- }
1503
- }
1504
- }
1505
- }
1513
+ name: "String",
1514
+ },
1515
+ },
1516
+ },
1517
+ },
1506
1518
  };
1507
1519
  const PrivateLinkResourceProperties = {
1508
1520
  type: {
@@ -1513,8 +1525,8 @@ const PrivateLinkResourceProperties = {
1513
1525
  serializedName: "groupId",
1514
1526
  readOnly: true,
1515
1527
  type: {
1516
- name: "String"
1517
- }
1528
+ name: "String",
1529
+ },
1518
1530
  },
1519
1531
  requiredMembers: {
1520
1532
  serializedName: "requiredMembers",
@@ -1523,10 +1535,10 @@ const PrivateLinkResourceProperties = {
1523
1535
  name: "Sequence",
1524
1536
  element: {
1525
1537
  type: {
1526
- name: "String"
1527
- }
1528
- }
1529
- }
1538
+ name: "String",
1539
+ },
1540
+ },
1541
+ },
1530
1542
  },
1531
1543
  requiredZoneNames: {
1532
1544
  serializedName: "requiredZoneNames",
@@ -1534,13 +1546,13 @@ const PrivateLinkResourceProperties = {
1534
1546
  name: "Sequence",
1535
1547
  element: {
1536
1548
  type: {
1537
- name: "String"
1538
- }
1539
- }
1540
- }
1541
- }
1542
- }
1543
- }
1549
+ name: "String",
1550
+ },
1551
+ },
1552
+ },
1553
+ },
1554
+ },
1555
+ },
1544
1556
  };
1545
1557
  const SnapshotList = {
1546
1558
  type: {
@@ -1554,20 +1566,20 @@ const SnapshotList = {
1554
1566
  element: {
1555
1567
  type: {
1556
1568
  name: "Composite",
1557
- className: "Snapshot"
1558
- }
1559
- }
1560
- }
1569
+ className: "Snapshot",
1570
+ },
1571
+ },
1572
+ },
1561
1573
  },
1562
1574
  nextLink: {
1563
1575
  serializedName: "nextLink",
1564
1576
  readOnly: true,
1565
1577
  type: {
1566
- name: "String"
1567
- }
1568
- }
1569
- }
1570
- }
1578
+ name: "String",
1579
+ },
1580
+ },
1581
+ },
1582
+ },
1571
1583
  };
1572
1584
  const SnapshotProperties = {
1573
1585
  type: {
@@ -1578,32 +1590,32 @@ const SnapshotProperties = {
1578
1590
  serializedName: "creationData",
1579
1591
  type: {
1580
1592
  name: "Composite",
1581
- className: "SnapshotCreationData"
1582
- }
1593
+ className: "SnapshotCreationData",
1594
+ },
1583
1595
  },
1584
1596
  provisioningState: {
1585
1597
  serializedName: "provisioningState",
1586
1598
  readOnly: true,
1587
1599
  type: {
1588
- name: "String"
1589
- }
1600
+ name: "String",
1601
+ },
1590
1602
  },
1591
1603
  sourceVolumeSizeGiB: {
1592
1604
  serializedName: "sourceVolumeSizeGiB",
1593
1605
  readOnly: true,
1594
1606
  type: {
1595
- name: "Number"
1596
- }
1607
+ name: "Number",
1608
+ },
1597
1609
  },
1598
1610
  volumeName: {
1599
1611
  serializedName: "volumeName",
1600
1612
  readOnly: true,
1601
1613
  type: {
1602
- name: "String"
1603
- }
1604
- }
1605
- }
1606
- }
1614
+ name: "String",
1615
+ },
1616
+ },
1617
+ },
1618
+ },
1607
1619
  };
1608
1620
  const SnapshotCreationData = {
1609
1621
  type: {
@@ -1614,11 +1626,11 @@ const SnapshotCreationData = {
1614
1626
  serializedName: "sourceId",
1615
1627
  required: true,
1616
1628
  type: {
1617
- name: "String"
1618
- }
1619
- }
1620
- }
1621
- }
1629
+ name: "String",
1630
+ },
1631
+ },
1632
+ },
1633
+ },
1622
1634
  };
1623
1635
  const PrivateEndpointConnection = {
1624
1636
  type: {
@@ -1628,10 +1640,10 @@ const PrivateEndpointConnection = {
1628
1640
  serializedName: "properties",
1629
1641
  type: {
1630
1642
  name: "Composite",
1631
- className: "PrivateEndpointConnectionProperties"
1632
- }
1633
- } })
1634
- }
1643
+ className: "PrivateEndpointConnectionProperties",
1644
+ },
1645
+ } }),
1646
+ },
1635
1647
  };
1636
1648
  const TrackedResource = {
1637
1649
  type: {
@@ -1641,23 +1653,23 @@ const TrackedResource = {
1641
1653
  serializedName: "tags",
1642
1654
  type: {
1643
1655
  name: "Dictionary",
1644
- value: { type: { name: "String" } }
1645
- }
1656
+ value: { type: { name: "String" } },
1657
+ },
1646
1658
  }, location: {
1647
1659
  serializedName: "location",
1648
1660
  required: true,
1649
1661
  type: {
1650
- name: "String"
1651
- }
1652
- } })
1653
- }
1662
+ name: "String",
1663
+ },
1664
+ } }),
1665
+ },
1654
1666
  };
1655
1667
  const ProxyResource = {
1656
1668
  type: {
1657
1669
  name: "Composite",
1658
1670
  className: "ProxyResource",
1659
- modelProperties: Object.assign({}, Resource.type.modelProperties)
1660
- }
1671
+ modelProperties: Object.assign({}, Resource.type.modelProperties),
1672
+ },
1661
1673
  };
1662
1674
  const PrivateLinkResource = {
1663
1675
  type: {
@@ -1667,10 +1679,10 @@ const PrivateLinkResource = {
1667
1679
  serializedName: "properties",
1668
1680
  type: {
1669
1681
  name: "Composite",
1670
- className: "PrivateLinkResourceProperties"
1671
- }
1672
- } })
1673
- }
1682
+ className: "PrivateLinkResourceProperties",
1683
+ },
1684
+ } }),
1685
+ },
1674
1686
  };
1675
1687
  const ElasticSan = {
1676
1688
  type: {
@@ -1680,10 +1692,10 @@ const ElasticSan = {
1680
1692
  serializedName: "properties",
1681
1693
  type: {
1682
1694
  name: "Composite",
1683
- className: "ElasticSanProperties"
1684
- }
1685
- } })
1686
- }
1695
+ className: "ElasticSanProperties",
1696
+ },
1697
+ } }),
1698
+ },
1687
1699
  };
1688
1700
  const VolumeGroup = {
1689
1701
  type: {
@@ -1693,16 +1705,16 @@ const VolumeGroup = {
1693
1705
  serializedName: "identity",
1694
1706
  type: {
1695
1707
  name: "Composite",
1696
- className: "Identity"
1697
- }
1708
+ className: "Identity",
1709
+ },
1698
1710
  }, properties: {
1699
1711
  serializedName: "properties",
1700
1712
  type: {
1701
1713
  name: "Composite",
1702
- className: "VolumeGroupProperties"
1703
- }
1704
- } })
1705
- }
1714
+ className: "VolumeGroupProperties",
1715
+ },
1716
+ } }),
1717
+ },
1706
1718
  };
1707
1719
  const Volume = {
1708
1720
  type: {
@@ -1712,10 +1724,10 @@ const Volume = {
1712
1724
  serializedName: "properties",
1713
1725
  type: {
1714
1726
  name: "Composite",
1715
- className: "VolumeProperties"
1716
- }
1717
- } })
1718
- }
1727
+ className: "VolumeProperties",
1728
+ },
1729
+ } }),
1730
+ },
1719
1731
  };
1720
1732
  const Snapshot = {
1721
1733
  type: {
@@ -1725,10 +1737,10 @@ const Snapshot = {
1725
1737
  serializedName: "properties",
1726
1738
  type: {
1727
1739
  name: "Composite",
1728
- className: "SnapshotProperties"
1729
- }
1730
- } })
1731
- }
1740
+ className: "SnapshotProperties",
1741
+ },
1742
+ } }),
1743
+ },
1732
1744
  };
1733
1745
  const ElasticSansUpdateHeaders = {
1734
1746
  type: {
@@ -1738,11 +1750,11 @@ const ElasticSansUpdateHeaders = {
1738
1750
  location: {
1739
1751
  serializedName: "location",
1740
1752
  type: {
1741
- name: "String"
1742
- }
1743
- }
1744
- }
1745
- }
1753
+ name: "String",
1754
+ },
1755
+ },
1756
+ },
1757
+ },
1746
1758
  };
1747
1759
  const ElasticSansDeleteHeaders = {
1748
1760
  type: {
@@ -1752,11 +1764,11 @@ const ElasticSansDeleteHeaders = {
1752
1764
  location: {
1753
1765
  serializedName: "location",
1754
1766
  type: {
1755
- name: "String"
1756
- }
1757
- }
1758
- }
1759
- }
1767
+ name: "String",
1768
+ },
1769
+ },
1770
+ },
1771
+ },
1760
1772
  };
1761
1773
  const VolumeGroupsUpdateHeaders = {
1762
1774
  type: {
@@ -1766,11 +1778,11 @@ const VolumeGroupsUpdateHeaders = {
1766
1778
  location: {
1767
1779
  serializedName: "location",
1768
1780
  type: {
1769
- name: "String"
1770
- }
1771
- }
1772
- }
1773
- }
1781
+ name: "String",
1782
+ },
1783
+ },
1784
+ },
1785
+ },
1774
1786
  };
1775
1787
  const VolumeGroupsDeleteHeaders = {
1776
1788
  type: {
@@ -1780,11 +1792,11 @@ const VolumeGroupsDeleteHeaders = {
1780
1792
  location: {
1781
1793
  serializedName: "location",
1782
1794
  type: {
1783
- name: "String"
1784
- }
1785
- }
1786
- }
1787
- }
1795
+ name: "String",
1796
+ },
1797
+ },
1798
+ },
1799
+ },
1788
1800
  };
1789
1801
  const VolumesUpdateHeaders = {
1790
1802
  type: {
@@ -1794,11 +1806,11 @@ const VolumesUpdateHeaders = {
1794
1806
  location: {
1795
1807
  serializedName: "location",
1796
1808
  type: {
1797
- name: "String"
1798
- }
1799
- }
1800
- }
1801
- }
1809
+ name: "String",
1810
+ },
1811
+ },
1812
+ },
1813
+ },
1802
1814
  };
1803
1815
  const VolumesDeleteHeaders = {
1804
1816
  type: {
@@ -1808,11 +1820,11 @@ const VolumesDeleteHeaders = {
1808
1820
  location: {
1809
1821
  serializedName: "location",
1810
1822
  type: {
1811
- name: "String"
1812
- }
1813
- }
1814
- }
1815
- }
1823
+ name: "String",
1824
+ },
1825
+ },
1826
+ },
1827
+ },
1816
1828
  };
1817
1829
  const PrivateEndpointConnectionsDeleteHeaders = {
1818
1830
  type: {
@@ -1822,11 +1834,11 @@ const PrivateEndpointConnectionsDeleteHeaders = {
1822
1834
  location: {
1823
1835
  serializedName: "location",
1824
1836
  type: {
1825
- name: "String"
1826
- }
1827
- }
1828
- }
1829
- }
1837
+ name: "String",
1838
+ },
1839
+ },
1840
+ },
1841
+ },
1830
1842
  };
1831
1843
  const VolumeSnapshotsDeleteHeaders = {
1832
1844
  type: {
@@ -1836,11 +1848,11 @@ const VolumeSnapshotsDeleteHeaders = {
1836
1848
  location: {
1837
1849
  serializedName: "location",
1838
1850
  type: {
1839
- name: "String"
1840
- }
1841
- }
1842
- }
1843
- }
1851
+ name: "String",
1852
+ },
1853
+ },
1854
+ },
1855
+ },
1844
1856
  };
1845
1857
 
1846
1858
  var Mappers = /*#__PURE__*/Object.freeze({
@@ -1921,9 +1933,9 @@ const accept = {
1921
1933
  isConstant: true,
1922
1934
  serializedName: "Accept",
1923
1935
  type: {
1924
- name: "String"
1925
- }
1926
- }
1936
+ name: "String",
1937
+ },
1938
+ },
1927
1939
  };
1928
1940
  const $host = {
1929
1941
  parameterPath: "$host",
@@ -1931,57 +1943,57 @@ const $host = {
1931
1943
  serializedName: "$host",
1932
1944
  required: true,
1933
1945
  type: {
1934
- name: "String"
1935
- }
1946
+ name: "String",
1947
+ },
1936
1948
  },
1937
- skipEncoding: true
1949
+ skipEncoding: true,
1938
1950
  };
1939
1951
  const apiVersion = {
1940
1952
  parameterPath: "apiVersion",
1941
1953
  mapper: {
1942
- defaultValue: "2023-01-01",
1954
+ defaultValue: "2024-05-01",
1943
1955
  isConstant: true,
1944
1956
  serializedName: "api-version",
1945
1957
  type: {
1946
- name: "String"
1947
- }
1948
- }
1958
+ name: "String",
1959
+ },
1960
+ },
1949
1961
  };
1950
1962
  const subscriptionId = {
1951
1963
  parameterPath: "subscriptionId",
1952
1964
  mapper: {
1953
1965
  constraints: {
1954
- MinLength: 1
1966
+ MinLength: 1,
1955
1967
  },
1956
1968
  serializedName: "subscriptionId",
1957
1969
  required: true,
1958
1970
  type: {
1959
- name: "String"
1960
- }
1961
- }
1971
+ name: "String",
1972
+ },
1973
+ },
1962
1974
  };
1963
1975
  const filter = {
1964
1976
  parameterPath: ["options", "filter"],
1965
1977
  mapper: {
1966
1978
  serializedName: "$filter",
1967
1979
  type: {
1968
- name: "String"
1969
- }
1970
- }
1980
+ name: "String",
1981
+ },
1982
+ },
1971
1983
  };
1972
1984
  const resourceGroupName = {
1973
1985
  parameterPath: "resourceGroupName",
1974
1986
  mapper: {
1975
1987
  constraints: {
1976
1988
  MaxLength: 90,
1977
- MinLength: 1
1989
+ MinLength: 1,
1978
1990
  },
1979
1991
  serializedName: "resourceGroupName",
1980
1992
  required: true,
1981
1993
  type: {
1982
- name: "String"
1983
- }
1984
- }
1994
+ name: "String",
1995
+ },
1996
+ },
1985
1997
  };
1986
1998
  const contentType = {
1987
1999
  parameterPath: ["options", "contentType"],
@@ -1990,13 +2002,13 @@ const contentType = {
1990
2002
  isConstant: true,
1991
2003
  serializedName: "Content-Type",
1992
2004
  type: {
1993
- name: "String"
1994
- }
1995
- }
2005
+ name: "String",
2006
+ },
2007
+ },
1996
2008
  };
1997
2009
  const parameters = {
1998
2010
  parameterPath: "parameters",
1999
- mapper: ElasticSan
2011
+ mapper: ElasticSan,
2000
2012
  };
2001
2013
  const elasticSanName = {
2002
2014
  parameterPath: "elasticSanName",
@@ -2004,18 +2016,18 @@ const elasticSanName = {
2004
2016
  constraints: {
2005
2017
  Pattern: new RegExp("^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$"),
2006
2018
  MaxLength: 24,
2007
- MinLength: 3
2019
+ MinLength: 3,
2008
2020
  },
2009
2021
  serializedName: "elasticSanName",
2010
2022
  required: true,
2011
2023
  type: {
2012
- name: "String"
2013
- }
2014
- }
2024
+ name: "String",
2025
+ },
2026
+ },
2015
2027
  };
2016
2028
  const parameters1 = {
2017
2029
  parameterPath: "parameters",
2018
- mapper: ElasticSanUpdate
2030
+ mapper: ElasticSanUpdate,
2019
2031
  };
2020
2032
  const nextLink = {
2021
2033
  parameterPath: "nextLink",
@@ -2023,14 +2035,14 @@ const nextLink = {
2023
2035
  serializedName: "nextLink",
2024
2036
  required: true,
2025
2037
  type: {
2026
- name: "String"
2027
- }
2038
+ name: "String",
2039
+ },
2028
2040
  },
2029
- skipEncoding: true
2041
+ skipEncoding: true,
2030
2042
  };
2031
2043
  const parameters2 = {
2032
2044
  parameterPath: "parameters",
2033
- mapper: VolumeGroup
2045
+ mapper: VolumeGroup,
2034
2046
  };
2035
2047
  const volumeGroupName = {
2036
2048
  parameterPath: "volumeGroupName",
@@ -2038,22 +2050,22 @@ const volumeGroupName = {
2038
2050
  constraints: {
2039
2051
  Pattern: new RegExp("^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$"),
2040
2052
  MaxLength: 63,
2041
- MinLength: 3
2053
+ MinLength: 3,
2042
2054
  },
2043
2055
  serializedName: "volumeGroupName",
2044
2056
  required: true,
2045
2057
  type: {
2046
- name: "String"
2047
- }
2048
- }
2058
+ name: "String",
2059
+ },
2060
+ },
2049
2061
  };
2050
2062
  const parameters3 = {
2051
2063
  parameterPath: "parameters",
2052
- mapper: VolumeGroupUpdate
2064
+ mapper: VolumeGroupUpdate,
2053
2065
  };
2054
2066
  const parameters4 = {
2055
2067
  parameterPath: "parameters",
2056
- mapper: Volume
2068
+ mapper: Volume,
2057
2069
  };
2058
2070
  const volumeName = {
2059
2071
  parameterPath: "volumeName",
@@ -2061,40 +2073,40 @@ const volumeName = {
2061
2073
  constraints: {
2062
2074
  Pattern: new RegExp("^[a-z0-9]+(-[a-z0-9A-Z]+)*$"),
2063
2075
  MaxLength: 63,
2064
- MinLength: 3
2076
+ MinLength: 3,
2065
2077
  },
2066
2078
  serializedName: "volumeName",
2067
2079
  required: true,
2068
2080
  type: {
2069
- name: "String"
2070
- }
2071
- }
2081
+ name: "String",
2082
+ },
2083
+ },
2072
2084
  };
2073
2085
  const parameters5 = {
2074
2086
  parameterPath: "parameters",
2075
- mapper: VolumeUpdate
2087
+ mapper: VolumeUpdate,
2076
2088
  };
2077
2089
  const xMsDeleteSnapshots = {
2078
2090
  parameterPath: ["options", "xMsDeleteSnapshots"],
2079
2091
  mapper: {
2080
2092
  serializedName: "x-ms-delete-snapshots",
2081
2093
  type: {
2082
- name: "String"
2083
- }
2084
- }
2094
+ name: "String",
2095
+ },
2096
+ },
2085
2097
  };
2086
2098
  const xMsForceDelete = {
2087
2099
  parameterPath: ["options", "xMsForceDelete"],
2088
2100
  mapper: {
2089
2101
  serializedName: "x-ms-force-delete",
2090
2102
  type: {
2091
- name: "String"
2092
- }
2093
- }
2103
+ name: "String",
2104
+ },
2105
+ },
2094
2106
  };
2095
2107
  const parameters6 = {
2096
2108
  parameterPath: "parameters",
2097
- mapper: PrivateEndpointConnection
2109
+ mapper: PrivateEndpointConnection,
2098
2110
  };
2099
2111
  const privateEndpointConnectionName = {
2100
2112
  parameterPath: "privateEndpointConnectionName",
@@ -2102,13 +2114,13 @@ const privateEndpointConnectionName = {
2102
2114
  serializedName: "privateEndpointConnectionName",
2103
2115
  required: true,
2104
2116
  type: {
2105
- name: "String"
2106
- }
2107
- }
2117
+ name: "String",
2118
+ },
2119
+ },
2108
2120
  };
2109
2121
  const parameters7 = {
2110
2122
  parameterPath: "parameters",
2111
- mapper: Snapshot
2123
+ mapper: Snapshot,
2112
2124
  };
2113
2125
  const snapshotName = {
2114
2126
  parameterPath: "snapshotName",
@@ -2116,14 +2128,14 @@ const snapshotName = {
2116
2128
  constraints: {
2117
2129
  Pattern: new RegExp("^[a-z0-9]+(?:[._-][a-z0-9]+)*$"),
2118
2130
  MaxLength: 80,
2119
- MinLength: 1
2131
+ MinLength: 1,
2120
2132
  },
2121
2133
  serializedName: "snapshotName",
2122
2134
  required: true,
2123
2135
  type: {
2124
- name: "String"
2125
- }
2126
- }
2136
+ name: "String",
2137
+ },
2138
+ },
2127
2139
  };
2128
2140
 
2129
2141
  /*
@@ -2161,7 +2173,7 @@ class OperationsImpl {
2161
2173
  throw new Error("maxPageSize is not supported by this operation.");
2162
2174
  }
2163
2175
  return this.listPagingPage(options, settings);
2164
- }
2176
+ },
2165
2177
  };
2166
2178
  }
2167
2179
  listPagingPage(options, _settings) {
@@ -2206,16 +2218,16 @@ const listOperationSpec$2 = {
2206
2218
  httpMethod: "GET",
2207
2219
  responses: {
2208
2220
  200: {
2209
- bodyMapper: OperationListResult
2221
+ bodyMapper: OperationListResult,
2210
2222
  },
2211
2223
  default: {
2212
- bodyMapper: ErrorResponse
2213
- }
2224
+ bodyMapper: ErrorResponse,
2225
+ },
2214
2226
  },
2215
2227
  queryParameters: [apiVersion],
2216
2228
  urlParameters: [$host],
2217
2229
  headerParameters: [accept],
2218
- serializer: serializer$7
2230
+ serializer: serializer$7,
2219
2231
  };
2220
2232
 
2221
2233
  /*
@@ -2253,7 +2265,7 @@ class SkusImpl {
2253
2265
  throw new Error("maxPageSize is not supported by this operation.");
2254
2266
  }
2255
2267
  return this.listPagingPage(options, settings);
2256
- }
2268
+ },
2257
2269
  };
2258
2270
  }
2259
2271
  listPagingPage(options, _settings) {
@@ -2298,16 +2310,16 @@ const listOperationSpec$1 = {
2298
2310
  httpMethod: "GET",
2299
2311
  responses: {
2300
2312
  200: {
2301
- bodyMapper: SkuInformationList
2313
+ bodyMapper: SkuInformationList,
2302
2314
  },
2303
2315
  default: {
2304
- bodyMapper: ErrorResponse
2305
- }
2316
+ bodyMapper: ErrorResponse,
2317
+ },
2306
2318
  },
2307
2319
  queryParameters: [apiVersion, filter],
2308
2320
  urlParameters: [$host, subscriptionId],
2309
2321
  headerParameters: [accept],
2310
- serializer: serializer$6
2322
+ serializer: serializer$6,
2311
2323
  };
2312
2324
 
2313
2325
  /*
@@ -2326,7 +2338,7 @@ function createLroSpec(inputs) {
2326
2338
  sendPollRequest: (path, options) => {
2327
2339
  const restSpec = tslib.__rest(spec, ["requestBody"]);
2328
2340
  return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
2329
- }
2341
+ },
2330
2342
  };
2331
2343
  }
2332
2344
 
@@ -2365,7 +2377,7 @@ class ElasticSansImpl {
2365
2377
  throw new Error("maxPageSize is not supported by this operation.");
2366
2378
  }
2367
2379
  return this.listBySubscriptionPagingPage(options, settings);
2368
- }
2380
+ },
2369
2381
  };
2370
2382
  }
2371
2383
  listBySubscriptionPagingPage(options, settings) {
@@ -2427,7 +2439,7 @@ class ElasticSansImpl {
2427
2439
  throw new Error("maxPageSize is not supported by this operation.");
2428
2440
  }
2429
2441
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
2430
- }
2442
+ },
2431
2443
  };
2432
2444
  }
2433
2445
  listByResourceGroupPagingPage(resourceGroupName, options, settings) {
@@ -2512,19 +2524,19 @@ class ElasticSansImpl {
2512
2524
  rawResponse: {
2513
2525
  statusCode: currentRawResponse.status,
2514
2526
  body: currentRawResponse.parsedBody,
2515
- headers: currentRawResponse.headers.toJSON()
2516
- }
2527
+ headers: currentRawResponse.headers.toJSON(),
2528
+ },
2517
2529
  };
2518
2530
  });
2519
2531
  const lro = createLroSpec({
2520
2532
  sendOperationFn,
2521
2533
  args: { resourceGroupName, elasticSanName, parameters, options },
2522
- spec: createOperationSpec$4
2534
+ spec: createOperationSpec$4,
2523
2535
  });
2524
2536
  const poller = yield coreLro.createHttpPoller(lro, {
2525
2537
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2526
2538
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
2527
- resourceLocationConfig: "location"
2539
+ resourceLocationConfig: "location",
2528
2540
  });
2529
2541
  yield poller.poll();
2530
2542
  return poller;
@@ -2570,19 +2582,19 @@ class ElasticSansImpl {
2570
2582
  rawResponse: {
2571
2583
  statusCode: currentRawResponse.status,
2572
2584
  body: currentRawResponse.parsedBody,
2573
- headers: currentRawResponse.headers.toJSON()
2574
- }
2585
+ headers: currentRawResponse.headers.toJSON(),
2586
+ },
2575
2587
  };
2576
2588
  });
2577
2589
  const lro = createLroSpec({
2578
2590
  sendOperationFn,
2579
2591
  args: { resourceGroupName, elasticSanName, parameters, options },
2580
- spec: updateOperationSpec$2
2592
+ spec: updateOperationSpec$2,
2581
2593
  });
2582
2594
  const poller = yield coreLro.createHttpPoller(lro, {
2583
2595
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2584
2596
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
2585
- resourceLocationConfig: "location"
2597
+ resourceLocationConfig: "location",
2586
2598
  });
2587
2599
  yield poller.poll();
2588
2600
  return poller;
@@ -2627,19 +2639,19 @@ class ElasticSansImpl {
2627
2639
  rawResponse: {
2628
2640
  statusCode: currentRawResponse.status,
2629
2641
  body: currentRawResponse.parsedBody,
2630
- headers: currentRawResponse.headers.toJSON()
2631
- }
2642
+ headers: currentRawResponse.headers.toJSON(),
2643
+ },
2632
2644
  };
2633
2645
  });
2634
2646
  const lro = createLroSpec({
2635
2647
  sendOperationFn,
2636
2648
  args: { resourceGroupName, elasticSanName, options },
2637
- spec: deleteOperationSpec$4
2649
+ spec: deleteOperationSpec$4,
2638
2650
  });
2639
2651
  const poller = yield coreLro.createHttpPoller(lro, {
2640
2652
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2641
2653
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
2642
- resourceLocationConfig: "location"
2654
+ resourceLocationConfig: "location",
2643
2655
  });
2644
2656
  yield poller.poll();
2645
2657
  return poller;
@@ -2691,56 +2703,56 @@ const listBySubscriptionOperationSpec = {
2691
2703
  httpMethod: "GET",
2692
2704
  responses: {
2693
2705
  200: {
2694
- bodyMapper: ElasticSanList
2706
+ bodyMapper: ElasticSanList,
2695
2707
  },
2696
2708
  default: {
2697
- bodyMapper: ErrorResponse
2698
- }
2709
+ bodyMapper: ErrorResponse,
2710
+ },
2699
2711
  },
2700
2712
  queryParameters: [apiVersion],
2701
2713
  urlParameters: [$host, subscriptionId],
2702
2714
  headerParameters: [accept],
2703
- serializer: serializer$5
2715
+ serializer: serializer$5,
2704
2716
  };
2705
2717
  const listByResourceGroupOperationSpec = {
2706
2718
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans",
2707
2719
  httpMethod: "GET",
2708
2720
  responses: {
2709
2721
  200: {
2710
- bodyMapper: ElasticSanList
2722
+ bodyMapper: ElasticSanList,
2711
2723
  },
2712
2724
  default: {
2713
- bodyMapper: ErrorResponse
2714
- }
2725
+ bodyMapper: ErrorResponse,
2726
+ },
2715
2727
  },
2716
2728
  queryParameters: [apiVersion],
2717
2729
  urlParameters: [
2718
2730
  $host,
2719
2731
  subscriptionId,
2720
- resourceGroupName
2732
+ resourceGroupName,
2721
2733
  ],
2722
2734
  headerParameters: [accept],
2723
- serializer: serializer$5
2735
+ serializer: serializer$5,
2724
2736
  };
2725
2737
  const createOperationSpec$4 = {
2726
2738
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}",
2727
2739
  httpMethod: "PUT",
2728
2740
  responses: {
2729
2741
  200: {
2730
- bodyMapper: ElasticSan
2742
+ bodyMapper: ElasticSan,
2731
2743
  },
2732
2744
  201: {
2733
- bodyMapper: ElasticSan
2745
+ bodyMapper: ElasticSan,
2734
2746
  },
2735
2747
  202: {
2736
- bodyMapper: ElasticSan
2748
+ bodyMapper: ElasticSan,
2737
2749
  },
2738
2750
  204: {
2739
- bodyMapper: ElasticSan
2751
+ bodyMapper: ElasticSan,
2740
2752
  },
2741
2753
  default: {
2742
- bodyMapper: ErrorResponse
2743
- }
2754
+ bodyMapper: ErrorResponse,
2755
+ },
2744
2756
  },
2745
2757
  requestBody: parameters,
2746
2758
  queryParameters: [apiVersion],
@@ -2748,31 +2760,31 @@ const createOperationSpec$4 = {
2748
2760
  $host,
2749
2761
  subscriptionId,
2750
2762
  resourceGroupName,
2751
- elasticSanName
2763
+ elasticSanName,
2752
2764
  ],
2753
2765
  headerParameters: [accept, contentType],
2754
2766
  mediaType: "json",
2755
- serializer: serializer$5
2767
+ serializer: serializer$5,
2756
2768
  };
2757
2769
  const updateOperationSpec$2 = {
2758
2770
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}",
2759
2771
  httpMethod: "PATCH",
2760
2772
  responses: {
2761
2773
  200: {
2762
- bodyMapper: ElasticSan
2774
+ bodyMapper: ElasticSan,
2763
2775
  },
2764
2776
  201: {
2765
- bodyMapper: ElasticSan
2777
+ bodyMapper: ElasticSan,
2766
2778
  },
2767
2779
  202: {
2768
- bodyMapper: ElasticSan
2780
+ bodyMapper: ElasticSan,
2769
2781
  },
2770
2782
  204: {
2771
- bodyMapper: ElasticSan
2783
+ bodyMapper: ElasticSan,
2772
2784
  },
2773
2785
  default: {
2774
- bodyMapper: ErrorResponse
2775
- }
2786
+ bodyMapper: ErrorResponse,
2787
+ },
2776
2788
  },
2777
2789
  requestBody: parameters1,
2778
2790
  queryParameters: [apiVersion],
@@ -2780,11 +2792,11 @@ const updateOperationSpec$2 = {
2780
2792
  $host,
2781
2793
  subscriptionId,
2782
2794
  resourceGroupName,
2783
- elasticSanName
2795
+ elasticSanName,
2784
2796
  ],
2785
2797
  headerParameters: [accept, contentType],
2786
2798
  mediaType: "json",
2787
- serializer: serializer$5
2799
+ serializer: serializer$5,
2788
2800
  };
2789
2801
  const deleteOperationSpec$4 = {
2790
2802
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}",
@@ -2795,78 +2807,78 @@ const deleteOperationSpec$4 = {
2795
2807
  202: {},
2796
2808
  204: {},
2797
2809
  default: {
2798
- bodyMapper: ErrorResponse
2799
- }
2810
+ bodyMapper: ErrorResponse,
2811
+ },
2800
2812
  },
2801
2813
  queryParameters: [apiVersion],
2802
2814
  urlParameters: [
2803
2815
  $host,
2804
2816
  subscriptionId,
2805
2817
  resourceGroupName,
2806
- elasticSanName
2818
+ elasticSanName,
2807
2819
  ],
2808
2820
  headerParameters: [accept],
2809
- serializer: serializer$5
2821
+ serializer: serializer$5,
2810
2822
  };
2811
2823
  const getOperationSpec$4 = {
2812
2824
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}",
2813
2825
  httpMethod: "GET",
2814
2826
  responses: {
2815
2827
  200: {
2816
- bodyMapper: ElasticSan
2828
+ bodyMapper: ElasticSan,
2817
2829
  },
2818
2830
  default: {
2819
- bodyMapper: ErrorResponse
2820
- }
2831
+ bodyMapper: ErrorResponse,
2832
+ },
2821
2833
  },
2822
2834
  queryParameters: [apiVersion],
2823
2835
  urlParameters: [
2824
2836
  $host,
2825
2837
  subscriptionId,
2826
2838
  resourceGroupName,
2827
- elasticSanName
2839
+ elasticSanName,
2828
2840
  ],
2829
2841
  headerParameters: [accept],
2830
- serializer: serializer$5
2842
+ serializer: serializer$5,
2831
2843
  };
2832
2844
  const listBySubscriptionNextOperationSpec = {
2833
2845
  path: "{nextLink}",
2834
2846
  httpMethod: "GET",
2835
2847
  responses: {
2836
2848
  200: {
2837
- bodyMapper: ElasticSanList
2849
+ bodyMapper: ElasticSanList,
2838
2850
  },
2839
2851
  default: {
2840
- bodyMapper: ErrorResponse
2841
- }
2852
+ bodyMapper: ErrorResponse,
2853
+ },
2842
2854
  },
2843
2855
  urlParameters: [
2844
2856
  $host,
2845
2857
  subscriptionId,
2846
- nextLink
2858
+ nextLink,
2847
2859
  ],
2848
2860
  headerParameters: [accept],
2849
- serializer: serializer$5
2861
+ serializer: serializer$5,
2850
2862
  };
2851
2863
  const listByResourceGroupNextOperationSpec = {
2852
2864
  path: "{nextLink}",
2853
2865
  httpMethod: "GET",
2854
2866
  responses: {
2855
2867
  200: {
2856
- bodyMapper: ElasticSanList
2868
+ bodyMapper: ElasticSanList,
2857
2869
  },
2858
2870
  default: {
2859
- bodyMapper: ErrorResponse
2860
- }
2871
+ bodyMapper: ErrorResponse,
2872
+ },
2861
2873
  },
2862
2874
  urlParameters: [
2863
2875
  $host,
2864
2876
  subscriptionId,
2865
2877
  resourceGroupName,
2866
- nextLink
2878
+ nextLink,
2867
2879
  ],
2868
2880
  headerParameters: [accept],
2869
- serializer: serializer$5
2881
+ serializer: serializer$5,
2870
2882
  };
2871
2883
 
2872
2884
  /*
@@ -2906,7 +2918,7 @@ class VolumeGroupsImpl {
2906
2918
  throw new Error("maxPageSize is not supported by this operation.");
2907
2919
  }
2908
2920
  return this.listByElasticSanPagingPage(resourceGroupName, elasticSanName, options, settings);
2909
- }
2921
+ },
2910
2922
  };
2911
2923
  }
2912
2924
  listByElasticSanPagingPage(resourceGroupName, elasticSanName, options, settings) {
@@ -2986,8 +2998,8 @@ class VolumeGroupsImpl {
2986
2998
  rawResponse: {
2987
2999
  statusCode: currentRawResponse.status,
2988
3000
  body: currentRawResponse.parsedBody,
2989
- headers: currentRawResponse.headers.toJSON()
2990
- }
3001
+ headers: currentRawResponse.headers.toJSON(),
3002
+ },
2991
3003
  };
2992
3004
  });
2993
3005
  const lro = createLroSpec({
@@ -2997,14 +3009,14 @@ class VolumeGroupsImpl {
2997
3009
  elasticSanName,
2998
3010
  volumeGroupName,
2999
3011
  parameters,
3000
- options
3012
+ options,
3001
3013
  },
3002
- spec: createOperationSpec$3
3014
+ spec: createOperationSpec$3,
3003
3015
  });
3004
3016
  const poller = yield coreLro.createHttpPoller(lro, {
3005
3017
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3006
3018
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
3007
- resourceLocationConfig: "location"
3019
+ resourceLocationConfig: "location",
3008
3020
  });
3009
3021
  yield poller.poll();
3010
3022
  return poller;
@@ -3052,8 +3064,8 @@ class VolumeGroupsImpl {
3052
3064
  rawResponse: {
3053
3065
  statusCode: currentRawResponse.status,
3054
3066
  body: currentRawResponse.parsedBody,
3055
- headers: currentRawResponse.headers.toJSON()
3056
- }
3067
+ headers: currentRawResponse.headers.toJSON(),
3068
+ },
3057
3069
  };
3058
3070
  });
3059
3071
  const lro = createLroSpec({
@@ -3063,14 +3075,14 @@ class VolumeGroupsImpl {
3063
3075
  elasticSanName,
3064
3076
  volumeGroupName,
3065
3077
  parameters,
3066
- options
3078
+ options,
3067
3079
  },
3068
- spec: updateOperationSpec$1
3080
+ spec: updateOperationSpec$1,
3069
3081
  });
3070
3082
  const poller = yield coreLro.createHttpPoller(lro, {
3071
3083
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3072
3084
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
3073
- resourceLocationConfig: "location"
3085
+ resourceLocationConfig: "location",
3074
3086
  });
3075
3087
  yield poller.poll();
3076
3088
  return poller;
@@ -3117,19 +3129,19 @@ class VolumeGroupsImpl {
3117
3129
  rawResponse: {
3118
3130
  statusCode: currentRawResponse.status,
3119
3131
  body: currentRawResponse.parsedBody,
3120
- headers: currentRawResponse.headers.toJSON()
3121
- }
3132
+ headers: currentRawResponse.headers.toJSON(),
3133
+ },
3122
3134
  };
3123
3135
  });
3124
3136
  const lro = createLroSpec({
3125
3137
  sendOperationFn,
3126
3138
  args: { resourceGroupName, elasticSanName, volumeGroupName, options },
3127
- spec: deleteOperationSpec$3
3139
+ spec: deleteOperationSpec$3,
3128
3140
  });
3129
3141
  const poller = yield coreLro.createHttpPoller(lro, {
3130
3142
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3131
3143
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
3132
- resourceLocationConfig: "location"
3144
+ resourceLocationConfig: "location",
3133
3145
  });
3134
3146
  yield poller.poll();
3135
3147
  return poller;
@@ -3176,41 +3188,41 @@ const listByElasticSanOperationSpec$1 = {
3176
3188
  httpMethod: "GET",
3177
3189
  responses: {
3178
3190
  200: {
3179
- bodyMapper: VolumeGroupList
3191
+ bodyMapper: VolumeGroupList,
3180
3192
  },
3181
3193
  default: {
3182
- bodyMapper: ErrorResponse
3183
- }
3194
+ bodyMapper: ErrorResponse,
3195
+ },
3184
3196
  },
3185
3197
  queryParameters: [apiVersion],
3186
3198
  urlParameters: [
3187
3199
  $host,
3188
3200
  subscriptionId,
3189
3201
  resourceGroupName,
3190
- elasticSanName
3202
+ elasticSanName,
3191
3203
  ],
3192
3204
  headerParameters: [accept],
3193
- serializer: serializer$4
3205
+ serializer: serializer$4,
3194
3206
  };
3195
3207
  const createOperationSpec$3 = {
3196
3208
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}",
3197
3209
  httpMethod: "PUT",
3198
3210
  responses: {
3199
3211
  200: {
3200
- bodyMapper: VolumeGroup
3212
+ bodyMapper: VolumeGroup,
3201
3213
  },
3202
3214
  201: {
3203
- bodyMapper: VolumeGroup
3215
+ bodyMapper: VolumeGroup,
3204
3216
  },
3205
3217
  202: {
3206
- bodyMapper: VolumeGroup
3218
+ bodyMapper: VolumeGroup,
3207
3219
  },
3208
3220
  204: {
3209
- bodyMapper: VolumeGroup
3221
+ bodyMapper: VolumeGroup,
3210
3222
  },
3211
3223
  default: {
3212
- bodyMapper: ErrorResponse
3213
- }
3224
+ bodyMapper: ErrorResponse,
3225
+ },
3214
3226
  },
3215
3227
  requestBody: parameters2,
3216
3228
  queryParameters: [apiVersion],
@@ -3219,31 +3231,31 @@ const createOperationSpec$3 = {
3219
3231
  subscriptionId,
3220
3232
  resourceGroupName,
3221
3233
  elasticSanName,
3222
- volumeGroupName
3234
+ volumeGroupName,
3223
3235
  ],
3224
3236
  headerParameters: [accept, contentType],
3225
3237
  mediaType: "json",
3226
- serializer: serializer$4
3238
+ serializer: serializer$4,
3227
3239
  };
3228
3240
  const updateOperationSpec$1 = {
3229
3241
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}",
3230
3242
  httpMethod: "PATCH",
3231
3243
  responses: {
3232
3244
  200: {
3233
- bodyMapper: VolumeGroup
3245
+ bodyMapper: VolumeGroup,
3234
3246
  },
3235
3247
  201: {
3236
- bodyMapper: VolumeGroup
3248
+ bodyMapper: VolumeGroup,
3237
3249
  },
3238
3250
  202: {
3239
- bodyMapper: VolumeGroup
3251
+ bodyMapper: VolumeGroup,
3240
3252
  },
3241
3253
  204: {
3242
- bodyMapper: VolumeGroup
3254
+ bodyMapper: VolumeGroup,
3243
3255
  },
3244
3256
  default: {
3245
- bodyMapper: ErrorResponse
3246
- }
3257
+ bodyMapper: ErrorResponse,
3258
+ },
3247
3259
  },
3248
3260
  requestBody: parameters3,
3249
3261
  queryParameters: [apiVersion],
@@ -3252,11 +3264,11 @@ const updateOperationSpec$1 = {
3252
3264
  subscriptionId,
3253
3265
  resourceGroupName,
3254
3266
  elasticSanName,
3255
- volumeGroupName
3267
+ volumeGroupName,
3256
3268
  ],
3257
3269
  headerParameters: [accept, contentType],
3258
3270
  mediaType: "json",
3259
- serializer: serializer$4
3271
+ serializer: serializer$4,
3260
3272
  };
3261
3273
  const deleteOperationSpec$3 = {
3262
3274
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}",
@@ -3267,8 +3279,8 @@ const deleteOperationSpec$3 = {
3267
3279
  202: {},
3268
3280
  204: {},
3269
3281
  default: {
3270
- bodyMapper: ErrorResponse
3271
- }
3282
+ bodyMapper: ErrorResponse,
3283
+ },
3272
3284
  },
3273
3285
  queryParameters: [apiVersion],
3274
3286
  urlParameters: [
@@ -3276,21 +3288,21 @@ const deleteOperationSpec$3 = {
3276
3288
  subscriptionId,
3277
3289
  resourceGroupName,
3278
3290
  elasticSanName,
3279
- volumeGroupName
3291
+ volumeGroupName,
3280
3292
  ],
3281
3293
  headerParameters: [accept],
3282
- serializer: serializer$4
3294
+ serializer: serializer$4,
3283
3295
  };
3284
3296
  const getOperationSpec$3 = {
3285
3297
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}",
3286
3298
  httpMethod: "GET",
3287
3299
  responses: {
3288
3300
  200: {
3289
- bodyMapper: VolumeGroup
3301
+ bodyMapper: VolumeGroup,
3290
3302
  },
3291
3303
  default: {
3292
- bodyMapper: ErrorResponse
3293
- }
3304
+ bodyMapper: ErrorResponse,
3305
+ },
3294
3306
  },
3295
3307
  queryParameters: [apiVersion],
3296
3308
  urlParameters: [
@@ -3298,31 +3310,31 @@ const getOperationSpec$3 = {
3298
3310
  subscriptionId,
3299
3311
  resourceGroupName,
3300
3312
  elasticSanName,
3301
- volumeGroupName
3313
+ volumeGroupName,
3302
3314
  ],
3303
3315
  headerParameters: [accept],
3304
- serializer: serializer$4
3316
+ serializer: serializer$4,
3305
3317
  };
3306
3318
  const listByElasticSanNextOperationSpec = {
3307
3319
  path: "{nextLink}",
3308
3320
  httpMethod: "GET",
3309
3321
  responses: {
3310
3322
  200: {
3311
- bodyMapper: VolumeGroupList
3323
+ bodyMapper: VolumeGroupList,
3312
3324
  },
3313
3325
  default: {
3314
- bodyMapper: ErrorResponse
3315
- }
3326
+ bodyMapper: ErrorResponse,
3327
+ },
3316
3328
  },
3317
3329
  urlParameters: [
3318
3330
  $host,
3319
3331
  subscriptionId,
3320
3332
  resourceGroupName,
3321
3333
  elasticSanName,
3322
- nextLink
3334
+ nextLink,
3323
3335
  ],
3324
3336
  headerParameters: [accept],
3325
- serializer: serializer$4
3337
+ serializer: serializer$4,
3326
3338
  };
3327
3339
 
3328
3340
  /*
@@ -3363,7 +3375,7 @@ class VolumesImpl {
3363
3375
  throw new Error("maxPageSize is not supported by this operation.");
3364
3376
  }
3365
3377
  return this.listByVolumeGroupPagingPage(resourceGroupName, elasticSanName, volumeGroupName, options, settings);
3366
- }
3378
+ },
3367
3379
  };
3368
3380
  }
3369
3381
  listByVolumeGroupPagingPage(resourceGroupName, elasticSanName, volumeGroupName, options, settings) {
@@ -3435,8 +3447,8 @@ class VolumesImpl {
3435
3447
  rawResponse: {
3436
3448
  statusCode: currentRawResponse.status,
3437
3449
  body: currentRawResponse.parsedBody,
3438
- headers: currentRawResponse.headers.toJSON()
3439
- }
3450
+ headers: currentRawResponse.headers.toJSON(),
3451
+ },
3440
3452
  };
3441
3453
  });
3442
3454
  const lro = createLroSpec({
@@ -3447,14 +3459,14 @@ class VolumesImpl {
3447
3459
  volumeGroupName,
3448
3460
  volumeName,
3449
3461
  parameters,
3450
- options
3462
+ options,
3451
3463
  },
3452
- spec: createOperationSpec$2
3464
+ spec: createOperationSpec$2,
3453
3465
  });
3454
3466
  const poller = yield coreLro.createHttpPoller(lro, {
3455
3467
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3456
3468
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
3457
- resourceLocationConfig: "location"
3469
+ resourceLocationConfig: "location",
3458
3470
  });
3459
3471
  yield poller.poll();
3460
3472
  return poller;
@@ -3504,8 +3516,8 @@ class VolumesImpl {
3504
3516
  rawResponse: {
3505
3517
  statusCode: currentRawResponse.status,
3506
3518
  body: currentRawResponse.parsedBody,
3507
- headers: currentRawResponse.headers.toJSON()
3508
- }
3519
+ headers: currentRawResponse.headers.toJSON(),
3520
+ },
3509
3521
  };
3510
3522
  });
3511
3523
  const lro = createLroSpec({
@@ -3516,14 +3528,14 @@ class VolumesImpl {
3516
3528
  volumeGroupName,
3517
3529
  volumeName,
3518
3530
  parameters,
3519
- options
3531
+ options,
3520
3532
  },
3521
- spec: updateOperationSpec
3533
+ spec: updateOperationSpec,
3522
3534
  });
3523
3535
  const poller = yield coreLro.createHttpPoller(lro, {
3524
3536
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3525
3537
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
3526
- resourceLocationConfig: "location"
3538
+ resourceLocationConfig: "location",
3527
3539
  });
3528
3540
  yield poller.poll();
3529
3541
  return poller;
@@ -3572,8 +3584,8 @@ class VolumesImpl {
3572
3584
  rawResponse: {
3573
3585
  statusCode: currentRawResponse.status,
3574
3586
  body: currentRawResponse.parsedBody,
3575
- headers: currentRawResponse.headers.toJSON()
3576
- }
3587
+ headers: currentRawResponse.headers.toJSON(),
3588
+ },
3577
3589
  };
3578
3590
  });
3579
3591
  const lro = createLroSpec({
@@ -3583,14 +3595,14 @@ class VolumesImpl {
3583
3595
  elasticSanName,
3584
3596
  volumeGroupName,
3585
3597
  volumeName,
3586
- options
3598
+ options,
3587
3599
  },
3588
- spec: deleteOperationSpec$2
3600
+ spec: deleteOperationSpec$2,
3589
3601
  });
3590
3602
  const poller = yield coreLro.createHttpPoller(lro, {
3591
3603
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3592
3604
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
3593
- resourceLocationConfig: "location"
3605
+ resourceLocationConfig: "location",
3594
3606
  });
3595
3607
  yield poller.poll();
3596
3608
  return poller;
@@ -3624,7 +3636,7 @@ class VolumesImpl {
3624
3636
  elasticSanName,
3625
3637
  volumeGroupName,
3626
3638
  volumeName,
3627
- options
3639
+ options,
3628
3640
  }, getOperationSpec$2);
3629
3641
  }
3630
3642
  /**
@@ -3656,20 +3668,20 @@ const createOperationSpec$2 = {
3656
3668
  httpMethod: "PUT",
3657
3669
  responses: {
3658
3670
  200: {
3659
- bodyMapper: Volume
3671
+ bodyMapper: Volume,
3660
3672
  },
3661
3673
  201: {
3662
- bodyMapper: Volume
3674
+ bodyMapper: Volume,
3663
3675
  },
3664
3676
  202: {
3665
- bodyMapper: Volume
3677
+ bodyMapper: Volume,
3666
3678
  },
3667
3679
  204: {
3668
- bodyMapper: Volume
3680
+ bodyMapper: Volume,
3669
3681
  },
3670
3682
  default: {
3671
- bodyMapper: ErrorResponse
3672
- }
3683
+ bodyMapper: ErrorResponse,
3684
+ },
3673
3685
  },
3674
3686
  requestBody: parameters4,
3675
3687
  queryParameters: [apiVersion],
@@ -3679,31 +3691,31 @@ const createOperationSpec$2 = {
3679
3691
  resourceGroupName,
3680
3692
  elasticSanName,
3681
3693
  volumeGroupName,
3682
- volumeName
3694
+ volumeName,
3683
3695
  ],
3684
3696
  headerParameters: [accept, contentType],
3685
3697
  mediaType: "json",
3686
- serializer: serializer$3
3698
+ serializer: serializer$3,
3687
3699
  };
3688
3700
  const updateOperationSpec = {
3689
3701
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}",
3690
3702
  httpMethod: "PATCH",
3691
3703
  responses: {
3692
3704
  200: {
3693
- bodyMapper: Volume
3705
+ bodyMapper: Volume,
3694
3706
  },
3695
3707
  201: {
3696
- bodyMapper: Volume
3708
+ bodyMapper: Volume,
3697
3709
  },
3698
3710
  202: {
3699
- bodyMapper: Volume
3711
+ bodyMapper: Volume,
3700
3712
  },
3701
3713
  204: {
3702
- bodyMapper: Volume
3714
+ bodyMapper: Volume,
3703
3715
  },
3704
3716
  default: {
3705
- bodyMapper: ErrorResponse
3706
- }
3717
+ bodyMapper: ErrorResponse,
3718
+ },
3707
3719
  },
3708
3720
  requestBody: parameters5,
3709
3721
  queryParameters: [apiVersion],
@@ -3713,11 +3725,11 @@ const updateOperationSpec = {
3713
3725
  resourceGroupName,
3714
3726
  elasticSanName,
3715
3727
  volumeGroupName,
3716
- volumeName
3728
+ volumeName,
3717
3729
  ],
3718
3730
  headerParameters: [accept, contentType],
3719
3731
  mediaType: "json",
3720
- serializer: serializer$3
3732
+ serializer: serializer$3,
3721
3733
  };
3722
3734
  const deleteOperationSpec$2 = {
3723
3735
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}",
@@ -3728,8 +3740,8 @@ const deleteOperationSpec$2 = {
3728
3740
  202: {},
3729
3741
  204: {},
3730
3742
  default: {
3731
- bodyMapper: ErrorResponse
3732
- }
3743
+ bodyMapper: ErrorResponse,
3744
+ },
3733
3745
  },
3734
3746
  queryParameters: [apiVersion],
3735
3747
  urlParameters: [
@@ -3738,25 +3750,25 @@ const deleteOperationSpec$2 = {
3738
3750
  resourceGroupName,
3739
3751
  elasticSanName,
3740
3752
  volumeGroupName,
3741
- volumeName
3753
+ volumeName,
3742
3754
  ],
3743
3755
  headerParameters: [
3744
3756
  accept,
3745
3757
  xMsDeleteSnapshots,
3746
- xMsForceDelete
3758
+ xMsForceDelete,
3747
3759
  ],
3748
- serializer: serializer$3
3760
+ serializer: serializer$3,
3749
3761
  };
3750
3762
  const getOperationSpec$2 = {
3751
3763
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}",
3752
3764
  httpMethod: "GET",
3753
3765
  responses: {
3754
3766
  200: {
3755
- bodyMapper: Volume
3767
+ bodyMapper: Volume,
3756
3768
  },
3757
3769
  default: {
3758
- bodyMapper: ErrorResponse
3759
- }
3770
+ bodyMapper: ErrorResponse,
3771
+ },
3760
3772
  },
3761
3773
  queryParameters: [apiVersion],
3762
3774
  urlParameters: [
@@ -3765,21 +3777,21 @@ const getOperationSpec$2 = {
3765
3777
  resourceGroupName,
3766
3778
  elasticSanName,
3767
3779
  volumeGroupName,
3768
- volumeName
3780
+ volumeName,
3769
3781
  ],
3770
3782
  headerParameters: [accept],
3771
- serializer: serializer$3
3783
+ serializer: serializer$3,
3772
3784
  };
3773
3785
  const listByVolumeGroupOperationSpec$1 = {
3774
3786
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes",
3775
3787
  httpMethod: "GET",
3776
3788
  responses: {
3777
3789
  200: {
3778
- bodyMapper: VolumeList
3790
+ bodyMapper: VolumeList,
3779
3791
  },
3780
3792
  default: {
3781
- bodyMapper: ErrorResponse
3782
- }
3793
+ bodyMapper: ErrorResponse,
3794
+ },
3783
3795
  },
3784
3796
  queryParameters: [apiVersion],
3785
3797
  urlParameters: [
@@ -3787,21 +3799,21 @@ const listByVolumeGroupOperationSpec$1 = {
3787
3799
  subscriptionId,
3788
3800
  resourceGroupName,
3789
3801
  elasticSanName,
3790
- volumeGroupName
3802
+ volumeGroupName,
3791
3803
  ],
3792
3804
  headerParameters: [accept],
3793
- serializer: serializer$3
3805
+ serializer: serializer$3,
3794
3806
  };
3795
3807
  const listByVolumeGroupNextOperationSpec$1 = {
3796
3808
  path: "{nextLink}",
3797
3809
  httpMethod: "GET",
3798
3810
  responses: {
3799
3811
  200: {
3800
- bodyMapper: VolumeList
3812
+ bodyMapper: VolumeList,
3801
3813
  },
3802
3814
  default: {
3803
- bodyMapper: ErrorResponse
3804
- }
3815
+ bodyMapper: ErrorResponse,
3816
+ },
3805
3817
  },
3806
3818
  urlParameters: [
3807
3819
  $host,
@@ -3809,10 +3821,10 @@ const listByVolumeGroupNextOperationSpec$1 = {
3809
3821
  resourceGroupName,
3810
3822
  elasticSanName,
3811
3823
  nextLink,
3812
- volumeGroupName
3824
+ volumeGroupName,
3813
3825
  ],
3814
3826
  headerParameters: [accept],
3815
- serializer: serializer$3
3827
+ serializer: serializer$3,
3816
3828
  };
3817
3829
 
3818
3830
  /*
@@ -3852,7 +3864,7 @@ class PrivateEndpointConnectionsImpl {
3852
3864
  throw new Error("maxPageSize is not supported by this operation.");
3853
3865
  }
3854
3866
  return this.listPagingPage(resourceGroupName, elasticSanName, options, settings);
3855
- }
3867
+ },
3856
3868
  };
3857
3869
  }
3858
3870
  listPagingPage(resourceGroupName, elasticSanName, options, _settings) {
@@ -3910,8 +3922,8 @@ class PrivateEndpointConnectionsImpl {
3910
3922
  rawResponse: {
3911
3923
  statusCode: currentRawResponse.status,
3912
3924
  body: currentRawResponse.parsedBody,
3913
- headers: currentRawResponse.headers.toJSON()
3914
- }
3925
+ headers: currentRawResponse.headers.toJSON(),
3926
+ },
3915
3927
  };
3916
3928
  });
3917
3929
  const lro = createLroSpec({
@@ -3921,14 +3933,14 @@ class PrivateEndpointConnectionsImpl {
3921
3933
  elasticSanName,
3922
3934
  privateEndpointConnectionName,
3923
3935
  parameters,
3924
- options
3936
+ options,
3925
3937
  },
3926
- spec: createOperationSpec$1
3938
+ spec: createOperationSpec$1,
3927
3939
  });
3928
3940
  const poller = yield coreLro.createHttpPoller(lro, {
3929
3941
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3930
3942
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
3931
- resourceLocationConfig: "location"
3943
+ resourceLocationConfig: "location",
3932
3944
  });
3933
3945
  yield poller.poll();
3934
3946
  return poller;
@@ -3960,7 +3972,7 @@ class PrivateEndpointConnectionsImpl {
3960
3972
  resourceGroupName,
3961
3973
  elasticSanName,
3962
3974
  privateEndpointConnectionName,
3963
- options
3975
+ options,
3964
3976
  }, getOperationSpec$1);
3965
3977
  }
3966
3978
  /**
@@ -3990,8 +4002,8 @@ class PrivateEndpointConnectionsImpl {
3990
4002
  rawResponse: {
3991
4003
  statusCode: currentRawResponse.status,
3992
4004
  body: currentRawResponse.parsedBody,
3993
- headers: currentRawResponse.headers.toJSON()
3994
- }
4005
+ headers: currentRawResponse.headers.toJSON(),
4006
+ },
3995
4007
  };
3996
4008
  });
3997
4009
  const lro = createLroSpec({
@@ -4000,14 +4012,14 @@ class PrivateEndpointConnectionsImpl {
4000
4012
  resourceGroupName,
4001
4013
  elasticSanName,
4002
4014
  privateEndpointConnectionName,
4003
- options
4015
+ options,
4004
4016
  },
4005
- spec: deleteOperationSpec$1
4017
+ spec: deleteOperationSpec$1,
4006
4018
  });
4007
4019
  const poller = yield coreLro.createHttpPoller(lro, {
4008
4020
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
4009
4021
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
4010
- resourceLocationConfig: "location"
4022
+ resourceLocationConfig: "location",
4011
4023
  });
4012
4024
  yield poller.poll();
4013
4025
  return poller;
@@ -4043,20 +4055,20 @@ const createOperationSpec$1 = {
4043
4055
  httpMethod: "PUT",
4044
4056
  responses: {
4045
4057
  200: {
4046
- bodyMapper: PrivateEndpointConnection
4058
+ bodyMapper: PrivateEndpointConnection,
4047
4059
  },
4048
4060
  201: {
4049
- bodyMapper: PrivateEndpointConnection
4061
+ bodyMapper: PrivateEndpointConnection,
4050
4062
  },
4051
4063
  202: {
4052
- bodyMapper: PrivateEndpointConnection
4064
+ bodyMapper: PrivateEndpointConnection,
4053
4065
  },
4054
4066
  204: {
4055
- bodyMapper: PrivateEndpointConnection
4067
+ bodyMapper: PrivateEndpointConnection,
4056
4068
  },
4057
4069
  default: {
4058
- bodyMapper: ErrorResponse
4059
- }
4070
+ bodyMapper: ErrorResponse,
4071
+ },
4060
4072
  },
4061
4073
  requestBody: parameters6,
4062
4074
  queryParameters: [apiVersion],
@@ -4065,22 +4077,22 @@ const createOperationSpec$1 = {
4065
4077
  subscriptionId,
4066
4078
  resourceGroupName,
4067
4079
  elasticSanName,
4068
- privateEndpointConnectionName
4080
+ privateEndpointConnectionName,
4069
4081
  ],
4070
4082
  headerParameters: [accept, contentType],
4071
4083
  mediaType: "json",
4072
- serializer: serializer$2
4084
+ serializer: serializer$2,
4073
4085
  };
4074
4086
  const getOperationSpec$1 = {
4075
4087
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}",
4076
4088
  httpMethod: "GET",
4077
4089
  responses: {
4078
4090
  200: {
4079
- bodyMapper: PrivateEndpointConnection
4091
+ bodyMapper: PrivateEndpointConnection,
4080
4092
  },
4081
4093
  default: {
4082
- bodyMapper: ErrorResponse
4083
- }
4094
+ bodyMapper: ErrorResponse,
4095
+ },
4084
4096
  },
4085
4097
  queryParameters: [apiVersion],
4086
4098
  urlParameters: [
@@ -4088,10 +4100,10 @@ const getOperationSpec$1 = {
4088
4100
  subscriptionId,
4089
4101
  resourceGroupName,
4090
4102
  elasticSanName,
4091
- privateEndpointConnectionName
4103
+ privateEndpointConnectionName,
4092
4104
  ],
4093
4105
  headerParameters: [accept],
4094
- serializer: serializer$2
4106
+ serializer: serializer$2,
4095
4107
  };
4096
4108
  const deleteOperationSpec$1 = {
4097
4109
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}",
@@ -4102,8 +4114,8 @@ const deleteOperationSpec$1 = {
4102
4114
  202: {},
4103
4115
  204: {},
4104
4116
  default: {
4105
- bodyMapper: ErrorResponse
4106
- }
4117
+ bodyMapper: ErrorResponse,
4118
+ },
4107
4119
  },
4108
4120
  queryParameters: [apiVersion],
4109
4121
  urlParameters: [
@@ -4111,31 +4123,31 @@ const deleteOperationSpec$1 = {
4111
4123
  subscriptionId,
4112
4124
  resourceGroupName,
4113
4125
  elasticSanName,
4114
- privateEndpointConnectionName
4126
+ privateEndpointConnectionName,
4115
4127
  ],
4116
4128
  headerParameters: [accept],
4117
- serializer: serializer$2
4129
+ serializer: serializer$2,
4118
4130
  };
4119
4131
  const listOperationSpec = {
4120
4132
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections",
4121
4133
  httpMethod: "GET",
4122
4134
  responses: {
4123
4135
  200: {
4124
- bodyMapper: PrivateEndpointConnectionListResult
4136
+ bodyMapper: PrivateEndpointConnectionListResult,
4125
4137
  },
4126
4138
  default: {
4127
- bodyMapper: ErrorResponse
4128
- }
4139
+ bodyMapper: ErrorResponse,
4140
+ },
4129
4141
  },
4130
4142
  queryParameters: [apiVersion],
4131
4143
  urlParameters: [
4132
4144
  $host,
4133
4145
  subscriptionId,
4134
4146
  resourceGroupName,
4135
- elasticSanName
4147
+ elasticSanName,
4136
4148
  ],
4137
4149
  headerParameters: [accept],
4138
- serializer: serializer$2
4150
+ serializer: serializer$2,
4139
4151
  };
4140
4152
 
4141
4153
  /*
@@ -4171,21 +4183,21 @@ const listByElasticSanOperationSpec = {
4171
4183
  httpMethod: "GET",
4172
4184
  responses: {
4173
4185
  200: {
4174
- bodyMapper: PrivateLinkResourceListResult
4186
+ bodyMapper: PrivateLinkResourceListResult,
4175
4187
  },
4176
4188
  default: {
4177
- bodyMapper: ErrorResponse
4178
- }
4189
+ bodyMapper: ErrorResponse,
4190
+ },
4179
4191
  },
4180
4192
  queryParameters: [apiVersion],
4181
4193
  urlParameters: [
4182
4194
  $host,
4183
4195
  subscriptionId,
4184
4196
  resourceGroupName,
4185
- elasticSanName
4197
+ elasticSanName,
4186
4198
  ],
4187
4199
  headerParameters: [accept],
4188
- serializer: serializer$1
4200
+ serializer: serializer$1,
4189
4201
  };
4190
4202
 
4191
4203
  /*
@@ -4226,7 +4238,7 @@ class VolumeSnapshotsImpl {
4226
4238
  throw new Error("maxPageSize is not supported by this operation.");
4227
4239
  }
4228
4240
  return this.listByVolumeGroupPagingPage(resourceGroupName, elasticSanName, volumeGroupName, options, settings);
4229
- }
4241
+ },
4230
4242
  };
4231
4243
  }
4232
4244
  listByVolumeGroupPagingPage(resourceGroupName, elasticSanName, volumeGroupName, options, settings) {
@@ -4308,8 +4320,8 @@ class VolumeSnapshotsImpl {
4308
4320
  rawResponse: {
4309
4321
  statusCode: currentRawResponse.status,
4310
4322
  body: currentRawResponse.parsedBody,
4311
- headers: currentRawResponse.headers.toJSON()
4312
- }
4323
+ headers: currentRawResponse.headers.toJSON(),
4324
+ },
4313
4325
  };
4314
4326
  });
4315
4327
  const lro = createLroSpec({
@@ -4320,14 +4332,14 @@ class VolumeSnapshotsImpl {
4320
4332
  volumeGroupName,
4321
4333
  snapshotName,
4322
4334
  parameters,
4323
- options
4335
+ options,
4324
4336
  },
4325
- spec: createOperationSpec
4337
+ spec: createOperationSpec,
4326
4338
  });
4327
4339
  const poller = yield coreLro.createHttpPoller(lro, {
4328
4340
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
4329
4341
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
4330
- resourceLocationConfig: "location"
4342
+ resourceLocationConfig: "location",
4331
4343
  });
4332
4344
  yield poller.poll();
4333
4345
  return poller;
@@ -4376,8 +4388,8 @@ class VolumeSnapshotsImpl {
4376
4388
  rawResponse: {
4377
4389
  statusCode: currentRawResponse.status,
4378
4390
  body: currentRawResponse.parsedBody,
4379
- headers: currentRawResponse.headers.toJSON()
4380
- }
4391
+ headers: currentRawResponse.headers.toJSON(),
4392
+ },
4381
4393
  };
4382
4394
  });
4383
4395
  const lro = createLroSpec({
@@ -4387,14 +4399,14 @@ class VolumeSnapshotsImpl {
4387
4399
  elasticSanName,
4388
4400
  volumeGroupName,
4389
4401
  snapshotName,
4390
- options
4402
+ options,
4391
4403
  },
4392
- spec: deleteOperationSpec
4404
+ spec: deleteOperationSpec,
4393
4405
  });
4394
4406
  const poller = yield coreLro.createHttpPoller(lro, {
4395
4407
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
4396
4408
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
4397
- resourceLocationConfig: "location"
4409
+ resourceLocationConfig: "location",
4398
4410
  });
4399
4411
  yield poller.poll();
4400
4412
  return poller;
@@ -4428,7 +4440,7 @@ class VolumeSnapshotsImpl {
4428
4440
  elasticSanName,
4429
4441
  volumeGroupName,
4430
4442
  snapshotName,
4431
- options
4443
+ options,
4432
4444
  }, getOperationSpec);
4433
4445
  }
4434
4446
  /**
@@ -4450,11 +4462,11 @@ const listByVolumeGroupOperationSpec = {
4450
4462
  httpMethod: "GET",
4451
4463
  responses: {
4452
4464
  200: {
4453
- bodyMapper: SnapshotList
4465
+ bodyMapper: SnapshotList,
4454
4466
  },
4455
4467
  default: {
4456
- bodyMapper: ErrorResponse
4457
- }
4468
+ bodyMapper: ErrorResponse,
4469
+ },
4458
4470
  },
4459
4471
  queryParameters: [apiVersion, filter],
4460
4472
  urlParameters: [
@@ -4462,30 +4474,30 @@ const listByVolumeGroupOperationSpec = {
4462
4474
  subscriptionId,
4463
4475
  resourceGroupName,
4464
4476
  elasticSanName,
4465
- volumeGroupName
4477
+ volumeGroupName,
4466
4478
  ],
4467
4479
  headerParameters: [accept],
4468
- serializer
4480
+ serializer,
4469
4481
  };
4470
4482
  const createOperationSpec = {
4471
4483
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}",
4472
4484
  httpMethod: "PUT",
4473
4485
  responses: {
4474
4486
  200: {
4475
- bodyMapper: Snapshot
4487
+ bodyMapper: Snapshot,
4476
4488
  },
4477
4489
  201: {
4478
- bodyMapper: Snapshot
4490
+ bodyMapper: Snapshot,
4479
4491
  },
4480
4492
  202: {
4481
- bodyMapper: Snapshot
4493
+ bodyMapper: Snapshot,
4482
4494
  },
4483
4495
  204: {
4484
- bodyMapper: Snapshot
4496
+ bodyMapper: Snapshot,
4485
4497
  },
4486
4498
  default: {
4487
- bodyMapper: ErrorResponse
4488
- }
4499
+ bodyMapper: ErrorResponse,
4500
+ },
4489
4501
  },
4490
4502
  requestBody: parameters7,
4491
4503
  queryParameters: [apiVersion],
@@ -4495,11 +4507,11 @@ const createOperationSpec = {
4495
4507
  resourceGroupName,
4496
4508
  elasticSanName,
4497
4509
  volumeGroupName,
4498
- snapshotName
4510
+ snapshotName,
4499
4511
  ],
4500
4512
  headerParameters: [accept, contentType],
4501
4513
  mediaType: "json",
4502
- serializer
4514
+ serializer,
4503
4515
  };
4504
4516
  const deleteOperationSpec = {
4505
4517
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}",
@@ -4510,8 +4522,8 @@ const deleteOperationSpec = {
4510
4522
  202: {},
4511
4523
  204: {},
4512
4524
  default: {
4513
- bodyMapper: ErrorResponse
4514
- }
4525
+ bodyMapper: ErrorResponse,
4526
+ },
4515
4527
  },
4516
4528
  queryParameters: [apiVersion],
4517
4529
  urlParameters: [
@@ -4520,21 +4532,21 @@ const deleteOperationSpec = {
4520
4532
  resourceGroupName,
4521
4533
  elasticSanName,
4522
4534
  volumeGroupName,
4523
- snapshotName
4535
+ snapshotName,
4524
4536
  ],
4525
4537
  headerParameters: [accept],
4526
- serializer
4538
+ serializer,
4527
4539
  };
4528
4540
  const getOperationSpec = {
4529
4541
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}",
4530
4542
  httpMethod: "GET",
4531
4543
  responses: {
4532
4544
  200: {
4533
- bodyMapper: Snapshot
4545
+ bodyMapper: Snapshot,
4534
4546
  },
4535
4547
  default: {
4536
- bodyMapper: ErrorResponse
4537
- }
4548
+ bodyMapper: ErrorResponse,
4549
+ },
4538
4550
  },
4539
4551
  queryParameters: [apiVersion],
4540
4552
  urlParameters: [
@@ -4543,21 +4555,21 @@ const getOperationSpec = {
4543
4555
  resourceGroupName,
4544
4556
  elasticSanName,
4545
4557
  volumeGroupName,
4546
- snapshotName
4558
+ snapshotName,
4547
4559
  ],
4548
4560
  headerParameters: [accept],
4549
- serializer
4561
+ serializer,
4550
4562
  };
4551
4563
  const listByVolumeGroupNextOperationSpec = {
4552
4564
  path: "{nextLink}",
4553
4565
  httpMethod: "GET",
4554
4566
  responses: {
4555
4567
  200: {
4556
- bodyMapper: SnapshotList
4568
+ bodyMapper: SnapshotList,
4557
4569
  },
4558
4570
  default: {
4559
- bodyMapper: ErrorResponse
4560
- }
4571
+ bodyMapper: ErrorResponse,
4572
+ },
4561
4573
  },
4562
4574
  urlParameters: [
4563
4575
  $host,
@@ -4565,10 +4577,10 @@ const listByVolumeGroupNextOperationSpec = {
4565
4577
  resourceGroupName,
4566
4578
  elasticSanName,
4567
4579
  nextLink,
4568
- volumeGroupName
4580
+ volumeGroupName,
4569
4581
  ],
4570
4582
  headerParameters: [accept],
4571
- serializer
4583
+ serializer,
4572
4584
  };
4573
4585
 
4574
4586
  /*
@@ -4599,14 +4611,14 @@ class ElasticSanManagement extends coreClient__namespace.ServiceClient {
4599
4611
  }
4600
4612
  const defaults = {
4601
4613
  requestContentType: "application/json; charset=utf-8",
4602
- credential: credentials
4614
+ credential: credentials,
4603
4615
  };
4604
- const packageDetails = `azsdk-js-arm-elasticsan/1.0.1`;
4616
+ const packageDetails = `azsdk-js-arm-elasticsan/1.1.0`;
4605
4617
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
4606
4618
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
4607
4619
  : `${packageDetails}`;
4608
4620
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
4609
- userAgentPrefix
4621
+ userAgentPrefix,
4610
4622
  }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
4611
4623
  super(optionsWithDefaults);
4612
4624
  let bearerTokenAuthenticationPolicyFound = false;
@@ -4620,21 +4632,21 @@ class ElasticSanManagement extends coreClient__namespace.ServiceClient {
4620
4632
  options.pipeline.getOrderedPolicies().length == 0 ||
4621
4633
  !bearerTokenAuthenticationPolicyFound) {
4622
4634
  this.pipeline.removePolicy({
4623
- name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
4635
+ name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
4624
4636
  });
4625
4637
  this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
4626
4638
  credential: credentials,
4627
4639
  scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
4628
4640
  challengeCallbacks: {
4629
- authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
4630
- }
4641
+ authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
4642
+ },
4631
4643
  }));
4632
4644
  }
4633
4645
  // Parameter assignments
4634
4646
  this.subscriptionId = subscriptionId;
4635
4647
  // Assigning values to Constant parameters
4636
4648
  this.$host = options.$host || "https://management.azure.com";
4637
- this.apiVersion = options.apiVersion || "2023-01-01";
4649
+ this.apiVersion = options.apiVersion || "2024-05-01";
4638
4650
  this.operations = new OperationsImpl(this);
4639
4651
  this.skus = new SkusImpl(this);
4640
4652
  this.elasticSans = new ElasticSansImpl(this);
@@ -4668,7 +4680,7 @@ class ElasticSanManagement extends coreClient__namespace.ServiceClient {
4668
4680
  }
4669
4681
  return next(request);
4670
4682
  });
4671
- }
4683
+ },
4672
4684
  };
4673
4685
  this.pipeline.addPolicy(apiVersionPolicy);
4674
4686
  }