@azure/arm-elasticsan 1.0.0-beta.2 → 1.0.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 (121) hide show
  1. package/CHANGELOG.md +2 -66
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +2138 -1227
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/elasticSansCreateSample.js +16 -11
  9. package/dist-esm/samples-dev/elasticSansCreateSample.js.map +1 -1
  10. package/dist-esm/samples-dev/elasticSansDeleteSample.js +2 -2
  11. package/dist-esm/samples-dev/elasticSansGetSample.js +2 -2
  12. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js +8 -18
  13. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js.map +1 -1
  14. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js +8 -18
  15. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js.map +1 -1
  16. package/dist-esm/samples-dev/elasticSansUpdateSample.js +8 -5
  17. package/dist-esm/samples-dev/elasticSansUpdateSample.js.map +1 -1
  18. package/dist-esm/samples-dev/operationsListSample.js +8 -18
  19. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  20. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +11 -13
  21. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +2 -2
  23. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +2 -2
  24. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +8 -18
  25. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
  26. package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.js +2 -2
  27. package/dist-esm/samples-dev/skusListSample.js +9 -19
  28. package/dist-esm/samples-dev/skusListSample.js.map +1 -1
  29. package/dist-esm/samples-dev/volumeGroupsCreateSample.js +22 -11
  30. package/dist-esm/samples-dev/volumeGroupsCreateSample.js.map +1 -1
  31. package/dist-esm/samples-dev/volumeGroupsDeleteSample.js +2 -2
  32. package/dist-esm/samples-dev/volumeGroupsGetSample.js +2 -2
  33. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js +8 -18
  34. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js.map +1 -1
  35. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js +22 -11
  36. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js.map +1 -1
  37. package/dist-esm/samples-dev/volumeSnapshotsCreateSample.d.ts +2 -0
  38. package/dist-esm/samples-dev/volumeSnapshotsCreateSample.d.ts.map +1 -0
  39. package/dist-esm/samples-dev/volumeSnapshotsCreateSample.js +74 -0
  40. package/dist-esm/samples-dev/volumeSnapshotsCreateSample.js.map +1 -0
  41. package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.d.ts +2 -0
  42. package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.js +60 -0
  44. package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.js.map +1 -0
  45. package/dist-esm/samples-dev/volumeSnapshotsGetSample.d.ts +2 -0
  46. package/dist-esm/samples-dev/volumeSnapshotsGetSample.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/volumeSnapshotsGetSample.js +60 -0
  48. package/dist-esm/samples-dev/volumeSnapshotsGetSample.js.map +1 -0
  49. package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.d.ts +2 -0
  50. package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.d.ts.map +1 -0
  51. package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.js +92 -0
  52. package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.js.map +1 -0
  53. package/dist-esm/samples-dev/volumesCreateSample.js +8 -5
  54. package/dist-esm/samples-dev/volumesCreateSample.js.map +1 -1
  55. package/dist-esm/samples-dev/volumesDeleteSample.js +9 -3
  56. package/dist-esm/samples-dev/volumesDeleteSample.js.map +1 -1
  57. package/dist-esm/samples-dev/volumesGetSample.js +2 -2
  58. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js +8 -18
  59. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js.map +1 -1
  60. package/dist-esm/samples-dev/volumesUpdateSample.js +3 -3
  61. package/dist-esm/samples-dev/volumesUpdateSample.js.map +1 -1
  62. package/dist-esm/src/elasticSanManagement.d.ts +2 -1
  63. package/dist-esm/src/elasticSanManagement.d.ts.map +1 -1
  64. package/dist-esm/src/elasticSanManagement.js +4 -3
  65. package/dist-esm/src/elasticSanManagement.js.map +1 -1
  66. package/dist-esm/src/models/index.d.ts +420 -104
  67. package/dist-esm/src/models/index.d.ts.map +1 -1
  68. package/dist-esm/src/models/index.js +56 -0
  69. package/dist-esm/src/models/index.js.map +1 -1
  70. package/dist-esm/src/models/mappers.d.ts +19 -0
  71. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  72. package/dist-esm/src/models/mappers.js +636 -189
  73. package/dist-esm/src/models/mappers.js.map +1 -1
  74. package/dist-esm/src/models/parameters.d.ts +4 -0
  75. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  76. package/dist-esm/src/models/parameters.js +39 -2
  77. package/dist-esm/src/models/parameters.js.map +1 -1
  78. package/dist-esm/src/operations/elasticSans.js +6 -16
  79. package/dist-esm/src/operations/elasticSans.js.map +1 -1
  80. package/dist-esm/src/operations/index.d.ts +1 -0
  81. package/dist-esm/src/operations/index.d.ts.map +1 -1
  82. package/dist-esm/src/operations/index.js +1 -0
  83. package/dist-esm/src/operations/index.js.map +1 -1
  84. package/dist-esm/src/operations/operations.js +3 -8
  85. package/dist-esm/src/operations/operations.js.map +1 -1
  86. package/dist-esm/src/operations/privateEndpointConnections.js +3 -8
  87. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  88. package/dist-esm/src/operations/skus.js +3 -8
  89. package/dist-esm/src/operations/skus.js.map +1 -1
  90. package/dist-esm/src/operations/volumeGroups.js +3 -8
  91. package/dist-esm/src/operations/volumeGroups.js.map +1 -1
  92. package/dist-esm/src/operations/volumeSnapshots.d.ts +89 -0
  93. package/dist-esm/src/operations/volumeSnapshots.d.ts.map +1 -0
  94. package/dist-esm/src/operations/volumeSnapshots.js +390 -0
  95. package/dist-esm/src/operations/volumeSnapshots.js.map +1 -0
  96. package/dist-esm/src/operations/volumes.js +8 -9
  97. package/dist-esm/src/operations/volumes.js.map +1 -1
  98. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  99. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  100. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  101. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  102. package/dist-esm/src/operationsInterfaces/volumeSnapshots.d.ts +62 -0
  103. package/dist-esm/src/operationsInterfaces/volumeSnapshots.d.ts.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/volumeSnapshots.js +9 -0
  105. package/dist-esm/src/operationsInterfaces/volumeSnapshots.js.map +1 -0
  106. package/dist-esm/test/elasticsan_examples.spec.js +40 -16
  107. package/dist-esm/test/elasticsan_examples.spec.js.map +1 -1
  108. package/package.json +15 -19
  109. package/review/arm-elasticsan.api.md +261 -35
  110. package/src/elasticSanManagement.ts +8 -4
  111. package/src/models/index.ts +461 -109
  112. package/src/models/mappers.ts +695 -247
  113. package/src/models/parameters.ts +44 -2
  114. package/src/operations/index.ts +1 -0
  115. package/src/operations/volumeSnapshots.ts +551 -0
  116. package/src/operations/volumes.ts +5 -1
  117. package/src/operationsInterfaces/index.ts +1 -0
  118. package/src/operationsInterfaces/volumeSnapshots.ts +121 -0
  119. package/types/arm-elasticsan.d.ts +518 -103
  120. package/types/tsdoc-metadata.json +1 -1
  121. package/rollup.config.js +0 -122
@@ -389,6 +389,108 @@ export const ElasticSanList: coreClient.CompositeMapper = {
389
389
  }
390
390
  };
391
391
 
392
+ export const ElasticSanProperties: coreClient.CompositeMapper = {
393
+ type: {
394
+ name: "Composite",
395
+ className: "ElasticSanProperties",
396
+ modelProperties: {
397
+ sku: {
398
+ serializedName: "sku",
399
+ type: {
400
+ name: "Composite",
401
+ className: "Sku"
402
+ }
403
+ },
404
+ availabilityZones: {
405
+ serializedName: "availabilityZones",
406
+ type: {
407
+ name: "Sequence",
408
+ element: {
409
+ type: {
410
+ name: "String"
411
+ }
412
+ }
413
+ }
414
+ },
415
+ provisioningState: {
416
+ serializedName: "provisioningState",
417
+ readOnly: true,
418
+ type: {
419
+ name: "String"
420
+ }
421
+ },
422
+ baseSizeTiB: {
423
+ serializedName: "baseSizeTiB",
424
+ required: true,
425
+ type: {
426
+ name: "Number"
427
+ }
428
+ },
429
+ extendedCapacitySizeTiB: {
430
+ serializedName: "extendedCapacitySizeTiB",
431
+ required: true,
432
+ type: {
433
+ name: "Number"
434
+ }
435
+ },
436
+ totalVolumeSizeGiB: {
437
+ serializedName: "totalVolumeSizeGiB",
438
+ readOnly: true,
439
+ type: {
440
+ name: "Number"
441
+ }
442
+ },
443
+ volumeGroupCount: {
444
+ serializedName: "volumeGroupCount",
445
+ readOnly: true,
446
+ type: {
447
+ name: "Number"
448
+ }
449
+ },
450
+ totalIops: {
451
+ serializedName: "totalIops",
452
+ readOnly: true,
453
+ type: {
454
+ name: "Number"
455
+ }
456
+ },
457
+ totalMBps: {
458
+ serializedName: "totalMBps",
459
+ readOnly: true,
460
+ type: {
461
+ name: "Number"
462
+ }
463
+ },
464
+ totalSizeTiB: {
465
+ serializedName: "totalSizeTiB",
466
+ readOnly: true,
467
+ type: {
468
+ name: "Number"
469
+ }
470
+ },
471
+ privateEndpointConnections: {
472
+ serializedName: "privateEndpointConnections",
473
+ readOnly: true,
474
+ type: {
475
+ name: "Sequence",
476
+ element: {
477
+ type: {
478
+ name: "Composite",
479
+ className: "PrivateEndpointConnection"
480
+ }
481
+ }
482
+ }
483
+ },
484
+ publicNetworkAccess: {
485
+ serializedName: "publicNetworkAccess",
486
+ type: {
487
+ name: "String"
488
+ }
489
+ }
490
+ }
491
+ }
492
+ };
493
+
392
494
  export const Sku: coreClient.CompositeMapper = {
393
495
  type: {
394
496
  name: "Composite",
@@ -411,6 +513,47 @@ export const Sku: coreClient.CompositeMapper = {
411
513
  }
412
514
  };
413
515
 
516
+ export const PrivateEndpointConnectionProperties: coreClient.CompositeMapper = {
517
+ type: {
518
+ name: "Composite",
519
+ className: "PrivateEndpointConnectionProperties",
520
+ modelProperties: {
521
+ provisioningState: {
522
+ serializedName: "provisioningState",
523
+ readOnly: true,
524
+ type: {
525
+ name: "String"
526
+ }
527
+ },
528
+ privateEndpoint: {
529
+ serializedName: "privateEndpoint",
530
+ type: {
531
+ name: "Composite",
532
+ className: "PrivateEndpoint"
533
+ }
534
+ },
535
+ privateLinkServiceConnectionState: {
536
+ serializedName: "privateLinkServiceConnectionState",
537
+ type: {
538
+ name: "Composite",
539
+ className: "PrivateLinkServiceConnectionState"
540
+ }
541
+ },
542
+ groupIds: {
543
+ serializedName: "groupIds",
544
+ type: {
545
+ name: "Sequence",
546
+ element: {
547
+ type: {
548
+ name: "String"
549
+ }
550
+ }
551
+ }
552
+ }
553
+ }
554
+ }
555
+ };
556
+
414
557
  export const PrivateEndpoint: coreClient.CompositeMapper = {
415
558
  type: {
416
559
  name: "Composite",
@@ -541,24 +684,46 @@ export const ElasticSanUpdate: coreClient.CompositeMapper = {
541
684
  name: "Composite",
542
685
  className: "ElasticSanUpdate",
543
686
  modelProperties: {
687
+ properties: {
688
+ serializedName: "properties",
689
+ type: {
690
+ name: "Composite",
691
+ className: "ElasticSanUpdateProperties"
692
+ }
693
+ },
544
694
  tags: {
545
695
  serializedName: "tags",
546
696
  type: {
547
697
  name: "Dictionary",
548
698
  value: { type: { name: "String" } }
549
699
  }
550
- },
700
+ }
701
+ }
702
+ }
703
+ };
704
+
705
+ export const ElasticSanUpdateProperties: coreClient.CompositeMapper = {
706
+ type: {
707
+ name: "Composite",
708
+ className: "ElasticSanUpdateProperties",
709
+ modelProperties: {
551
710
  baseSizeTiB: {
552
- serializedName: "properties.baseSizeTiB",
711
+ serializedName: "baseSizeTiB",
553
712
  type: {
554
713
  name: "Number"
555
714
  }
556
715
  },
557
716
  extendedCapacitySizeTiB: {
558
- serializedName: "properties.extendedCapacitySizeTiB",
717
+ serializedName: "extendedCapacitySizeTiB",
559
718
  type: {
560
719
  name: "Number"
561
720
  }
721
+ },
722
+ publicNetworkAccess: {
723
+ serializedName: "publicNetworkAccess",
724
+ type: {
725
+ name: "String"
726
+ }
562
727
  }
563
728
  }
564
729
  }
@@ -592,20 +757,38 @@ export const VolumeGroupList: coreClient.CompositeMapper = {
592
757
  }
593
758
  };
594
759
 
595
- export const NetworkRuleSet: coreClient.CompositeMapper = {
760
+ export const Identity: coreClient.CompositeMapper = {
596
761
  type: {
597
762
  name: "Composite",
598
- className: "NetworkRuleSet",
763
+ className: "Identity",
599
764
  modelProperties: {
600
- virtualNetworkRules: {
601
- serializedName: "virtualNetworkRules",
765
+ principalId: {
766
+ serializedName: "principalId",
767
+ readOnly: true,
602
768
  type: {
603
- name: "Sequence",
604
- element: {
605
- type: {
606
- name: "Composite",
607
- className: "VirtualNetworkRule"
608
- }
769
+ name: "String"
770
+ }
771
+ },
772
+ tenantId: {
773
+ serializedName: "tenantId",
774
+ readOnly: true,
775
+ type: {
776
+ name: "String"
777
+ }
778
+ },
779
+ type: {
780
+ serializedName: "type",
781
+ required: true,
782
+ type: {
783
+ name: "String"
784
+ }
785
+ },
786
+ userAssignedIdentities: {
787
+ serializedName: "userAssignedIdentities",
788
+ type: {
789
+ name: "Dictionary",
790
+ value: {
791
+ type: { name: "Composite", className: "UserAssignedIdentity" }
609
792
  }
610
793
  }
611
794
  }
@@ -613,173 +796,206 @@ export const NetworkRuleSet: coreClient.CompositeMapper = {
613
796
  }
614
797
  };
615
798
 
616
- export const VirtualNetworkRule: coreClient.CompositeMapper = {
799
+ export const UserAssignedIdentity: coreClient.CompositeMapper = {
617
800
  type: {
618
801
  name: "Composite",
619
- className: "VirtualNetworkRule",
802
+ className: "UserAssignedIdentity",
620
803
  modelProperties: {
621
- virtualNetworkResourceId: {
622
- serializedName: "id",
623
- required: true,
624
- type: {
625
- name: "String"
626
- }
627
- },
628
- action: {
629
- defaultValue: "Allow",
630
- isConstant: true,
631
- serializedName: "action",
804
+ principalId: {
805
+ serializedName: "principalId",
806
+ readOnly: true,
632
807
  type: {
633
808
  name: "String"
634
809
  }
635
810
  },
636
- state: {
637
- serializedName: "state",
811
+ clientId: {
812
+ serializedName: "clientId",
638
813
  readOnly: true,
639
814
  type: {
640
- name: "Enum",
641
- allowedValues: [
642
- "provisioning",
643
- "deprovisioning",
644
- "succeeded",
645
- "failed",
646
- "networkSourceDeleted"
647
- ]
815
+ name: "String"
648
816
  }
649
817
  }
650
818
  }
651
819
  }
652
820
  };
653
821
 
654
- export const VolumeGroupUpdate: coreClient.CompositeMapper = {
822
+ export const VolumeGroupProperties: coreClient.CompositeMapper = {
655
823
  type: {
656
824
  name: "Composite",
657
- className: "VolumeGroupUpdate",
825
+ className: "VolumeGroupProperties",
658
826
  modelProperties: {
827
+ provisioningState: {
828
+ serializedName: "provisioningState",
829
+ readOnly: true,
830
+ type: {
831
+ name: "String"
832
+ }
833
+ },
659
834
  protocolType: {
660
- serializedName: "properties.protocolType",
835
+ serializedName: "protocolType",
661
836
  type: {
662
837
  name: "String"
663
838
  }
664
839
  },
665
840
  encryption: {
666
- serializedName: "properties.encryption",
841
+ serializedName: "encryption",
667
842
  type: {
668
843
  name: "String"
669
844
  }
670
845
  },
846
+ encryptionProperties: {
847
+ serializedName: "encryptionProperties",
848
+ type: {
849
+ name: "Composite",
850
+ className: "EncryptionProperties"
851
+ }
852
+ },
671
853
  networkAcls: {
672
- serializedName: "properties.networkAcls",
854
+ serializedName: "networkAcls",
673
855
  type: {
674
856
  name: "Composite",
675
857
  className: "NetworkRuleSet"
676
858
  }
859
+ },
860
+ privateEndpointConnections: {
861
+ serializedName: "privateEndpointConnections",
862
+ readOnly: true,
863
+ type: {
864
+ name: "Sequence",
865
+ element: {
866
+ type: {
867
+ name: "Composite",
868
+ className: "PrivateEndpointConnection"
869
+ }
870
+ }
871
+ }
677
872
  }
678
873
  }
679
874
  }
680
875
  };
681
876
 
682
- export const SourceCreationData: coreClient.CompositeMapper = {
877
+ export const EncryptionProperties: coreClient.CompositeMapper = {
683
878
  type: {
684
879
  name: "Composite",
685
- className: "SourceCreationData",
880
+ className: "EncryptionProperties",
686
881
  modelProperties: {
687
- createSource: {
688
- defaultValue: "None",
689
- isConstant: true,
690
- serializedName: "createSource",
882
+ keyVaultProperties: {
883
+ serializedName: "keyVaultProperties",
691
884
  type: {
692
- name: "String"
885
+ name: "Composite",
886
+ className: "KeyVaultProperties"
693
887
  }
694
888
  },
695
- sourceUri: {
696
- serializedName: "sourceUri",
889
+ encryptionIdentity: {
890
+ serializedName: "identity",
697
891
  type: {
698
- name: "String"
892
+ name: "Composite",
893
+ className: "EncryptionIdentity"
699
894
  }
700
895
  }
701
896
  }
702
897
  }
703
898
  };
704
899
 
705
- export const IscsiTargetInfo: coreClient.CompositeMapper = {
900
+ export const KeyVaultProperties: coreClient.CompositeMapper = {
706
901
  type: {
707
902
  name: "Composite",
708
- className: "IscsiTargetInfo",
903
+ className: "KeyVaultProperties",
709
904
  modelProperties: {
710
- targetIqn: {
711
- serializedName: "targetIqn",
712
- readOnly: true,
905
+ keyName: {
906
+ serializedName: "keyName",
713
907
  type: {
714
908
  name: "String"
715
909
  }
716
910
  },
717
- targetPortalHostname: {
718
- serializedName: "targetPortalHostname",
719
- readOnly: true,
911
+ keyVersion: {
912
+ serializedName: "keyVersion",
720
913
  type: {
721
914
  name: "String"
722
915
  }
723
916
  },
724
- targetPortalPort: {
725
- serializedName: "targetPortalPort",
726
- readOnly: true,
917
+ keyVaultUri: {
918
+ serializedName: "keyVaultUri",
727
919
  type: {
728
- name: "Number"
920
+ name: "String"
729
921
  }
730
922
  },
731
- provisioningState: {
732
- serializedName: "provisioningState",
923
+ currentVersionedKeyIdentifier: {
924
+ serializedName: "currentVersionedKeyIdentifier",
733
925
  readOnly: true,
734
926
  type: {
735
927
  name: "String"
736
928
  }
737
929
  },
738
- status: {
739
- serializedName: "status",
930
+ lastKeyRotationTimestamp: {
931
+ serializedName: "lastKeyRotationTimestamp",
932
+ readOnly: true,
740
933
  type: {
741
- name: "String"
934
+ name: "DateTime"
935
+ }
936
+ },
937
+ currentVersionedKeyExpirationTimestamp: {
938
+ serializedName: "currentVersionedKeyExpirationTimestamp",
939
+ readOnly: true,
940
+ type: {
941
+ name: "DateTime"
742
942
  }
743
943
  }
744
944
  }
745
945
  }
746
946
  };
747
947
 
748
- export const VolumeUpdate: coreClient.CompositeMapper = {
948
+ export const EncryptionIdentity: coreClient.CompositeMapper = {
749
949
  type: {
750
950
  name: "Composite",
751
- className: "VolumeUpdate",
951
+ className: "EncryptionIdentity",
752
952
  modelProperties: {
753
- sizeGiB: {
754
- serializedName: "properties.sizeGiB",
953
+ encryptionUserAssignedIdentity: {
954
+ serializedName: "userAssignedIdentity",
755
955
  type: {
756
- name: "Number"
956
+ name: "String"
757
957
  }
758
958
  }
759
959
  }
760
960
  }
761
961
  };
762
962
 
763
- export const VolumeList: coreClient.CompositeMapper = {
963
+ export const NetworkRuleSet: coreClient.CompositeMapper = {
764
964
  type: {
765
965
  name: "Composite",
766
- className: "VolumeList",
966
+ className: "NetworkRuleSet",
767
967
  modelProperties: {
768
- value: {
769
- serializedName: "value",
968
+ virtualNetworkRules: {
969
+ serializedName: "virtualNetworkRules",
770
970
  type: {
771
971
  name: "Sequence",
772
972
  element: {
773
973
  type: {
774
974
  name: "Composite",
775
- className: "Volume"
975
+ className: "VirtualNetworkRule"
776
976
  }
777
977
  }
778
978
  }
979
+ }
980
+ }
981
+ }
982
+ };
983
+
984
+ export const VirtualNetworkRule: coreClient.CompositeMapper = {
985
+ type: {
986
+ name: "Composite",
987
+ className: "VirtualNetworkRule",
988
+ modelProperties: {
989
+ virtualNetworkResourceId: {
990
+ serializedName: "id",
991
+ required: true,
992
+ type: {
993
+ name: "String"
994
+ }
779
995
  },
780
- nextLink: {
781
- serializedName: "nextLink",
782
- readOnly: true,
996
+ action: {
997
+ defaultValue: "Allow",
998
+ serializedName: "action",
783
999
  type: {
784
1000
  name: "String"
785
1001
  }
@@ -788,53 +1004,106 @@ export const VolumeList: coreClient.CompositeMapper = {
788
1004
  }
789
1005
  };
790
1006
 
791
- export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = {
1007
+ export const VolumeGroupUpdate: coreClient.CompositeMapper = {
792
1008
  type: {
793
1009
  name: "Composite",
794
- className: "PrivateEndpointConnectionListResult",
1010
+ className: "VolumeGroupUpdate",
795
1011
  modelProperties: {
796
- value: {
797
- serializedName: "value",
1012
+ identity: {
1013
+ serializedName: "identity",
798
1014
  type: {
799
- name: "Sequence",
800
- element: {
801
- type: {
802
- name: "Composite",
803
- className: "PrivateEndpointConnection"
804
- }
805
- }
1015
+ name: "Composite",
1016
+ className: "Identity"
806
1017
  }
807
1018
  },
808
- nextLink: {
809
- serializedName: "nextLink",
810
- readOnly: true,
1019
+ properties: {
1020
+ serializedName: "properties",
1021
+ type: {
1022
+ name: "Composite",
1023
+ className: "VolumeGroupUpdateProperties"
1024
+ }
1025
+ }
1026
+ }
1027
+ }
1028
+ };
1029
+
1030
+ export const VolumeGroupUpdateProperties: coreClient.CompositeMapper = {
1031
+ type: {
1032
+ name: "Composite",
1033
+ className: "VolumeGroupUpdateProperties",
1034
+ modelProperties: {
1035
+ protocolType: {
1036
+ serializedName: "protocolType",
811
1037
  type: {
812
1038
  name: "String"
813
1039
  }
1040
+ },
1041
+ encryption: {
1042
+ serializedName: "encryption",
1043
+ type: {
1044
+ name: "String"
1045
+ }
1046
+ },
1047
+ encryptionProperties: {
1048
+ serializedName: "encryptionProperties",
1049
+ type: {
1050
+ name: "Composite",
1051
+ className: "EncryptionProperties"
1052
+ }
1053
+ },
1054
+ networkAcls: {
1055
+ serializedName: "networkAcls",
1056
+ type: {
1057
+ name: "Composite",
1058
+ className: "NetworkRuleSet"
1059
+ }
814
1060
  }
815
1061
  }
816
1062
  }
817
1063
  };
818
1064
 
819
- export const PrivateLinkResourceListResult: coreClient.CompositeMapper = {
1065
+ export const VolumeProperties: coreClient.CompositeMapper = {
820
1066
  type: {
821
1067
  name: "Composite",
822
- className: "PrivateLinkResourceListResult",
1068
+ className: "VolumeProperties",
823
1069
  modelProperties: {
824
- value: {
825
- serializedName: "value",
1070
+ volumeId: {
1071
+ serializedName: "volumeId",
1072
+ readOnly: true,
826
1073
  type: {
827
- name: "Sequence",
828
- element: {
829
- type: {
830
- name: "Composite",
831
- className: "PrivateLinkResource"
832
- }
833
- }
1074
+ name: "String"
834
1075
  }
835
1076
  },
836
- nextLink: {
837
- serializedName: "nextLink",
1077
+ creationData: {
1078
+ serializedName: "creationData",
1079
+ type: {
1080
+ name: "Composite",
1081
+ className: "SourceCreationData"
1082
+ }
1083
+ },
1084
+ sizeGiB: {
1085
+ serializedName: "sizeGiB",
1086
+ required: true,
1087
+ type: {
1088
+ name: "Number"
1089
+ }
1090
+ },
1091
+ storageTarget: {
1092
+ serializedName: "storageTarget",
1093
+ type: {
1094
+ name: "Composite",
1095
+ className: "IscsiTargetInfo"
1096
+ }
1097
+ },
1098
+ managedBy: {
1099
+ serializedName: "managedBy",
1100
+ type: {
1101
+ name: "Composite",
1102
+ className: "ManagedByInfo"
1103
+ }
1104
+ },
1105
+ provisioningState: {
1106
+ serializedName: "provisioningState",
838
1107
  readOnly: true,
839
1108
  type: {
840
1109
  name: "String"
@@ -844,64 +1113,171 @@ export const PrivateLinkResourceListResult: coreClient.CompositeMapper = {
844
1113
  }
845
1114
  };
846
1115
 
847
- export const PrivateEndpointConnection: coreClient.CompositeMapper = {
1116
+ export const SourceCreationData: coreClient.CompositeMapper = {
848
1117
  type: {
849
1118
  name: "Composite",
850
- className: "PrivateEndpointConnection",
1119
+ className: "SourceCreationData",
851
1120
  modelProperties: {
852
- ...Resource.type.modelProperties,
1121
+ createSource: {
1122
+ serializedName: "createSource",
1123
+ type: {
1124
+ name: "String"
1125
+ }
1126
+ },
1127
+ sourceId: {
1128
+ serializedName: "sourceId",
1129
+ type: {
1130
+ name: "String"
1131
+ }
1132
+ }
1133
+ }
1134
+ }
1135
+ };
1136
+
1137
+ export const IscsiTargetInfo: coreClient.CompositeMapper = {
1138
+ type: {
1139
+ name: "Composite",
1140
+ className: "IscsiTargetInfo",
1141
+ modelProperties: {
1142
+ targetIqn: {
1143
+ serializedName: "targetIqn",
1144
+ readOnly: true,
1145
+ type: {
1146
+ name: "String"
1147
+ }
1148
+ },
1149
+ targetPortalHostname: {
1150
+ serializedName: "targetPortalHostname",
1151
+ readOnly: true,
1152
+ type: {
1153
+ name: "String"
1154
+ }
1155
+ },
1156
+ targetPortalPort: {
1157
+ serializedName: "targetPortalPort",
1158
+ readOnly: true,
1159
+ type: {
1160
+ name: "Number"
1161
+ }
1162
+ },
853
1163
  provisioningState: {
854
- serializedName: "properties.provisioningState",
1164
+ serializedName: "provisioningState",
855
1165
  readOnly: true,
856
1166
  type: {
857
1167
  name: "String"
858
1168
  }
859
1169
  },
860
- privateEndpoint: {
861
- serializedName: "properties.privateEndpoint",
1170
+ status: {
1171
+ serializedName: "status",
1172
+ type: {
1173
+ name: "String"
1174
+ }
1175
+ }
1176
+ }
1177
+ }
1178
+ };
1179
+
1180
+ export const ManagedByInfo: coreClient.CompositeMapper = {
1181
+ type: {
1182
+ name: "Composite",
1183
+ className: "ManagedByInfo",
1184
+ modelProperties: {
1185
+ resourceId: {
1186
+ serializedName: "resourceId",
1187
+ type: {
1188
+ name: "String"
1189
+ }
1190
+ }
1191
+ }
1192
+ }
1193
+ };
1194
+
1195
+ export const VolumeUpdate: coreClient.CompositeMapper = {
1196
+ type: {
1197
+ name: "Composite",
1198
+ className: "VolumeUpdate",
1199
+ modelProperties: {
1200
+ properties: {
1201
+ serializedName: "properties",
862
1202
  type: {
863
1203
  name: "Composite",
864
- className: "PrivateEndpoint"
1204
+ className: "VolumeUpdateProperties"
1205
+ }
1206
+ }
1207
+ }
1208
+ }
1209
+ };
1210
+
1211
+ export const VolumeUpdateProperties: coreClient.CompositeMapper = {
1212
+ type: {
1213
+ name: "Composite",
1214
+ className: "VolumeUpdateProperties",
1215
+ modelProperties: {
1216
+ sizeGiB: {
1217
+ serializedName: "sizeGiB",
1218
+ type: {
1219
+ name: "Number"
865
1220
  }
866
1221
  },
867
- privateLinkServiceConnectionState: {
868
- serializedName: "properties.privateLinkServiceConnectionState",
1222
+ managedBy: {
1223
+ serializedName: "managedBy",
869
1224
  type: {
870
1225
  name: "Composite",
871
- className: "PrivateLinkServiceConnectionState"
1226
+ className: "ManagedByInfo"
872
1227
  }
873
- },
874
- groupIds: {
875
- serializedName: "properties.groupIds",
1228
+ }
1229
+ }
1230
+ }
1231
+ };
1232
+
1233
+ export const VolumeList: coreClient.CompositeMapper = {
1234
+ type: {
1235
+ name: "Composite",
1236
+ className: "VolumeList",
1237
+ modelProperties: {
1238
+ value: {
1239
+ serializedName: "value",
876
1240
  type: {
877
1241
  name: "Sequence",
878
1242
  element: {
879
1243
  type: {
880
- name: "String"
1244
+ name: "Composite",
1245
+ className: "Volume"
881
1246
  }
882
1247
  }
883
1248
  }
1249
+ },
1250
+ nextLink: {
1251
+ serializedName: "nextLink",
1252
+ readOnly: true,
1253
+ type: {
1254
+ name: "String"
1255
+ }
884
1256
  }
885
1257
  }
886
1258
  }
887
1259
  };
888
1260
 
889
- export const TrackedResource: coreClient.CompositeMapper = {
1261
+ export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = {
890
1262
  type: {
891
1263
  name: "Composite",
892
- className: "TrackedResource",
1264
+ className: "PrivateEndpointConnectionListResult",
893
1265
  modelProperties: {
894
- ...Resource.type.modelProperties,
895
- tags: {
896
- serializedName: "tags",
1266
+ value: {
1267
+ serializedName: "value",
897
1268
  type: {
898
- name: "Dictionary",
899
- value: { type: { name: "String" } }
1269
+ name: "Sequence",
1270
+ element: {
1271
+ type: {
1272
+ name: "Composite",
1273
+ className: "PrivateEndpointConnection"
1274
+ }
1275
+ }
900
1276
  }
901
1277
  },
902
- location: {
903
- serializedName: "location",
904
- required: true,
1278
+ nextLink: {
1279
+ serializedName: "nextLink",
1280
+ readOnly: true,
905
1281
  type: {
906
1282
  name: "String"
907
1283
  }
@@ -910,31 +1286,48 @@ export const TrackedResource: coreClient.CompositeMapper = {
910
1286
  }
911
1287
  };
912
1288
 
913
- export const ProxyResource: coreClient.CompositeMapper = {
1289
+ export const PrivateLinkResourceListResult: coreClient.CompositeMapper = {
914
1290
  type: {
915
1291
  name: "Composite",
916
- className: "ProxyResource",
1292
+ className: "PrivateLinkResourceListResult",
917
1293
  modelProperties: {
918
- ...Resource.type.modelProperties
1294
+ value: {
1295
+ serializedName: "value",
1296
+ type: {
1297
+ name: "Sequence",
1298
+ element: {
1299
+ type: {
1300
+ name: "Composite",
1301
+ className: "PrivateLinkResource"
1302
+ }
1303
+ }
1304
+ }
1305
+ },
1306
+ nextLink: {
1307
+ serializedName: "nextLink",
1308
+ readOnly: true,
1309
+ type: {
1310
+ name: "String"
1311
+ }
1312
+ }
919
1313
  }
920
1314
  }
921
1315
  };
922
1316
 
923
- export const PrivateLinkResource: coreClient.CompositeMapper = {
1317
+ export const PrivateLinkResourceProperties: coreClient.CompositeMapper = {
924
1318
  type: {
925
1319
  name: "Composite",
926
- className: "PrivateLinkResource",
1320
+ className: "PrivateLinkResourceProperties",
927
1321
  modelProperties: {
928
- ...Resource.type.modelProperties,
929
1322
  groupId: {
930
- serializedName: "properties.groupId",
1323
+ serializedName: "groupId",
931
1324
  readOnly: true,
932
1325
  type: {
933
1326
  name: "String"
934
1327
  }
935
1328
  },
936
1329
  requiredMembers: {
937
- serializedName: "properties.requiredMembers",
1330
+ serializedName: "requiredMembers",
938
1331
  readOnly: true,
939
1332
  type: {
940
1333
  name: "Sequence",
@@ -946,7 +1339,7 @@ export const PrivateLinkResource: coreClient.CompositeMapper = {
946
1339
  }
947
1340
  },
948
1341
  requiredZoneNames: {
949
- serializedName: "properties.requiredZoneNames",
1342
+ serializedName: "requiredZoneNames",
950
1343
  type: {
951
1344
  name: "Sequence",
952
1345
  element: {
@@ -960,184 +1353,224 @@ export const PrivateLinkResource: coreClient.CompositeMapper = {
960
1353
  }
961
1354
  };
962
1355
 
963
- export const ElasticSan: coreClient.CompositeMapper = {
1356
+ export const SnapshotList: coreClient.CompositeMapper = {
964
1357
  type: {
965
1358
  name: "Composite",
966
- className: "ElasticSan",
1359
+ className: "SnapshotList",
967
1360
  modelProperties: {
968
- ...TrackedResource.type.modelProperties,
969
- sku: {
970
- serializedName: "properties.sku",
971
- type: {
972
- name: "Composite",
973
- className: "Sku"
974
- }
975
- },
976
- availabilityZones: {
977
- serializedName: "properties.availabilityZones",
1361
+ value: {
1362
+ serializedName: "value",
978
1363
  type: {
979
1364
  name: "Sequence",
980
1365
  element: {
981
1366
  type: {
982
- name: "String"
1367
+ name: "Composite",
1368
+ className: "Snapshot"
983
1369
  }
984
1370
  }
985
1371
  }
986
1372
  },
987
- provisioningState: {
988
- serializedName: "properties.provisioningState",
1373
+ nextLink: {
1374
+ serializedName: "nextLink",
989
1375
  readOnly: true,
990
1376
  type: {
991
1377
  name: "String"
992
1378
  }
993
- },
994
- baseSizeTiB: {
995
- serializedName: "properties.baseSizeTiB",
996
- required: true,
997
- type: {
998
- name: "Number"
999
- }
1000
- },
1001
- extendedCapacitySizeTiB: {
1002
- serializedName: "properties.extendedCapacitySizeTiB",
1003
- required: true,
1004
- type: {
1005
- name: "Number"
1006
- }
1007
- },
1008
- totalVolumeSizeGiB: {
1009
- serializedName: "properties.totalVolumeSizeGiB",
1010
- readOnly: true,
1011
- type: {
1012
- name: "Number"
1013
- }
1014
- },
1015
- volumeGroupCount: {
1016
- serializedName: "properties.volumeGroupCount",
1017
- readOnly: true,
1379
+ }
1380
+ }
1381
+ }
1382
+ };
1383
+
1384
+ export const SnapshotProperties: coreClient.CompositeMapper = {
1385
+ type: {
1386
+ name: "Composite",
1387
+ className: "SnapshotProperties",
1388
+ modelProperties: {
1389
+ creationData: {
1390
+ serializedName: "creationData",
1018
1391
  type: {
1019
- name: "Number"
1392
+ name: "Composite",
1393
+ className: "SnapshotCreationData"
1020
1394
  }
1021
1395
  },
1022
- totalIops: {
1023
- serializedName: "properties.totalIops",
1396
+ provisioningState: {
1397
+ serializedName: "provisioningState",
1024
1398
  readOnly: true,
1025
1399
  type: {
1026
- name: "Number"
1400
+ name: "String"
1027
1401
  }
1028
1402
  },
1029
- totalMBps: {
1030
- serializedName: "properties.totalMBps",
1403
+ sourceVolumeSizeGiB: {
1404
+ serializedName: "sourceVolumeSizeGiB",
1031
1405
  readOnly: true,
1032
1406
  type: {
1033
1407
  name: "Number"
1034
1408
  }
1035
1409
  },
1036
- totalSizeTiB: {
1037
- serializedName: "properties.totalSizeTiB",
1410
+ volumeName: {
1411
+ serializedName: "volumeName",
1038
1412
  readOnly: true,
1039
1413
  type: {
1040
- name: "Number"
1414
+ name: "String"
1041
1415
  }
1042
- },
1043
- privateEndpointConnections: {
1044
- serializedName: "properties.privateEndpointConnections",
1045
- readOnly: true,
1416
+ }
1417
+ }
1418
+ }
1419
+ };
1420
+
1421
+ export const SnapshotCreationData: coreClient.CompositeMapper = {
1422
+ type: {
1423
+ name: "Composite",
1424
+ className: "SnapshotCreationData",
1425
+ modelProperties: {
1426
+ sourceId: {
1427
+ serializedName: "sourceId",
1428
+ required: true,
1046
1429
  type: {
1047
- name: "Sequence",
1048
- element: {
1049
- type: {
1050
- name: "Composite",
1051
- className: "PrivateEndpointConnection"
1052
- }
1053
- }
1430
+ name: "String"
1054
1431
  }
1055
1432
  }
1056
1433
  }
1057
1434
  }
1058
1435
  };
1059
1436
 
1060
- export const VolumeGroup: coreClient.CompositeMapper = {
1437
+ export const PrivateEndpointConnection: coreClient.CompositeMapper = {
1061
1438
  type: {
1062
1439
  name: "Composite",
1063
- className: "VolumeGroup",
1440
+ className: "PrivateEndpointConnection",
1064
1441
  modelProperties: {
1065
- ...ProxyResource.type.modelProperties,
1066
- provisioningState: {
1067
- serializedName: "properties.provisioningState",
1068
- readOnly: true,
1442
+ ...Resource.type.modelProperties,
1443
+ properties: {
1444
+ serializedName: "properties",
1069
1445
  type: {
1070
- name: "String"
1446
+ name: "Composite",
1447
+ className: "PrivateEndpointConnectionProperties"
1071
1448
  }
1072
- },
1073
- protocolType: {
1074
- serializedName: "properties.protocolType",
1449
+ }
1450
+ }
1451
+ }
1452
+ };
1453
+
1454
+ export const TrackedResource: coreClient.CompositeMapper = {
1455
+ type: {
1456
+ name: "Composite",
1457
+ className: "TrackedResource",
1458
+ modelProperties: {
1459
+ ...Resource.type.modelProperties,
1460
+ tags: {
1461
+ serializedName: "tags",
1075
1462
  type: {
1076
- name: "String"
1463
+ name: "Dictionary",
1464
+ value: { type: { name: "String" } }
1077
1465
  }
1078
1466
  },
1079
- encryption: {
1080
- serializedName: "properties.encryption",
1467
+ location: {
1468
+ serializedName: "location",
1469
+ required: true,
1081
1470
  type: {
1082
1471
  name: "String"
1083
1472
  }
1084
- },
1085
- networkAcls: {
1086
- serializedName: "properties.networkAcls",
1473
+ }
1474
+ }
1475
+ }
1476
+ };
1477
+
1478
+ export const ProxyResource: coreClient.CompositeMapper = {
1479
+ type: {
1480
+ name: "Composite",
1481
+ className: "ProxyResource",
1482
+ modelProperties: {
1483
+ ...Resource.type.modelProperties
1484
+ }
1485
+ }
1486
+ };
1487
+
1488
+ export const PrivateLinkResource: coreClient.CompositeMapper = {
1489
+ type: {
1490
+ name: "Composite",
1491
+ className: "PrivateLinkResource",
1492
+ modelProperties: {
1493
+ ...Resource.type.modelProperties,
1494
+ properties: {
1495
+ serializedName: "properties",
1087
1496
  type: {
1088
1497
  name: "Composite",
1089
- className: "NetworkRuleSet"
1498
+ className: "PrivateLinkResourceProperties"
1090
1499
  }
1091
- },
1092
- privateEndpointConnections: {
1093
- serializedName: "properties.privateEndpointConnections",
1094
- readOnly: true,
1500
+ }
1501
+ }
1502
+ }
1503
+ };
1504
+
1505
+ export const ElasticSan: coreClient.CompositeMapper = {
1506
+ type: {
1507
+ name: "Composite",
1508
+ className: "ElasticSan",
1509
+ modelProperties: {
1510
+ ...TrackedResource.type.modelProperties,
1511
+ properties: {
1512
+ serializedName: "properties",
1095
1513
  type: {
1096
- name: "Sequence",
1097
- element: {
1098
- type: {
1099
- name: "Composite",
1100
- className: "PrivateEndpointConnection"
1101
- }
1102
- }
1514
+ name: "Composite",
1515
+ className: "ElasticSanProperties"
1103
1516
  }
1104
1517
  }
1105
1518
  }
1106
1519
  }
1107
1520
  };
1108
1521
 
1109
- export const Volume: coreClient.CompositeMapper = {
1522
+ export const VolumeGroup: coreClient.CompositeMapper = {
1110
1523
  type: {
1111
1524
  name: "Composite",
1112
- className: "Volume",
1525
+ className: "VolumeGroup",
1113
1526
  modelProperties: {
1114
1527
  ...ProxyResource.type.modelProperties,
1115
- volumeId: {
1116
- serializedName: "properties.volumeId",
1117
- readOnly: true,
1528
+ identity: {
1529
+ serializedName: "identity",
1118
1530
  type: {
1119
- name: "String"
1531
+ name: "Composite",
1532
+ className: "Identity"
1120
1533
  }
1121
1534
  },
1122
- creationData: {
1123
- serializedName: "properties.creationData",
1535
+ properties: {
1536
+ serializedName: "properties",
1124
1537
  type: {
1125
1538
  name: "Composite",
1126
- className: "SourceCreationData"
1539
+ className: "VolumeGroupProperties"
1127
1540
  }
1128
- },
1129
- sizeGiB: {
1130
- serializedName: "properties.sizeGiB",
1131
- required: true,
1541
+ }
1542
+ }
1543
+ }
1544
+ };
1545
+
1546
+ export const Volume: coreClient.CompositeMapper = {
1547
+ type: {
1548
+ name: "Composite",
1549
+ className: "Volume",
1550
+ modelProperties: {
1551
+ ...ProxyResource.type.modelProperties,
1552
+ properties: {
1553
+ serializedName: "properties",
1132
1554
  type: {
1133
- name: "Number"
1555
+ name: "Composite",
1556
+ className: "VolumeProperties"
1134
1557
  }
1135
- },
1136
- storageTarget: {
1137
- serializedName: "properties.storageTarget",
1558
+ }
1559
+ }
1560
+ }
1561
+ };
1562
+
1563
+ export const Snapshot: coreClient.CompositeMapper = {
1564
+ type: {
1565
+ name: "Composite",
1566
+ className: "Snapshot",
1567
+ modelProperties: {
1568
+ ...ProxyResource.type.modelProperties,
1569
+ properties: {
1570
+ serializedName: "properties",
1138
1571
  type: {
1139
1572
  name: "Composite",
1140
- className: "IscsiTargetInfo"
1573
+ className: "SnapshotProperties"
1141
1574
  }
1142
1575
  }
1143
1576
  }
@@ -1248,3 +1681,18 @@ export const PrivateEndpointConnectionsDeleteHeaders: coreClient.CompositeMapper
1248
1681
  }
1249
1682
  }
1250
1683
  };
1684
+
1685
+ export const VolumeSnapshotsDeleteHeaders: coreClient.CompositeMapper = {
1686
+ type: {
1687
+ name: "Composite",
1688
+ className: "VolumeSnapshotsDeleteHeaders",
1689
+ modelProperties: {
1690
+ location: {
1691
+ serializedName: "location",
1692
+ type: {
1693
+ name: "String"
1694
+ }
1695
+ }
1696
+ }
1697
+ }
1698
+ };