@azure/arm-automanage 1.0.3-alpha.20250620.1 → 1.0.3-alpha.20250721.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/dist/browser/automanageClient.js +25 -5
  2. package/dist/browser/automanageClient.js.map +1 -1
  3. package/dist/browser/models/mappers.js +65 -29
  4. package/dist/browser/models/mappers.js.map +1 -1
  5. package/dist/browser/operations/bestPractices.js +10 -27
  6. package/dist/browser/operations/bestPractices.js.map +1 -1
  7. package/dist/browser/operations/bestPracticesVersions.js +10 -27
  8. package/dist/browser/operations/bestPracticesVersions.js.map +1 -1
  9. package/dist/browser/operations/configurationProfileAssignments.js +46 -131
  10. package/dist/browser/operations/configurationProfileAssignments.js.map +1 -1
  11. package/dist/browser/operations/configurationProfileHCIAssignments.js +1 -0
  12. package/dist/browser/operations/configurationProfileHCIAssignments.js.map +1 -1
  13. package/dist/browser/operations/configurationProfileHcrpAssignments.js +1 -0
  14. package/dist/browser/operations/configurationProfileHcrpAssignments.js.map +1 -1
  15. package/dist/browser/operations/configurationProfiles.js +19 -53
  16. package/dist/browser/operations/configurationProfiles.js.map +1 -1
  17. package/dist/browser/operations/configurationProfilesVersions.js +10 -27
  18. package/dist/browser/operations/configurationProfilesVersions.js.map +1 -1
  19. package/dist/browser/operations/hCIReports.js +10 -27
  20. package/dist/browser/operations/hCIReports.js.map +1 -1
  21. package/dist/browser/operations/hcrpReports.js +10 -27
  22. package/dist/browser/operations/hcrpReports.js.map +1 -1
  23. package/dist/browser/operations/operations.js +10 -27
  24. package/dist/browser/operations/operations.js.map +1 -1
  25. package/dist/browser/operations/reports.js +10 -27
  26. package/dist/browser/operations/reports.js.map +1 -1
  27. package/dist/browser/operations/servicePrincipals.js +10 -27
  28. package/dist/browser/operations/servicePrincipals.js.map +1 -1
  29. package/dist/browser/pagingHelper.js +2 -4
  30. package/dist/browser/pagingHelper.js.map +1 -1
  31. package/dist/commonjs/automanageClient.js +25 -5
  32. package/dist/commonjs/automanageClient.js.map +1 -1
  33. package/dist/commonjs/models/mappers.js +65 -29
  34. package/dist/commonjs/models/mappers.js.map +1 -1
  35. package/dist/commonjs/operations/bestPractices.js +10 -26
  36. package/dist/commonjs/operations/bestPractices.js.map +1 -1
  37. package/dist/commonjs/operations/bestPracticesVersions.js +10 -26
  38. package/dist/commonjs/operations/bestPracticesVersions.js.map +1 -1
  39. package/dist/commonjs/operations/configurationProfileAssignments.js +46 -130
  40. package/dist/commonjs/operations/configurationProfileAssignments.js.map +1 -1
  41. package/dist/commonjs/operations/configurationProfileHCIAssignments.js +1 -0
  42. package/dist/commonjs/operations/configurationProfileHCIAssignments.js.map +1 -1
  43. package/dist/commonjs/operations/configurationProfileHcrpAssignments.js +1 -0
  44. package/dist/commonjs/operations/configurationProfileHcrpAssignments.js.map +1 -1
  45. package/dist/commonjs/operations/configurationProfiles.js +19 -52
  46. package/dist/commonjs/operations/configurationProfiles.js.map +1 -1
  47. package/dist/commonjs/operations/configurationProfilesVersions.js +10 -26
  48. package/dist/commonjs/operations/configurationProfilesVersions.js.map +1 -1
  49. package/dist/commonjs/operations/hCIReports.js +10 -26
  50. package/dist/commonjs/operations/hCIReports.js.map +1 -1
  51. package/dist/commonjs/operations/hcrpReports.js +10 -26
  52. package/dist/commonjs/operations/hcrpReports.js.map +1 -1
  53. package/dist/commonjs/operations/operations.js +10 -26
  54. package/dist/commonjs/operations/operations.js.map +1 -1
  55. package/dist/commonjs/operations/reports.js +10 -26
  56. package/dist/commonjs/operations/reports.js.map +1 -1
  57. package/dist/commonjs/operations/servicePrincipals.js +10 -26
  58. package/dist/commonjs/operations/servicePrincipals.js.map +1 -1
  59. package/dist/commonjs/pagingHelper.js +2 -4
  60. package/dist/commonjs/pagingHelper.js.map +1 -1
  61. package/dist/commonjs/tsdoc-metadata.json +11 -11
  62. package/dist/esm/automanageClient.js +25 -5
  63. package/dist/esm/automanageClient.js.map +1 -1
  64. package/dist/esm/models/mappers.js +65 -29
  65. package/dist/esm/models/mappers.js.map +1 -1
  66. package/dist/esm/operations/bestPractices.js +10 -27
  67. package/dist/esm/operations/bestPractices.js.map +1 -1
  68. package/dist/esm/operations/bestPracticesVersions.js +10 -27
  69. package/dist/esm/operations/bestPracticesVersions.js.map +1 -1
  70. package/dist/esm/operations/configurationProfileAssignments.js +46 -131
  71. package/dist/esm/operations/configurationProfileAssignments.js.map +1 -1
  72. package/dist/esm/operations/configurationProfileHCIAssignments.js +1 -0
  73. package/dist/esm/operations/configurationProfileHCIAssignments.js.map +1 -1
  74. package/dist/esm/operations/configurationProfileHcrpAssignments.js +1 -0
  75. package/dist/esm/operations/configurationProfileHcrpAssignments.js.map +1 -1
  76. package/dist/esm/operations/configurationProfiles.js +19 -53
  77. package/dist/esm/operations/configurationProfiles.js.map +1 -1
  78. package/dist/esm/operations/configurationProfilesVersions.js +10 -27
  79. package/dist/esm/operations/configurationProfilesVersions.js.map +1 -1
  80. package/dist/esm/operations/hCIReports.js +10 -27
  81. package/dist/esm/operations/hCIReports.js.map +1 -1
  82. package/dist/esm/operations/hcrpReports.js +10 -27
  83. package/dist/esm/operations/hcrpReports.js.map +1 -1
  84. package/dist/esm/operations/operations.js +10 -27
  85. package/dist/esm/operations/operations.js.map +1 -1
  86. package/dist/esm/operations/reports.js +10 -27
  87. package/dist/esm/operations/reports.js.map +1 -1
  88. package/dist/esm/operations/servicePrincipals.js +10 -27
  89. package/dist/esm/operations/servicePrincipals.js.map +1 -1
  90. package/dist/esm/pagingHelper.js +2 -4
  91. package/dist/esm/pagingHelper.js.map +1 -1
  92. package/dist/react-native/automanageClient.js +25 -5
  93. package/dist/react-native/automanageClient.js.map +1 -1
  94. package/dist/react-native/models/mappers.js +65 -29
  95. package/dist/react-native/models/mappers.js.map +1 -1
  96. package/dist/react-native/operations/bestPractices.js +10 -27
  97. package/dist/react-native/operations/bestPractices.js.map +1 -1
  98. package/dist/react-native/operations/bestPracticesVersions.js +10 -27
  99. package/dist/react-native/operations/bestPracticesVersions.js.map +1 -1
  100. package/dist/react-native/operations/configurationProfileAssignments.js +46 -131
  101. package/dist/react-native/operations/configurationProfileAssignments.js.map +1 -1
  102. package/dist/react-native/operations/configurationProfileHCIAssignments.js +1 -0
  103. package/dist/react-native/operations/configurationProfileHCIAssignments.js.map +1 -1
  104. package/dist/react-native/operations/configurationProfileHcrpAssignments.js +1 -0
  105. package/dist/react-native/operations/configurationProfileHcrpAssignments.js.map +1 -1
  106. package/dist/react-native/operations/configurationProfiles.js +19 -53
  107. package/dist/react-native/operations/configurationProfiles.js.map +1 -1
  108. package/dist/react-native/operations/configurationProfilesVersions.js +10 -27
  109. package/dist/react-native/operations/configurationProfilesVersions.js.map +1 -1
  110. package/dist/react-native/operations/hCIReports.js +10 -27
  111. package/dist/react-native/operations/hCIReports.js.map +1 -1
  112. package/dist/react-native/operations/hcrpReports.js +10 -27
  113. package/dist/react-native/operations/hcrpReports.js.map +1 -1
  114. package/dist/react-native/operations/operations.js +10 -27
  115. package/dist/react-native/operations/operations.js.map +1 -1
  116. package/dist/react-native/operations/reports.js +10 -27
  117. package/dist/react-native/operations/reports.js.map +1 -1
  118. package/dist/react-native/operations/servicePrincipals.js +10 -27
  119. package/dist/react-native/operations/servicePrincipals.js.map +1 -1
  120. package/dist/react-native/pagingHelper.js +2 -4
  121. package/dist/react-native/pagingHelper.js.map +1 -1
  122. package/package.json +2 -2
  123. /package/review/{arm-automanage.api.md → arm-automanage-node.api.md} +0 -0
@@ -529,136 +529,164 @@ exports.TrackedResource = {
529
529
  type: {
530
530
  name: "Composite",
531
531
  className: "TrackedResource",
532
- modelProperties: Object.assign(Object.assign({}, exports.Resource.type.modelProperties), { tags: {
532
+ modelProperties: {
533
+ ...exports.Resource.type.modelProperties,
534
+ tags: {
533
535
  serializedName: "tags",
534
536
  type: {
535
537
  name: "Dictionary",
536
538
  value: { type: { name: "String" } }
537
539
  }
538
- }, location: {
540
+ },
541
+ location: {
539
542
  serializedName: "location",
540
543
  required: true,
541
544
  type: {
542
545
  name: "String"
543
546
  }
544
- } })
547
+ }
548
+ }
545
549
  }
546
550
  };
547
551
  exports.ProxyResource = {
548
552
  type: {
549
553
  name: "Composite",
550
554
  className: "ProxyResource",
551
- modelProperties: Object.assign({}, exports.Resource.type.modelProperties)
555
+ modelProperties: {
556
+ ...exports.Resource.type.modelProperties
557
+ }
552
558
  }
553
559
  };
554
560
  exports.ConfigurationProfileUpdate = {
555
561
  type: {
556
562
  name: "Composite",
557
563
  className: "ConfigurationProfileUpdate",
558
- modelProperties: Object.assign(Object.assign({}, exports.UpdateResource.type.modelProperties), { properties: {
564
+ modelProperties: {
565
+ ...exports.UpdateResource.type.modelProperties,
566
+ properties: {
559
567
  serializedName: "properties",
560
568
  type: {
561
569
  name: "Composite",
562
570
  className: "ConfigurationProfileProperties"
563
571
  }
564
- } })
572
+ }
573
+ }
565
574
  }
566
575
  };
567
576
  exports.ConfigurationProfile = {
568
577
  type: {
569
578
  name: "Composite",
570
579
  className: "ConfigurationProfile",
571
- modelProperties: Object.assign(Object.assign({}, exports.TrackedResource.type.modelProperties), { properties: {
580
+ modelProperties: {
581
+ ...exports.TrackedResource.type.modelProperties,
582
+ properties: {
572
583
  serializedName: "properties",
573
584
  type: {
574
585
  name: "Composite",
575
586
  className: "ConfigurationProfileProperties"
576
587
  }
577
- }, systemData: {
588
+ },
589
+ systemData: {
578
590
  serializedName: "systemData",
579
591
  type: {
580
592
  name: "Composite",
581
593
  className: "SystemData"
582
594
  }
583
- } })
595
+ }
596
+ }
584
597
  }
585
598
  };
586
599
  exports.ConfigurationProfileAssignment = {
587
600
  type: {
588
601
  name: "Composite",
589
602
  className: "ConfigurationProfileAssignment",
590
- modelProperties: Object.assign(Object.assign({}, exports.ProxyResource.type.modelProperties), { properties: {
603
+ modelProperties: {
604
+ ...exports.ProxyResource.type.modelProperties,
605
+ properties: {
591
606
  serializedName: "properties",
592
607
  type: {
593
608
  name: "Composite",
594
609
  className: "ConfigurationProfileAssignmentProperties"
595
610
  }
596
- }, managedBy: {
611
+ },
612
+ managedBy: {
597
613
  serializedName: "managedBy",
598
614
  readOnly: true,
599
615
  type: {
600
616
  name: "String"
601
617
  }
602
- }, systemData: {
618
+ },
619
+ systemData: {
603
620
  serializedName: "systemData",
604
621
  type: {
605
622
  name: "Composite",
606
623
  className: "SystemData"
607
624
  }
608
- } })
625
+ }
626
+ }
609
627
  }
610
628
  };
611
629
  exports.Report = {
612
630
  type: {
613
631
  name: "Composite",
614
632
  className: "Report",
615
- modelProperties: Object.assign(Object.assign({}, exports.ProxyResource.type.modelProperties), { systemData: {
633
+ modelProperties: {
634
+ ...exports.ProxyResource.type.modelProperties,
635
+ systemData: {
616
636
  serializedName: "systemData",
617
637
  type: {
618
638
  name: "Composite",
619
639
  className: "SystemData"
620
640
  }
621
- }, startTime: {
641
+ },
642
+ startTime: {
622
643
  serializedName: "properties.startTime",
623
644
  type: {
624
645
  name: "String"
625
646
  }
626
- }, endTime: {
647
+ },
648
+ endTime: {
627
649
  serializedName: "properties.endTime",
628
650
  type: {
629
651
  name: "String"
630
652
  }
631
- }, lastModifiedTime: {
653
+ },
654
+ lastModifiedTime: {
632
655
  serializedName: "properties.lastModifiedTime",
633
656
  readOnly: true,
634
657
  type: {
635
658
  name: "String"
636
659
  }
637
- }, duration: {
660
+ },
661
+ duration: {
638
662
  serializedName: "properties.duration",
639
663
  readOnly: true,
640
664
  type: {
641
665
  name: "String"
642
666
  }
643
- }, typePropertiesType: {
667
+ },
668
+ typePropertiesType: {
644
669
  serializedName: "properties.type",
645
670
  readOnly: true,
646
671
  type: {
647
672
  name: "String"
648
673
  }
649
- }, status: {
674
+ },
675
+ status: {
650
676
  serializedName: "properties.status",
651
677
  readOnly: true,
652
678
  type: {
653
679
  name: "String"
654
680
  }
655
- }, configurationProfile: {
681
+ },
682
+ configurationProfile: {
656
683
  serializedName: "properties.configurationProfile",
657
684
  readOnly: true,
658
685
  type: {
659
686
  name: "String"
660
687
  }
661
- }, resources: {
688
+ },
689
+ resources: {
662
690
  serializedName: "properties.resources",
663
691
  readOnly: true,
664
692
  type: {
@@ -670,44 +698,52 @@ exports.Report = {
670
698
  }
671
699
  }
672
700
  }
673
- }, error: {
701
+ },
702
+ error: {
674
703
  serializedName: "properties.error",
675
704
  type: {
676
705
  name: "Composite",
677
706
  className: "ErrorDetail"
678
707
  }
679
- }, reportFormatVersion: {
708
+ },
709
+ reportFormatVersion: {
680
710
  serializedName: "properties.reportFormatVersion",
681
711
  readOnly: true,
682
712
  type: {
683
713
  name: "String"
684
714
  }
685
- } })
715
+ }
716
+ }
686
717
  }
687
718
  };
688
719
  exports.ServicePrincipal = {
689
720
  type: {
690
721
  name: "Composite",
691
722
  className: "ServicePrincipal",
692
- modelProperties: Object.assign(Object.assign({}, exports.ProxyResource.type.modelProperties), { systemData: {
723
+ modelProperties: {
724
+ ...exports.ProxyResource.type.modelProperties,
725
+ systemData: {
693
726
  serializedName: "systemData",
694
727
  type: {
695
728
  name: "Composite",
696
729
  className: "SystemData"
697
730
  }
698
- }, servicePrincipalId: {
731
+ },
732
+ servicePrincipalId: {
699
733
  serializedName: "properties.servicePrincipalId",
700
734
  readOnly: true,
701
735
  type: {
702
736
  name: "String"
703
737
  }
704
- }, authorizationSet: {
738
+ },
739
+ authorizationSet: {
705
740
  serializedName: "properties.authorizationSet",
706
741
  readOnly: true,
707
742
  type: {
708
743
  name: "Boolean"
709
744
  }
710
- } })
745
+ }
746
+ }
711
747
  }
712
748
  };
713
749
  //# sourceMappingURL=mappers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,YAAY,GAA+B;IACtD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,cAAc;QACzB,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;gBACpB,QAAQ,EAAE,IAAI;gBACd,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IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,GACF;KACF;CACF,CAAC;AAEW,QAAA,gBAAgB,GAA+B;IAC1D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,kBAAkB;QAC7B,eAAe,kCACV,qBAAa,CAAC,IAAI,CAAC,eAAe,KACrC,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,YAAY;iBACxB;aACF,EACD,kBAAkB,EAAE;gBAClB,cAAc,EAAE,+BAA+B;gBAC/C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,gBAAgB,EAAE;gBAChB,cAAc,EAAE,6BAA6B;gBAC7C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,SAAS;iBAChB;aACF,GACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const BestPractice: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"BestPractice\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n },\n configuration: {\n serializedName: \"properties.configuration\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const ConfigurationProfileProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileProperties\",\n modelProperties: {\n configuration: {\n serializedName: \"configuration\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const BestPracticeList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"BestPracticeList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"BestPractice\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const UpdateResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UpdateResource\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const ConfigurationProfileList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfile\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ConfigurationProfileAssignmentProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileAssignmentProperties\",\n modelProperties: {\n configurationProfile: {\n serializedName: \"configurationProfile\",\n type: {\n name: \"String\"\n }\n },\n targetId: {\n serializedName: \"targetId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ConfigurationProfileAssignmentList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileAssignmentList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileAssignment\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n },\n origin: {\n serializedName: \"origin\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n actionType: {\n serializedName: \"actionType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ReportResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ReportResource\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ReportList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ReportList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Report\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ServicePrincipalListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ServicePrincipalListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ServicePrincipal\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n ...Resource.type.modelProperties\n }\n }\n};\n\nexport const ConfigurationProfileUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileUpdate\",\n modelProperties: {\n ...UpdateResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileProperties\"\n }\n }\n }\n }\n};\n\nexport const ConfigurationProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfile\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileProperties\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const ConfigurationProfileAssignment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileAssignment\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileAssignmentProperties\"\n }\n },\n managedBy: {\n serializedName: \"managedBy\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const Report: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Report\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n },\n startTime: {\n serializedName: \"properties.startTime\",\n type: {\n name: \"String\"\n }\n },\n endTime: {\n serializedName: \"properties.endTime\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedTime: {\n serializedName: \"properties.lastModifiedTime\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n duration: {\n serializedName: \"properties.duration\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n typePropertiesType: {\n serializedName: \"properties.type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"properties.status\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n configurationProfile: {\n serializedName: \"properties.configurationProfile\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resources: {\n serializedName: \"properties.resources\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ReportResource\"\n }\n }\n }\n },\n error: {\n serializedName: \"properties.error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n },\n reportFormatVersion: {\n serializedName: \"properties.reportFormatVersion\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServicePrincipal: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ServicePrincipal\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n },\n servicePrincipalId: {\n serializedName: \"properties.servicePrincipalId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n authorizationSet: {\n serializedName: \"properties.authorizationSet\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n"]}
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,YAAY,GAA+B;IACtD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,cAAc;QACzB,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;gBACpB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;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B;QAC7B,eAAe,EAAE;YACf,GAAG,qBAAa,CAAC,IAAI,CAAC,eAAe;YACrC,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,YAAY;iBACxB;aACF;YACD,kBAAkB,EAAE;gBAClB,cAAc,EAAE,+BAA+B;gBAC/C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,gBAAgB,EAAE;gBAChB,cAAc,EAAE,6BAA6B;gBAC7C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,SAAS;iBAChB;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const BestPractice: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"BestPractice\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n },\n configuration: {\n serializedName: \"properties.configuration\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const ConfigurationProfileProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileProperties\",\n modelProperties: {\n configuration: {\n serializedName: \"configuration\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const BestPracticeList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"BestPracticeList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"BestPractice\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const UpdateResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UpdateResource\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const ConfigurationProfileList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfile\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ConfigurationProfileAssignmentProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileAssignmentProperties\",\n modelProperties: {\n configurationProfile: {\n serializedName: \"configurationProfile\",\n type: {\n name: \"String\"\n }\n },\n targetId: {\n serializedName: \"targetId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ConfigurationProfileAssignmentList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileAssignmentList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileAssignment\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n },\n origin: {\n serializedName: \"origin\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n actionType: {\n serializedName: \"actionType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ReportResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ReportResource\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ReportList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ReportList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Report\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ServicePrincipalListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ServicePrincipalListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ServicePrincipal\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n ...Resource.type.modelProperties\n }\n }\n};\n\nexport const ConfigurationProfileUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileUpdate\",\n modelProperties: {\n ...UpdateResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileProperties\"\n }\n }\n }\n }\n};\n\nexport const ConfigurationProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfile\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileProperties\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const ConfigurationProfileAssignment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileAssignment\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ConfigurationProfileAssignmentProperties\"\n }\n },\n managedBy: {\n serializedName: \"managedBy\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const Report: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Report\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n },\n startTime: {\n serializedName: \"properties.startTime\",\n type: {\n name: \"String\"\n }\n },\n endTime: {\n serializedName: \"properties.endTime\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedTime: {\n serializedName: \"properties.lastModifiedTime\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n duration: {\n serializedName: \"properties.duration\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n typePropertiesType: {\n serializedName: \"properties.type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"properties.status\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n configurationProfile: {\n serializedName: \"properties.configurationProfile\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resources: {\n serializedName: \"properties.resources\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ReportResource\"\n }\n }\n }\n },\n error: {\n serializedName: \"properties.error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n },\n reportFormatVersion: {\n serializedName: \"properties.reportFormatVersion\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServicePrincipal: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ServicePrincipal\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n },\n servicePrincipalId: {\n serializedName: \"properties.servicePrincipalId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n authorizationSet: {\n serializedName: \"properties.authorizationSet\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n"]}
@@ -15,6 +15,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing BestPractices operations. */
17
17
  class BestPracticesImpl {
18
+ client;
18
19
  /**
19
20
  * Initialize a new instance of the class BestPractices class.
20
21
  * @param client Reference to the service client
@@ -36,39 +37,22 @@ class BestPracticesImpl {
36
37
  return this;
37
38
  },
38
39
  byPage: (settings) => {
39
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
+ if (settings?.maxPageSize) {
40
41
  throw new Error("maxPageSize is not supported by this operation.");
41
42
  }
42
43
  return this.listByTenantPagingPage(options, settings);
43
44
  }
44
45
  };
45
46
  }
46
- listByTenantPagingPage(options, _settings) {
47
- return tslib_1.__asyncGenerator(this, arguments, function* listByTenantPagingPage_1() {
48
- let result;
49
- result = yield tslib_1.__await(this._listByTenant(options));
50
- yield yield tslib_1.__await(result.value || []);
51
- });
47
+ async *listByTenantPagingPage(options, _settings) {
48
+ let result;
49
+ result = await this._listByTenant(options);
50
+ yield result.value || [];
52
51
  }
53
- listByTenantPagingAll(options) {
54
- return tslib_1.__asyncGenerator(this, arguments, function* listByTenantPagingAll_1() {
55
- var _a, e_1, _b, _c;
56
- try {
57
- for (var _d = true, _e = tslib_1.__asyncValues(this.listByTenantPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
58
- _c = _f.value;
59
- _d = false;
60
- const page = _c;
61
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
62
- }
63
- }
64
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
65
- finally {
66
- try {
67
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
68
- }
69
- finally { if (e_1) throw e_1.error; }
70
- }
71
- });
52
+ async *listByTenantPagingAll(options) {
53
+ for await (const page of this.listByTenantPagingPage(options)) {
54
+ yield* page;
55
+ }
72
56
  }
73
57
  /**
74
58
  * Get information about a Automanage best practice
@@ -1 +1 @@
1
- {"version":3,"file":"bestPractices.js","sourceRoot":"","sources":["../../../src/operations/bestPractices.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,iDAAiD;AACjD,MAAa,iBAAiB;IAG5B;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,YAAY,CACjB,OAAiD;QAEjD,MAAM,IAAI,GAAG,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;QACjD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAA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SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAC9D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,yBAAyB,GAA6B;IAC1D,IAAI,EAAE,+CAA+C;IACrD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { BestPractices } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AutomanageClient } from \"../automanageClient.js\";\nimport {\n BestPractice,\n BestPracticesListByTenantOptionalParams,\n BestPracticesListByTenantResponse,\n BestPracticesGetOptionalParams,\n BestPracticesGetResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing BestPractices operations. */\nexport class BestPracticesImpl implements BestPractices {\n private readonly client: AutomanageClient;\n\n /**\n * Initialize a new instance of the class BestPractices class.\n * @param client Reference to the service client\n */\n constructor(client: AutomanageClient) {\n this.client = client;\n }\n\n /**\n * Retrieve a list of Automanage best practices\n * @param options The options parameters.\n */\n public listByTenant(\n options?: BestPracticesListByTenantOptionalParams\n ): PagedAsyncIterableIterator<BestPractice> {\n const iter = this.listByTenantPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByTenantPagingPage(options, settings);\n }\n };\n }\n\n private async *listByTenantPagingPage(\n options?: BestPracticesListByTenantOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<BestPractice[]> {\n let result: BestPracticesListByTenantResponse;\n result = await this._listByTenant(options);\n yield result.value || [];\n }\n\n private async *listByTenantPagingAll(\n options?: BestPracticesListByTenantOptionalParams\n ): AsyncIterableIterator<BestPractice> {\n for await (const page of this.listByTenantPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get information about a Automanage best practice\n * @param bestPracticeName The Automanage best practice name.\n * @param options The options parameters.\n */\n get(\n bestPracticeName: string,\n options?: BestPracticesGetOptionalParams\n ): Promise<BestPracticesGetResponse> {\n return this.client.sendOperationRequest(\n { bestPracticeName, options },\n getOperationSpec\n );\n }\n\n /**\n * Retrieve a list of Automanage best practices\n * @param options The options parameters.\n */\n private _listByTenant(\n options?: BestPracticesListByTenantOptionalParams\n ): Promise<BestPracticesListByTenantResponse> {\n return this.client.sendOperationRequest(\n { options },\n listByTenantOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Automanage/bestPractices/{bestPracticeName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BestPractice\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.bestPracticeName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByTenantOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Automanage/bestPractices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BestPracticeList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"bestPractices.js","sourceRoot":"","sources":["../../../src/operations/bestPractices.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,iDAAiD;AACjD,MAAa,iBAAiB;IACX,MAAM,CAAmB;IAE1C;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,YAAY,CACjB,OAAiD;QAEjD,MAAM,IAAI,GAAG,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;QACjD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,sBAAsB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YACxD,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,sBAAsB,CACnC,OAAiD,E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MAAM,yBAAyB,GAA6B;IAC1D,IAAI,EAAE,+CAA+C;IACrD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { BestPractices } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AutomanageClient } from \"../automanageClient.js\";\nimport {\n BestPractice,\n BestPracticesListByTenantOptionalParams,\n BestPracticesListByTenantResponse,\n BestPracticesGetOptionalParams,\n BestPracticesGetResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing BestPractices operations. */\nexport class BestPracticesImpl implements BestPractices {\n private readonly client: AutomanageClient;\n\n /**\n * Initialize a new instance of the class BestPractices class.\n * @param client Reference to the service client\n */\n constructor(client: AutomanageClient) {\n this.client = client;\n }\n\n /**\n * Retrieve a list of Automanage best practices\n * @param options The options parameters.\n */\n public listByTenant(\n options?: BestPracticesListByTenantOptionalParams\n ): PagedAsyncIterableIterator<BestPractice> {\n const iter = this.listByTenantPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByTenantPagingPage(options, settings);\n }\n };\n }\n\n private async *listByTenantPagingPage(\n options?: BestPracticesListByTenantOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<BestPractice[]> {\n let result: BestPracticesListByTenantResponse;\n result = await this._listByTenant(options);\n yield result.value || [];\n }\n\n private async *listByTenantPagingAll(\n options?: BestPracticesListByTenantOptionalParams\n ): AsyncIterableIterator<BestPractice> {\n for await (const page of this.listByTenantPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get information about a Automanage best practice\n * @param bestPracticeName The Automanage best practice name.\n * @param options The options parameters.\n */\n get(\n bestPracticeName: string,\n options?: BestPracticesGetOptionalParams\n ): Promise<BestPracticesGetResponse> {\n return this.client.sendOperationRequest(\n { bestPracticeName, options },\n getOperationSpec\n );\n }\n\n /**\n * Retrieve a list of Automanage best practices\n * @param options The options parameters.\n */\n private _listByTenant(\n options?: BestPracticesListByTenantOptionalParams\n ): Promise<BestPracticesListByTenantResponse> {\n return this.client.sendOperationRequest(\n { options },\n listByTenantOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Automanage/bestPractices/{bestPracticeName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BestPractice\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.bestPracticeName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByTenantOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Automanage/bestPractices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BestPracticeList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -15,6 +15,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing BestPracticesVersions operations. */
17
17
  class BestPracticesVersionsImpl {
18
+ client;
18
19
  /**
19
20
  * Initialize a new instance of the class BestPracticesVersions class.
20
21
  * @param client Reference to the service client
@@ -37,39 +38,22 @@ class BestPracticesVersionsImpl {
37
38
  return this;
38
39
  },
39
40
  byPage: (settings) => {
40
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
41
+ if (settings?.maxPageSize) {
41
42
  throw new Error("maxPageSize is not supported by this operation.");
42
43
  }
43
44
  return this.listByTenantPagingPage(bestPracticeName, options, settings);
44
45
  }
45
46
  };
46
47
  }
47
- listByTenantPagingPage(bestPracticeName, options, _settings) {
48
- return tslib_1.__asyncGenerator(this, arguments, function* listByTenantPagingPage_1() {
49
- let result;
50
- result = yield tslib_1.__await(this._listByTenant(bestPracticeName, options));
51
- yield yield tslib_1.__await(result.value || []);
52
- });
48
+ async *listByTenantPagingPage(bestPracticeName, options, _settings) {
49
+ let result;
50
+ result = await this._listByTenant(bestPracticeName, options);
51
+ yield result.value || [];
53
52
  }
54
- listByTenantPagingAll(bestPracticeName, options) {
55
- return tslib_1.__asyncGenerator(this, arguments, function* listByTenantPagingAll_1() {
56
- var _a, e_1, _b, _c;
57
- try {
58
- for (var _d = true, _e = tslib_1.__asyncValues(this.listByTenantPagingPage(bestPracticeName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
59
- _c = _f.value;
60
- _d = false;
61
- const page = _c;
62
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
63
- }
64
- }
65
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
66
- finally {
67
- try {
68
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
69
- }
70
- finally { if (e_1) throw e_1.error; }
71
- }
72
- });
53
+ async *listByTenantPagingAll(bestPracticeName, options) {
54
+ for await (const page of this.listByTenantPagingPage(bestPracticeName, options)) {
55
+ yield* page;
56
+ }
73
57
  }
74
58
  /**
75
59
  * Get information about a Automanage best practice version
@@ -1 +1 @@
1
- {"version":3,"file":"bestPracticesVersions.js","sourceRoot":"","sources":["../../../src/operations/bestPracticesVersions.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,yDAAyD;AACzD,MAAa,yBAAyB;IAGpC;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,YAAY,CACjB,gBAAwB,EACxB,OAAyD;QAEzD,MAAM,IAAI,GAAG,IAAI,CAAC,qBAAqB,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;QACnE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,sBAAsB,CAAC,gBAAgB,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC1E,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,sBAAsB,CACnC,gBAAwB,EACxB,OAAyD,EACzD,SAAwB;;YAExB,IAAI,MAAiD,CAAC;YACtD,MAAM,GAAG,sBAAM,IAAI,CAAC,aAAa,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAA,CAAC;YAC7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CAAC,gBAAgB;QAC3B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,yBAAyB,GAA6B;IAC1D,IAAI,EACF,2EAA2E;IAC7E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAC9D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { BestPracticesVersions } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AutomanageClient } from \"../automanageClient.js\";\nimport {\n BestPractice,\n BestPracticesVersionsListByTenantOptionalParams,\n BestPracticesVersionsListByTenantResponse,\n BestPracticesVersionsGetOptionalParams,\n BestPracticesVersionsGetResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing BestPracticesVersions operations. */\nexport class BestPracticesVersionsImpl implements BestPracticesVersions {\n private readonly client: AutomanageClient;\n\n /**\n * Initialize a new instance of the class BestPracticesVersions class.\n * @param client Reference to the service client\n */\n constructor(client: AutomanageClient) {\n this.client = client;\n }\n\n /**\n * Retrieve a list of Automanage best practices versions\n * @param bestPracticeName The Automanage best practice name.\n * @param options The options parameters.\n */\n public listByTenant(\n bestPracticeName: string,\n options?: BestPracticesVersionsListByTenantOptionalParams\n ): PagedAsyncIterableIterator<BestPractice> {\n const iter = this.listByTenantPagingAll(bestPracticeName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByTenantPagingPage(bestPracticeName, options, settings);\n }\n };\n }\n\n private async *listByTenantPagingPage(\n bestPracticeName: string,\n options?: BestPracticesVersionsListByTenantOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<BestPractice[]> {\n let result: BestPracticesVersionsListByTenantResponse;\n result = await this._listByTenant(bestPracticeName, options);\n yield result.value || [];\n }\n\n private async *listByTenantPagingAll(\n bestPracticeName: string,\n options?: BestPracticesVersionsListByTenantOptionalParams\n ): AsyncIterableIterator<BestPractice> {\n for await (const page of this.listByTenantPagingPage(\n bestPracticeName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Get information about a Automanage best practice version\n * @param bestPracticeName The Automanage best practice name.\n * @param versionName The Automanage best practice version name.\n * @param options The options parameters.\n */\n get(\n bestPracticeName: string,\n versionName: string,\n options?: BestPracticesVersionsGetOptionalParams\n ): Promise<BestPracticesVersionsGetResponse> {\n return this.client.sendOperationRequest(\n { bestPracticeName, versionName, options },\n getOperationSpec\n );\n }\n\n /**\n * Retrieve a list of Automanage best practices versions\n * @param bestPracticeName The Automanage best practice name.\n * @param options The options parameters.\n */\n private _listByTenant(\n bestPracticeName: string,\n options?: BestPracticesVersionsListByTenantOptionalParams\n ): Promise<BestPracticesVersionsListByTenantResponse> {\n return this.client.sendOperationRequest(\n { bestPracticeName, options },\n listByTenantOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Automanage/bestPractices/{bestPracticeName}/versions/{versionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BestPractice\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.bestPracticeName,\n Parameters.versionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByTenantOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Automanage/bestPractices/{bestPracticeName}/versions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BestPracticeList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.bestPracticeName],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"bestPracticesVersions.js","sourceRoot":"","sources":["../../../src/operations/bestPracticesVersions.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,yDAAyD;AACzD,MAAa,yBAAyB;IACnB,MAAM,CAAmB;IAE1C;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,YAAY,CACjB,gBAAwB,EACxB,OAAyD;QAEzD,MAAM,IAAI,GAAG,IAAI,CAAC,qBAAqB,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;QACnE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;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,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,yBAAyB,GAA6B;IAC1D,IAAI,EACF,2EAA2E;IAC7E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAC9D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { BestPracticesVersions } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AutomanageClient } from \"../automanageClient.js\";\nimport {\n BestPractice,\n BestPracticesVersionsListByTenantOptionalParams,\n BestPracticesVersionsListByTenantResponse,\n BestPracticesVersionsGetOptionalParams,\n BestPracticesVersionsGetResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing BestPracticesVersions operations. */\nexport class BestPracticesVersionsImpl implements BestPracticesVersions {\n private readonly client: AutomanageClient;\n\n /**\n * Initialize a new instance of the class BestPracticesVersions class.\n * @param client Reference to the service client\n */\n constructor(client: AutomanageClient) {\n this.client = client;\n }\n\n /**\n * Retrieve a list of Automanage best practices versions\n * @param bestPracticeName The Automanage best practice name.\n * @param options The options parameters.\n */\n public listByTenant(\n bestPracticeName: string,\n options?: BestPracticesVersionsListByTenantOptionalParams\n ): PagedAsyncIterableIterator<BestPractice> {\n const iter = this.listByTenantPagingAll(bestPracticeName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByTenantPagingPage(bestPracticeName, options, settings);\n }\n };\n }\n\n private async *listByTenantPagingPage(\n bestPracticeName: string,\n options?: BestPracticesVersionsListByTenantOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<BestPractice[]> {\n let result: BestPracticesVersionsListByTenantResponse;\n result = await this._listByTenant(bestPracticeName, options);\n yield result.value || [];\n }\n\n private async *listByTenantPagingAll(\n bestPracticeName: string,\n options?: BestPracticesVersionsListByTenantOptionalParams\n ): AsyncIterableIterator<BestPractice> {\n for await (const page of this.listByTenantPagingPage(\n bestPracticeName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Get information about a Automanage best practice version\n * @param bestPracticeName The Automanage best practice name.\n * @param versionName The Automanage best practice version name.\n * @param options The options parameters.\n */\n get(\n bestPracticeName: string,\n versionName: string,\n options?: BestPracticesVersionsGetOptionalParams\n ): Promise<BestPracticesVersionsGetResponse> {\n return this.client.sendOperationRequest(\n { bestPracticeName, versionName, options },\n getOperationSpec\n );\n }\n\n /**\n * Retrieve a list of Automanage best practices versions\n * @param bestPracticeName The Automanage best practice name.\n * @param options The options parameters.\n */\n private _listByTenant(\n bestPracticeName: string,\n options?: BestPracticesVersionsListByTenantOptionalParams\n ): Promise<BestPracticesVersionsListByTenantResponse> {\n return this.client.sendOperationRequest(\n { bestPracticeName, options },\n listByTenantOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Automanage/bestPractices/{bestPracticeName}/versions/{versionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BestPractice\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.bestPracticeName,\n Parameters.versionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByTenantOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Automanage/bestPractices/{bestPracticeName}/versions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BestPracticeList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.bestPracticeName],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}