@azure/arm-securityinsight 1.0.0-beta.4 → 1.0.0-beta.5

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 (185) hide show
  1. package/CHANGELOG.md +118 -0
  2. package/dist/index.js +1116 -367
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/actionsCreateOrUpdateSample.js +1 -1
  7. package/dist-esm/samples-dev/actionsDeleteSample.js +1 -1
  8. package/dist-esm/samples-dev/actionsGetSample.js +1 -1
  9. package/dist-esm/samples-dev/actionsListByAlertRuleSample.js +1 -1
  10. package/dist-esm/samples-dev/alertRuleTemplatesGetSample.js +1 -1
  11. package/dist-esm/samples-dev/alertRuleTemplatesListSample.js +1 -1
  12. package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js +6 -5
  13. package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js.map +1 -1
  14. package/dist-esm/samples-dev/alertRulesDeleteSample.js +1 -1
  15. package/dist-esm/samples-dev/alertRulesGetSample.js +4 -4
  16. package/dist-esm/samples-dev/alertRulesListSample.js +1 -1
  17. package/dist-esm/samples-dev/automationRulesCreateOrUpdateSample.js +1 -1
  18. package/dist-esm/samples-dev/automationRulesDeleteSample.js +1 -1
  19. package/dist-esm/samples-dev/automationRulesGetSample.js +1 -1
  20. package/dist-esm/samples-dev/automationRulesListSample.js +1 -1
  21. package/dist-esm/samples-dev/bookmarkExpandSample.js +1 -1
  22. package/dist-esm/samples-dev/bookmarkRelationsCreateOrUpdateSample.js +1 -1
  23. package/dist-esm/samples-dev/bookmarkRelationsDeleteSample.js +1 -1
  24. package/dist-esm/samples-dev/bookmarkRelationsGetSample.js +1 -1
  25. package/dist-esm/samples-dev/bookmarkRelationsListSample.js +1 -1
  26. package/dist-esm/samples-dev/bookmarksCreateOrUpdateSample.js +1 -1
  27. package/dist-esm/samples-dev/bookmarksDeleteSample.js +1 -1
  28. package/dist-esm/samples-dev/bookmarksGetSample.js +1 -1
  29. package/dist-esm/samples-dev/bookmarksListSample.js +1 -1
  30. package/dist-esm/samples-dev/dataConnectorsCheckRequirementsPostSample.js +16 -16
  31. package/dist-esm/samples-dev/dataConnectorsConnectSample.js +2 -2
  32. package/dist-esm/samples-dev/dataConnectorsCreateOrUpdateSample.js +8 -8
  33. package/dist-esm/samples-dev/dataConnectorsDeleteSample.js +5 -5
  34. package/dist-esm/samples-dev/dataConnectorsDisconnectSample.js +1 -1
  35. package/dist-esm/samples-dev/dataConnectorsGetSample.js +20 -20
  36. package/dist-esm/samples-dev/dataConnectorsListSample.js +1 -1
  37. package/dist-esm/samples-dev/domainWhoisGetSample.js +1 -1
  38. package/dist-esm/samples-dev/entitiesExpandSample.js +1 -1
  39. package/dist-esm/samples-dev/entitiesGetInsightsSample.js +1 -1
  40. package/dist-esm/samples-dev/entitiesGetSample.js +20 -20
  41. package/dist-esm/samples-dev/entitiesGetTimelineListSample.js +1 -1
  42. package/dist-esm/samples-dev/entitiesListSample.js +1 -1
  43. package/dist-esm/samples-dev/entitiesQueriesSample.js +1 -1
  44. package/dist-esm/samples-dev/entitiesRelationsListSample.js +1 -1
  45. package/dist-esm/samples-dev/entityQueriesCreateOrUpdateSample.js +1 -1
  46. package/dist-esm/samples-dev/entityQueriesDeleteSample.js +1 -1
  47. package/dist-esm/samples-dev/entityQueriesGetSample.js +2 -2
  48. package/dist-esm/samples-dev/entityQueriesListSample.js +1 -1
  49. package/dist-esm/samples-dev/entityQueryTemplatesGetSample.js +1 -1
  50. package/dist-esm/samples-dev/entityQueryTemplatesListSample.js +1 -1
  51. package/dist-esm/samples-dev/entityRelationsGetRelationSample.js +1 -1
  52. package/dist-esm/samples-dev/fileImportsCreateSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/fileImportsCreateSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/fileImportsCreateSample.js +38 -0
  55. package/dist-esm/samples-dev/fileImportsCreateSample.js.map +1 -0
  56. package/dist-esm/samples-dev/fileImportsDeleteSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/fileImportsDeleteSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/fileImportsDeleteSample.js +32 -0
  59. package/dist-esm/samples-dev/fileImportsDeleteSample.js.map +1 -0
  60. package/dist-esm/samples-dev/fileImportsGetSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/fileImportsGetSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/fileImportsGetSample.js +32 -0
  63. package/dist-esm/samples-dev/fileImportsGetSample.js.map +1 -0
  64. package/dist-esm/samples-dev/fileImportsListSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/fileImportsListSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/fileImportsListSample.js +48 -0
  67. package/dist-esm/samples-dev/fileImportsListSample.js.map +1 -0
  68. package/dist-esm/samples-dev/incidentCommentsCreateOrUpdateSample.js +1 -1
  69. package/dist-esm/samples-dev/incidentCommentsDeleteSample.js +1 -1
  70. package/dist-esm/samples-dev/incidentCommentsGetSample.js +1 -1
  71. package/dist-esm/samples-dev/incidentCommentsListSample.js +1 -1
  72. package/dist-esm/samples-dev/incidentRelationsCreateOrUpdateSample.js +1 -1
  73. package/dist-esm/samples-dev/incidentRelationsDeleteSample.js +1 -1
  74. package/dist-esm/samples-dev/incidentRelationsGetSample.js +1 -1
  75. package/dist-esm/samples-dev/incidentRelationsListSample.js +1 -1
  76. package/dist-esm/samples-dev/incidentsCreateOrUpdateSample.js +1 -1
  77. package/dist-esm/samples-dev/incidentsCreateTeamSample.js +1 -1
  78. package/dist-esm/samples-dev/incidentsDeleteSample.js +1 -1
  79. package/dist-esm/samples-dev/incidentsGetSample.js +1 -1
  80. package/dist-esm/samples-dev/incidentsListAlertsSample.js +1 -1
  81. package/dist-esm/samples-dev/incidentsListBookmarksSample.js +1 -1
  82. package/dist-esm/samples-dev/incidentsListEntitiesSample.js +1 -1
  83. package/dist-esm/samples-dev/incidentsListSample.js +1 -1
  84. package/dist-esm/samples-dev/incidentsRunPlaybookSample.js +1 -1
  85. package/dist-esm/samples-dev/ipGeodataGetSample.js +1 -1
  86. package/dist-esm/samples-dev/metadataCreateSample.js +2 -2
  87. package/dist-esm/samples-dev/metadataDeleteSample.js +1 -1
  88. package/dist-esm/samples-dev/metadataGetSample.js +1 -1
  89. package/dist-esm/samples-dev/metadataListSample.js +2 -2
  90. package/dist-esm/samples-dev/metadataUpdateSample.js +1 -1
  91. package/dist-esm/samples-dev/officeConsentsDeleteSample.js +1 -1
  92. package/dist-esm/samples-dev/officeConsentsGetSample.js +1 -1
  93. package/dist-esm/samples-dev/officeConsentsListSample.js +1 -1
  94. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  95. package/dist-esm/samples-dev/productSettingsDeleteSample.js +1 -1
  96. package/dist-esm/samples-dev/productSettingsGetSample.js +1 -1
  97. package/dist-esm/samples-dev/productSettingsListSample.js +1 -1
  98. package/dist-esm/samples-dev/productSettingsUpdateSample.js +1 -1
  99. package/dist-esm/samples-dev/securityMlAnalyticsSettingsCreateOrUpdateSample.js +1 -1
  100. package/dist-esm/samples-dev/securityMlAnalyticsSettingsDeleteSample.js +1 -1
  101. package/dist-esm/samples-dev/securityMlAnalyticsSettingsGetSample.js +1 -1
  102. package/dist-esm/samples-dev/securityMlAnalyticsSettingsListSample.js +1 -1
  103. package/dist-esm/samples-dev/sentinelOnboardingStatesCreateSample.js +1 -1
  104. package/dist-esm/samples-dev/sentinelOnboardingStatesDeleteSample.js +1 -1
  105. package/dist-esm/samples-dev/sentinelOnboardingStatesGetSample.js +1 -1
  106. package/dist-esm/samples-dev/sentinelOnboardingStatesListSample.js +1 -1
  107. package/dist-esm/samples-dev/sourceControlListRepositoriesSample.js +1 -1
  108. package/dist-esm/samples-dev/sourceControlsCreateSample.js +1 -1
  109. package/dist-esm/samples-dev/sourceControlsDeleteSample.js +1 -1
  110. package/dist-esm/samples-dev/sourceControlsGetSample.js +1 -1
  111. package/dist-esm/samples-dev/sourceControlsListSample.js +1 -1
  112. package/dist-esm/samples-dev/threatIntelligenceIndicatorAppendTagsSample.js +1 -1
  113. package/dist-esm/samples-dev/threatIntelligenceIndicatorCreateIndicatorSample.js +1 -1
  114. package/dist-esm/samples-dev/threatIntelligenceIndicatorCreateSample.js +1 -1
  115. package/dist-esm/samples-dev/threatIntelligenceIndicatorDeleteSample.js +1 -1
  116. package/dist-esm/samples-dev/threatIntelligenceIndicatorGetSample.js +1 -1
  117. package/dist-esm/samples-dev/threatIntelligenceIndicatorMetricsListSample.js +1 -1
  118. package/dist-esm/samples-dev/threatIntelligenceIndicatorQueryIndicatorsSample.js +1 -1
  119. package/dist-esm/samples-dev/threatIntelligenceIndicatorReplaceTagsSample.js +1 -1
  120. package/dist-esm/samples-dev/threatIntelligenceIndicatorsListSample.js +1 -1
  121. package/dist-esm/samples-dev/watchlistItemsCreateOrUpdateSample.js +1 -1
  122. package/dist-esm/samples-dev/watchlistItemsDeleteSample.js +1 -1
  123. package/dist-esm/samples-dev/watchlistItemsGetSample.js +1 -1
  124. package/dist-esm/samples-dev/watchlistItemsListSample.js +1 -1
  125. package/dist-esm/samples-dev/watchlistsCreateOrUpdateSample.js +2 -2
  126. package/dist-esm/samples-dev/watchlistsDeleteSample.js +1 -1
  127. package/dist-esm/samples-dev/watchlistsGetSample.js +1 -1
  128. package/dist-esm/samples-dev/watchlistsListSample.js +1 -1
  129. package/dist-esm/src/lroImpl.d.ts +16 -0
  130. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  131. package/dist-esm/src/lroImpl.js +29 -0
  132. package/dist-esm/src/lroImpl.js.map +1 -0
  133. package/dist-esm/src/models/index.d.ts +482 -20
  134. package/dist-esm/src/models/index.d.ts.map +1 -1
  135. package/dist-esm/src/models/index.js +98 -8
  136. package/dist-esm/src/models/index.js.map +1 -1
  137. package/dist-esm/src/models/mappers.d.ts +82 -63
  138. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  139. package/dist-esm/src/models/mappers.js +511 -201
  140. package/dist-esm/src/models/mappers.js.map +1 -1
  141. package/dist-esm/src/models/parameters.d.ts +2 -0
  142. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  143. package/dist-esm/src/models/parameters.js +16 -2
  144. package/dist-esm/src/models/parameters.js.map +1 -1
  145. package/dist-esm/src/operations/fileImports.d.ts +72 -0
  146. package/dist-esm/src/operations/fileImports.d.ts.map +1 -0
  147. package/dist-esm/src/operations/fileImports.js +303 -0
  148. package/dist-esm/src/operations/fileImports.js.map +1 -0
  149. package/dist-esm/src/operations/index.d.ts +1 -0
  150. package/dist-esm/src/operations/index.d.ts.map +1 -1
  151. package/dist-esm/src/operations/index.js +1 -0
  152. package/dist-esm/src/operations/index.js.map +1 -1
  153. package/dist-esm/src/operationsInterfaces/fileImports.d.ts +47 -0
  154. package/dist-esm/src/operationsInterfaces/fileImports.d.ts.map +1 -0
  155. package/dist-esm/src/operationsInterfaces/fileImports.js +9 -0
  156. package/dist-esm/src/operationsInterfaces/fileImports.js.map +1 -0
  157. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  158. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  159. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  160. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  161. package/dist-esm/src/securityInsights.d.ts +2 -1
  162. package/dist-esm/src/securityInsights.d.ts.map +1 -1
  163. package/dist-esm/src/securityInsights.js +4 -3
  164. package/dist-esm/src/securityInsights.js.map +1 -1
  165. package/dist-esm/test/securityinsights_examples.spec.d.ts +4 -0
  166. package/dist-esm/test/securityinsights_examples.spec.d.ts.map +1 -0
  167. package/dist-esm/test/securityinsights_examples.spec.js +98 -0
  168. package/dist-esm/test/securityinsights_examples.spec.js.map +1 -0
  169. package/package.json +6 -4
  170. package/review/arm-securityinsight.api.md +283 -3
  171. package/src/lroImpl.ts +34 -0
  172. package/src/models/index.ts +526 -19
  173. package/src/models/mappers.ts +546 -201
  174. package/src/models/parameters.ts +18 -1
  175. package/src/operations/fileImports.ts +410 -0
  176. package/src/operations/index.ts +1 -0
  177. package/src/operationsInterfaces/fileImports.ts +95 -0
  178. package/src/operationsInterfaces/index.ts +1 -0
  179. package/src/securityInsights.ts +6 -2
  180. package/types/arm-securityinsight.d.ts +548 -5
  181. package/types/tsdoc-metadata.json +1 -1
  182. package/dist-esm/test/sampleTest.d.ts +0 -2
  183. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  184. package/dist-esm/test/sampleTest.js +0 -38
  185. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileImportsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/fileImportsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAc,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,MAAM,CAAC;QACjC,MAAM,aAAa,GAAG,aAAa,CAAC;QACpC,MAAM,YAAY,GAAG,sCAAsC,CAAC;QAC5D,MAAM,UAAU,GAAe;YAC7B,WAAW,EAAE,eAAe;YAC5B,UAAU,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC3E,aAAa,EAAE,uBAAuB;YACtC,MAAM,EAAE,UAAU;SACnB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,MAAM,CAC5C,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=fileImportsDeleteSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileImportsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/fileImportsDeleteSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { SecurityInsights } from "@azure/arm-securityinsight";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Delete the file import.
15
+ *
16
+ * @summary Delete the file import.
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/fileImports/DeleteFileImport.json
18
+ */
19
+ function deleteAFileImport() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0";
22
+ const resourceGroupName = "myRg";
23
+ const workspaceName = "myWorkspace";
24
+ const fileImportId = "73e01a99-5cd7-4139-a149-9f2736ff2ab5";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new SecurityInsights(credential, subscriptionId);
27
+ const result = yield client.fileImports.beginDeleteAndWait(resourceGroupName, workspaceName, fileImportId);
28
+ console.log(result);
29
+ });
30
+ }
31
+ deleteAFileImport().catch(console.error);
32
+ //# sourceMappingURL=fileImportsDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileImportsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/fileImportsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,MAAM,CAAC;QACjC,MAAM,aAAa,GAAG,aAAa,CAAC;QACpC,MAAM,YAAY,GAAG,sCAAsC,CAAC;QAC5D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,kBAAkB,CACxD,iBAAiB,EACjB,aAAa,EACb,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=fileImportsGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileImportsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/fileImportsGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { SecurityInsights } from "@azure/arm-securityinsight";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Gets a file import.
15
+ *
16
+ * @summary Gets a file import.
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/fileImports/GetFileImportById.json
18
+ */
19
+ function getAFileImport() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0";
22
+ const resourceGroupName = "myRg";
23
+ const workspaceName = "myWorkspace";
24
+ const fileImportId = "73e01a99-5cd7-4139-a149-9f2736ff2ab5";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new SecurityInsights(credential, subscriptionId);
27
+ const result = yield client.fileImports.get(resourceGroupName, workspaceName, fileImportId);
28
+ console.log(result);
29
+ });
30
+ }
31
+ getAFileImport().catch(console.error);
32
+ //# sourceMappingURL=fileImportsGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileImportsGetSample.js","sourceRoot":"","sources":["../../samples-dev/fileImportsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,cAAc;;QAC3B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,MAAM,CAAC;QACjC,MAAM,aAAa,GAAG,aAAa,CAAC;QACpC,MAAM,YAAY,GAAG,sCAAsC,CAAC;QAC5D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,GAAG,CACzC,iBAAiB,EACjB,aAAa,EACb,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,cAAc,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=fileImportsListSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileImportsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/fileImportsListSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,48 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { SecurityInsights } from "@azure/arm-securityinsight";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Gets all file imports.
15
+ *
16
+ * @summary Gets all file imports.
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/fileImports/GetFileImports.json
18
+ */
19
+ function getAllFileImports() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0";
23
+ const resourceGroupName = "myRg";
24
+ const workspaceName = "myWorkspace";
25
+ const orderby = "properties/createdTimeUtc desc";
26
+ const top = 1;
27
+ const options = { orderby, top };
28
+ const credential = new DefaultAzureCredential();
29
+ const client = new SecurityInsights(credential, subscriptionId);
30
+ const resArray = new Array();
31
+ try {
32
+ for (var _b = __asyncValues(client.fileImports.list(resourceGroupName, workspaceName, options)), _c; _c = yield _b.next(), !_c.done;) {
33
+ let item = _c.value;
34
+ resArray.push(item);
35
+ }
36
+ }
37
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
38
+ finally {
39
+ try {
40
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
41
+ }
42
+ finally { if (e_1) throw e_1.error; }
43
+ }
44
+ console.log(resArray);
45
+ });
46
+ }
47
+ getAllFileImports().catch(console.error);
48
+ //# sourceMappingURL=fileImportsListSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileImportsListSample.js","sourceRoot":"","sources":["../../samples-dev/fileImportsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iBAAiB;;;QAC9B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,MAAM,CAAC;QACjC,MAAM,aAAa,GAAG,aAAa,CAAC;QACpC,MAAM,OAAO,GAAG,gCAAgC,CAAC;QACjD,MAAM,GAAG,GAAG,CAAC,CAAC;QACd,MAAM,OAAO,GAAkC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC;QAChE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,WAAW,CAAC,IAAI,CAC5C,iBAAiB,EACjB,aAAa,EACb,OAAO,CACR,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Creates or updates the incident comment.
15
15
  *
16
16
  * @summary Creates or updates the incident comment.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/comments/CreateIncidentComment.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/comments/CreateIncidentComment.json
18
18
  */
19
19
  function createsOrUpdatesAnIncidentComment() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Delete the incident comment.
15
15
  *
16
16
  * @summary Delete the incident comment.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/comments/DeleteIncidentComment.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/comments/DeleteIncidentComment.json
18
18
  */
19
19
  function deleteTheIncidentComment() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets an incident comment.
15
15
  *
16
16
  * @summary Gets an incident comment.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/comments/GetIncidentCommentById.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/comments/GetIncidentCommentById.json
18
18
  */
19
19
  function getAnIncidentComment() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets all incident comments.
15
15
  *
16
16
  * @summary Gets all incident comments.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/comments/GetAllIncidentComments.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/comments/GetAllIncidentComments.json
18
18
  */
19
19
  function getAllIncidentComments() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Creates or updates the incident relation.
15
15
  *
16
16
  * @summary Creates or updates the incident relation.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/relations/CreateIncidentRelation.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/relations/CreateIncidentRelation.json
18
18
  */
19
19
  function createsOrUpdatesAnIncidentRelation() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Delete the incident relation.
15
15
  *
16
16
  * @summary Delete the incident relation.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/relations/DeleteIncidentRelation.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/relations/DeleteIncidentRelation.json
18
18
  */
19
19
  function deleteTheIncidentRelation() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets an incident relation.
15
15
  *
16
16
  * @summary Gets an incident relation.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/relations/GetIncidentRelationByName.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/relations/GetIncidentRelationByName.json
18
18
  */
19
19
  function getAnIncidentRelation() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets all incident relations.
15
15
  *
16
16
  * @summary Gets all incident relations.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/relations/GetAllIncidentRelations.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/relations/GetAllIncidentRelations.json
18
18
  */
19
19
  function getAllIncidentRelations() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Creates or updates the incident.
15
15
  *
16
16
  * @summary Creates or updates the incident.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/CreateIncident.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/CreateIncident.json
18
18
  */
19
19
  function createsOrUpdatesAnIncident() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Creates a Microsoft team to investigate the incident by sharing information and insights between participants.
15
15
  *
16
16
  * @summary Creates a Microsoft team to investigate the incident by sharing information and insights between participants.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/CreateTeam.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/CreateTeam.json
18
18
  */
19
19
  function createsIncidentTeamsGroup() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Delete the incident.
15
15
  *
16
16
  * @summary Delete the incident.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/DeleteIncident.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/DeleteIncident.json
18
18
  */
19
19
  function deleteAnIncident() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets an incident.
15
15
  *
16
16
  * @summary Gets an incident.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/GetIncidentById.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/GetIncidentById.json
18
18
  */
19
19
  function getAnIncident() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets all incident alerts.
15
15
  *
16
16
  * @summary Gets all incident alerts.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/GetAllIncidentAlerts.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/GetAllIncidentAlerts.json
18
18
  */
19
19
  function getAllIncidentAlerts() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets all incident bookmarks.
15
15
  *
16
16
  * @summary Gets all incident bookmarks.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/GetAllIncidentBookmarks.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/GetAllIncidentBookmarks.json
18
18
  */
19
19
  function getAllIncidentBookmarks() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets all incident related entities.
15
15
  *
16
16
  * @summary Gets all incident related entities.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/entities/GetAllIncidentEntities.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/entities/GetAllIncidentEntities.json
18
18
  */
19
19
  function getsAllIncidentRelatedEntities() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets all incidents.
15
15
  *
16
16
  * @summary Gets all incidents.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/incidents/GetIncidents.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/incidents/GetIncidents.json
18
18
  */
19
19
  function getAllIncidents() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Triggers playbook on a specific incident
15
15
  *
16
16
  * @summary Triggers playbook on a specific incident
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/manualTrigger/Incidents_RunPlaybook.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/manualTrigger/Incidents_RunPlaybook.json
18
18
  */
19
19
  function incidentsRunPlaybook() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get geodata for a single IP address
15
15
  *
16
16
  * @summary Get geodata for a single IP address
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/enrichment/GetGeodataByIp.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/enrichment/GetGeodataByIp.json
18
18
  */
19
19
  function getGeodataForASingleIPAddress() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Create a Metadata.
15
15
  *
16
16
  * @summary Create a Metadata.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/metadata/PutMetadata.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/metadata/PutMetadata.json
18
18
  */
19
19
  function createOrUpdateFullMetadata() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -94,7 +94,7 @@ createOrUpdateFullMetadata().catch(console.error);
94
94
  * This sample demonstrates how to Create a Metadata.
95
95
  *
96
96
  * @summary Create a Metadata.
97
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/metadata/PutMetadataMinimal.json
97
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/metadata/PutMetadataMinimal.json
98
98
  */
99
99
  function createOrUpdateMinimalMetadata() {
100
100
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Delete a Metadata.
15
15
  *
16
16
  * @summary Delete a Metadata.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/metadata/DeleteMetadata.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/metadata/DeleteMetadata.json
18
18
  */
19
19
  function deleteMetadata() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get a Metadata.
15
15
  *
16
16
  * @summary Get a Metadata.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/metadata/GetMetadata.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/metadata/GetMetadata.json
18
18
  */
19
19
  function getSingleMetadataByName() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to List of all metadata
15
15
  *
16
16
  * @summary List of all metadata
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/metadata/GetAllMetadataOData.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/metadata/GetAllMetadataOData.json
18
18
  */
19
19
  function getAllMetadataWithODataFilterOrOrderbyOrSkipOrTop() {
20
20
  var e_1, _a;
@@ -46,7 +46,7 @@ getAllMetadataWithODataFilterOrOrderbyOrSkipOrTop().catch(console.error);
46
46
  * This sample demonstrates how to List of all metadata
47
47
  *
48
48
  * @summary List of all metadata
49
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/metadata/GetAllMetadata.json
49
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/metadata/GetAllMetadata.json
50
50
  */
51
51
  function getAllMetadata() {
52
52
  var e_2, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Update an existing Metadata.
15
15
  *
16
16
  * @summary Update an existing Metadata.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/metadata/PatchMetadata.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/metadata/PatchMetadata.json
18
18
  */
19
19
  function updateMetadata() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Delete the office365 consent.
15
15
  *
16
16
  * @summary Delete the office365 consent.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/officeConsents/DeleteOfficeConsents.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/officeConsents/DeleteOfficeConsents.json
18
18
  */
19
19
  function deleteAnOfficeConsent() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets an office365 consent.
15
15
  *
16
16
  * @summary Gets an office365 consent.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/officeConsents/GetOfficeConsentsById.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/officeConsents/GetOfficeConsentsById.json
18
18
  */
19
19
  function getAnOfficeConsent() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets all office365 consents.
15
15
  *
16
16
  * @summary Gets all office365 consents.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/officeConsents/GetOfficeConsents.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/officeConsents/GetOfficeConsents.json
18
18
  */
19
19
  function getAllOfficeConsents() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Lists all operations available Azure Security Insights Resource Provider.
15
15
  *
16
16
  * @summary Lists all operations available Azure Security Insights Resource Provider.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/operations/ListOperations.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/operations/ListOperations.json
18
18
  */
19
19
  function getAllOperations() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Delete setting of the product.
15
15
  *
16
16
  * @summary Delete setting of the product.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/settings/DeleteEyesOnSetting.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/settings/DeleteEyesOnSetting.json
18
18
  */
19
19
  function deleteEyesOnSettings() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets a setting.
15
15
  *
16
16
  * @summary Gets a setting.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/settings/GetEyesOnSetting.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/settings/GetEyesOnSetting.json
18
18
  */
19
19
  function getEyesOnSettings() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to List of all the settings
15
15
  *
16
16
  * @summary List of all the settings
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/settings/GetAllSettings.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/settings/GetAllSettings.json
18
18
  */
19
19
  function getAllSettings() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Updates setting.
15
15
  *
16
16
  * @summary Updates setting.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/settings/UpdateEyesOnSetting.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/settings/UpdateEyesOnSetting.json
18
18
  */
19
19
  function updateEyesOnSettings() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Creates or updates the Security ML Analytics Settings.
15
15
  *
16
16
  * @summary Creates or updates the Security ML Analytics Settings.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/securityMLAnalyticsSettings/CreateAnomalySecurityMLAnalyticsSetting.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/securityMLAnalyticsSettings/CreateAnomalySecurityMLAnalyticsSetting.json
18
18
  */
19
19
  function createsOrUpdatesAAnomalySecurityMlAnalyticsSettings() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Delete the Security ML Analytics Settings.
15
15
  *
16
16
  * @summary Delete the Security ML Analytics Settings.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/securityMLAnalyticsSettings/DeleteSecurityMLAnalyticsSetting.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/securityMLAnalyticsSettings/DeleteSecurityMLAnalyticsSetting.json
18
18
  */
19
19
  function deleteASecurityMlAnalyticsSettings() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets the Security ML Analytics Settings.
15
15
  *
16
16
  * @summary Gets the Security ML Analytics Settings.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/securityMLAnalyticsSettings/GetAnomalySecurityMLAnalyticsSetting.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/securityMLAnalyticsSettings/GetAnomalySecurityMLAnalyticsSetting.json
18
18
  */
19
19
  function getAAnomalySecurityMlAnalyticsSettings() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets all Security ML Analytics Settings.
15
15
  *
16
16
  * @summary Gets all Security ML Analytics Settings.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/securityMLAnalyticsSettings/GetAllSecurityMLAnalyticsSettings.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/securityMLAnalyticsSettings/GetAllSecurityMLAnalyticsSettings.json
18
18
  */
19
19
  function getAllSecurityMlAnalyticsSettings() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Create Sentinel onboarding state
15
15
  *
16
16
  * @summary Create Sentinel onboarding state
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/onboardingStates/CreateSentinelOnboardingState.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/onboardingStates/CreateSentinelOnboardingState.json
18
18
  */
19
19
  function createSentinelOnboardingState() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Delete Sentinel onboarding state
15
15
  *
16
16
  * @summary Delete Sentinel onboarding state
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/onboardingStates/DeleteSentinelOnboardingState.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/onboardingStates/DeleteSentinelOnboardingState.json
18
18
  */
19
19
  function deleteSentinelOnboardingState() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get Sentinel onboarding state
15
15
  *
16
16
  * @summary Get Sentinel onboarding state
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/onboardingStates/GetSentinelOnboardingState.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/onboardingStates/GetSentinelOnboardingState.json
18
18
  */
19
19
  function getSentinelOnboardingState() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets all Sentinel onboarding states
15
15
  *
16
16
  * @summary Gets all Sentinel onboarding states
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/onboardingStates/GetAllSentinelOnboardingStates.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/onboardingStates/GetAllSentinelOnboardingStates.json
18
18
  */
19
19
  function getAllSentinelOnboardingStates() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets a list of repositories metadata.
15
15
  *
16
16
  * @summary Gets a list of repositories metadata.
17
- * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-07-01-preview/examples/repositories/GetRepositories.json
17
+ * x-ms-original-file: specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-09-01-preview/examples/repositories/GetRepositories.json
18
18
  */
19
19
  function getRepositoryList() {
20
20
  var e_1, _a;