@azure/arm-security 6.0.0-beta.2 → 6.0.0-beta.3

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 (740) hide show
  1. package/CHANGELOG.md +55 -47
  2. package/LICENSE +1 -1
  3. package/dist/index.js +11055 -10955
  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/samples-dev/adaptiveApplicationControlsDeleteSample.js +10 -2
  8. package/dist-esm/samples-dev/adaptiveApplicationControlsDeleteSample.js.map +1 -1
  9. package/dist-esm/samples-dev/adaptiveApplicationControlsGetSample.js +10 -2
  10. package/dist-esm/samples-dev/adaptiveApplicationControlsGetSample.js.map +1 -1
  11. package/dist-esm/samples-dev/adaptiveApplicationControlsListSample.js +10 -2
  12. package/dist-esm/samples-dev/adaptiveApplicationControlsListSample.js.map +1 -1
  13. package/dist-esm/samples-dev/adaptiveApplicationControlsPutSample.js +10 -2
  14. package/dist-esm/samples-dev/adaptiveApplicationControlsPutSample.js.map +1 -1
  15. package/dist-esm/samples-dev/adaptiveNetworkHardeningsEnforceSample.js +11 -3
  16. package/dist-esm/samples-dev/adaptiveNetworkHardeningsEnforceSample.js.map +1 -1
  17. package/dist-esm/samples-dev/adaptiveNetworkHardeningsGetSample.js +11 -3
  18. package/dist-esm/samples-dev/adaptiveNetworkHardeningsGetSample.js.map +1 -1
  19. package/dist-esm/samples-dev/adaptiveNetworkHardeningsListByExtendedResourceSample.js +11 -3
  20. package/dist-esm/samples-dev/adaptiveNetworkHardeningsListByExtendedResourceSample.js.map +1 -1
  21. package/dist-esm/samples-dev/advancedThreatProtectionCreateSample.js +10 -2
  22. package/dist-esm/samples-dev/advancedThreatProtectionCreateSample.js.map +1 -1
  23. package/dist-esm/samples-dev/advancedThreatProtectionGetSample.js +10 -2
  24. package/dist-esm/samples-dev/advancedThreatProtectionGetSample.js.map +1 -1
  25. package/dist-esm/samples-dev/alertsGetResourceGroupLevelSample.js +11 -3
  26. package/dist-esm/samples-dev/alertsGetResourceGroupLevelSample.js.map +1 -1
  27. package/dist-esm/samples-dev/alertsGetSubscriptionLevelSample.js +10 -2
  28. package/dist-esm/samples-dev/alertsGetSubscriptionLevelSample.js.map +1 -1
  29. package/dist-esm/samples-dev/alertsListByResourceGroupSample.js +11 -3
  30. package/dist-esm/samples-dev/alertsListByResourceGroupSample.js.map +1 -1
  31. package/dist-esm/samples-dev/alertsListResourceGroupLevelByRegionSample.js +11 -3
  32. package/dist-esm/samples-dev/alertsListResourceGroupLevelByRegionSample.js.map +1 -1
  33. package/dist-esm/samples-dev/alertsListSample.js +10 -2
  34. package/dist-esm/samples-dev/alertsListSample.js.map +1 -1
  35. package/dist-esm/samples-dev/alertsListSubscriptionLevelByRegionSample.js +10 -2
  36. package/dist-esm/samples-dev/alertsListSubscriptionLevelByRegionSample.js.map +1 -1
  37. package/dist-esm/samples-dev/alertsSimulateSample.js +10 -2
  38. package/dist-esm/samples-dev/alertsSimulateSample.js.map +1 -1
  39. package/dist-esm/samples-dev/alertsSuppressionRulesDeleteSample.js +10 -2
  40. package/dist-esm/samples-dev/alertsSuppressionRulesDeleteSample.js.map +1 -1
  41. package/dist-esm/samples-dev/alertsSuppressionRulesGetSample.js +10 -2
  42. package/dist-esm/samples-dev/alertsSuppressionRulesGetSample.js.map +1 -1
  43. package/dist-esm/samples-dev/alertsSuppressionRulesListSample.js +13 -4
  44. package/dist-esm/samples-dev/alertsSuppressionRulesListSample.js.map +1 -1
  45. package/dist-esm/samples-dev/alertsSuppressionRulesUpdateSample.js +10 -2
  46. package/dist-esm/samples-dev/alertsSuppressionRulesUpdateSample.js.map +1 -1
  47. package/dist-esm/samples-dev/alertsUpdateResourceGroupLevelStateToActivateSample.js +11 -3
  48. package/dist-esm/samples-dev/alertsUpdateResourceGroupLevelStateToActivateSample.js.map +1 -1
  49. package/dist-esm/samples-dev/alertsUpdateResourceGroupLevelStateToDismissSample.js +11 -3
  50. package/dist-esm/samples-dev/alertsUpdateResourceGroupLevelStateToDismissSample.js.map +1 -1
  51. package/dist-esm/samples-dev/alertsUpdateResourceGroupLevelStateToInProgressSample.js +11 -3
  52. package/dist-esm/samples-dev/alertsUpdateResourceGroupLevelStateToInProgressSample.js.map +1 -1
  53. package/dist-esm/samples-dev/alertsUpdateResourceGroupLevelStateToResolveSample.js +11 -3
  54. package/dist-esm/samples-dev/alertsUpdateResourceGroupLevelStateToResolveSample.js.map +1 -1
  55. package/dist-esm/samples-dev/alertsUpdateSubscriptionLevelStateToActivateSample.js +10 -2
  56. package/dist-esm/samples-dev/alertsUpdateSubscriptionLevelStateToActivateSample.js.map +1 -1
  57. package/dist-esm/samples-dev/alertsUpdateSubscriptionLevelStateToDismissSample.js +10 -2
  58. package/dist-esm/samples-dev/alertsUpdateSubscriptionLevelStateToDismissSample.js.map +1 -1
  59. package/dist-esm/samples-dev/alertsUpdateSubscriptionLevelStateToInProgressSample.js +10 -2
  60. package/dist-esm/samples-dev/alertsUpdateSubscriptionLevelStateToInProgressSample.js.map +1 -1
  61. package/dist-esm/samples-dev/alertsUpdateSubscriptionLevelStateToResolveSample.js +10 -2
  62. package/dist-esm/samples-dev/alertsUpdateSubscriptionLevelStateToResolveSample.js.map +1 -1
  63. package/dist-esm/samples-dev/allowedConnectionsGetSample.js +11 -3
  64. package/dist-esm/samples-dev/allowedConnectionsGetSample.js.map +1 -1
  65. package/dist-esm/samples-dev/allowedConnectionsListByHomeRegionSample.js +10 -2
  66. package/dist-esm/samples-dev/allowedConnectionsListByHomeRegionSample.js.map +1 -1
  67. package/dist-esm/samples-dev/allowedConnectionsListSample.js +10 -2
  68. package/dist-esm/samples-dev/allowedConnectionsListSample.js.map +1 -1
  69. package/dist-esm/samples-dev/apiCollectionGetSample.js +11 -3
  70. package/dist-esm/samples-dev/apiCollectionGetSample.js.map +1 -1
  71. package/dist-esm/samples-dev/apiCollectionListSample.js +11 -3
  72. package/dist-esm/samples-dev/apiCollectionListSample.js.map +1 -1
  73. package/dist-esm/samples-dev/apiCollectionOffboardingDeleteSample.js +11 -3
  74. package/dist-esm/samples-dev/apiCollectionOffboardingDeleteSample.js.map +1 -1
  75. package/dist-esm/samples-dev/apiCollectionOnboardingCreateSample.js +11 -3
  76. package/dist-esm/samples-dev/apiCollectionOnboardingCreateSample.js.map +1 -1
  77. package/dist-esm/samples-dev/applicationCreateOrUpdateSample.js +10 -2
  78. package/dist-esm/samples-dev/applicationCreateOrUpdateSample.js.map +1 -1
  79. package/dist-esm/samples-dev/applicationDeleteSample.js +10 -2
  80. package/dist-esm/samples-dev/applicationDeleteSample.js.map +1 -1
  81. package/dist-esm/samples-dev/applicationGetSample.js +10 -2
  82. package/dist-esm/samples-dev/applicationGetSample.js.map +1 -1
  83. package/dist-esm/samples-dev/applicationsListSample.js +10 -2
  84. package/dist-esm/samples-dev/applicationsListSample.js.map +1 -1
  85. package/dist-esm/samples-dev/assessmentsCreateOrUpdateSample.js +10 -2
  86. package/dist-esm/samples-dev/assessmentsCreateOrUpdateSample.js.map +1 -1
  87. package/dist-esm/samples-dev/assessmentsDeleteSample.js +10 -2
  88. package/dist-esm/samples-dev/assessmentsDeleteSample.js.map +1 -1
  89. package/dist-esm/samples-dev/assessmentsGetSample.js +13 -4
  90. package/dist-esm/samples-dev/assessmentsGetSample.js.map +1 -1
  91. package/dist-esm/samples-dev/assessmentsListSample.js +10 -2
  92. package/dist-esm/samples-dev/assessmentsListSample.js.map +1 -1
  93. package/dist-esm/samples-dev/assessmentsMetadataCreateInSubscriptionSample.js +10 -2
  94. package/dist-esm/samples-dev/assessmentsMetadataCreateInSubscriptionSample.js.map +1 -1
  95. package/dist-esm/samples-dev/assessmentsMetadataDeleteInSubscriptionSample.js +10 -2
  96. package/dist-esm/samples-dev/assessmentsMetadataDeleteInSubscriptionSample.js.map +1 -1
  97. package/dist-esm/samples-dev/assessmentsMetadataGetInSubscriptionSample.js +10 -2
  98. package/dist-esm/samples-dev/assessmentsMetadataGetInSubscriptionSample.js.map +1 -1
  99. package/dist-esm/samples-dev/assessmentsMetadataGetSample.js +10 -2
  100. package/dist-esm/samples-dev/assessmentsMetadataGetSample.js.map +1 -1
  101. package/dist-esm/samples-dev/assessmentsMetadataListBySubscriptionSample.js +10 -2
  102. package/dist-esm/samples-dev/assessmentsMetadataListBySubscriptionSample.js.map +1 -1
  103. package/dist-esm/samples-dev/assessmentsMetadataListSample.js +10 -2
  104. package/dist-esm/samples-dev/assessmentsMetadataListSample.js.map +1 -1
  105. package/dist-esm/samples-dev/autoProvisioningSettingsCreateSample.js +10 -2
  106. package/dist-esm/samples-dev/autoProvisioningSettingsCreateSample.js.map +1 -1
  107. package/dist-esm/samples-dev/autoProvisioningSettingsGetSample.js +10 -2
  108. package/dist-esm/samples-dev/autoProvisioningSettingsGetSample.js.map +1 -1
  109. package/dist-esm/samples-dev/autoProvisioningSettingsListSample.js +10 -2
  110. package/dist-esm/samples-dev/autoProvisioningSettingsListSample.js.map +1 -1
  111. package/dist-esm/samples-dev/automationsCreateOrUpdateSample.js +19 -9
  112. package/dist-esm/samples-dev/automationsCreateOrUpdateSample.js.map +1 -1
  113. package/dist-esm/samples-dev/automationsDeleteSample.js +11 -3
  114. package/dist-esm/samples-dev/automationsDeleteSample.js.map +1 -1
  115. package/dist-esm/samples-dev/automationsGetSample.js +11 -3
  116. package/dist-esm/samples-dev/automationsGetSample.js.map +1 -1
  117. package/dist-esm/samples-dev/automationsListByResourceGroupSample.js +11 -3
  118. package/dist-esm/samples-dev/automationsListByResourceGroupSample.js.map +1 -1
  119. package/dist-esm/samples-dev/automationsListSample.js +10 -2
  120. package/dist-esm/samples-dev/automationsListSample.js.map +1 -1
  121. package/dist-esm/samples-dev/automationsValidateSample.js +11 -3
  122. package/dist-esm/samples-dev/automationsValidateSample.js.map +1 -1
  123. package/dist-esm/samples-dev/complianceResultsGetSample.js +10 -2
  124. package/dist-esm/samples-dev/complianceResultsGetSample.js.map +1 -1
  125. package/dist-esm/samples-dev/complianceResultsListSample.js +10 -2
  126. package/dist-esm/samples-dev/complianceResultsListSample.js.map +1 -1
  127. package/dist-esm/samples-dev/compliancesGetSample.js +10 -2
  128. package/dist-esm/samples-dev/compliancesGetSample.js.map +1 -1
  129. package/dist-esm/samples-dev/compliancesListSample.js +10 -2
  130. package/dist-esm/samples-dev/compliancesListSample.js.map +1 -1
  131. package/dist-esm/samples-dev/connectorsCreateOrUpdateSample.js +17 -7
  132. package/dist-esm/samples-dev/connectorsCreateOrUpdateSample.js.map +1 -1
  133. package/dist-esm/samples-dev/connectorsDeleteSample.js +10 -2
  134. package/dist-esm/samples-dev/connectorsDeleteSample.js.map +1 -1
  135. package/dist-esm/samples-dev/connectorsGetSample.js +10 -2
  136. package/dist-esm/samples-dev/connectorsGetSample.js.map +1 -1
  137. package/dist-esm/samples-dev/connectorsListSample.js +10 -2
  138. package/dist-esm/samples-dev/connectorsListSample.js.map +1 -1
  139. package/dist-esm/samples-dev/customAssessmentAutomationsCreateSample.js +11 -3
  140. package/dist-esm/samples-dev/customAssessmentAutomationsCreateSample.js.map +1 -1
  141. package/dist-esm/samples-dev/customAssessmentAutomationsDeleteSample.js +11 -3
  142. package/dist-esm/samples-dev/customAssessmentAutomationsDeleteSample.js.map +1 -1
  143. package/dist-esm/samples-dev/customAssessmentAutomationsGetSample.js +11 -3
  144. package/dist-esm/samples-dev/customAssessmentAutomationsGetSample.js.map +1 -1
  145. package/dist-esm/samples-dev/customAssessmentAutomationsListByResourceGroupSample.js +11 -3
  146. package/dist-esm/samples-dev/customAssessmentAutomationsListByResourceGroupSample.js.map +1 -1
  147. package/dist-esm/samples-dev/customAssessmentAutomationsListBySubscriptionSample.js +10 -2
  148. package/dist-esm/samples-dev/customAssessmentAutomationsListBySubscriptionSample.js.map +1 -1
  149. package/dist-esm/samples-dev/customEntityStoreAssignmentsCreateSample.js +11 -3
  150. package/dist-esm/samples-dev/customEntityStoreAssignmentsCreateSample.js.map +1 -1
  151. package/dist-esm/samples-dev/customEntityStoreAssignmentsDeleteSample.js +11 -3
  152. package/dist-esm/samples-dev/customEntityStoreAssignmentsDeleteSample.js.map +1 -1
  153. package/dist-esm/samples-dev/customEntityStoreAssignmentsGetSample.js +11 -3
  154. package/dist-esm/samples-dev/customEntityStoreAssignmentsGetSample.js.map +1 -1
  155. package/dist-esm/samples-dev/customEntityStoreAssignmentsListByResourceGroupSample.js +11 -3
  156. package/dist-esm/samples-dev/customEntityStoreAssignmentsListByResourceGroupSample.js.map +1 -1
  157. package/dist-esm/samples-dev/customEntityStoreAssignmentsListBySubscriptionSample.js +10 -2
  158. package/dist-esm/samples-dev/customEntityStoreAssignmentsListBySubscriptionSample.js.map +1 -1
  159. package/dist-esm/samples-dev/deviceSecurityGroupsCreateOrUpdateSample.js +10 -2
  160. package/dist-esm/samples-dev/deviceSecurityGroupsCreateOrUpdateSample.js.map +1 -1
  161. package/dist-esm/samples-dev/deviceSecurityGroupsDeleteSample.js +10 -2
  162. package/dist-esm/samples-dev/deviceSecurityGroupsDeleteSample.js.map +1 -1
  163. package/dist-esm/samples-dev/deviceSecurityGroupsGetSample.js +10 -2
  164. package/dist-esm/samples-dev/deviceSecurityGroupsGetSample.js.map +1 -1
  165. package/dist-esm/samples-dev/deviceSecurityGroupsListSample.js +10 -2
  166. package/dist-esm/samples-dev/deviceSecurityGroupsListSample.js.map +1 -1
  167. package/dist-esm/samples-dev/discoveredSecuritySolutionsGetSample.js +11 -3
  168. package/dist-esm/samples-dev/discoveredSecuritySolutionsGetSample.js.map +1 -1
  169. package/dist-esm/samples-dev/discoveredSecuritySolutionsListByHomeRegionSample.js +10 -2
  170. package/dist-esm/samples-dev/discoveredSecuritySolutionsListByHomeRegionSample.js.map +1 -1
  171. package/dist-esm/samples-dev/discoveredSecuritySolutionsListSample.js +10 -2
  172. package/dist-esm/samples-dev/discoveredSecuritySolutionsListSample.js.map +1 -1
  173. package/dist-esm/samples-dev/externalSecuritySolutionsGetSample.js +11 -3
  174. package/dist-esm/samples-dev/externalSecuritySolutionsGetSample.js.map +1 -1
  175. package/dist-esm/samples-dev/externalSecuritySolutionsListByHomeRegionSample.js +10 -2
  176. package/dist-esm/samples-dev/externalSecuritySolutionsListByHomeRegionSample.js.map +1 -1
  177. package/dist-esm/samples-dev/externalSecuritySolutionsListSample.js +10 -2
  178. package/dist-esm/samples-dev/externalSecuritySolutionsListSample.js.map +1 -1
  179. package/dist-esm/samples-dev/governanceAssignmentsCreateOrUpdateSample.js +12 -4
  180. package/dist-esm/samples-dev/governanceAssignmentsCreateOrUpdateSample.js.map +1 -1
  181. package/dist-esm/samples-dev/governanceAssignmentsDeleteSample.js +10 -2
  182. package/dist-esm/samples-dev/governanceAssignmentsDeleteSample.js.map +1 -1
  183. package/dist-esm/samples-dev/governanceAssignmentsGetSample.js +11 -3
  184. package/dist-esm/samples-dev/governanceAssignmentsGetSample.js.map +1 -1
  185. package/dist-esm/samples-dev/governanceAssignmentsListSample.js +13 -5
  186. package/dist-esm/samples-dev/governanceAssignmentsListSample.js.map +1 -1
  187. package/dist-esm/samples-dev/governanceRulesCreateOrUpdateSample.js +107 -7
  188. package/dist-esm/samples-dev/governanceRulesCreateOrUpdateSample.js.map +1 -1
  189. package/dist-esm/samples-dev/governanceRulesDeleteSample.js +53 -6
  190. package/dist-esm/samples-dev/governanceRulesDeleteSample.js.map +1 -1
  191. package/dist-esm/samples-dev/governanceRulesExecuteSample.d.ts +2 -0
  192. package/dist-esm/samples-dev/governanceRulesExecuteSample.d.ts.map +1 -0
  193. package/dist-esm/samples-dev/governanceRulesExecuteSample.js +77 -0
  194. package/dist-esm/samples-dev/governanceRulesExecuteSample.js.map +1 -0
  195. package/dist-esm/samples-dev/governanceRulesGetSample.js +53 -6
  196. package/dist-esm/samples-dev/governanceRulesGetSample.js.map +1 -1
  197. package/dist-esm/samples-dev/governanceRulesListSample.d.ts +2 -0
  198. package/dist-esm/samples-dev/governanceRulesListSample.d.ts.map +1 -0
  199. package/dist-esm/samples-dev/governanceRulesListSample.js +116 -0
  200. package/dist-esm/samples-dev/governanceRulesListSample.js.map +1 -0
  201. package/dist-esm/samples-dev/governanceRulesOperationResultsSample.d.ts +2 -0
  202. package/dist-esm/samples-dev/governanceRulesOperationResultsSample.d.ts.map +1 -0
  203. package/dist-esm/samples-dev/governanceRulesOperationResultsSample.js +80 -0
  204. package/dist-esm/samples-dev/governanceRulesOperationResultsSample.js.map +1 -0
  205. package/dist-esm/samples-dev/healthReportGetSample.d.ts +2 -0
  206. package/dist-esm/samples-dev/healthReportGetSample.d.ts.map +1 -0
  207. package/dist-esm/samples-dev/healthReportGetSample.js +39 -0
  208. package/dist-esm/samples-dev/healthReportGetSample.js.map +1 -0
  209. package/dist-esm/samples-dev/healthReportsListSample.d.ts +2 -0
  210. package/dist-esm/samples-dev/healthReportsListSample.d.ts.map +1 -0
  211. package/dist-esm/samples-dev/healthReportsListSample.js +52 -0
  212. package/dist-esm/samples-dev/healthReportsListSample.js.map +1 -0
  213. package/dist-esm/samples-dev/informationProtectionPoliciesCreateOrUpdateSample.js +10 -2
  214. package/dist-esm/samples-dev/informationProtectionPoliciesCreateOrUpdateSample.js.map +1 -1
  215. package/dist-esm/samples-dev/informationProtectionPoliciesGetSample.js +13 -4
  216. package/dist-esm/samples-dev/informationProtectionPoliciesGetSample.js.map +1 -1
  217. package/dist-esm/samples-dev/informationProtectionPoliciesListSample.js +10 -2
  218. package/dist-esm/samples-dev/informationProtectionPoliciesListSample.js.map +1 -1
  219. package/dist-esm/samples-dev/ingestionSettingsCreateSample.js +10 -2
  220. package/dist-esm/samples-dev/ingestionSettingsCreateSample.js.map +1 -1
  221. package/dist-esm/samples-dev/ingestionSettingsDeleteSample.js +10 -2
  222. package/dist-esm/samples-dev/ingestionSettingsDeleteSample.js.map +1 -1
  223. package/dist-esm/samples-dev/ingestionSettingsGetSample.js +10 -2
  224. package/dist-esm/samples-dev/ingestionSettingsGetSample.js.map +1 -1
  225. package/dist-esm/samples-dev/ingestionSettingsListConnectionStringsSample.js +10 -2
  226. package/dist-esm/samples-dev/ingestionSettingsListConnectionStringsSample.js.map +1 -1
  227. package/dist-esm/samples-dev/ingestionSettingsListSample.js +10 -2
  228. package/dist-esm/samples-dev/ingestionSettingsListSample.js.map +1 -1
  229. package/dist-esm/samples-dev/ingestionSettingsListTokensSample.js +10 -2
  230. package/dist-esm/samples-dev/ingestionSettingsListTokensSample.js.map +1 -1
  231. package/dist-esm/samples-dev/iotSecuritySolutionAnalyticsGetSample.js +11 -3
  232. package/dist-esm/samples-dev/iotSecuritySolutionAnalyticsGetSample.js.map +1 -1
  233. package/dist-esm/samples-dev/iotSecuritySolutionAnalyticsListSample.js +11 -3
  234. package/dist-esm/samples-dev/iotSecuritySolutionAnalyticsListSample.js.map +1 -1
  235. package/dist-esm/samples-dev/iotSecuritySolutionCreateOrUpdateSample.js +11 -3
  236. package/dist-esm/samples-dev/iotSecuritySolutionCreateOrUpdateSample.js.map +1 -1
  237. package/dist-esm/samples-dev/iotSecuritySolutionDeleteSample.js +11 -3
  238. package/dist-esm/samples-dev/iotSecuritySolutionDeleteSample.js.map +1 -1
  239. package/dist-esm/samples-dev/iotSecuritySolutionGetSample.js +11 -3
  240. package/dist-esm/samples-dev/iotSecuritySolutionGetSample.js.map +1 -1
  241. package/dist-esm/samples-dev/iotSecuritySolutionListByResourceGroupSample.js +15 -6
  242. package/dist-esm/samples-dev/iotSecuritySolutionListByResourceGroupSample.js.map +1 -1
  243. package/dist-esm/samples-dev/iotSecuritySolutionListBySubscriptionSample.js +13 -4
  244. package/dist-esm/samples-dev/iotSecuritySolutionListBySubscriptionSample.js.map +1 -1
  245. package/dist-esm/samples-dev/iotSecuritySolutionUpdateSample.js +11 -3
  246. package/dist-esm/samples-dev/iotSecuritySolutionUpdateSample.js.map +1 -1
  247. package/dist-esm/samples-dev/iotSecuritySolutionsAnalyticsAggregatedAlertDismissSample.js +11 -3
  248. package/dist-esm/samples-dev/iotSecuritySolutionsAnalyticsAggregatedAlertDismissSample.js.map +1 -1
  249. package/dist-esm/samples-dev/iotSecuritySolutionsAnalyticsAggregatedAlertGetSample.js +11 -3
  250. package/dist-esm/samples-dev/iotSecuritySolutionsAnalyticsAggregatedAlertGetSample.js.map +1 -1
  251. package/dist-esm/samples-dev/iotSecuritySolutionsAnalyticsAggregatedAlertListSample.js +11 -3
  252. package/dist-esm/samples-dev/iotSecuritySolutionsAnalyticsAggregatedAlertListSample.js.map +1 -1
  253. package/dist-esm/samples-dev/iotSecuritySolutionsAnalyticsRecommendationGetSample.js +11 -3
  254. package/dist-esm/samples-dev/iotSecuritySolutionsAnalyticsRecommendationGetSample.js.map +1 -1
  255. package/dist-esm/samples-dev/iotSecuritySolutionsAnalyticsRecommendationListSample.js +11 -3
  256. package/dist-esm/samples-dev/iotSecuritySolutionsAnalyticsRecommendationListSample.js.map +1 -1
  257. package/dist-esm/samples-dev/jitNetworkAccessPoliciesCreateOrUpdateSample.js +11 -3
  258. package/dist-esm/samples-dev/jitNetworkAccessPoliciesCreateOrUpdateSample.js.map +1 -1
  259. package/dist-esm/samples-dev/jitNetworkAccessPoliciesDeleteSample.js +11 -3
  260. package/dist-esm/samples-dev/jitNetworkAccessPoliciesDeleteSample.js.map +1 -1
  261. package/dist-esm/samples-dev/jitNetworkAccessPoliciesGetSample.js +11 -3
  262. package/dist-esm/samples-dev/jitNetworkAccessPoliciesGetSample.js.map +1 -1
  263. package/dist-esm/samples-dev/jitNetworkAccessPoliciesInitiateSample.js +11 -3
  264. package/dist-esm/samples-dev/jitNetworkAccessPoliciesInitiateSample.js.map +1 -1
  265. package/dist-esm/samples-dev/jitNetworkAccessPoliciesListByRegionSample.js +10 -2
  266. package/dist-esm/samples-dev/jitNetworkAccessPoliciesListByRegionSample.js.map +1 -1
  267. package/dist-esm/samples-dev/jitNetworkAccessPoliciesListByResourceGroupAndRegionSample.js +11 -3
  268. package/dist-esm/samples-dev/jitNetworkAccessPoliciesListByResourceGroupAndRegionSample.js.map +1 -1
  269. package/dist-esm/samples-dev/jitNetworkAccessPoliciesListByResourceGroupSample.js +11 -3
  270. package/dist-esm/samples-dev/jitNetworkAccessPoliciesListByResourceGroupSample.js.map +1 -1
  271. package/dist-esm/samples-dev/jitNetworkAccessPoliciesListSample.js +10 -2
  272. package/dist-esm/samples-dev/jitNetworkAccessPoliciesListSample.js.map +1 -1
  273. package/dist-esm/samples-dev/locationsGetSample.js +10 -2
  274. package/dist-esm/samples-dev/locationsGetSample.js.map +1 -1
  275. package/dist-esm/samples-dev/locationsListSample.js +10 -2
  276. package/dist-esm/samples-dev/locationsListSample.js.map +1 -1
  277. package/dist-esm/samples-dev/mdeOnboardingsGetSample.js +10 -2
  278. package/dist-esm/samples-dev/mdeOnboardingsGetSample.js.map +1 -1
  279. package/dist-esm/samples-dev/mdeOnboardingsListSample.js +10 -2
  280. package/dist-esm/samples-dev/mdeOnboardingsListSample.js.map +1 -1
  281. package/dist-esm/samples-dev/pricingsGetSample.js +10 -2
  282. package/dist-esm/samples-dev/pricingsGetSample.js.map +1 -1
  283. package/dist-esm/samples-dev/pricingsListSample.js +10 -2
  284. package/dist-esm/samples-dev/pricingsListSample.js.map +1 -1
  285. package/dist-esm/samples-dev/pricingsUpdateSample.js +10 -2
  286. package/dist-esm/samples-dev/pricingsUpdateSample.js.map +1 -1
  287. package/dist-esm/samples-dev/regulatoryComplianceAssessmentsGetSample.js +10 -2
  288. package/dist-esm/samples-dev/regulatoryComplianceAssessmentsGetSample.js.map +1 -1
  289. package/dist-esm/samples-dev/regulatoryComplianceAssessmentsListSample.js +10 -2
  290. package/dist-esm/samples-dev/regulatoryComplianceAssessmentsListSample.js.map +1 -1
  291. package/dist-esm/samples-dev/regulatoryComplianceControlsGetSample.js +10 -2
  292. package/dist-esm/samples-dev/regulatoryComplianceControlsGetSample.js.map +1 -1
  293. package/dist-esm/samples-dev/regulatoryComplianceControlsListSample.js +10 -2
  294. package/dist-esm/samples-dev/regulatoryComplianceControlsListSample.js.map +1 -1
  295. package/dist-esm/samples-dev/regulatoryComplianceStandardsGetSample.js +10 -2
  296. package/dist-esm/samples-dev/regulatoryComplianceStandardsGetSample.js.map +1 -1
  297. package/dist-esm/samples-dev/regulatoryComplianceStandardsListSample.js +10 -2
  298. package/dist-esm/samples-dev/regulatoryComplianceStandardsListSample.js.map +1 -1
  299. package/dist-esm/samples-dev/secureScoreControlDefinitionsListBySubscriptionSample.js +10 -2
  300. package/dist-esm/samples-dev/secureScoreControlDefinitionsListBySubscriptionSample.js.map +1 -1
  301. package/dist-esm/samples-dev/secureScoreControlDefinitionsListSample.js +10 -2
  302. package/dist-esm/samples-dev/secureScoreControlDefinitionsListSample.js.map +1 -1
  303. package/dist-esm/samples-dev/secureScoreControlsListBySecureScoreSample.js +13 -4
  304. package/dist-esm/samples-dev/secureScoreControlsListBySecureScoreSample.js.map +1 -1
  305. package/dist-esm/samples-dev/secureScoreControlsListSample.js +10 -2
  306. package/dist-esm/samples-dev/secureScoreControlsListSample.js.map +1 -1
  307. package/dist-esm/samples-dev/secureScoresGetSample.js +10 -2
  308. package/dist-esm/samples-dev/secureScoresGetSample.js.map +1 -1
  309. package/dist-esm/samples-dev/secureScoresListSample.js +10 -2
  310. package/dist-esm/samples-dev/secureScoresListSample.js.map +1 -1
  311. package/dist-esm/samples-dev/securityConnectorApplicationCreateOrUpdateSample.js +11 -3
  312. package/dist-esm/samples-dev/securityConnectorApplicationCreateOrUpdateSample.js.map +1 -1
  313. package/dist-esm/samples-dev/securityConnectorApplicationDeleteSample.js +11 -3
  314. package/dist-esm/samples-dev/securityConnectorApplicationDeleteSample.js.map +1 -1
  315. package/dist-esm/samples-dev/securityConnectorApplicationGetSample.js +11 -3
  316. package/dist-esm/samples-dev/securityConnectorApplicationGetSample.js.map +1 -1
  317. package/dist-esm/samples-dev/securityConnectorApplicationsListSample.js +11 -3
  318. package/dist-esm/samples-dev/securityConnectorApplicationsListSample.js.map +1 -1
  319. package/dist-esm/samples-dev/securityConnectorsCreateOrUpdateSample.js +11 -3
  320. package/dist-esm/samples-dev/securityConnectorsCreateOrUpdateSample.js.map +1 -1
  321. package/dist-esm/samples-dev/securityConnectorsDeleteSample.js +11 -3
  322. package/dist-esm/samples-dev/securityConnectorsDeleteSample.js.map +1 -1
  323. package/dist-esm/samples-dev/securityConnectorsGetSample.js +11 -3
  324. package/dist-esm/samples-dev/securityConnectorsGetSample.js.map +1 -1
  325. package/dist-esm/samples-dev/securityConnectorsListByResourceGroupSample.js +11 -3
  326. package/dist-esm/samples-dev/securityConnectorsListByResourceGroupSample.js.map +1 -1
  327. package/dist-esm/samples-dev/securityConnectorsListSample.js +10 -2
  328. package/dist-esm/samples-dev/securityConnectorsListSample.js.map +1 -1
  329. package/dist-esm/samples-dev/securityConnectorsUpdateSample.js +11 -3
  330. package/dist-esm/samples-dev/securityConnectorsUpdateSample.js.map +1 -1
  331. package/dist-esm/samples-dev/securityContactsCreateSample.js +10 -2
  332. package/dist-esm/samples-dev/securityContactsCreateSample.js.map +1 -1
  333. package/dist-esm/samples-dev/securityContactsDeleteSample.js +10 -2
  334. package/dist-esm/samples-dev/securityContactsDeleteSample.js.map +1 -1
  335. package/dist-esm/samples-dev/securityContactsGetSample.js +10 -2
  336. package/dist-esm/samples-dev/securityContactsGetSample.js.map +1 -1
  337. package/dist-esm/samples-dev/securityContactsListSample.js +10 -2
  338. package/dist-esm/samples-dev/securityContactsListSample.js.map +1 -1
  339. package/dist-esm/samples-dev/securitySolutionsGetSample.js +11 -3
  340. package/dist-esm/samples-dev/securitySolutionsGetSample.js.map +1 -1
  341. package/dist-esm/samples-dev/securitySolutionsListSample.js +10 -2
  342. package/dist-esm/samples-dev/securitySolutionsListSample.js.map +1 -1
  343. package/dist-esm/samples-dev/securitySolutionsReferenceDataListByHomeRegionSample.js +10 -2
  344. package/dist-esm/samples-dev/securitySolutionsReferenceDataListByHomeRegionSample.js.map +1 -1
  345. package/dist-esm/samples-dev/securitySolutionsReferenceDataListSample.js +10 -2
  346. package/dist-esm/samples-dev/securitySolutionsReferenceDataListSample.js.map +1 -1
  347. package/dist-esm/samples-dev/serverVulnerabilityAssessmentCreateOrUpdateSample.js +11 -3
  348. package/dist-esm/samples-dev/serverVulnerabilityAssessmentCreateOrUpdateSample.js.map +1 -1
  349. package/dist-esm/samples-dev/serverVulnerabilityAssessmentDeleteSample.js +11 -3
  350. package/dist-esm/samples-dev/serverVulnerabilityAssessmentDeleteSample.js.map +1 -1
  351. package/dist-esm/samples-dev/serverVulnerabilityAssessmentGetSample.js +11 -3
  352. package/dist-esm/samples-dev/serverVulnerabilityAssessmentGetSample.js.map +1 -1
  353. package/dist-esm/samples-dev/serverVulnerabilityAssessmentListByExtendedResourceSample.js +11 -3
  354. package/dist-esm/samples-dev/serverVulnerabilityAssessmentListByExtendedResourceSample.js.map +1 -1
  355. package/dist-esm/samples-dev/settingsGetSample.js +11 -3
  356. package/dist-esm/samples-dev/settingsGetSample.js.map +1 -1
  357. package/dist-esm/samples-dev/settingsListSample.js +10 -2
  358. package/dist-esm/samples-dev/settingsListSample.js.map +1 -1
  359. package/dist-esm/samples-dev/settingsUpdateSample.js +11 -3
  360. package/dist-esm/samples-dev/settingsUpdateSample.js.map +1 -1
  361. package/dist-esm/samples-dev/softwareInventoriesGetSample.js +11 -3
  362. package/dist-esm/samples-dev/softwareInventoriesGetSample.js.map +1 -1
  363. package/dist-esm/samples-dev/softwareInventoriesListByExtendedResourceSample.js +11 -3
  364. package/dist-esm/samples-dev/softwareInventoriesListByExtendedResourceSample.js.map +1 -1
  365. package/dist-esm/samples-dev/softwareInventoriesListBySubscriptionSample.js +10 -2
  366. package/dist-esm/samples-dev/softwareInventoriesListBySubscriptionSample.js.map +1 -1
  367. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesAddSample.js +15 -6
  368. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesAddSample.js.map +1 -1
  369. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateSample.js +15 -6
  370. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateSample.js.map +1 -1
  371. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesDeleteSample.js +11 -3
  372. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesDeleteSample.js.map +1 -1
  373. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesGetSample.js +11 -3
  374. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesGetSample.js.map +1 -1
  375. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesListSample.js +11 -3
  376. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentBaselineRulesListSample.js.map +1 -1
  377. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScanResultsGetSample.js +15 -6
  378. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScanResultsGetSample.js.map +1 -1
  379. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScanResultsListSample.js +15 -6
  380. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScanResultsListSample.js.map +1 -1
  381. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScansGetSample.js +15 -6
  382. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScansGetSample.js.map +1 -1
  383. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScansListSample.js +11 -3
  384. package/dist-esm/samples-dev/sqlVulnerabilityAssessmentScansListSample.js.map +1 -1
  385. package/dist-esm/samples-dev/subAssessmentsGetSample.js +10 -2
  386. package/dist-esm/samples-dev/subAssessmentsGetSample.js.map +1 -1
  387. package/dist-esm/samples-dev/subAssessmentsListAllSample.js +10 -2
  388. package/dist-esm/samples-dev/subAssessmentsListAllSample.js.map +1 -1
  389. package/dist-esm/samples-dev/subAssessmentsListSample.js +10 -2
  390. package/dist-esm/samples-dev/subAssessmentsListSample.js.map +1 -1
  391. package/dist-esm/samples-dev/tasksGetResourceGroupLevelTaskSample.js +11 -3
  392. package/dist-esm/samples-dev/tasksGetResourceGroupLevelTaskSample.js.map +1 -1
  393. package/dist-esm/samples-dev/tasksGetSubscriptionLevelTaskSample.js +10 -2
  394. package/dist-esm/samples-dev/tasksGetSubscriptionLevelTaskSample.js.map +1 -1
  395. package/dist-esm/samples-dev/tasksListByHomeRegionSample.js +10 -2
  396. package/dist-esm/samples-dev/tasksListByHomeRegionSample.js.map +1 -1
  397. package/dist-esm/samples-dev/tasksListByResourceGroupSample.js +11 -3
  398. package/dist-esm/samples-dev/tasksListByResourceGroupSample.js.map +1 -1
  399. package/dist-esm/samples-dev/tasksListSample.js +10 -2
  400. package/dist-esm/samples-dev/tasksListSample.js.map +1 -1
  401. package/dist-esm/samples-dev/tasksUpdateResourceGroupLevelTaskStateSample.js +11 -3
  402. package/dist-esm/samples-dev/tasksUpdateResourceGroupLevelTaskStateSample.js.map +1 -1
  403. package/dist-esm/samples-dev/tasksUpdateSubscriptionLevelTaskStateSample.js +10 -2
  404. package/dist-esm/samples-dev/tasksUpdateSubscriptionLevelTaskStateSample.js.map +1 -1
  405. package/dist-esm/samples-dev/topologyGetSample.js +11 -3
  406. package/dist-esm/samples-dev/topologyGetSample.js.map +1 -1
  407. package/dist-esm/samples-dev/topologyListByHomeRegionSample.js +10 -2
  408. package/dist-esm/samples-dev/topologyListByHomeRegionSample.js.map +1 -1
  409. package/dist-esm/samples-dev/topologyListSample.js +10 -2
  410. package/dist-esm/samples-dev/topologyListSample.js.map +1 -1
  411. package/dist-esm/samples-dev/workspaceSettingsCreateSample.js +10 -2
  412. package/dist-esm/samples-dev/workspaceSettingsCreateSample.js.map +1 -1
  413. package/dist-esm/samples-dev/workspaceSettingsDeleteSample.js +10 -2
  414. package/dist-esm/samples-dev/workspaceSettingsDeleteSample.js.map +1 -1
  415. package/dist-esm/samples-dev/workspaceSettingsGetSample.js +10 -2
  416. package/dist-esm/samples-dev/workspaceSettingsGetSample.js.map +1 -1
  417. package/dist-esm/samples-dev/workspaceSettingsListSample.js +10 -2
  418. package/dist-esm/samples-dev/workspaceSettingsListSample.js.map +1 -1
  419. package/dist-esm/samples-dev/workspaceSettingsUpdateSample.js +10 -2
  420. package/dist-esm/samples-dev/workspaceSettingsUpdateSample.js.map +1 -1
  421. package/dist-esm/src/lroImpl.d.ts +6 -11
  422. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  423. package/dist-esm/src/lroImpl.js +12 -20
  424. package/dist-esm/src/lroImpl.js.map +1 -1
  425. package/dist-esm/src/models/index.d.ts +643 -474
  426. package/dist-esm/src/models/index.d.ts.map +1 -1
  427. package/dist-esm/src/models/index.js +92 -60
  428. package/dist-esm/src/models/index.js.map +1 -1
  429. package/dist-esm/src/models/mappers.d.ts +31 -22
  430. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  431. package/dist-esm/src/models/mappers.js +1062 -677
  432. package/dist-esm/src/models/mappers.js.map +1 -1
  433. package/dist-esm/src/models/parameters.d.ts +18 -14
  434. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  435. package/dist-esm/src/models/parameters.js +118 -67
  436. package/dist-esm/src/models/parameters.js.map +1 -1
  437. package/dist-esm/src/operations/aPICollection.js +2 -3
  438. package/dist-esm/src/operations/aPICollection.js.map +1 -1
  439. package/dist-esm/src/operations/aPICollectionOffboarding.js +1 -1
  440. package/dist-esm/src/operations/aPICollectionOnboarding.js +1 -1
  441. package/dist-esm/src/operations/adaptiveNetworkHardenings.d.ts +2 -2
  442. package/dist-esm/src/operations/adaptiveNetworkHardenings.d.ts.map +1 -1
  443. package/dist-esm/src/operations/adaptiveNetworkHardenings.js +18 -15
  444. package/dist-esm/src/operations/adaptiveNetworkHardenings.js.map +1 -1
  445. package/dist-esm/src/operations/alerts.d.ts +2 -2
  446. package/dist-esm/src/operations/alerts.d.ts.map +1 -1
  447. package/dist-esm/src/operations/alerts.js +26 -26
  448. package/dist-esm/src/operations/alerts.js.map +1 -1
  449. package/dist-esm/src/operations/alertsSuppressionRules.js +0 -1
  450. package/dist-esm/src/operations/alertsSuppressionRules.js.map +1 -1
  451. package/dist-esm/src/operations/allowedConnections.js +0 -2
  452. package/dist-esm/src/operations/allowedConnections.js.map +1 -1
  453. package/dist-esm/src/operations/applicationOperations.js +3 -3
  454. package/dist-esm/src/operations/applications.js +1 -2
  455. package/dist-esm/src/operations/applications.js.map +1 -1
  456. package/dist-esm/src/operations/assessments.js +0 -1
  457. package/dist-esm/src/operations/assessments.js.map +1 -1
  458. package/dist-esm/src/operations/assessmentsMetadata.js +0 -2
  459. package/dist-esm/src/operations/assessmentsMetadata.js.map +1 -1
  460. package/dist-esm/src/operations/autoProvisioningSettings.js +0 -1
  461. package/dist-esm/src/operations/autoProvisioningSettings.js.map +1 -1
  462. package/dist-esm/src/operations/automations.js +0 -2
  463. package/dist-esm/src/operations/automations.js.map +1 -1
  464. package/dist-esm/src/operations/complianceResults.js +0 -1
  465. package/dist-esm/src/operations/complianceResults.js.map +1 -1
  466. package/dist-esm/src/operations/compliances.js +0 -1
  467. package/dist-esm/src/operations/compliances.js.map +1 -1
  468. package/dist-esm/src/operations/connectors.js +0 -1
  469. package/dist-esm/src/operations/connectors.js.map +1 -1
  470. package/dist-esm/src/operations/customAssessmentAutomations.js +0 -2
  471. package/dist-esm/src/operations/customAssessmentAutomations.js.map +1 -1
  472. package/dist-esm/src/operations/customEntityStoreAssignments.js +0 -2
  473. package/dist-esm/src/operations/customEntityStoreAssignments.js.map +1 -1
  474. package/dist-esm/src/operations/deviceSecurityGroups.js +0 -1
  475. package/dist-esm/src/operations/deviceSecurityGroups.js.map +1 -1
  476. package/dist-esm/src/operations/discoveredSecuritySolutions.js +0 -2
  477. package/dist-esm/src/operations/discoveredSecuritySolutions.js.map +1 -1
  478. package/dist-esm/src/operations/externalSecuritySolutions.js +0 -2
  479. package/dist-esm/src/operations/externalSecuritySolutions.js.map +1 -1
  480. package/dist-esm/src/operations/governanceAssignments.d.ts +34 -34
  481. package/dist-esm/src/operations/governanceAssignments.js +48 -49
  482. package/dist-esm/src/operations/governanceAssignments.js.map +1 -1
  483. package/dist-esm/src/operations/governanceRules.d.ts +84 -30
  484. package/dist-esm/src/operations/governanceRules.d.ts.map +1 -1
  485. package/dist-esm/src/operations/governanceRules.js +225 -98
  486. package/dist-esm/src/operations/governanceRules.js.map +1 -1
  487. package/dist-esm/src/operations/healthReportOperations.d.ts +20 -0
  488. package/dist-esm/src/operations/healthReportOperations.d.ts.map +1 -0
  489. package/dist-esm/src/operations/healthReportOperations.js +52 -0
  490. package/dist-esm/src/operations/healthReportOperations.js.map +1 -0
  491. package/dist-esm/src/operations/healthReports.d.ts +39 -0
  492. package/dist-esm/src/operations/healthReports.d.ts.map +1 -0
  493. package/dist-esm/src/operations/{governanceRuleOperations.js → healthReports.js} +33 -31
  494. package/dist-esm/src/operations/healthReports.js.map +1 -0
  495. package/dist-esm/src/operations/index.d.ts +5 -8
  496. package/dist-esm/src/operations/index.d.ts.map +1 -1
  497. package/dist-esm/src/operations/index.js +5 -8
  498. package/dist-esm/src/operations/index.js.map +1 -1
  499. package/dist-esm/src/operations/informationProtectionPolicies.js +0 -1
  500. package/dist-esm/src/operations/informationProtectionPolicies.js.map +1 -1
  501. package/dist-esm/src/operations/ingestionSettings.js +6 -7
  502. package/dist-esm/src/operations/ingestionSettings.js.map +1 -1
  503. package/dist-esm/src/operations/iotSecuritySolution.js +0 -2
  504. package/dist-esm/src/operations/iotSecuritySolution.js.map +1 -1
  505. package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.js +0 -1
  506. package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.js.map +1 -1
  507. package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.js +0 -1
  508. package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.js.map +1 -1
  509. package/dist-esm/src/operations/jitNetworkAccessPolicies.js +0 -4
  510. package/dist-esm/src/operations/jitNetworkAccessPolicies.js.map +1 -1
  511. package/dist-esm/src/operations/locations.js +0 -1
  512. package/dist-esm/src/operations/locations.js.map +1 -1
  513. package/dist-esm/src/operations/operations.js +0 -1
  514. package/dist-esm/src/operations/operations.js.map +1 -1
  515. package/dist-esm/src/operations/regulatoryComplianceAssessments.js +0 -1
  516. package/dist-esm/src/operations/regulatoryComplianceAssessments.js.map +1 -1
  517. package/dist-esm/src/operations/regulatoryComplianceControls.js +0 -1
  518. package/dist-esm/src/operations/regulatoryComplianceControls.js.map +1 -1
  519. package/dist-esm/src/operations/regulatoryComplianceStandards.js +0 -1
  520. package/dist-esm/src/operations/regulatoryComplianceStandards.js.map +1 -1
  521. package/dist-esm/src/operations/secureScoreControlDefinitions.js +0 -2
  522. package/dist-esm/src/operations/secureScoreControlDefinitions.js.map +1 -1
  523. package/dist-esm/src/operations/secureScoreControls.js +0 -2
  524. package/dist-esm/src/operations/secureScoreControls.js.map +1 -1
  525. package/dist-esm/src/operations/secureScores.js +0 -1
  526. package/dist-esm/src/operations/secureScores.js.map +1 -1
  527. package/dist-esm/src/operations/securityConnectorApplication.js +3 -3
  528. package/dist-esm/src/operations/securityConnectorApplications.js +1 -2
  529. package/dist-esm/src/operations/securityConnectorApplications.js.map +1 -1
  530. package/dist-esm/src/operations/securityConnectors.js +6 -8
  531. package/dist-esm/src/operations/securityConnectors.js.map +1 -1
  532. package/dist-esm/src/operations/securityContacts.js +0 -1
  533. package/dist-esm/src/operations/securityContacts.js.map +1 -1
  534. package/dist-esm/src/operations/securitySolutions.js +0 -1
  535. package/dist-esm/src/operations/securitySolutions.js.map +1 -1
  536. package/dist-esm/src/operations/serverVulnerabilityAssessmentOperations.d.ts +2 -2
  537. package/dist-esm/src/operations/serverVulnerabilityAssessmentOperations.d.ts.map +1 -1
  538. package/dist-esm/src/operations/serverVulnerabilityAssessmentOperations.js +17 -13
  539. package/dist-esm/src/operations/serverVulnerabilityAssessmentOperations.js.map +1 -1
  540. package/dist-esm/src/operations/settings.js +3 -4
  541. package/dist-esm/src/operations/settings.js.map +1 -1
  542. package/dist-esm/src/operations/softwareInventories.js +3 -5
  543. package/dist-esm/src/operations/softwareInventories.js.map +1 -1
  544. package/dist-esm/src/operations/sqlVulnerabilityAssessmentBaselineRules.js +5 -5
  545. package/dist-esm/src/operations/sqlVulnerabilityAssessmentBaselineRules.js.map +1 -1
  546. package/dist-esm/src/operations/sqlVulnerabilityAssessmentScanResults.js +2 -2
  547. package/dist-esm/src/operations/sqlVulnerabilityAssessmentScanResults.js.map +1 -1
  548. package/dist-esm/src/operations/sqlVulnerabilityAssessmentScans.js +2 -2
  549. package/dist-esm/src/operations/sqlVulnerabilityAssessmentScans.js.map +1 -1
  550. package/dist-esm/src/operations/subAssessments.js +0 -2
  551. package/dist-esm/src/operations/subAssessments.js.map +1 -1
  552. package/dist-esm/src/operations/tasks.js +0 -3
  553. package/dist-esm/src/operations/tasks.js.map +1 -1
  554. package/dist-esm/src/operations/topology.js +0 -2
  555. package/dist-esm/src/operations/topology.js.map +1 -1
  556. package/dist-esm/src/operations/workspaceSettings.js +0 -1
  557. package/dist-esm/src/operations/workspaceSettings.js.map +1 -1
  558. package/dist-esm/src/operationsInterfaces/adaptiveNetworkHardenings.d.ts +2 -2
  559. package/dist-esm/src/operationsInterfaces/adaptiveNetworkHardenings.d.ts.map +1 -1
  560. package/dist-esm/src/operationsInterfaces/alerts.d.ts +2 -2
  561. package/dist-esm/src/operationsInterfaces/alerts.d.ts.map +1 -1
  562. package/dist-esm/src/operationsInterfaces/governanceAssignments.d.ts +25 -25
  563. package/dist-esm/src/operationsInterfaces/governanceRules.d.ts +63 -30
  564. package/dist-esm/src/operationsInterfaces/governanceRules.d.ts.map +1 -1
  565. package/dist-esm/src/operationsInterfaces/healthReportOperations.d.ts +12 -0
  566. package/dist-esm/src/operationsInterfaces/healthReportOperations.d.ts.map +1 -0
  567. package/dist-esm/src/operationsInterfaces/{governanceRuleOperations.js → healthReportOperations.js} +1 -1
  568. package/dist-esm/src/operationsInterfaces/healthReportOperations.js.map +1 -0
  569. package/dist-esm/src/operationsInterfaces/healthReports.d.ts +14 -0
  570. package/dist-esm/src/operationsInterfaces/healthReports.d.ts.map +1 -0
  571. package/dist-esm/src/operationsInterfaces/{securityConnectorGovernanceRule.js → healthReports.js} +1 -1
  572. package/dist-esm/src/operationsInterfaces/healthReports.js.map +1 -0
  573. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -8
  574. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  575. package/dist-esm/src/operationsInterfaces/index.js +5 -8
  576. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  577. package/dist-esm/src/operationsInterfaces/serverVulnerabilityAssessmentOperations.d.ts +2 -2
  578. package/dist-esm/src/operationsInterfaces/serverVulnerabilityAssessmentOperations.d.ts.map +1 -1
  579. package/dist-esm/src/pagingHelper.d.ts +4 -4
  580. package/dist-esm/src/pagingHelper.js +4 -4
  581. package/dist-esm/src/securityCenter.d.ts +6 -9
  582. package/dist-esm/src/securityCenter.d.ts.map +1 -1
  583. package/dist-esm/src/securityCenter.js +7 -10
  584. package/dist-esm/src/securityCenter.js.map +1 -1
  585. package/package.json +10 -9
  586. package/review/arm-security.api.md +200 -155
  587. package/src/lroImpl.ts +31 -23
  588. package/src/models/index.ts +801 -641
  589. package/src/models/mappers.ts +1120 -714
  590. package/src/models/parameters.ts +133 -76
  591. package/src/operations/aPICollection.ts +2 -3
  592. package/src/operations/aPICollectionOffboarding.ts +1 -1
  593. package/src/operations/aPICollectionOnboarding.ts +1 -1
  594. package/src/operations/adaptiveNetworkHardenings.ts +15 -12
  595. package/src/operations/alerts.ts +31 -31
  596. package/src/operations/alertsSuppressionRules.ts +0 -1
  597. package/src/operations/allowedConnections.ts +0 -2
  598. package/src/operations/applicationOperations.ts +3 -3
  599. package/src/operations/applications.ts +1 -2
  600. package/src/operations/assessments.ts +0 -1
  601. package/src/operations/assessmentsMetadata.ts +0 -2
  602. package/src/operations/autoProvisioningSettings.ts +0 -1
  603. package/src/operations/automations.ts +0 -2
  604. package/src/operations/complianceResults.ts +0 -1
  605. package/src/operations/compliances.ts +0 -1
  606. package/src/operations/connectors.ts +0 -1
  607. package/src/operations/customAssessmentAutomations.ts +0 -2
  608. package/src/operations/customEntityStoreAssignments.ts +0 -2
  609. package/src/operations/deviceSecurityGroups.ts +0 -1
  610. package/src/operations/discoveredSecuritySolutions.ts +0 -2
  611. package/src/operations/externalSecuritySolutions.ts +0 -2
  612. package/src/operations/governanceAssignments.ts +48 -49
  613. package/src/operations/governanceRules.ts +282 -162
  614. package/src/operations/healthReportOperations.ts +71 -0
  615. package/src/operations/healthReports.ts +164 -0
  616. package/src/operations/index.ts +5 -8
  617. package/src/operations/informationProtectionPolicies.ts +0 -1
  618. package/src/operations/ingestionSettings.ts +6 -7
  619. package/src/operations/iotSecuritySolution.ts +0 -2
  620. package/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.ts +0 -1
  621. package/src/operations/iotSecuritySolutionsAnalyticsRecommendation.ts +0 -1
  622. package/src/operations/jitNetworkAccessPolicies.ts +0 -4
  623. package/src/operations/locations.ts +0 -1
  624. package/src/operations/operations.ts +0 -1
  625. package/src/operations/regulatoryComplianceAssessments.ts +0 -1
  626. package/src/operations/regulatoryComplianceControls.ts +0 -1
  627. package/src/operations/regulatoryComplianceStandards.ts +0 -1
  628. package/src/operations/secureScoreControlDefinitions.ts +0 -2
  629. package/src/operations/secureScoreControls.ts +0 -2
  630. package/src/operations/secureScores.ts +0 -1
  631. package/src/operations/securityConnectorApplication.ts +3 -3
  632. package/src/operations/securityConnectorApplications.ts +1 -2
  633. package/src/operations/securityConnectors.ts +6 -8
  634. package/src/operations/securityContacts.ts +0 -1
  635. package/src/operations/securitySolutions.ts +0 -1
  636. package/src/operations/serverVulnerabilityAssessmentOperations.ts +16 -12
  637. package/src/operations/settings.ts +3 -4
  638. package/src/operations/softwareInventories.ts +3 -5
  639. package/src/operations/sqlVulnerabilityAssessmentBaselineRules.ts +5 -5
  640. package/src/operations/sqlVulnerabilityAssessmentScanResults.ts +2 -2
  641. package/src/operations/sqlVulnerabilityAssessmentScans.ts +2 -2
  642. package/src/operations/subAssessments.ts +0 -2
  643. package/src/operations/tasks.ts +0 -3
  644. package/src/operations/topology.ts +0 -2
  645. package/src/operations/workspaceSettings.ts +0 -1
  646. package/src/operationsInterfaces/adaptiveNetworkHardenings.ts +2 -2
  647. package/src/operationsInterfaces/alerts.ts +2 -2
  648. package/src/operationsInterfaces/governanceAssignments.ts +25 -25
  649. package/src/operationsInterfaces/governanceRules.ts +92 -59
  650. package/src/operationsInterfaces/healthReportOperations.ts +27 -0
  651. package/src/operationsInterfaces/healthReports.ts +26 -0
  652. package/src/operationsInterfaces/index.ts +5 -8
  653. package/src/operationsInterfaces/serverVulnerabilityAssessmentOperations.ts +2 -2
  654. package/src/pagingHelper.ts +4 -4
  655. package/src/securityCenter.ts +29 -49
  656. package/types/arm-security.d.ts +463 -333
  657. package/types/tsdoc-metadata.json +1 -1
  658. package/dist-esm/samples-dev/governanceRuleListSample.d.ts +0 -2
  659. package/dist-esm/samples-dev/governanceRuleListSample.d.ts.map +0 -1
  660. package/dist-esm/samples-dev/governanceRuleListSample.js +0 -43
  661. package/dist-esm/samples-dev/governanceRuleListSample.js.map +0 -1
  662. package/dist-esm/samples-dev/governanceRulesRuleIdExecuteSingleSecurityConnectorSample.d.ts +0 -2
  663. package/dist-esm/samples-dev/governanceRulesRuleIdExecuteSingleSecurityConnectorSample.d.ts.map +0 -1
  664. package/dist-esm/samples-dev/governanceRulesRuleIdExecuteSingleSecurityConnectorSample.js +0 -32
  665. package/dist-esm/samples-dev/governanceRulesRuleIdExecuteSingleSecurityConnectorSample.js.map +0 -1
  666. package/dist-esm/samples-dev/governanceRulesRuleIdExecuteSingleSubscriptionSample.d.ts +0 -2
  667. package/dist-esm/samples-dev/governanceRulesRuleIdExecuteSingleSubscriptionSample.d.ts.map +0 -1
  668. package/dist-esm/samples-dev/governanceRulesRuleIdExecuteSingleSubscriptionSample.js +0 -30
  669. package/dist-esm/samples-dev/governanceRulesRuleIdExecuteSingleSubscriptionSample.js.map +0 -1
  670. package/dist-esm/samples-dev/securityConnectorGovernanceRuleListSample.d.ts +0 -2
  671. package/dist-esm/samples-dev/securityConnectorGovernanceRuleListSample.d.ts.map +0 -1
  672. package/dist-esm/samples-dev/securityConnectorGovernanceRuleListSample.js +0 -45
  673. package/dist-esm/samples-dev/securityConnectorGovernanceRuleListSample.js.map +0 -1
  674. package/dist-esm/samples-dev/securityConnectorGovernanceRulesCreateOrUpdateSample.d.ts +0 -2
  675. package/dist-esm/samples-dev/securityConnectorGovernanceRulesCreateOrUpdateSample.d.ts.map +0 -1
  676. package/dist-esm/samples-dev/securityConnectorGovernanceRulesCreateOrUpdateSample.js +0 -58
  677. package/dist-esm/samples-dev/securityConnectorGovernanceRulesCreateOrUpdateSample.js.map +0 -1
  678. package/dist-esm/samples-dev/securityConnectorGovernanceRulesDeleteSample.d.ts +0 -2
  679. package/dist-esm/samples-dev/securityConnectorGovernanceRulesDeleteSample.d.ts.map +0 -1
  680. package/dist-esm/samples-dev/securityConnectorGovernanceRulesDeleteSample.js +0 -32
  681. package/dist-esm/samples-dev/securityConnectorGovernanceRulesDeleteSample.js.map +0 -1
  682. package/dist-esm/samples-dev/securityConnectorGovernanceRulesExecuteStatusGetSample.d.ts +0 -2
  683. package/dist-esm/samples-dev/securityConnectorGovernanceRulesExecuteStatusGetSample.d.ts.map +0 -1
  684. package/dist-esm/samples-dev/securityConnectorGovernanceRulesExecuteStatusGetSample.js +0 -33
  685. package/dist-esm/samples-dev/securityConnectorGovernanceRulesExecuteStatusGetSample.js.map +0 -1
  686. package/dist-esm/samples-dev/securityConnectorGovernanceRulesGetSample.d.ts +0 -2
  687. package/dist-esm/samples-dev/securityConnectorGovernanceRulesGetSample.d.ts.map +0 -1
  688. package/dist-esm/samples-dev/securityConnectorGovernanceRulesGetSample.js +0 -32
  689. package/dist-esm/samples-dev/securityConnectorGovernanceRulesGetSample.js.map +0 -1
  690. package/dist-esm/samples-dev/subscriptionGovernanceRulesExecuteStatusGetSample.d.ts +0 -2
  691. package/dist-esm/samples-dev/subscriptionGovernanceRulesExecuteStatusGetSample.d.ts.map +0 -1
  692. package/dist-esm/samples-dev/subscriptionGovernanceRulesExecuteStatusGetSample.js +0 -31
  693. package/dist-esm/samples-dev/subscriptionGovernanceRulesExecuteStatusGetSample.js.map +0 -1
  694. package/dist-esm/src/operations/governanceRuleOperations.d.ts +0 -32
  695. package/dist-esm/src/operations/governanceRuleOperations.d.ts.map +0 -1
  696. package/dist-esm/src/operations/governanceRuleOperations.js.map +0 -1
  697. package/dist-esm/src/operations/securityConnectorGovernanceRule.d.ts +0 -41
  698. package/dist-esm/src/operations/securityConnectorGovernanceRule.d.ts.map +0 -1
  699. package/dist-esm/src/operations/securityConnectorGovernanceRule.js +0 -152
  700. package/dist-esm/src/operations/securityConnectorGovernanceRule.js.map +0 -1
  701. package/dist-esm/src/operations/securityConnectorGovernanceRules.d.ts +0 -41
  702. package/dist-esm/src/operations/securityConnectorGovernanceRules.d.ts.map +0 -1
  703. package/dist-esm/src/operations/securityConnectorGovernanceRules.js +0 -126
  704. package/dist-esm/src/operations/securityConnectorGovernanceRules.js.map +0 -1
  705. package/dist-esm/src/operations/securityConnectorGovernanceRulesExecuteStatus.d.ts +0 -36
  706. package/dist-esm/src/operations/securityConnectorGovernanceRulesExecuteStatus.d.ts.map +0 -1
  707. package/dist-esm/src/operations/securityConnectorGovernanceRulesExecuteStatus.js +0 -123
  708. package/dist-esm/src/operations/securityConnectorGovernanceRulesExecuteStatus.js.map +0 -1
  709. package/dist-esm/src/operations/subscriptionGovernanceRulesExecuteStatus.d.ts +0 -30
  710. package/dist-esm/src/operations/subscriptionGovernanceRulesExecuteStatus.d.ts.map +0 -1
  711. package/dist-esm/src/operations/subscriptionGovernanceRulesExecuteStatus.js +0 -109
  712. package/dist-esm/src/operations/subscriptionGovernanceRulesExecuteStatus.js.map +0 -1
  713. package/dist-esm/src/operationsInterfaces/governanceRuleOperations.d.ts +0 -11
  714. package/dist-esm/src/operationsInterfaces/governanceRuleOperations.d.ts.map +0 -1
  715. package/dist-esm/src/operationsInterfaces/governanceRuleOperations.js.map +0 -1
  716. package/dist-esm/src/operationsInterfaces/securityConnectorGovernanceRule.d.ts +0 -14
  717. package/dist-esm/src/operationsInterfaces/securityConnectorGovernanceRule.d.ts.map +0 -1
  718. package/dist-esm/src/operationsInterfaces/securityConnectorGovernanceRule.js.map +0 -1
  719. package/dist-esm/src/operationsInterfaces/securityConnectorGovernanceRules.d.ts +0 -33
  720. package/dist-esm/src/operationsInterfaces/securityConnectorGovernanceRules.d.ts.map +0 -1
  721. package/dist-esm/src/operationsInterfaces/securityConnectorGovernanceRules.js +0 -9
  722. package/dist-esm/src/operationsInterfaces/securityConnectorGovernanceRules.js.map +0 -1
  723. package/dist-esm/src/operationsInterfaces/securityConnectorGovernanceRulesExecuteStatus.d.ts +0 -28
  724. package/dist-esm/src/operationsInterfaces/securityConnectorGovernanceRulesExecuteStatus.d.ts.map +0 -1
  725. package/dist-esm/src/operationsInterfaces/securityConnectorGovernanceRulesExecuteStatus.js +0 -9
  726. package/dist-esm/src/operationsInterfaces/securityConnectorGovernanceRulesExecuteStatus.js.map +0 -1
  727. package/dist-esm/src/operationsInterfaces/subscriptionGovernanceRulesExecuteStatus.d.ts +0 -22
  728. package/dist-esm/src/operationsInterfaces/subscriptionGovernanceRulesExecuteStatus.d.ts.map +0 -1
  729. package/dist-esm/src/operationsInterfaces/subscriptionGovernanceRulesExecuteStatus.js +0 -9
  730. package/dist-esm/src/operationsInterfaces/subscriptionGovernanceRulesExecuteStatus.js.map +0 -1
  731. package/src/operations/governanceRuleOperations.ts +0 -155
  732. package/src/operations/securityConnectorGovernanceRule.ts +0 -207
  733. package/src/operations/securityConnectorGovernanceRules.ts +0 -172
  734. package/src/operations/securityConnectorGovernanceRulesExecuteStatus.ts +0 -178
  735. package/src/operations/subscriptionGovernanceRulesExecuteStatus.ts +0 -152
  736. package/src/operationsInterfaces/governanceRuleOperations.ts +0 -22
  737. package/src/operationsInterfaces/securityConnectorGovernanceRule.ts +0 -30
  738. package/src/operationsInterfaces/securityConnectorGovernanceRules.ts +0 -64
  739. package/src/operationsInterfaces/securityConnectorGovernanceRulesExecuteStatus.ts +0 -58
  740. package/src/operationsInterfaces/subscriptionGovernanceRulesExecuteStatus.ts +0 -46
@@ -5,12 +5,14 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __awaiter } from "tslib";
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper";
9
10
  import * as coreClient from "@azure/core-client";
10
11
  import * as Mappers from "../models/mappers";
11
12
  import * as Parameters from "../models/parameters";
12
- import { LroEngine } from "@azure/core-lro";
13
- import { LroImpl } from "../lroImpl";
13
+ import { createHttpPoller } from "@azure/core-lro";
14
+ import { createLroSpec } from "../lroImpl";
15
+ /// <reference lib="esnext.asynciterable" />
14
16
  /** Class containing GovernanceRules operations. */
15
17
  export class GovernanceRulesImpl {
16
18
  /**
@@ -21,41 +23,119 @@ export class GovernanceRulesImpl {
21
23
  this.client = client;
22
24
  }
23
25
  /**
24
- * Get a specific governanceRule for the requested scope by ruleId
25
- * @param ruleId The security GovernanceRule key - unique key for the standard GovernanceRule
26
+ * Get a list of all relevant governance rules over a scope
27
+ * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
28
+ * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
29
+ * 'subscriptions/{subscriptionId}'), or security connector (format:
30
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
26
31
  * @param options The options parameters.
27
32
  */
28
- get(ruleId, options) {
29
- return this.client.sendOperationRequest({ ruleId, options }, getOperationSpec);
33
+ list(scope, options) {
34
+ const iter = this.listPagingAll(scope, options);
35
+ return {
36
+ next() {
37
+ return iter.next();
38
+ },
39
+ [Symbol.asyncIterator]() {
40
+ return this;
41
+ },
42
+ byPage: (settings) => {
43
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
44
+ throw new Error("maxPageSize is not supported by this operation.");
45
+ }
46
+ return this.listPagingPage(scope, options, settings);
47
+ }
48
+ };
49
+ }
50
+ listPagingPage(scope, options, settings) {
51
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
52
+ let result;
53
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
54
+ if (!continuationToken) {
55
+ result = yield __await(this._list(scope, options));
56
+ let page = result.value || [];
57
+ continuationToken = result.nextLink;
58
+ setContinuationToken(page, continuationToken);
59
+ yield yield __await(page);
60
+ }
61
+ while (continuationToken) {
62
+ result = yield __await(this._listNext(scope, continuationToken, options));
63
+ continuationToken = result.nextLink;
64
+ let page = result.value || [];
65
+ setContinuationToken(page, continuationToken);
66
+ yield yield __await(page);
67
+ }
68
+ });
69
+ }
70
+ listPagingAll(scope, options) {
71
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
72
+ var e_1, _a;
73
+ try {
74
+ for (var _b = __asyncValues(this.listPagingPage(scope, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
75
+ const page = _c.value;
76
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
77
+ }
78
+ }
79
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
80
+ finally {
81
+ try {
82
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
83
+ }
84
+ finally { if (e_1) throw e_1.error; }
85
+ }
86
+ });
87
+ }
88
+ /**
89
+ * Get a list of all relevant governance rules over a scope
90
+ * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
91
+ * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
92
+ * 'subscriptions/{subscriptionId}'), or security connector (format:
93
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
94
+ * @param options The options parameters.
95
+ */
96
+ _list(scope, options) {
97
+ return this.client.sendOperationRequest({ scope, options }, listOperationSpec);
30
98
  }
31
99
  /**
32
- * Creates or update a security GovernanceRule on the given subscription.
33
- * @param ruleId The security GovernanceRule key - unique key for the standard GovernanceRule
34
- * @param governanceRule GovernanceRule over a subscription scope
100
+ * Get a specific governance rule for the requested scope by ruleId
101
+ * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
102
+ * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
103
+ * 'subscriptions/{subscriptionId}'), or security connector (format:
104
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
105
+ * @param ruleId The governance rule key - unique key for the standard governance rule (GUID)
35
106
  * @param options The options parameters.
36
107
  */
37
- createOrUpdate(ruleId, governanceRule, options) {
38
- return this.client.sendOperationRequest({ ruleId, governanceRule, options }, createOrUpdateOperationSpec);
108
+ get(scope, ruleId, options) {
109
+ return this.client.sendOperationRequest({ scope, ruleId, options }, getOperationSpec);
39
110
  }
40
111
  /**
41
- * Delete a GovernanceRule over a given scope
42
- * @param ruleId The security GovernanceRule key - unique key for the standard GovernanceRule
112
+ * Creates or updates a governance rule over a given scope
113
+ * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
114
+ * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
115
+ * 'subscriptions/{subscriptionId}'), or security connector (format:
116
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
117
+ * @param ruleId The governance rule key - unique key for the standard governance rule (GUID)
118
+ * @param governanceRule Governance rule over a given scope
43
119
  * @param options The options parameters.
44
120
  */
45
- delete(ruleId, options) {
46
- return this.client.sendOperationRequest({ ruleId, options }, deleteOperationSpec);
121
+ createOrUpdate(scope, ruleId, governanceRule, options) {
122
+ return this.client.sendOperationRequest({ scope, ruleId, governanceRule, options }, createOrUpdateOperationSpec);
47
123
  }
48
124
  /**
49
- * Execute a security GovernanceRule on the given subscription.
50
- * @param ruleId The security GovernanceRule key - unique key for the standard GovernanceRule
125
+ * Delete a Governance rule over a given scope
126
+ * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
127
+ * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
128
+ * 'subscriptions/{subscriptionId}'), or security connector (format:
129
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
130
+ * @param ruleId The governance rule key - unique key for the standard governance rule (GUID)
51
131
  * @param options The options parameters.
52
132
  */
53
- beginRuleIdExecuteSingleSubscription(ruleId, options) {
133
+ beginDelete(scope, ruleId, options) {
54
134
  return __awaiter(this, void 0, void 0, function* () {
55
135
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
56
136
  return this.client.sendOperationRequest(args, spec);
57
137
  });
58
- const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
138
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
59
139
  var _a;
60
140
  let currentRawResponse = undefined;
61
141
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -74,40 +154,50 @@ export class GovernanceRulesImpl {
74
154
  }
75
155
  };
76
156
  });
77
- const lro = new LroImpl(sendOperation, { ruleId, options }, ruleIdExecuteSingleSubscriptionOperationSpec);
78
- const poller = new LroEngine(lro, {
79
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
80
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
157
+ const lro = createLroSpec({
158
+ sendOperationFn,
159
+ args: { scope, ruleId, options },
160
+ spec: deleteOperationSpec
161
+ });
162
+ const poller = yield createHttpPoller(lro, {
163
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
164
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
165
+ resourceLocationConfig: "location"
81
166
  });
82
167
  yield poller.poll();
83
168
  return poller;
84
169
  });
85
170
  }
86
171
  /**
87
- * Execute a security GovernanceRule on the given subscription.
88
- * @param ruleId The security GovernanceRule key - unique key for the standard GovernanceRule
172
+ * Delete a Governance rule over a given scope
173
+ * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
174
+ * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
175
+ * 'subscriptions/{subscriptionId}'), or security connector (format:
176
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
177
+ * @param ruleId The governance rule key - unique key for the standard governance rule (GUID)
89
178
  * @param options The options parameters.
90
179
  */
91
- beginRuleIdExecuteSingleSubscriptionAndWait(ruleId, options) {
180
+ beginDeleteAndWait(scope, ruleId, options) {
92
181
  return __awaiter(this, void 0, void 0, function* () {
93
- const poller = yield this.beginRuleIdExecuteSingleSubscription(ruleId, options);
182
+ const poller = yield this.beginDelete(scope, ruleId, options);
94
183
  return poller.pollUntilDone();
95
184
  });
96
185
  }
97
186
  /**
98
- * Execute a security GovernanceRule on the given security connector.
99
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
100
- * case insensitive.
101
- * @param securityConnectorName The security connector name.
102
- * @param ruleId The security GovernanceRule key - unique key for the standard GovernanceRule
187
+ * Execute a governance rule
188
+ * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
189
+ * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
190
+ * 'subscriptions/{subscriptionId}'), or security connector (format:
191
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
192
+ * @param ruleId The governance rule key - unique key for the standard governance rule (GUID)
103
193
  * @param options The options parameters.
104
194
  */
105
- beginRuleIdExecuteSingleSecurityConnector(resourceGroupName, securityConnectorName, ruleId, options) {
195
+ beginExecute(scope, ruleId, options) {
106
196
  return __awaiter(this, void 0, void 0, function* () {
107
197
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
108
198
  return this.client.sendOperationRequest(args, spec);
109
199
  });
110
- const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
200
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
111
201
  var _a;
112
202
  let currentRawResponse = undefined;
113
203
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -126,34 +216,81 @@ export class GovernanceRulesImpl {
126
216
  }
127
217
  };
128
218
  });
129
- const lro = new LroImpl(sendOperation, { resourceGroupName, securityConnectorName, ruleId, options }, ruleIdExecuteSingleSecurityConnectorOperationSpec);
130
- const poller = new LroEngine(lro, {
131
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
132
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
219
+ const lro = createLroSpec({
220
+ sendOperationFn,
221
+ args: { scope, ruleId, options },
222
+ spec: executeOperationSpec
223
+ });
224
+ const poller = yield createHttpPoller(lro, {
225
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
226
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
227
+ resourceLocationConfig: "location"
133
228
  });
134
229
  yield poller.poll();
135
230
  return poller;
136
231
  });
137
232
  }
138
233
  /**
139
- * Execute a security GovernanceRule on the given security connector.
140
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
141
- * case insensitive.
142
- * @param securityConnectorName The security connector name.
143
- * @param ruleId The security GovernanceRule key - unique key for the standard GovernanceRule
234
+ * Execute a governance rule
235
+ * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
236
+ * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
237
+ * 'subscriptions/{subscriptionId}'), or security connector (format:
238
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
239
+ * @param ruleId The governance rule key - unique key for the standard governance rule (GUID)
144
240
  * @param options The options parameters.
145
241
  */
146
- beginRuleIdExecuteSingleSecurityConnectorAndWait(resourceGroupName, securityConnectorName, ruleId, options) {
242
+ beginExecuteAndWait(scope, ruleId, options) {
147
243
  return __awaiter(this, void 0, void 0, function* () {
148
- const poller = yield this.beginRuleIdExecuteSingleSecurityConnector(resourceGroupName, securityConnectorName, ruleId, options);
244
+ const poller = yield this.beginExecute(scope, ruleId, options);
149
245
  return poller.pollUntilDone();
150
246
  });
151
247
  }
248
+ /**
249
+ * Get governance rules long run operation result for the requested scope by ruleId and operationId
250
+ * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
251
+ * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
252
+ * 'subscriptions/{subscriptionId}'), or security connector (format:
253
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
254
+ * @param ruleId The governance rule key - unique key for the standard governance rule (GUID)
255
+ * @param operationId The governance rule long running operation unique key
256
+ * @param options The options parameters.
257
+ */
258
+ operationResults(scope, ruleId, operationId, options) {
259
+ return this.client.sendOperationRequest({ scope, ruleId, operationId, options }, operationResultsOperationSpec);
260
+ }
261
+ /**
262
+ * ListNext
263
+ * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
264
+ * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
265
+ * 'subscriptions/{subscriptionId}'), or security connector (format:
266
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
267
+ * @param nextLink The nextLink from the previous successful call to the List method.
268
+ * @param options The options parameters.
269
+ */
270
+ _listNext(scope, nextLink, options) {
271
+ return this.client.sendOperationRequest({ scope, nextLink, options }, listNextOperationSpec);
272
+ }
152
273
  }
153
274
  // Operation Specifications
154
275
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
276
+ const listOperationSpec = {
277
+ path: "/{scope}/providers/Microsoft.Security/governanceRules",
278
+ httpMethod: "GET",
279
+ responses: {
280
+ 200: {
281
+ bodyMapper: Mappers.GovernanceRuleList
282
+ },
283
+ default: {
284
+ bodyMapper: Mappers.CloudError
285
+ }
286
+ },
287
+ queryParameters: [Parameters.apiVersion17],
288
+ urlParameters: [Parameters.$host, Parameters.scope1],
289
+ headerParameters: [Parameters.accept],
290
+ serializer
291
+ };
155
292
  const getOperationSpec = {
156
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/governanceRules/{ruleId}",
293
+ path: "/{scope}/providers/Microsoft.Security/governanceRules/{ruleId}",
157
294
  httpMethod: "GET",
158
295
  responses: {
159
296
  200: {
@@ -163,17 +300,13 @@ const getOperationSpec = {
163
300
  bodyMapper: Mappers.CloudError
164
301
  }
165
302
  },
166
- queryParameters: [Parameters.apiVersion18],
167
- urlParameters: [
168
- Parameters.$host,
169
- Parameters.subscriptionId,
170
- Parameters.ruleId
171
- ],
303
+ queryParameters: [Parameters.apiVersion17],
304
+ urlParameters: [Parameters.$host, Parameters.scope1, Parameters.ruleId],
172
305
  headerParameters: [Parameters.accept],
173
306
  serializer
174
307
  };
175
308
  const createOrUpdateOperationSpec = {
176
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/governanceRules/{ruleId}",
309
+ path: "/{scope}/providers/Microsoft.Security/governanceRules/{ruleId}",
177
310
  httpMethod: "PUT",
178
311
  responses: {
179
312
  200: {
@@ -187,90 +320,84 @@ const createOrUpdateOperationSpec = {
187
320
  }
188
321
  },
189
322
  requestBody: Parameters.governanceRule,
190
- queryParameters: [Parameters.apiVersion18],
191
- urlParameters: [
192
- Parameters.$host,
193
- Parameters.subscriptionId,
194
- Parameters.ruleId
195
- ],
323
+ queryParameters: [Parameters.apiVersion17],
324
+ urlParameters: [Parameters.$host, Parameters.scope1, Parameters.ruleId],
196
325
  headerParameters: [Parameters.accept, Parameters.contentType],
197
326
  mediaType: "json",
198
327
  serializer
199
328
  };
200
329
  const deleteOperationSpec = {
201
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/governanceRules/{ruleId}",
330
+ path: "/{scope}/providers/Microsoft.Security/governanceRules/{ruleId}",
202
331
  httpMethod: "DELETE",
203
- responses: { 200: {}, 204: {}, default: {} },
204
- queryParameters: [Parameters.apiVersion18],
205
- urlParameters: [
206
- Parameters.$host,
207
- Parameters.subscriptionId,
208
- Parameters.ruleId
209
- ],
332
+ responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
333
+ queryParameters: [Parameters.apiVersion17],
334
+ urlParameters: [Parameters.$host, Parameters.scope1, Parameters.ruleId],
210
335
  serializer
211
336
  };
212
- const ruleIdExecuteSingleSubscriptionOperationSpec = {
213
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/governanceRules/{ruleId}/execute",
337
+ const executeOperationSpec = {
338
+ path: "/{scope}/providers/Microsoft.Security/governanceRules/{ruleId}/execute",
214
339
  httpMethod: "POST",
215
340
  responses: {
216
341
  200: {
217
- headersMapper: Mappers.GovernanceRulesRuleIdExecuteSingleSubscriptionHeaders
342
+ headersMapper: Mappers.GovernanceRulesExecuteHeaders
218
343
  },
219
344
  201: {
220
- headersMapper: Mappers.GovernanceRulesRuleIdExecuteSingleSubscriptionHeaders
345
+ headersMapper: Mappers.GovernanceRulesExecuteHeaders
221
346
  },
222
347
  202: {
223
- headersMapper: Mappers.GovernanceRulesRuleIdExecuteSingleSubscriptionHeaders
348
+ headersMapper: Mappers.GovernanceRulesExecuteHeaders
224
349
  },
225
350
  204: {
226
- headersMapper: Mappers.GovernanceRulesRuleIdExecuteSingleSubscriptionHeaders
351
+ headersMapper: Mappers.GovernanceRulesExecuteHeaders
227
352
  },
228
353
  default: {
229
354
  bodyMapper: Mappers.CloudError
230
355
  }
231
356
  },
232
357
  requestBody: Parameters.executeGovernanceRuleParams,
233
- queryParameters: [Parameters.apiVersion18],
234
- urlParameters: [
235
- Parameters.$host,
236
- Parameters.subscriptionId,
237
- Parameters.ruleId
238
- ],
358
+ queryParameters: [Parameters.apiVersion17],
359
+ urlParameters: [Parameters.$host, Parameters.scope1, Parameters.ruleId],
239
360
  headerParameters: [Parameters.accept, Parameters.contentType],
240
361
  mediaType: "json",
241
362
  serializer
242
363
  };
243
- const ruleIdExecuteSingleSecurityConnectorOperationSpec = {
244
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/providers/Microsoft.Security/governanceRules/{ruleId}/execute",
245
- httpMethod: "POST",
364
+ const operationResultsOperationSpec = {
365
+ path: "/{scope}/providers/Microsoft.Security/governanceRules/{ruleId}/operationResults/{operationId}",
366
+ httpMethod: "GET",
246
367
  responses: {
247
368
  200: {
248
- headersMapper: Mappers.GovernanceRulesRuleIdExecuteSingleSecurityConnectorHeaders
249
- },
250
- 201: {
251
- headersMapper: Mappers.GovernanceRulesRuleIdExecuteSingleSecurityConnectorHeaders
369
+ bodyMapper: Mappers.OperationResultAutoGenerated
252
370
  },
253
371
  202: {
254
- headersMapper: Mappers.GovernanceRulesRuleIdExecuteSingleSecurityConnectorHeaders
255
- },
256
- 204: {
257
- headersMapper: Mappers.GovernanceRulesRuleIdExecuteSingleSecurityConnectorHeaders
372
+ headersMapper: Mappers.GovernanceRulesOperationResultsHeaders
258
373
  },
259
374
  default: {
260
375
  bodyMapper: Mappers.CloudError
261
376
  }
262
377
  },
263
- requestBody: Parameters.executeGovernanceRuleParams,
264
- queryParameters: [Parameters.apiVersion18],
378
+ queryParameters: [Parameters.apiVersion17],
265
379
  urlParameters: [
266
380
  Parameters.$host,
267
- Parameters.subscriptionId,
268
- Parameters.resourceGroupName,
381
+ Parameters.scope1,
269
382
  Parameters.ruleId,
270
- Parameters.securityConnectorName
383
+ Parameters.operationId
271
384
  ],
272
- headerParameters: [Parameters.accept, Parameters.contentType],
273
- mediaType: "json",
385
+ headerParameters: [Parameters.accept],
386
+ serializer
387
+ };
388
+ const listNextOperationSpec = {
389
+ path: "{nextLink}",
390
+ httpMethod: "GET",
391
+ responses: {
392
+ 200: {
393
+ bodyMapper: Mappers.GovernanceRuleList
394
+ },
395
+ default: {
396
+ bodyMapper: Mappers.CloudError
397
+ }
398
+ },
399
+ urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope1],
400
+ headerParameters: [Parameters.accept],
274
401
  serializer
275
402
  };
276
403
  //# sourceMappingURL=governanceRules.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"governanceRules.js","sourceRoot":"","sources":["../../../src/operations/governanceRules.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAcrC,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAsB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,GAAG,CACD,MAAc,EACd,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,MAAM,EAAE,OAAO,EAAE,EACnB,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,cAAc,CACZ,MAAc,EACd,cAA8B,EAC9B,OAAqD;QAErD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,EACnC,2BAA2B,CAC5B,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,MAAM,CACJ,MAAc,EACd,OAA6C;QAE7C,OAAO,IAAI,CAAC,MAAM,CAAC,oB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CAAC,MAAM;QACjB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,MAAM,CAAC;IACzE,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { HealthReportOperations } from "../operationsInterfaces";
2
+ import { SecurityCenter } from "../securityCenter";
3
+ import { HealthReportGetOptionalParams, HealthReportGetResponse } from "../models";
4
+ /** Class containing HealthReportOperations operations. */
5
+ export declare class HealthReportOperationsImpl implements HealthReportOperations {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class HealthReportOperations class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: SecurityCenter);
12
+ /**
13
+ * Get health report of resource
14
+ * @param resourceId The identifier of the resource.
15
+ * @param healthReportName The health report Key - Unique key for the health report type
16
+ * @param options The options parameters.
17
+ */
18
+ get(resourceId: string, healthReportName: string, options?: HealthReportGetOptionalParams): Promise<HealthReportGetResponse>;
19
+ }
20
+ //# sourceMappingURL=healthReportOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"healthReportOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/healthReportOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAIjE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,WAAW,CAAC;AAEnB,0DAA0D;AAC1D,qBAAa,0BAA2B,YAAW,sBAAsB;IACvE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IAExC;;;OAGG;gBACS,MAAM,EAAE,cAAc;IAIlC;;;;;OAKG;IACH,GAAG,CACD,UAAU,EAAE,MAAM,EAClB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC;CAMpC"}
@@ -0,0 +1,52 @@
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 * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing HealthReportOperations operations. */
12
+ export class HealthReportOperationsImpl {
13
+ /**
14
+ * Initialize a new instance of the class HealthReportOperations class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Get health report of resource
22
+ * @param resourceId The identifier of the resource.
23
+ * @param healthReportName The health report Key - Unique key for the health report type
24
+ * @param options The options parameters.
25
+ */
26
+ get(resourceId, healthReportName, options) {
27
+ return this.client.sendOperationRequest({ resourceId, healthReportName, options }, getOperationSpec);
28
+ }
29
+ }
30
+ // Operation Specifications
31
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
32
+ const getOperationSpec = {
33
+ path: "/{resourceId}/providers/Microsoft.Security/healthReports/{healthReportName}",
34
+ httpMethod: "GET",
35
+ responses: {
36
+ 200: {
37
+ bodyMapper: Mappers.HealthReport
38
+ },
39
+ default: {
40
+ bodyMapper: Mappers.ErrorResponseAutoGenerated
41
+ }
42
+ },
43
+ queryParameters: [Parameters.apiVersion20],
44
+ urlParameters: [
45
+ Parameters.$host,
46
+ Parameters.resourceId,
47
+ Parameters.healthReportName
48
+ ],
49
+ headerParameters: [Parameters.accept],
50
+ serializer
51
+ };
52
+ //# sourceMappingURL=healthReportOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"healthReportOperations.js","sourceRoot":"","sources":["../../../src/operations/healthReportOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAOnD,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAAsB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,UAAkB,EAClB,gBAAwB,EACxB,OAAuC;QAEvC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,UAAU,EAAE,gBAAgB,EAAE,OAAO,EAAE,EACzC,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,6EAA6E;IAC/E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IAC1C,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,39 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { HealthReports } from "../operationsInterfaces";
3
+ import { SecurityCenter } from "../securityCenter";
4
+ import { HealthReport, HealthReportsListOptionalParams } from "../models";
5
+ /** Class containing HealthReports operations. */
6
+ export declare class HealthReportsImpl implements HealthReports {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class HealthReports class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: SecurityCenter);
13
+ /**
14
+ * Get a list of all health reports inside a scope. Valid scopes are: subscription (format:
15
+ * 'subscriptions/{subscriptionId}'), or security connector (format:
16
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
17
+ * @param scope The scope at which the operation is performed.
18
+ * @param options The options parameters.
19
+ */
20
+ list(scope: string, options?: HealthReportsListOptionalParams): PagedAsyncIterableIterator<HealthReport>;
21
+ private listPagingPage;
22
+ private listPagingAll;
23
+ /**
24
+ * Get a list of all health reports inside a scope. Valid scopes are: subscription (format:
25
+ * 'subscriptions/{subscriptionId}'), or security connector (format:
26
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
27
+ * @param scope The scope at which the operation is performed.
28
+ * @param options The options parameters.
29
+ */
30
+ private _list;
31
+ /**
32
+ * ListNext
33
+ * @param scope The scope at which the operation is performed.
34
+ * @param nextLink The nextLink from the previous successful call to the List method.
35
+ * @param options The options parameters.
36
+ */
37
+ private _listNext;
38
+ }
39
+ //# sourceMappingURL=healthReports.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"healthReports.d.ts","sourceRoot":"","sources":["../../../src/operations/healthReports.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAIxD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACL,YAAY,EAEZ,+BAA+B,EAGhC,MAAM,WAAW,CAAC;AAGnB,iDAAiD;AACjD,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IAExC;;;OAGG;gBACS,MAAM,EAAE,cAAc;IAIlC;;;;;;OAMG;IACI,IAAI,CACT,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,+BAA+B,GACxC,0BAA0B,CAAC,YAAY,CAAC;YAkB5B,cAAc;YAuBd,aAAa;IAS5B;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;OAKG;IACH,OAAO,CAAC,SAAS;CAUlB"}