@azure/arm-security 4.0.0-beta.1 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (560) hide show
  1. package/CHANGELOG.md +6 -11
  2. package/README.md +4 -0
  3. package/dist/index.js +20327 -574
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/src/index.d.ts +0 -1
  8. package/dist-esm/src/index.d.ts.map +1 -1
  9. package/dist-esm/src/index.js +0 -1
  10. package/dist-esm/src/index.js.map +1 -1
  11. package/dist-esm/src/lroImpl.d.ts +16 -0
  12. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  13. package/dist-esm/src/lroImpl.js +29 -0
  14. package/dist-esm/src/lroImpl.js.map +1 -0
  15. package/dist-esm/src/models/index.d.ts +6009 -182
  16. package/dist-esm/src/models/index.d.ts.map +1 -1
  17. package/dist-esm/src/models/index.js +838 -0
  18. package/dist-esm/src/models/index.js.map +1 -1
  19. package/dist-esm/src/models/mappers.d.ts +322 -13
  20. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  21. package/dist-esm/src/models/mappers.js +7571 -195
  22. package/dist-esm/src/models/mappers.js.map +1 -1
  23. package/dist-esm/src/models/parameters.d.ts +101 -4
  24. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  25. package/dist-esm/src/models/parameters.js +855 -14
  26. package/dist-esm/src/models/parameters.js.map +1 -1
  27. package/dist-esm/src/operations/adaptiveApplicationControls.d.ts +37 -0
  28. package/dist-esm/src/operations/adaptiveApplicationControls.d.ts.map +1 -0
  29. package/dist-esm/src/operations/adaptiveApplicationControls.js +140 -0
  30. package/dist-esm/src/operations/adaptiveApplicationControls.js.map +1 -0
  31. package/dist-esm/src/operations/adaptiveNetworkHardenings.d.ts +83 -0
  32. package/dist-esm/src/operations/adaptiveNetworkHardenings.d.ts.map +1 -0
  33. package/dist-esm/src/operations/adaptiveNetworkHardenings.js +304 -0
  34. package/dist-esm/src/operations/adaptiveNetworkHardenings.js.map +1 -0
  35. package/dist-esm/src/operations/advancedThreatProtection.d.ts +26 -0
  36. package/dist-esm/src/operations/advancedThreatProtection.d.ts.map +1 -0
  37. package/dist-esm/src/operations/advancedThreatProtection.js +82 -0
  38. package/dist-esm/src/operations/advancedThreatProtection.js.map +1 -0
  39. package/dist-esm/src/operations/alerts.d.ts +171 -0
  40. package/dist-esm/src/operations/alerts.d.ts.map +1 -0
  41. package/dist-esm/src/operations/alerts.js +759 -0
  42. package/dist-esm/src/operations/alerts.js.map +1 -0
  43. package/dist-esm/src/operations/alertsSuppressionRules.d.ts +51 -0
  44. package/dist-esm/src/operations/alertsSuppressionRules.d.ts.map +1 -0
  45. package/dist-esm/src/operations/alertsSuppressionRules.js +209 -0
  46. package/dist-esm/src/operations/alertsSuppressionRules.js.map +1 -0
  47. package/dist-esm/src/operations/allowedConnections.d.ts +59 -0
  48. package/dist-esm/src/operations/allowedConnections.d.ts.map +1 -0
  49. package/dist-esm/src/operations/allowedConnections.js +261 -0
  50. package/dist-esm/src/operations/allowedConnections.js.map +1 -0
  51. package/dist-esm/src/operations/assessments.d.ts +65 -0
  52. package/dist-esm/src/operations/assessments.d.ts.map +1 -0
  53. package/dist-esm/src/operations/assessments.js +223 -0
  54. package/dist-esm/src/operations/assessments.js.map +1 -0
  55. package/dist-esm/src/operations/assessmentsMetadata.d.ts +76 -0
  56. package/dist-esm/src/operations/assessmentsMetadata.d.ts.map +1 -0
  57. package/dist-esm/src/operations/assessmentsMetadata.js +329 -0
  58. package/dist-esm/src/operations/assessmentsMetadata.js.map +1 -0
  59. package/dist-esm/src/operations/autoProvisioningSettings.d.ts +45 -0
  60. package/dist-esm/src/operations/autoProvisioningSettings.d.ts.map +1 -0
  61. package/dist-esm/src/operations/autoProvisioningSettings.js +183 -0
  62. package/dist-esm/src/operations/autoProvisioningSettings.js.map +1 -0
  63. package/dist-esm/src/operations/automations.d.ts +96 -0
  64. package/dist-esm/src/operations/automations.d.ts.map +1 -0
  65. package/dist-esm/src/operations/automations.js +371 -0
  66. package/dist-esm/src/operations/automations.js.map +1 -0
  67. package/dist-esm/src/operations/complianceResults.d.ts +48 -0
  68. package/dist-esm/src/operations/complianceResults.d.ts.map +1 -0
  69. package/dist-esm/src/operations/complianceResults.js +158 -0
  70. package/dist-esm/src/operations/complianceResults.js.map +1 -0
  71. package/dist-esm/src/operations/compliances.d.ts +50 -0
  72. package/dist-esm/src/operations/compliances.d.ts.map +1 -0
  73. package/dist-esm/src/operations/compliances.js +160 -0
  74. package/dist-esm/src/operations/compliances.js.map +1 -0
  75. package/dist-esm/src/operations/connectors.d.ts +53 -0
  76. package/dist-esm/src/operations/connectors.d.ts.map +1 -0
  77. package/dist-esm/src/operations/connectors.js +212 -0
  78. package/dist-esm/src/operations/connectors.js.map +1 -0
  79. package/dist-esm/src/operations/customAssessmentAutomations.d.ts +82 -0
  80. package/dist-esm/src/operations/customAssessmentAutomations.d.ts.map +1 -0
  81. package/dist-esm/src/operations/{standards.js → customAssessmentAutomations.js} +115 -110
  82. package/dist-esm/src/operations/customAssessmentAutomations.js.map +1 -0
  83. package/dist-esm/src/operations/customEntityStoreAssignments.d.ts +85 -0
  84. package/dist-esm/src/operations/customEntityStoreAssignments.d.ts.map +1 -0
  85. package/dist-esm/src/operations/{assignments.js → customEntityStoreAssignments.js} +124 -109
  86. package/dist-esm/src/operations/customEntityStoreAssignments.js.map +1 -0
  87. package/dist-esm/src/operations/deviceSecurityGroups.d.ts +60 -0
  88. package/dist-esm/src/operations/deviceSecurityGroups.d.ts.map +1 -0
  89. package/dist-esm/src/operations/deviceSecurityGroups.js +218 -0
  90. package/dist-esm/src/operations/deviceSecurityGroups.js.map +1 -0
  91. package/dist-esm/src/operations/discoveredSecuritySolutions.d.ts +58 -0
  92. package/dist-esm/src/operations/discoveredSecuritySolutions.d.ts.map +1 -0
  93. package/dist-esm/src/operations/discoveredSecuritySolutions.js +260 -0
  94. package/dist-esm/src/operations/discoveredSecuritySolutions.js.map +1 -0
  95. package/dist-esm/src/operations/externalSecuritySolutions.d.ts +58 -0
  96. package/dist-esm/src/operations/externalSecuritySolutions.d.ts.map +1 -0
  97. package/dist-esm/src/operations/externalSecuritySolutions.js +260 -0
  98. package/dist-esm/src/operations/externalSecuritySolutions.js.map +1 -0
  99. package/dist-esm/src/operations/index.d.ts +49 -2
  100. package/dist-esm/src/operations/index.d.ts.map +1 -1
  101. package/dist-esm/src/operations/index.js +49 -2
  102. package/dist-esm/src/operations/index.js.map +1 -1
  103. package/dist-esm/src/operations/informationProtectionPolicies.d.ts +60 -0
  104. package/dist-esm/src/operations/informationProtectionPolicies.d.ts.map +1 -0
  105. package/dist-esm/src/operations/informationProtectionPolicies.js +202 -0
  106. package/dist-esm/src/operations/informationProtectionPolicies.js.map +1 -0
  107. package/dist-esm/src/operations/ingestionSettings.d.ts +68 -0
  108. package/dist-esm/src/operations/ingestionSettings.d.ts.map +1 -0
  109. package/dist-esm/src/operations/ingestionSettings.js +271 -0
  110. package/dist-esm/src/operations/ingestionSettings.js.map +1 -0
  111. package/dist-esm/src/operations/iotSecuritySolution.d.ts +91 -0
  112. package/dist-esm/src/operations/iotSecuritySolution.d.ts.map +1 -0
  113. package/dist-esm/src/operations/iotSecuritySolution.js +372 -0
  114. package/dist-esm/src/operations/iotSecuritySolution.js.map +1 -0
  115. package/dist-esm/src/operations/iotSecuritySolutionAnalytics.d.ts +29 -0
  116. package/dist-esm/src/operations/iotSecuritySolutionAnalytics.d.ts.map +1 -0
  117. package/dist-esm/src/operations/iotSecuritySolutionAnalytics.js +85 -0
  118. package/dist-esm/src/operations/iotSecuritySolutionAnalytics.js.map +1 -0
  119. package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.d.ts +60 -0
  120. package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.d.ts.map +1 -0
  121. package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.js +205 -0
  122. package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.js.map +1 -0
  123. package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.d.ts +53 -0
  124. package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.d.ts.map +1 -0
  125. package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.js +181 -0
  126. package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.js.map +1 -0
  127. package/dist-esm/src/operations/jitNetworkAccessPolicies.d.ts +133 -0
  128. package/dist-esm/src/operations/jitNetworkAccessPolicies.d.ts.map +1 -0
  129. package/dist-esm/src/operations/jitNetworkAccessPolicies.js +585 -0
  130. package/dist-esm/src/operations/jitNetworkAccessPolicies.js.map +1 -0
  131. package/dist-esm/src/operations/locations.d.ts +41 -0
  132. package/dist-esm/src/operations/locations.d.ts.map +1 -0
  133. package/dist-esm/src/operations/locations.js +155 -0
  134. package/dist-esm/src/operations/locations.js.map +1 -0
  135. package/dist-esm/src/operations/mdeOnboardings.d.ts +23 -0
  136. package/dist-esm/src/operations/mdeOnboardings.d.ts.map +1 -0
  137. package/dist-esm/src/operations/mdeOnboardings.js +69 -0
  138. package/dist-esm/src/operations/mdeOnboardings.js.map +1 -0
  139. package/dist-esm/src/operations/operations.d.ts +32 -0
  140. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  141. package/dist-esm/src/operations/operations.js +120 -0
  142. package/dist-esm/src/operations/operations.js.map +1 -0
  143. package/dist-esm/src/operations/pricings.d.ts +31 -0
  144. package/dist-esm/src/operations/pricings.d.ts.map +1 -0
  145. package/dist-esm/src/operations/pricings.js +105 -0
  146. package/dist-esm/src/operations/pricings.js.map +1 -0
  147. package/dist-esm/src/operations/regulatoryComplianceAssessments.d.ts +46 -0
  148. package/dist-esm/src/operations/regulatoryComplianceAssessments.d.ts.map +1 -0
  149. package/dist-esm/src/operations/regulatoryComplianceAssessments.js +183 -0
  150. package/dist-esm/src/operations/regulatoryComplianceAssessments.js.map +1 -0
  151. package/dist-esm/src/operations/regulatoryComplianceControls.d.ts +42 -0
  152. package/dist-esm/src/operations/regulatoryComplianceControls.d.ts.map +1 -0
  153. package/dist-esm/src/operations/regulatoryComplianceControls.js +166 -0
  154. package/dist-esm/src/operations/regulatoryComplianceControls.js.map +1 -0
  155. package/dist-esm/src/operations/regulatoryComplianceStandards.d.ts +38 -0
  156. package/dist-esm/src/operations/regulatoryComplianceStandards.d.ts.map +1 -0
  157. package/dist-esm/src/operations/regulatoryComplianceStandards.js +152 -0
  158. package/dist-esm/src/operations/regulatoryComplianceStandards.js.map +1 -0
  159. package/dist-esm/src/operations/secureScoreControlDefinitions.d.ts +52 -0
  160. package/dist-esm/src/operations/secureScoreControlDefinitions.d.ts.map +1 -0
  161. package/dist-esm/src/operations/secureScoreControlDefinitions.js +221 -0
  162. package/dist-esm/src/operations/secureScoreControlDefinitions.js.map +1 -0
  163. package/dist-esm/src/operations/secureScoreControls.d.ts +56 -0
  164. package/dist-esm/src/operations/secureScoreControls.d.ts.map +1 -0
  165. package/dist-esm/src/operations/secureScoreControls.js +234 -0
  166. package/dist-esm/src/operations/secureScoreControls.js.map +1 -0
  167. package/dist-esm/src/operations/secureScores.d.ts +40 -0
  168. package/dist-esm/src/operations/secureScores.d.ts.map +1 -0
  169. package/dist-esm/src/operations/secureScores.js +154 -0
  170. package/dist-esm/src/operations/secureScores.js.map +1 -0
  171. package/dist-esm/src/operations/securityConnectors.d.ts +95 -0
  172. package/dist-esm/src/operations/securityConnectors.d.ts.map +1 -0
  173. package/dist-esm/src/operations/securityConnectors.js +371 -0
  174. package/dist-esm/src/operations/securityConnectors.js.map +1 -0
  175. package/dist-esm/src/operations/securityContacts.d.ts +58 -0
  176. package/dist-esm/src/operations/securityContacts.d.ts.map +1 -0
  177. package/dist-esm/src/operations/securityContacts.js +240 -0
  178. package/dist-esm/src/operations/securityContacts.js.map +1 -0
  179. package/dist-esm/src/operations/securitySolutions.d.ts +40 -0
  180. package/dist-esm/src/operations/securitySolutions.d.ts.map +1 -0
  181. package/dist-esm/src/operations/securitySolutions.js +156 -0
  182. package/dist-esm/src/operations/securitySolutions.js.map +1 -0
  183. package/dist-esm/src/operations/securitySolutionsReferenceDataOperations.d.ts +23 -0
  184. package/dist-esm/src/operations/securitySolutionsReferenceDataOperations.d.ts.map +1 -0
  185. package/dist-esm/src/operations/securitySolutionsReferenceDataOperations.js +73 -0
  186. package/dist-esm/src/operations/securitySolutionsReferenceDataOperations.js.map +1 -0
  187. package/dist-esm/src/operations/serverVulnerabilityAssessmentOperations.d.ts +65 -0
  188. package/dist-esm/src/operations/serverVulnerabilityAssessmentOperations.d.ts.map +1 -0
  189. package/dist-esm/src/operations/serverVulnerabilityAssessmentOperations.js +239 -0
  190. package/dist-esm/src/operations/serverVulnerabilityAssessmentOperations.js.map +1 -0
  191. package/dist-esm/src/operations/settings.d.ts +45 -0
  192. package/dist-esm/src/operations/settings.d.ts.map +1 -0
  193. package/dist-esm/src/operations/settings.js +183 -0
  194. package/dist-esm/src/operations/settings.js.map +1 -0
  195. package/dist-esm/src/operations/softwareInventories.d.ts +76 -0
  196. package/dist-esm/src/operations/softwareInventories.d.ts.map +1 -0
  197. package/dist-esm/src/operations/softwareInventories.js +306 -0
  198. package/dist-esm/src/operations/softwareInventories.js.map +1 -0
  199. package/dist-esm/src/operations/sqlVulnerabilityAssessmentBaselineRules.d.ts +51 -0
  200. package/dist-esm/src/operations/sqlVulnerabilityAssessmentBaselineRules.d.ts.map +1 -0
  201. package/dist-esm/src/operations/sqlVulnerabilityAssessmentBaselineRules.js +154 -0
  202. package/dist-esm/src/operations/sqlVulnerabilityAssessmentBaselineRules.js.map +1 -0
  203. package/dist-esm/src/operations/sqlVulnerabilityAssessmentScanResults.d.ts +30 -0
  204. package/dist-esm/src/operations/sqlVulnerabilityAssessmentScanResults.d.ts.map +1 -0
  205. package/dist-esm/src/operations/sqlVulnerabilityAssessmentScanResults.js +81 -0
  206. package/dist-esm/src/operations/sqlVulnerabilityAssessmentScanResults.js.map +1 -0
  207. package/dist-esm/src/operations/sqlVulnerabilityAssessmentScans.d.ts +28 -0
  208. package/dist-esm/src/operations/sqlVulnerabilityAssessmentScans.d.ts.map +1 -0
  209. package/dist-esm/src/operations/sqlVulnerabilityAssessmentScans.js +74 -0
  210. package/dist-esm/src/operations/sqlVulnerabilityAssessmentScans.js.map +1 -0
  211. package/dist-esm/src/operations/subAssessments.d.ts +81 -0
  212. package/dist-esm/src/operations/subAssessments.d.ts.map +1 -0
  213. package/dist-esm/src/operations/subAssessments.js +278 -0
  214. package/dist-esm/src/operations/subAssessments.js.map +1 -0
  215. package/dist-esm/src/operations/tasks.d.ts +104 -0
  216. package/dist-esm/src/operations/tasks.d.ts.map +1 -0
  217. package/dist-esm/src/operations/tasks.js +462 -0
  218. package/dist-esm/src/operations/tasks.js.map +1 -0
  219. package/dist-esm/src/operations/topology.d.ts +58 -0
  220. package/dist-esm/src/operations/topology.d.ts.map +1 -0
  221. package/dist-esm/src/operations/topology.js +260 -0
  222. package/dist-esm/src/operations/topology.js.map +1 -0
  223. package/dist-esm/src/operations/workspaceSettings.d.ts +62 -0
  224. package/dist-esm/src/operations/workspaceSettings.d.ts.map +1 -0
  225. package/dist-esm/src/operations/workspaceSettings.js +244 -0
  226. package/dist-esm/src/operations/workspaceSettings.js.map +1 -0
  227. package/dist-esm/src/operationsInterfaces/adaptiveApplicationControls.d.ts +29 -0
  228. package/dist-esm/src/operationsInterfaces/adaptiveApplicationControls.d.ts.map +1 -0
  229. package/dist-esm/src/operationsInterfaces/adaptiveApplicationControls.js +9 -0
  230. package/dist-esm/src/operationsInterfaces/adaptiveApplicationControls.js.map +1 -0
  231. package/dist-esm/src/operationsInterfaces/adaptiveNetworkHardenings.d.ts +52 -0
  232. package/dist-esm/src/operationsInterfaces/adaptiveNetworkHardenings.d.ts.map +1 -0
  233. package/dist-esm/src/operationsInterfaces/adaptiveNetworkHardenings.js +9 -0
  234. package/dist-esm/src/operationsInterfaces/adaptiveNetworkHardenings.js.map +1 -0
  235. package/dist-esm/src/operationsInterfaces/advancedThreatProtection.d.ts +18 -0
  236. package/dist-esm/src/operationsInterfaces/advancedThreatProtection.d.ts.map +1 -0
  237. package/dist-esm/src/operationsInterfaces/advancedThreatProtection.js +9 -0
  238. package/dist-esm/src/operationsInterfaces/advancedThreatProtection.js.map +1 -0
  239. package/dist-esm/src/operationsInterfaces/alerts.d.ts +100 -0
  240. package/dist-esm/src/operationsInterfaces/alerts.d.ts.map +1 -0
  241. package/dist-esm/src/operationsInterfaces/{standards.js → alerts.js} +1 -1
  242. package/dist-esm/src/operationsInterfaces/alerts.js.map +1 -0
  243. package/dist-esm/src/operationsInterfaces/alertsSuppressionRules.d.ts +30 -0
  244. package/dist-esm/src/operationsInterfaces/alertsSuppressionRules.d.ts.map +1 -0
  245. package/dist-esm/src/operationsInterfaces/alertsSuppressionRules.js +9 -0
  246. package/dist-esm/src/operationsInterfaces/alertsSuppressionRules.js.map +1 -0
  247. package/dist-esm/src/operationsInterfaces/allowedConnections.d.ts +25 -0
  248. package/dist-esm/src/operationsInterfaces/allowedConnections.d.ts.map +1 -0
  249. package/dist-esm/src/operationsInterfaces/allowedConnections.js +9 -0
  250. package/dist-esm/src/operationsInterfaces/allowedConnections.js.map +1 -0
  251. package/dist-esm/src/operationsInterfaces/assessments.d.ts +38 -0
  252. package/dist-esm/src/operationsInterfaces/assessments.d.ts.map +1 -0
  253. package/dist-esm/src/operationsInterfaces/{assignments.js → assessments.js} +1 -1
  254. package/dist-esm/src/operationsInterfaces/assessments.js.map +1 -0
  255. package/dist-esm/src/operationsInterfaces/assessmentsMetadata.d.ts +42 -0
  256. package/dist-esm/src/operationsInterfaces/assessmentsMetadata.d.ts.map +1 -0
  257. package/dist-esm/src/operationsInterfaces/assessmentsMetadata.js +9 -0
  258. package/dist-esm/src/operationsInterfaces/assessmentsMetadata.js.map +1 -0
  259. package/dist-esm/src/operationsInterfaces/autoProvisioningSettings.d.ts +24 -0
  260. package/dist-esm/src/operationsInterfaces/autoProvisioningSettings.d.ts.map +1 -0
  261. package/dist-esm/src/operationsInterfaces/autoProvisioningSettings.js +9 -0
  262. package/dist-esm/src/operationsInterfaces/autoProvisioningSettings.js.map +1 -0
  263. package/dist-esm/src/operationsInterfaces/automations.d.ts +56 -0
  264. package/dist-esm/src/operationsInterfaces/automations.d.ts.map +1 -0
  265. package/dist-esm/src/operationsInterfaces/automations.js +9 -0
  266. package/dist-esm/src/operationsInterfaces/automations.js.map +1 -0
  267. package/dist-esm/src/operationsInterfaces/complianceResults.d.ts +21 -0
  268. package/dist-esm/src/operationsInterfaces/complianceResults.d.ts.map +1 -0
  269. package/dist-esm/src/operationsInterfaces/complianceResults.js +9 -0
  270. package/dist-esm/src/operationsInterfaces/complianceResults.js.map +1 -0
  271. package/dist-esm/src/operationsInterfaces/compliances.d.ts +23 -0
  272. package/dist-esm/src/operationsInterfaces/compliances.d.ts.map +1 -0
  273. package/dist-esm/src/operationsInterfaces/compliances.js +9 -0
  274. package/dist-esm/src/operationsInterfaces/compliances.js.map +1 -0
  275. package/dist-esm/src/operationsInterfaces/connectors.d.ts +32 -0
  276. package/dist-esm/src/operationsInterfaces/connectors.d.ts.map +1 -0
  277. package/dist-esm/src/operationsInterfaces/connectors.js +9 -0
  278. package/dist-esm/src/operationsInterfaces/connectors.js.map +1 -0
  279. package/dist-esm/src/operationsInterfaces/customAssessmentAutomations.d.ts +44 -0
  280. package/dist-esm/src/operationsInterfaces/customAssessmentAutomations.d.ts.map +1 -0
  281. package/dist-esm/src/operationsInterfaces/customAssessmentAutomations.js +9 -0
  282. package/dist-esm/src/operationsInterfaces/customAssessmentAutomations.js.map +1 -0
  283. package/dist-esm/src/operationsInterfaces/customEntityStoreAssignments.d.ts +47 -0
  284. package/dist-esm/src/operationsInterfaces/customEntityStoreAssignments.d.ts.map +1 -0
  285. package/dist-esm/src/operationsInterfaces/customEntityStoreAssignments.js +9 -0
  286. package/dist-esm/src/operationsInterfaces/customEntityStoreAssignments.js.map +1 -0
  287. package/dist-esm/src/operationsInterfaces/deviceSecurityGroups.d.ts +37 -0
  288. package/dist-esm/src/operationsInterfaces/deviceSecurityGroups.d.ts.map +1 -0
  289. package/dist-esm/src/operationsInterfaces/deviceSecurityGroups.js +9 -0
  290. package/dist-esm/src/operationsInterfaces/deviceSecurityGroups.js.map +1 -0
  291. package/dist-esm/src/operationsInterfaces/discoveredSecuritySolutions.d.ts +24 -0
  292. package/dist-esm/src/operationsInterfaces/discoveredSecuritySolutions.d.ts.map +1 -0
  293. package/dist-esm/src/operationsInterfaces/discoveredSecuritySolutions.js +9 -0
  294. package/dist-esm/src/operationsInterfaces/discoveredSecuritySolutions.js.map +1 -0
  295. package/dist-esm/src/operationsInterfaces/externalSecuritySolutions.d.ts +24 -0
  296. package/dist-esm/src/operationsInterfaces/externalSecuritySolutions.d.ts.map +1 -0
  297. package/dist-esm/src/operationsInterfaces/externalSecuritySolutions.js +9 -0
  298. package/dist-esm/src/operationsInterfaces/externalSecuritySolutions.js.map +1 -0
  299. package/dist-esm/src/operationsInterfaces/index.d.ts +49 -2
  300. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  301. package/dist-esm/src/operationsInterfaces/index.js +49 -2
  302. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  303. package/dist-esm/src/operationsInterfaces/informationProtectionPolicies.d.ts +33 -0
  304. package/dist-esm/src/operationsInterfaces/informationProtectionPolicies.d.ts.map +1 -0
  305. package/dist-esm/src/operationsInterfaces/informationProtectionPolicies.js +9 -0
  306. package/dist-esm/src/operationsInterfaces/informationProtectionPolicies.js.map +1 -0
  307. package/dist-esm/src/operationsInterfaces/ingestionSettings.d.ts +46 -0
  308. package/dist-esm/src/operationsInterfaces/ingestionSettings.d.ts.map +1 -0
  309. package/dist-esm/src/operationsInterfaces/ingestionSettings.js +9 -0
  310. package/dist-esm/src/operationsInterfaces/ingestionSettings.js.map +1 -0
  311. package/dist-esm/src/operationsInterfaces/iotSecuritySolution.d.ts +53 -0
  312. package/dist-esm/src/operationsInterfaces/iotSecuritySolution.d.ts.map +1 -0
  313. package/dist-esm/src/operationsInterfaces/iotSecuritySolution.js +9 -0
  314. package/dist-esm/src/operationsInterfaces/iotSecuritySolution.js.map +1 -0
  315. package/dist-esm/src/operationsInterfaces/iotSecuritySolutionAnalytics.d.ts +21 -0
  316. package/dist-esm/src/operationsInterfaces/iotSecuritySolutionAnalytics.d.ts.map +1 -0
  317. package/dist-esm/src/operationsInterfaces/iotSecuritySolutionAnalytics.js +9 -0
  318. package/dist-esm/src/operationsInterfaces/iotSecuritySolutionAnalytics.js.map +1 -0
  319. package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsAggregatedAlert.d.ts +33 -0
  320. package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsAggregatedAlert.d.ts.map +1 -0
  321. package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsAggregatedAlert.js +9 -0
  322. package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsAggregatedAlert.js.map +1 -0
  323. package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsRecommendation.d.ts +25 -0
  324. package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsRecommendation.d.ts.map +1 -0
  325. package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsRecommendation.js +9 -0
  326. package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsRecommendation.js.map +1 -0
  327. package/dist-esm/src/operationsInterfaces/jitNetworkAccessPolicies.d.ts +64 -0
  328. package/dist-esm/src/operationsInterfaces/jitNetworkAccessPolicies.d.ts.map +1 -0
  329. package/dist-esm/src/operationsInterfaces/jitNetworkAccessPolicies.js +9 -0
  330. package/dist-esm/src/operationsInterfaces/jitNetworkAccessPolicies.js.map +1 -0
  331. package/dist-esm/src/operationsInterfaces/locations.d.ts +18 -0
  332. package/dist-esm/src/operationsInterfaces/locations.d.ts.map +1 -0
  333. package/dist-esm/src/operationsInterfaces/locations.js +9 -0
  334. package/dist-esm/src/operationsInterfaces/locations.js.map +1 -0
  335. package/dist-esm/src/operationsInterfaces/mdeOnboardings.d.ts +15 -0
  336. package/dist-esm/src/operationsInterfaces/mdeOnboardings.d.ts.map +1 -0
  337. package/dist-esm/src/operationsInterfaces/mdeOnboardings.js +9 -0
  338. package/dist-esm/src/operationsInterfaces/mdeOnboardings.js.map +1 -0
  339. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  340. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  341. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  342. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  343. package/dist-esm/src/operationsInterfaces/pricings.d.ts +23 -0
  344. package/dist-esm/src/operationsInterfaces/pricings.d.ts.map +1 -0
  345. package/dist-esm/src/operationsInterfaces/pricings.js +9 -0
  346. package/dist-esm/src/operationsInterfaces/pricings.js.map +1 -0
  347. package/dist-esm/src/operationsInterfaces/regulatoryComplianceAssessments.d.ts +21 -0
  348. package/dist-esm/src/operationsInterfaces/regulatoryComplianceAssessments.d.ts.map +1 -0
  349. package/dist-esm/src/operationsInterfaces/regulatoryComplianceAssessments.js +9 -0
  350. package/dist-esm/src/operationsInterfaces/regulatoryComplianceAssessments.js.map +1 -0
  351. package/dist-esm/src/operationsInterfaces/regulatoryComplianceControls.d.ts +19 -0
  352. package/dist-esm/src/operationsInterfaces/regulatoryComplianceControls.d.ts.map +1 -0
  353. package/dist-esm/src/operationsInterfaces/regulatoryComplianceControls.js +9 -0
  354. package/dist-esm/src/operationsInterfaces/regulatoryComplianceControls.js.map +1 -0
  355. package/dist-esm/src/operationsInterfaces/regulatoryComplianceStandards.d.ts +17 -0
  356. package/dist-esm/src/operationsInterfaces/regulatoryComplianceStandards.d.ts.map +1 -0
  357. package/dist-esm/src/operationsInterfaces/regulatoryComplianceStandards.js +9 -0
  358. package/dist-esm/src/operationsInterfaces/regulatoryComplianceStandards.js.map +1 -0
  359. package/dist-esm/src/operationsInterfaces/secureScoreControlDefinitions.d.ts +17 -0
  360. package/dist-esm/src/operationsInterfaces/secureScoreControlDefinitions.d.ts.map +1 -0
  361. package/dist-esm/src/operationsInterfaces/secureScoreControlDefinitions.js +9 -0
  362. package/dist-esm/src/operationsInterfaces/secureScoreControlDefinitions.js.map +1 -0
  363. package/dist-esm/src/operationsInterfaces/secureScoreControls.d.ts +18 -0
  364. package/dist-esm/src/operationsInterfaces/secureScoreControls.d.ts.map +1 -0
  365. package/dist-esm/src/operationsInterfaces/secureScoreControls.js +9 -0
  366. package/dist-esm/src/operationsInterfaces/secureScoreControls.js.map +1 -0
  367. package/dist-esm/src/operationsInterfaces/secureScores.d.ts +19 -0
  368. package/dist-esm/src/operationsInterfaces/secureScores.d.ts.map +1 -0
  369. package/dist-esm/src/operationsInterfaces/secureScores.js +9 -0
  370. package/dist-esm/src/operationsInterfaces/secureScores.js.map +1 -0
  371. package/dist-esm/src/operationsInterfaces/securityConnectors.d.ts +55 -0
  372. package/dist-esm/src/operationsInterfaces/securityConnectors.d.ts.map +1 -0
  373. package/dist-esm/src/operationsInterfaces/securityConnectors.js +9 -0
  374. package/dist-esm/src/operationsInterfaces/securityConnectors.js.map +1 -0
  375. package/dist-esm/src/operationsInterfaces/securityContacts.d.ts +37 -0
  376. package/dist-esm/src/operationsInterfaces/securityContacts.d.ts.map +1 -0
  377. package/dist-esm/src/operationsInterfaces/securityContacts.js +9 -0
  378. package/dist-esm/src/operationsInterfaces/securityContacts.js.map +1 -0
  379. package/dist-esm/src/operationsInterfaces/securitySolutions.d.ts +19 -0
  380. package/dist-esm/src/operationsInterfaces/securitySolutions.d.ts.map +1 -0
  381. package/dist-esm/src/operationsInterfaces/securitySolutions.js +9 -0
  382. package/dist-esm/src/operationsInterfaces/securitySolutions.js.map +1 -0
  383. package/dist-esm/src/operationsInterfaces/securitySolutionsReferenceDataOperations.d.ts +15 -0
  384. package/dist-esm/src/operationsInterfaces/securitySolutionsReferenceDataOperations.d.ts.map +1 -0
  385. package/dist-esm/src/operationsInterfaces/securitySolutionsReferenceDataOperations.js +9 -0
  386. package/dist-esm/src/operationsInterfaces/securitySolutionsReferenceDataOperations.js.map +1 -0
  387. package/dist-esm/src/operationsInterfaces/serverVulnerabilityAssessmentOperations.d.ts +57 -0
  388. package/dist-esm/src/operationsInterfaces/serverVulnerabilityAssessmentOperations.d.ts.map +1 -0
  389. package/dist-esm/src/operationsInterfaces/serverVulnerabilityAssessmentOperations.js +9 -0
  390. package/dist-esm/src/operationsInterfaces/serverVulnerabilityAssessmentOperations.js.map +1 -0
  391. package/dist-esm/src/operationsInterfaces/settings.d.ts +24 -0
  392. package/dist-esm/src/operationsInterfaces/settings.d.ts.map +1 -0
  393. package/dist-esm/src/operationsInterfaces/settings.js +9 -0
  394. package/dist-esm/src/operationsInterfaces/settings.js.map +1 -0
  395. package/dist-esm/src/operationsInterfaces/softwareInventories.d.ts +32 -0
  396. package/dist-esm/src/operationsInterfaces/softwareInventories.d.ts.map +1 -0
  397. package/dist-esm/src/operationsInterfaces/softwareInventories.js +9 -0
  398. package/dist-esm/src/operationsInterfaces/softwareInventories.js.map +1 -0
  399. package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentBaselineRules.d.ts +43 -0
  400. package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentBaselineRules.d.ts.map +1 -0
  401. package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentBaselineRules.js +9 -0
  402. package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentBaselineRules.js.map +1 -0
  403. package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScanResults.d.ts +22 -0
  404. package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScanResults.d.ts.map +1 -0
  405. package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScanResults.js +9 -0
  406. package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScanResults.js.map +1 -0
  407. package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScans.d.ts +20 -0
  408. package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScans.d.ts.map +1 -0
  409. package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScans.js +9 -0
  410. package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScans.js.map +1 -0
  411. package/dist-esm/src/operationsInterfaces/subAssessments.d.ts +33 -0
  412. package/dist-esm/src/operationsInterfaces/subAssessments.d.ts.map +1 -0
  413. package/dist-esm/src/operationsInterfaces/subAssessments.js +9 -0
  414. package/dist-esm/src/operationsInterfaces/subAssessments.js.map +1 -0
  415. package/dist-esm/src/operationsInterfaces/tasks.d.ts +53 -0
  416. package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
  417. package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
  418. package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
  419. package/dist-esm/src/operationsInterfaces/topology.d.ts +24 -0
  420. package/dist-esm/src/operationsInterfaces/topology.d.ts.map +1 -0
  421. package/dist-esm/src/operationsInterfaces/topology.js +9 -0
  422. package/dist-esm/src/operationsInterfaces/topology.js.map +1 -0
  423. package/dist-esm/src/operationsInterfaces/workspaceSettings.d.ts +40 -0
  424. package/dist-esm/src/operationsInterfaces/workspaceSettings.d.ts.map +1 -0
  425. package/dist-esm/src/operationsInterfaces/workspaceSettings.js +9 -0
  426. package/dist-esm/src/operationsInterfaces/workspaceSettings.js.map +1 -0
  427. package/dist-esm/src/securityCenter.d.ts +58 -6
  428. package/dist-esm/src/securityCenter.d.ts.map +1 -1
  429. package/dist-esm/src/securityCenter.js +88 -7
  430. package/dist-esm/src/securityCenter.js.map +1 -1
  431. package/package.json +10 -8
  432. package/review/arm-security.api.md +5199 -135
  433. package/src/index.ts +0 -1
  434. package/src/lroImpl.ts +34 -0
  435. package/src/models/index.ts +7015 -195
  436. package/src/models/mappers.ts +8411 -212
  437. package/src/models/parameters.ts +977 -15
  438. package/src/operations/adaptiveApplicationControls.ts +186 -0
  439. package/src/operations/adaptiveNetworkHardenings.ts +437 -0
  440. package/src/operations/advancedThreatProtection.ts +112 -0
  441. package/src/operations/alerts.ts +956 -0
  442. package/src/operations/alertsSuppressionRules.ts +257 -0
  443. package/src/operations/allowedConnections.ts +303 -0
  444. package/src/operations/assessments.ts +282 -0
  445. package/src/operations/assessmentsMetadata.ts +398 -0
  446. package/src/operations/autoProvisioningSettings.ts +222 -0
  447. package/src/operations/automations.ts +458 -0
  448. package/src/operations/complianceResults.ts +194 -0
  449. package/src/operations/compliances.ts +195 -0
  450. package/src/operations/connectors.ts +260 -0
  451. package/src/operations/{standards.ts → customAssessmentAutomations.ts} +181 -171
  452. package/src/operations/customEntityStoreAssignments.ts +421 -0
  453. package/src/operations/deviceSecurityGroups.ts +276 -0
  454. package/src/operations/discoveredSecuritySolutions.ts +302 -0
  455. package/src/operations/externalSecuritySolutions.ts +302 -0
  456. package/src/operations/index.ts +49 -2
  457. package/src/operations/informationProtectionPolicies.ts +252 -0
  458. package/src/operations/ingestionSettings.ts +339 -0
  459. package/src/operations/iotSecuritySolution.ts +463 -0
  460. package/src/operations/iotSecuritySolutionAnalytics.ts +116 -0
  461. package/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.ts +269 -0
  462. package/src/operations/iotSecuritySolutionsAnalyticsRecommendation.ts +234 -0
  463. package/src/operations/jitNetworkAccessPolicies.ts +718 -0
  464. package/src/operations/locations.ts +177 -0
  465. package/src/operations/mdeOnboardings.ts +89 -0
  466. package/src/operations/operations.ts +137 -0
  467. package/src/operations/pricings.ts +138 -0
  468. package/src/operations/regulatoryComplianceAssessments.ts +248 -0
  469. package/src/operations/regulatoryComplianceControls.ts +211 -0
  470. package/src/operations/regulatoryComplianceStandards.ts +181 -0
  471. package/src/operations/secureScoreControlDefinitions.ts +251 -0
  472. package/src/operations/secureScoreControls.ts +276 -0
  473. package/src/operations/secureScores.ts +182 -0
  474. package/src/operations/securityConnectors.ts +458 -0
  475. package/src/operations/securityContacts.ts +299 -0
  476. package/src/operations/securitySolutions.ts +185 -0
  477. package/src/operations/securitySolutionsReferenceDataOperations.ts +97 -0
  478. package/src/operations/serverVulnerabilityAssessmentOperations.ts +325 -0
  479. package/src/operations/settings.ts +222 -0
  480. package/src/operations/softwareInventories.ts +404 -0
  481. package/src/operations/sqlVulnerabilityAssessmentBaselineRules.ts +220 -0
  482. package/src/operations/sqlVulnerabilityAssessmentScanResults.ts +115 -0
  483. package/src/operations/sqlVulnerabilityAssessmentScans.ts +106 -0
  484. package/src/operations/subAssessments.ts +346 -0
  485. package/src/operations/tasks.ts +556 -0
  486. package/src/operations/topology.ts +301 -0
  487. package/src/operations/workspaceSettings.ts +303 -0
  488. package/src/operationsInterfaces/adaptiveApplicationControls.ts +58 -0
  489. package/src/operationsInterfaces/adaptiveNetworkHardenings.ts +97 -0
  490. package/src/operationsInterfaces/advancedThreatProtection.ts +39 -0
  491. package/src/operationsInterfaces/alerts.ts +169 -0
  492. package/src/operationsInterfaces/alertsSuppressionRules.ts +59 -0
  493. package/src/operationsInterfaces/allowedConnections.ts +49 -0
  494. package/src/operationsInterfaces/assessments.ts +72 -0
  495. package/src/operationsInterfaces/assessmentsMetadata.ts +79 -0
  496. package/src/operationsInterfaces/autoProvisioningSettings.ts +49 -0
  497. package/src/operationsInterfaces/automations.ts +99 -0
  498. package/src/operationsInterfaces/complianceResults.ts +42 -0
  499. package/src/operationsInterfaces/compliances.ts +44 -0
  500. package/src/operationsInterfaces/connectors.ts +61 -0
  501. package/src/operationsInterfaces/customAssessmentAutomations.ts +81 -0
  502. package/src/operationsInterfaces/customEntityStoreAssignments.ts +84 -0
  503. package/src/operationsInterfaces/deviceSecurityGroups.ts +70 -0
  504. package/src/operationsInterfaces/discoveredSecuritySolutions.ts +47 -0
  505. package/src/operationsInterfaces/externalSecuritySolutions.ts +47 -0
  506. package/src/operationsInterfaces/index.ts +49 -2
  507. package/src/operationsInterfaces/informationProtectionPolicies.ts +62 -0
  508. package/src/operationsInterfaces/ingestionSettings.ts +85 -0
  509. package/src/operationsInterfaces/iotSecuritySolution.ts +97 -0
  510. package/src/operationsInterfaces/iotSecuritySolutionAnalytics.ts +42 -0
  511. package/src/operationsInterfaces/iotSecuritySolutionsAnalyticsAggregatedAlert.ts +62 -0
  512. package/src/operationsInterfaces/iotSecuritySolutionsAnalyticsRecommendation.ts +48 -0
  513. package/src/operationsInterfaces/jitNetworkAccessPolicies.ts +115 -0
  514. package/src/operationsInterfaces/locations.ts +34 -0
  515. package/src/operationsInterfaces/mdeOnboardings.ts +32 -0
  516. package/src/operationsInterfaces/operations.ts +22 -0
  517. package/src/operationsInterfaces/pricings.ts +46 -0
  518. package/src/operationsInterfaces/regulatoryComplianceAssessments.ts +44 -0
  519. package/src/operationsInterfaces/regulatoryComplianceControls.ts +40 -0
  520. package/src/operationsInterfaces/regulatoryComplianceStandards.ts +36 -0
  521. package/src/operationsInterfaces/secureScoreControlDefinitions.ts +34 -0
  522. package/src/operationsInterfaces/secureScoreControls.ts +36 -0
  523. package/src/operationsInterfaces/secureScores.ts +38 -0
  524. package/src/operationsInterfaces/securityConnectors.ts +98 -0
  525. package/src/operationsInterfaces/securityContacts.ts +72 -0
  526. package/src/operationsInterfaces/securitySolutions.ts +39 -0
  527. package/src/operationsInterfaces/securitySolutionsReferenceDataOperations.ts +32 -0
  528. package/src/operationsInterfaces/serverVulnerabilityAssessmentOperations.ts +103 -0
  529. package/src/operationsInterfaces/settings.ts +50 -0
  530. package/src/operationsInterfaces/softwareInventories.ts +62 -0
  531. package/src/operationsInterfaces/sqlVulnerabilityAssessmentBaselineRules.ts +84 -0
  532. package/src/operationsInterfaces/sqlVulnerabilityAssessmentScanResults.ts +46 -0
  533. package/src/operationsInterfaces/sqlVulnerabilityAssessmentScans.ts +42 -0
  534. package/src/operationsInterfaces/subAssessments.ts +60 -0
  535. package/src/operationsInterfaces/tasks.ts +97 -0
  536. package/src/operationsInterfaces/topology.ts +47 -0
  537. package/src/operationsInterfaces/workspaceSettings.ts +75 -0
  538. package/src/securityCenter.ts +286 -9
  539. package/types/arm-security.d.ts +8424 -287
  540. package/types/tsdoc-metadata.json +1 -1
  541. package/dist-esm/src/operations/assignments.d.ts +0 -82
  542. package/dist-esm/src/operations/assignments.d.ts.map +0 -1
  543. package/dist-esm/src/operations/assignments.js.map +0 -1
  544. package/dist-esm/src/operations/standards.d.ts +0 -82
  545. package/dist-esm/src/operations/standards.d.ts.map +0 -1
  546. package/dist-esm/src/operations/standards.js.map +0 -1
  547. package/dist-esm/src/operationsInterfaces/assignments.d.ts +0 -44
  548. package/dist-esm/src/operationsInterfaces/assignments.d.ts.map +0 -1
  549. package/dist-esm/src/operationsInterfaces/assignments.js.map +0 -1
  550. package/dist-esm/src/operationsInterfaces/standards.d.ts +0 -44
  551. package/dist-esm/src/operationsInterfaces/standards.d.ts.map +0 -1
  552. package/dist-esm/src/operationsInterfaces/standards.js.map +0 -1
  553. package/dist-esm/src/securityCenterContext.d.ts +0 -16
  554. package/dist-esm/src/securityCenterContext.d.ts.map +0 -1
  555. package/dist-esm/src/securityCenterContext.js +0 -49
  556. package/dist-esm/src/securityCenterContext.js.map +0 -1
  557. package/src/operations/assignments.ts +0 -401
  558. package/src/operationsInterfaces/assignments.ts +0 -80
  559. package/src/operationsInterfaces/standards.ts +0 -80
  560. package/src/securityCenterContext.ts +0 -70
@@ -0,0 +1,759 @@
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ import { LroEngine } from "@azure/core-lro";
13
+ import { LroImpl } from "../lroImpl";
14
+ /// <reference lib="esnext.asynciterable" />
15
+ /** Class containing Alerts operations. */
16
+ export class AlertsImpl {
17
+ /**
18
+ * Initialize a new instance of the class Alerts class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * List all the alerts that are associated with the subscription
26
+ * @param options The options parameters.
27
+ */
28
+ list(options) {
29
+ const iter = this.listPagingAll(options);
30
+ return {
31
+ next() {
32
+ return iter.next();
33
+ },
34
+ [Symbol.asyncIterator]() {
35
+ return this;
36
+ },
37
+ byPage: () => {
38
+ return this.listPagingPage(options);
39
+ }
40
+ };
41
+ }
42
+ listPagingPage(options) {
43
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
44
+ let result = yield __await(this._list(options));
45
+ yield yield __await(result.value || []);
46
+ let continuationToken = result.nextLink;
47
+ while (continuationToken) {
48
+ result = yield __await(this._listNext(continuationToken, options));
49
+ continuationToken = result.nextLink;
50
+ yield yield __await(result.value || []);
51
+ }
52
+ });
53
+ }
54
+ listPagingAll(options) {
55
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
56
+ var e_1, _a;
57
+ try {
58
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
59
+ const page = _c.value;
60
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
61
+ }
62
+ }
63
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
64
+ finally {
65
+ try {
66
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
67
+ }
68
+ finally { if (e_1) throw e_1.error; }
69
+ }
70
+ });
71
+ }
72
+ /**
73
+ * List all the alerts that are associated with the resource group
74
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
75
+ * case insensitive.
76
+ * @param options The options parameters.
77
+ */
78
+ listByResourceGroup(resourceGroupName, options) {
79
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
80
+ return {
81
+ next() {
82
+ return iter.next();
83
+ },
84
+ [Symbol.asyncIterator]() {
85
+ return this;
86
+ },
87
+ byPage: () => {
88
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
89
+ }
90
+ };
91
+ }
92
+ listByResourceGroupPagingPage(resourceGroupName, options) {
93
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
94
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
95
+ yield yield __await(result.value || []);
96
+ let continuationToken = result.nextLink;
97
+ while (continuationToken) {
98
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
99
+ continuationToken = result.nextLink;
100
+ yield yield __await(result.value || []);
101
+ }
102
+ });
103
+ }
104
+ listByResourceGroupPagingAll(resourceGroupName, options) {
105
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
106
+ var e_2, _a;
107
+ try {
108
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
109
+ const page = _c.value;
110
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
111
+ }
112
+ }
113
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
114
+ finally {
115
+ try {
116
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
117
+ }
118
+ finally { if (e_2) throw e_2.error; }
119
+ }
120
+ });
121
+ }
122
+ /**
123
+ * List all the alerts that are associated with the subscription that are stored in a specific location
124
+ * @param options The options parameters.
125
+ */
126
+ listSubscriptionLevelByRegion(options) {
127
+ const iter = this.listSubscriptionLevelByRegionPagingAll(options);
128
+ return {
129
+ next() {
130
+ return iter.next();
131
+ },
132
+ [Symbol.asyncIterator]() {
133
+ return this;
134
+ },
135
+ byPage: () => {
136
+ return this.listSubscriptionLevelByRegionPagingPage(options);
137
+ }
138
+ };
139
+ }
140
+ listSubscriptionLevelByRegionPagingPage(options) {
141
+ return __asyncGenerator(this, arguments, function* listSubscriptionLevelByRegionPagingPage_1() {
142
+ let result = yield __await(this._listSubscriptionLevelByRegion(options));
143
+ yield yield __await(result.value || []);
144
+ let continuationToken = result.nextLink;
145
+ while (continuationToken) {
146
+ result = yield __await(this._listSubscriptionLevelByRegionNext(continuationToken, options));
147
+ continuationToken = result.nextLink;
148
+ yield yield __await(result.value || []);
149
+ }
150
+ });
151
+ }
152
+ listSubscriptionLevelByRegionPagingAll(options) {
153
+ return __asyncGenerator(this, arguments, function* listSubscriptionLevelByRegionPagingAll_1() {
154
+ var e_3, _a;
155
+ try {
156
+ for (var _b = __asyncValues(this.listSubscriptionLevelByRegionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
157
+ const page = _c.value;
158
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
159
+ }
160
+ }
161
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
162
+ finally {
163
+ try {
164
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
165
+ }
166
+ finally { if (e_3) throw e_3.error; }
167
+ }
168
+ });
169
+ }
170
+ /**
171
+ * List all the alerts that are associated with the resource group that are stored in a specific
172
+ * location
173
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
174
+ * case insensitive.
175
+ * @param options The options parameters.
176
+ */
177
+ listResourceGroupLevelByRegion(resourceGroupName, options) {
178
+ const iter = this.listResourceGroupLevelByRegionPagingAll(resourceGroupName, options);
179
+ return {
180
+ next() {
181
+ return iter.next();
182
+ },
183
+ [Symbol.asyncIterator]() {
184
+ return this;
185
+ },
186
+ byPage: () => {
187
+ return this.listResourceGroupLevelByRegionPagingPage(resourceGroupName, options);
188
+ }
189
+ };
190
+ }
191
+ listResourceGroupLevelByRegionPagingPage(resourceGroupName, options) {
192
+ return __asyncGenerator(this, arguments, function* listResourceGroupLevelByRegionPagingPage_1() {
193
+ let result = yield __await(this._listResourceGroupLevelByRegion(resourceGroupName, options));
194
+ yield yield __await(result.value || []);
195
+ let continuationToken = result.nextLink;
196
+ while (continuationToken) {
197
+ result = yield __await(this._listResourceGroupLevelByRegionNext(resourceGroupName, continuationToken, options));
198
+ continuationToken = result.nextLink;
199
+ yield yield __await(result.value || []);
200
+ }
201
+ });
202
+ }
203
+ listResourceGroupLevelByRegionPagingAll(resourceGroupName, options) {
204
+ return __asyncGenerator(this, arguments, function* listResourceGroupLevelByRegionPagingAll_1() {
205
+ var e_4, _a;
206
+ try {
207
+ for (var _b = __asyncValues(this.listResourceGroupLevelByRegionPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
208
+ const page = _c.value;
209
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
210
+ }
211
+ }
212
+ catch (e_4_1) { e_4 = { error: e_4_1 }; }
213
+ finally {
214
+ try {
215
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
216
+ }
217
+ finally { if (e_4) throw e_4.error; }
218
+ }
219
+ });
220
+ }
221
+ /**
222
+ * List all the alerts that are associated with the subscription
223
+ * @param options The options parameters.
224
+ */
225
+ _list(options) {
226
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
227
+ }
228
+ /**
229
+ * List all the alerts that are associated with the resource group
230
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
231
+ * case insensitive.
232
+ * @param options The options parameters.
233
+ */
234
+ _listByResourceGroup(resourceGroupName, options) {
235
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
236
+ }
237
+ /**
238
+ * List all the alerts that are associated with the subscription that are stored in a specific location
239
+ * @param options The options parameters.
240
+ */
241
+ _listSubscriptionLevelByRegion(options) {
242
+ return this.client.sendOperationRequest({ options }, listSubscriptionLevelByRegionOperationSpec);
243
+ }
244
+ /**
245
+ * List all the alerts that are associated with the resource group that are stored in a specific
246
+ * location
247
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
248
+ * case insensitive.
249
+ * @param options The options parameters.
250
+ */
251
+ _listResourceGroupLevelByRegion(resourceGroupName, options) {
252
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listResourceGroupLevelByRegionOperationSpec);
253
+ }
254
+ /**
255
+ * Get an alert that is associated with a subscription
256
+ * @param alertName Name of the alert object
257
+ * @param options The options parameters.
258
+ */
259
+ getSubscriptionLevel(alertName, options) {
260
+ return this.client.sendOperationRequest({ alertName, options }, getSubscriptionLevelOperationSpec);
261
+ }
262
+ /**
263
+ * Get an alert that is associated a resource group or a resource in a resource group
264
+ * @param alertName Name of the alert object
265
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
266
+ * case insensitive.
267
+ * @param options The options parameters.
268
+ */
269
+ getResourceGroupLevel(alertName, resourceGroupName, options) {
270
+ return this.client.sendOperationRequest({ alertName, resourceGroupName, options }, getResourceGroupLevelOperationSpec);
271
+ }
272
+ /**
273
+ * Update the alert's state
274
+ * @param alertName Name of the alert object
275
+ * @param options The options parameters.
276
+ */
277
+ updateSubscriptionLevelStateToDismiss(alertName, options) {
278
+ return this.client.sendOperationRequest({ alertName, options }, updateSubscriptionLevelStateToDismissOperationSpec);
279
+ }
280
+ /**
281
+ * Update the alert's state
282
+ * @param alertName Name of the alert object
283
+ * @param options The options parameters.
284
+ */
285
+ updateSubscriptionLevelStateToResolve(alertName, options) {
286
+ return this.client.sendOperationRequest({ alertName, options }, updateSubscriptionLevelStateToResolveOperationSpec);
287
+ }
288
+ /**
289
+ * Update the alert's state
290
+ * @param alertName Name of the alert object
291
+ * @param options The options parameters.
292
+ */
293
+ updateSubscriptionLevelStateToActivate(alertName, options) {
294
+ return this.client.sendOperationRequest({ alertName, options }, updateSubscriptionLevelStateToActivateOperationSpec);
295
+ }
296
+ /**
297
+ * Update the alert's state
298
+ * @param alertName Name of the alert object
299
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
300
+ * case insensitive.
301
+ * @param options The options parameters.
302
+ */
303
+ updateResourceGroupLevelStateToResolve(alertName, resourceGroupName, options) {
304
+ return this.client.sendOperationRequest({ alertName, resourceGroupName, options }, updateResourceGroupLevelStateToResolveOperationSpec);
305
+ }
306
+ /**
307
+ * Update the alert's state
308
+ * @param alertName Name of the alert object
309
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
310
+ * case insensitive.
311
+ * @param options The options parameters.
312
+ */
313
+ updateResourceGroupLevelStateToDismiss(alertName, resourceGroupName, options) {
314
+ return this.client.sendOperationRequest({ alertName, resourceGroupName, options }, updateResourceGroupLevelStateToDismissOperationSpec);
315
+ }
316
+ /**
317
+ * Update the alert's state
318
+ * @param alertName Name of the alert object
319
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
320
+ * case insensitive.
321
+ * @param options The options parameters.
322
+ */
323
+ updateResourceGroupLevelStateToActivate(alertName, resourceGroupName, options) {
324
+ return this.client.sendOperationRequest({ alertName, resourceGroupName, options }, updateResourceGroupLevelStateToActivateOperationSpec);
325
+ }
326
+ /**
327
+ * Simulate security alerts
328
+ * @param alertSimulatorRequestBody Alert Simulator Request Properties
329
+ * @param options The options parameters.
330
+ */
331
+ beginSimulate(alertSimulatorRequestBody, options) {
332
+ return __awaiter(this, void 0, void 0, function* () {
333
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
334
+ return this.client.sendOperationRequest(args, spec);
335
+ });
336
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
337
+ var _a;
338
+ let currentRawResponse = undefined;
339
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
340
+ const callback = (rawResponse, flatResponse) => {
341
+ currentRawResponse = rawResponse;
342
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
343
+ };
344
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
345
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
346
+ return {
347
+ flatResponse,
348
+ rawResponse: {
349
+ statusCode: currentRawResponse.status,
350
+ body: currentRawResponse.parsedBody,
351
+ headers: currentRawResponse.headers.toJSON()
352
+ }
353
+ };
354
+ });
355
+ const lro = new LroImpl(sendOperation, { alertSimulatorRequestBody, options }, simulateOperationSpec);
356
+ return new LroEngine(lro, {
357
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
358
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
359
+ lroResourceLocationConfig: "original-uri"
360
+ });
361
+ });
362
+ }
363
+ /**
364
+ * Simulate security alerts
365
+ * @param alertSimulatorRequestBody Alert Simulator Request Properties
366
+ * @param options The options parameters.
367
+ */
368
+ beginSimulateAndWait(alertSimulatorRequestBody, options) {
369
+ return __awaiter(this, void 0, void 0, function* () {
370
+ const poller = yield this.beginSimulate(alertSimulatorRequestBody, options);
371
+ return poller.pollUntilDone();
372
+ });
373
+ }
374
+ /**
375
+ * ListNext
376
+ * @param nextLink The nextLink from the previous successful call to the List method.
377
+ * @param options The options parameters.
378
+ */
379
+ _listNext(nextLink, options) {
380
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
381
+ }
382
+ /**
383
+ * ListByResourceGroupNext
384
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
385
+ * case insensitive.
386
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
387
+ * @param options The options parameters.
388
+ */
389
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
390
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
391
+ }
392
+ /**
393
+ * ListSubscriptionLevelByRegionNext
394
+ * @param nextLink The nextLink from the previous successful call to the ListSubscriptionLevelByRegion
395
+ * method.
396
+ * @param options The options parameters.
397
+ */
398
+ _listSubscriptionLevelByRegionNext(nextLink, options) {
399
+ return this.client.sendOperationRequest({ nextLink, options }, listSubscriptionLevelByRegionNextOperationSpec);
400
+ }
401
+ /**
402
+ * ListResourceGroupLevelByRegionNext
403
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
404
+ * case insensitive.
405
+ * @param nextLink The nextLink from the previous successful call to the ListResourceGroupLevelByRegion
406
+ * method.
407
+ * @param options The options parameters.
408
+ */
409
+ _listResourceGroupLevelByRegionNext(resourceGroupName, nextLink, options) {
410
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listResourceGroupLevelByRegionNextOperationSpec);
411
+ }
412
+ }
413
+ // Operation Specifications
414
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
415
+ const listOperationSpec = {
416
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/alerts",
417
+ httpMethod: "GET",
418
+ responses: {
419
+ 200: {
420
+ bodyMapper: Mappers.AlertList
421
+ },
422
+ default: {
423
+ bodyMapper: Mappers.CloudError
424
+ }
425
+ },
426
+ queryParameters: [Parameters.apiVersion13],
427
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
428
+ headerParameters: [Parameters.accept],
429
+ serializer
430
+ };
431
+ const listByResourceGroupOperationSpec = {
432
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/alerts",
433
+ httpMethod: "GET",
434
+ responses: {
435
+ 200: {
436
+ bodyMapper: Mappers.AlertList
437
+ },
438
+ default: {
439
+ bodyMapper: Mappers.CloudError
440
+ }
441
+ },
442
+ queryParameters: [Parameters.apiVersion13],
443
+ urlParameters: [
444
+ Parameters.$host,
445
+ Parameters.subscriptionId,
446
+ Parameters.resourceGroupName
447
+ ],
448
+ headerParameters: [Parameters.accept],
449
+ serializer
450
+ };
451
+ const listSubscriptionLevelByRegionOperationSpec = {
452
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts",
453
+ httpMethod: "GET",
454
+ responses: {
455
+ 200: {
456
+ bodyMapper: Mappers.AlertList
457
+ },
458
+ default: {
459
+ bodyMapper: Mappers.CloudError
460
+ }
461
+ },
462
+ queryParameters: [Parameters.apiVersion13],
463
+ urlParameters: [
464
+ Parameters.$host,
465
+ Parameters.subscriptionId,
466
+ Parameters.ascLocation
467
+ ],
468
+ headerParameters: [Parameters.accept],
469
+ serializer
470
+ };
471
+ const listResourceGroupLevelByRegionOperationSpec = {
472
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts",
473
+ httpMethod: "GET",
474
+ responses: {
475
+ 200: {
476
+ bodyMapper: Mappers.AlertList
477
+ },
478
+ default: {
479
+ bodyMapper: Mappers.CloudError
480
+ }
481
+ },
482
+ queryParameters: [Parameters.apiVersion13],
483
+ urlParameters: [
484
+ Parameters.$host,
485
+ Parameters.subscriptionId,
486
+ Parameters.resourceGroupName,
487
+ Parameters.ascLocation
488
+ ],
489
+ headerParameters: [Parameters.accept],
490
+ serializer
491
+ };
492
+ const getSubscriptionLevelOperationSpec = {
493
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}",
494
+ httpMethod: "GET",
495
+ responses: {
496
+ 200: {
497
+ bodyMapper: Mappers.Alert
498
+ },
499
+ default: {
500
+ bodyMapper: Mappers.CloudError
501
+ }
502
+ },
503
+ queryParameters: [Parameters.apiVersion13],
504
+ urlParameters: [
505
+ Parameters.$host,
506
+ Parameters.subscriptionId,
507
+ Parameters.ascLocation,
508
+ Parameters.alertName
509
+ ],
510
+ headerParameters: [Parameters.accept],
511
+ serializer
512
+ };
513
+ const getResourceGroupLevelOperationSpec = {
514
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}",
515
+ httpMethod: "GET",
516
+ responses: {
517
+ 200: {
518
+ bodyMapper: Mappers.Alert
519
+ },
520
+ default: {
521
+ bodyMapper: Mappers.CloudError
522
+ }
523
+ },
524
+ queryParameters: [Parameters.apiVersion13],
525
+ urlParameters: [
526
+ Parameters.$host,
527
+ Parameters.subscriptionId,
528
+ Parameters.resourceGroupName,
529
+ Parameters.ascLocation,
530
+ Parameters.alertName
531
+ ],
532
+ headerParameters: [Parameters.accept],
533
+ serializer
534
+ };
535
+ const updateSubscriptionLevelStateToDismissOperationSpec = {
536
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss",
537
+ httpMethod: "POST",
538
+ responses: {
539
+ 204: {},
540
+ default: {
541
+ bodyMapper: Mappers.CloudError
542
+ }
543
+ },
544
+ queryParameters: [Parameters.apiVersion13],
545
+ urlParameters: [
546
+ Parameters.$host,
547
+ Parameters.subscriptionId,
548
+ Parameters.ascLocation,
549
+ Parameters.alertName
550
+ ],
551
+ headerParameters: [Parameters.accept],
552
+ serializer
553
+ };
554
+ const updateSubscriptionLevelStateToResolveOperationSpec = {
555
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/resolve",
556
+ httpMethod: "POST",
557
+ responses: {
558
+ 204: {},
559
+ default: {
560
+ bodyMapper: Mappers.CloudError
561
+ }
562
+ },
563
+ queryParameters: [Parameters.apiVersion13],
564
+ urlParameters: [
565
+ Parameters.$host,
566
+ Parameters.subscriptionId,
567
+ Parameters.ascLocation,
568
+ Parameters.alertName
569
+ ],
570
+ headerParameters: [Parameters.accept],
571
+ serializer
572
+ };
573
+ const updateSubscriptionLevelStateToActivateOperationSpec = {
574
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/activate",
575
+ httpMethod: "POST",
576
+ responses: {
577
+ 204: {},
578
+ default: {
579
+ bodyMapper: Mappers.CloudError
580
+ }
581
+ },
582
+ queryParameters: [Parameters.apiVersion13],
583
+ urlParameters: [
584
+ Parameters.$host,
585
+ Parameters.subscriptionId,
586
+ Parameters.ascLocation,
587
+ Parameters.alertName
588
+ ],
589
+ headerParameters: [Parameters.accept],
590
+ serializer
591
+ };
592
+ const updateResourceGroupLevelStateToResolveOperationSpec = {
593
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/resolve",
594
+ httpMethod: "POST",
595
+ responses: {
596
+ 204: {},
597
+ default: {
598
+ bodyMapper: Mappers.CloudError
599
+ }
600
+ },
601
+ queryParameters: [Parameters.apiVersion13],
602
+ urlParameters: [
603
+ Parameters.$host,
604
+ Parameters.subscriptionId,
605
+ Parameters.resourceGroupName,
606
+ Parameters.ascLocation,
607
+ Parameters.alertName
608
+ ],
609
+ headerParameters: [Parameters.accept],
610
+ serializer
611
+ };
612
+ const updateResourceGroupLevelStateToDismissOperationSpec = {
613
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss",
614
+ httpMethod: "POST",
615
+ responses: {
616
+ 204: {},
617
+ default: {
618
+ bodyMapper: Mappers.CloudError
619
+ }
620
+ },
621
+ queryParameters: [Parameters.apiVersion13],
622
+ urlParameters: [
623
+ Parameters.$host,
624
+ Parameters.subscriptionId,
625
+ Parameters.resourceGroupName,
626
+ Parameters.ascLocation,
627
+ Parameters.alertName
628
+ ],
629
+ headerParameters: [Parameters.accept],
630
+ serializer
631
+ };
632
+ const updateResourceGroupLevelStateToActivateOperationSpec = {
633
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/activate",
634
+ httpMethod: "POST",
635
+ responses: {
636
+ 204: {},
637
+ default: {
638
+ bodyMapper: Mappers.CloudError
639
+ }
640
+ },
641
+ queryParameters: [Parameters.apiVersion13],
642
+ urlParameters: [
643
+ Parameters.$host,
644
+ Parameters.subscriptionId,
645
+ Parameters.resourceGroupName,
646
+ Parameters.ascLocation,
647
+ Parameters.alertName
648
+ ],
649
+ headerParameters: [Parameters.accept],
650
+ serializer
651
+ };
652
+ const simulateOperationSpec = {
653
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/default/simulate",
654
+ httpMethod: "POST",
655
+ responses: {
656
+ 200: {},
657
+ 201: {},
658
+ 202: {},
659
+ 204: {},
660
+ default: {
661
+ bodyMapper: Mappers.CloudError
662
+ }
663
+ },
664
+ requestBody: Parameters.alertSimulatorRequestBody,
665
+ queryParameters: [Parameters.apiVersion13],
666
+ urlParameters: [
667
+ Parameters.$host,
668
+ Parameters.subscriptionId,
669
+ Parameters.ascLocation
670
+ ],
671
+ headerParameters: [Parameters.accept, Parameters.contentType],
672
+ mediaType: "json",
673
+ serializer
674
+ };
675
+ const listNextOperationSpec = {
676
+ path: "{nextLink}",
677
+ httpMethod: "GET",
678
+ responses: {
679
+ 200: {
680
+ bodyMapper: Mappers.AlertList
681
+ },
682
+ default: {
683
+ bodyMapper: Mappers.CloudError
684
+ }
685
+ },
686
+ queryParameters: [Parameters.apiVersion13],
687
+ urlParameters: [
688
+ Parameters.$host,
689
+ Parameters.subscriptionId,
690
+ Parameters.nextLink
691
+ ],
692
+ headerParameters: [Parameters.accept],
693
+ serializer
694
+ };
695
+ const listByResourceGroupNextOperationSpec = {
696
+ path: "{nextLink}",
697
+ httpMethod: "GET",
698
+ responses: {
699
+ 200: {
700
+ bodyMapper: Mappers.AlertList
701
+ },
702
+ default: {
703
+ bodyMapper: Mappers.CloudError
704
+ }
705
+ },
706
+ queryParameters: [Parameters.apiVersion13],
707
+ urlParameters: [
708
+ Parameters.$host,
709
+ Parameters.subscriptionId,
710
+ Parameters.resourceGroupName,
711
+ Parameters.nextLink
712
+ ],
713
+ headerParameters: [Parameters.accept],
714
+ serializer
715
+ };
716
+ const listSubscriptionLevelByRegionNextOperationSpec = {
717
+ path: "{nextLink}",
718
+ httpMethod: "GET",
719
+ responses: {
720
+ 200: {
721
+ bodyMapper: Mappers.AlertList
722
+ },
723
+ default: {
724
+ bodyMapper: Mappers.CloudError
725
+ }
726
+ },
727
+ queryParameters: [Parameters.apiVersion13],
728
+ urlParameters: [
729
+ Parameters.$host,
730
+ Parameters.subscriptionId,
731
+ Parameters.nextLink,
732
+ Parameters.ascLocation
733
+ ],
734
+ headerParameters: [Parameters.accept],
735
+ serializer
736
+ };
737
+ const listResourceGroupLevelByRegionNextOperationSpec = {
738
+ path: "{nextLink}",
739
+ httpMethod: "GET",
740
+ responses: {
741
+ 200: {
742
+ bodyMapper: Mappers.AlertList
743
+ },
744
+ default: {
745
+ bodyMapper: Mappers.CloudError
746
+ }
747
+ },
748
+ queryParameters: [Parameters.apiVersion13],
749
+ urlParameters: [
750
+ Parameters.$host,
751
+ Parameters.subscriptionId,
752
+ Parameters.resourceGroupName,
753
+ Parameters.nextLink,
754
+ Parameters.ascLocation
755
+ ],
756
+ headerParameters: [Parameters.accept],
757
+ serializer
758
+ };
759
+ //# sourceMappingURL=alerts.js.map