@azure/arm-policyinsights 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 (255) hide show
  1. package/CHANGELOG.md +54 -1
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +1809 -831
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.js +11 -3
  9. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.js.map +1 -1
  10. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.js +10 -2
  11. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.js.map +1 -1
  12. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.js +13 -4
  13. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.js.map +1 -1
  14. package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.js +11 -3
  15. package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.js.map +1 -1
  16. package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.js +10 -2
  17. package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.js.map +1 -1
  18. package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.js +10 -2
  19. package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.js.map +1 -1
  20. package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.js +11 -3
  21. package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.js.map +1 -1
  22. package/dist-esm/samples-dev/attestationsGetAtResourceSample.js +10 -2
  23. package/dist-esm/samples-dev/attestationsGetAtResourceSample.js.map +1 -1
  24. package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.js +10 -2
  25. package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.js.map +1 -1
  26. package/dist-esm/samples-dev/attestationsListForResourceGroupSample.js +15 -6
  27. package/dist-esm/samples-dev/attestationsListForResourceGroupSample.js.map +1 -1
  28. package/dist-esm/samples-dev/attestationsListForResourceSample.js +13 -4
  29. package/dist-esm/samples-dev/attestationsListForResourceSample.js.map +1 -1
  30. package/dist-esm/samples-dev/attestationsListForSubscriptionSample.js +13 -4
  31. package/dist-esm/samples-dev/attestationsListForSubscriptionSample.js.map +1 -1
  32. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForPolicyDefinitionSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForPolicyDefinitionSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForPolicyDefinitionSample.js +39 -0
  35. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForPolicyDefinitionSample.js.map +1 -0
  36. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +40 -0
  39. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +1 -0
  40. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupSample.js +64 -0
  43. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupSample.js.map +1 -0
  44. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceSample.js +131 -0
  47. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceSample.js.map +1 -0
  48. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js +39 -0
  51. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +1 -0
  52. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionSample.js +62 -0
  55. package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionSample.js.map +1 -0
  56. package/dist-esm/samples-dev/operationsListSample.js +11 -3
  57. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  58. package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.js +13 -4
  59. package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.js.map +1 -1
  60. package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.js +13 -4
  61. package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.js.map +1 -1
  62. package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.js +13 -4
  63. package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.js.map +1 -1
  64. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +15 -6
  65. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +1 -1
  66. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.js +15 -6
  67. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.js.map +1 -1
  68. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.js +28 -14
  69. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.js.map +1 -1
  70. package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js +13 -4
  71. package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +1 -1
  72. package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.js +28 -14
  73. package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.js.map +1 -1
  74. package/dist-esm/samples-dev/policyMetadataGetResourceSample.js +10 -2
  75. package/dist-esm/samples-dev/policyMetadataGetResourceSample.js.map +1 -1
  76. package/dist-esm/samples-dev/policyMetadataListSample.js +13 -4
  77. package/dist-esm/samples-dev/policyMetadataListSample.js.map +1 -1
  78. package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.js +10 -2
  79. package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.js.map +1 -1
  80. package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.js +11 -3
  81. package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.js.map +1 -1
  82. package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.js +10 -2
  83. package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.js.map +1 -1
  84. package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.js +13 -4
  85. package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.js.map +1 -1
  86. package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.js +13 -4
  87. package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.js.map +1 -1
  88. package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.js +13 -4
  89. package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.js.map +1 -1
  90. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +15 -6
  91. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +1 -1
  92. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.js +15 -6
  93. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.js.map +1 -1
  94. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.js +31 -16
  95. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.js.map +1 -1
  96. package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js +13 -4
  97. package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +1 -1
  98. package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.js +28 -14
  99. package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.js.map +1 -1
  100. package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.js +10 -2
  101. package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.js.map +1 -1
  102. package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.js +10 -2
  103. package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.js.map +1 -1
  104. package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.js +10 -2
  105. package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.js.map +1 -1
  106. package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.js +11 -3
  107. package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.js.map +1 -1
  108. package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.js +11 -3
  109. package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.js.map +1 -1
  110. package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.js +10 -2
  111. package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.js.map +1 -1
  112. package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.js +10 -2
  113. package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.js.map +1 -1
  114. package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.js +13 -4
  115. package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.js.map +1 -1
  116. package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.js +11 -3
  117. package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.js.map +1 -1
  118. package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.js +10 -2
  119. package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.js.map +1 -1
  120. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.js +13 -4
  121. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.js.map +1 -1
  122. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.js +15 -6
  123. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.js.map +1 -1
  124. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.js +13 -4
  125. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.js.map +1 -1
  126. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.js +13 -4
  127. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.js.map +1 -1
  128. package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.js +10 -2
  129. package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.js.map +1 -1
  130. package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.js +11 -3
  131. package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.js.map +1 -1
  132. package/dist-esm/samples-dev/remediationsCancelAtResourceSample.js +10 -2
  133. package/dist-esm/samples-dev/remediationsCancelAtResourceSample.js.map +1 -1
  134. package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.js +10 -2
  135. package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.js.map +1 -1
  136. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.js +10 -2
  137. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.js.map +1 -1
  138. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.js +11 -3
  139. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.js.map +1 -1
  140. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.js +10 -2
  141. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.js.map +1 -1
  142. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.js +13 -4
  143. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.js.map +1 -1
  144. package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.js +10 -2
  145. package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.js.map +1 -1
  146. package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.js +11 -3
  147. package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.js.map +1 -1
  148. package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.js +10 -2
  149. package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.js.map +1 -1
  150. package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.js +10 -2
  151. package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.js.map +1 -1
  152. package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.js +10 -2
  153. package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.js.map +1 -1
  154. package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.js +11 -3
  155. package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.js.map +1 -1
  156. package/dist-esm/samples-dev/remediationsGetAtResourceSample.js +10 -2
  157. package/dist-esm/samples-dev/remediationsGetAtResourceSample.js.map +1 -1
  158. package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.js +10 -2
  159. package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.js.map +1 -1
  160. package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.js +10 -2
  161. package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.js.map +1 -1
  162. package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.js +11 -3
  163. package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.js.map +1 -1
  164. package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.js +10 -2
  165. package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.js.map +1 -1
  166. package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.js +10 -2
  167. package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.js.map +1 -1
  168. package/dist-esm/samples-dev/remediationsListForManagementGroupSample.js +13 -4
  169. package/dist-esm/samples-dev/remediationsListForManagementGroupSample.js.map +1 -1
  170. package/dist-esm/samples-dev/remediationsListForResourceGroupSample.js +15 -6
  171. package/dist-esm/samples-dev/remediationsListForResourceGroupSample.js.map +1 -1
  172. package/dist-esm/samples-dev/remediationsListForResourceSample.js +13 -4
  173. package/dist-esm/samples-dev/remediationsListForResourceSample.js.map +1 -1
  174. package/dist-esm/samples-dev/remediationsListForSubscriptionSample.js +13 -4
  175. package/dist-esm/samples-dev/remediationsListForSubscriptionSample.js.map +1 -1
  176. package/dist-esm/src/index.d.ts +1 -0
  177. package/dist-esm/src/index.d.ts.map +1 -1
  178. package/dist-esm/src/index.js +1 -0
  179. package/dist-esm/src/index.js.map +1 -1
  180. package/dist-esm/src/models/index.d.ts +377 -94
  181. package/dist-esm/src/models/index.d.ts.map +1 -1
  182. package/dist-esm/src/models/index.js +6 -0
  183. package/dist-esm/src/models/index.js.map +1 -1
  184. package/dist-esm/src/models/mappers.d.ts +7 -3
  185. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  186. package/dist-esm/src/models/mappers.js +446 -82
  187. package/dist-esm/src/models/mappers.js.map +1 -1
  188. package/dist-esm/src/models/parameters.d.ts +13 -1
  189. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  190. package/dist-esm/src/models/parameters.js +127 -1
  191. package/dist-esm/src/models/parameters.js.map +1 -1
  192. package/dist-esm/src/operations/attestations.d.ts.map +1 -1
  193. package/dist-esm/src/operations/attestations.js +67 -36
  194. package/dist-esm/src/operations/attestations.js.map +1 -1
  195. package/dist-esm/src/operations/componentPolicyStates.d.ts +66 -0
  196. package/dist-esm/src/operations/componentPolicyStates.d.ts.map +1 -0
  197. package/dist-esm/src/operations/componentPolicyStates.js +292 -0
  198. package/dist-esm/src/operations/componentPolicyStates.js.map +1 -0
  199. package/dist-esm/src/operations/index.d.ts +2 -1
  200. package/dist-esm/src/operations/index.d.ts.map +1 -1
  201. package/dist-esm/src/operations/index.js +2 -1
  202. package/dist-esm/src/operations/index.js.map +1 -1
  203. package/dist-esm/src/operations/operations.js +1 -1
  204. package/dist-esm/src/operations/policyEvents.d.ts.map +1 -1
  205. package/dist-esm/src/operations/policyEvents.js +153 -153
  206. package/dist-esm/src/operations/policyEvents.js.map +1 -1
  207. package/dist-esm/src/operations/policyMetadataOperations.d.ts.map +1 -1
  208. package/dist-esm/src/operations/policyMetadataOperations.js +19 -8
  209. package/dist-esm/src/operations/policyMetadataOperations.js.map +1 -1
  210. package/dist-esm/src/operations/policyStates.d.ts.map +1 -1
  211. package/dist-esm/src/operations/policyStates.js +161 -161
  212. package/dist-esm/src/operations/policyStates.js.map +1 -1
  213. package/dist-esm/src/operations/policyTrackedResources.d.ts.map +1 -1
  214. package/dist-esm/src/operations/policyTrackedResources.js +73 -32
  215. package/dist-esm/src/operations/policyTrackedResources.js.map +1 -1
  216. package/dist-esm/src/operations/remediations.d.ts.map +1 -1
  217. package/dist-esm/src/operations/remediations.js +145 -64
  218. package/dist-esm/src/operations/remediations.js.map +1 -1
  219. package/dist-esm/src/operationsInterfaces/componentPolicyStates.d.ts +58 -0
  220. package/dist-esm/src/operationsInterfaces/componentPolicyStates.d.ts.map +1 -0
  221. package/dist-esm/src/operationsInterfaces/componentPolicyStates.js +9 -0
  222. package/dist-esm/src/operationsInterfaces/componentPolicyStates.js.map +1 -0
  223. package/dist-esm/src/operationsInterfaces/index.d.ts +2 -1
  224. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  225. package/dist-esm/src/operationsInterfaces/index.js +2 -1
  226. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  227. package/dist-esm/src/pagingHelper.d.ts +13 -0
  228. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  229. package/dist-esm/src/pagingHelper.js +32 -0
  230. package/dist-esm/src/pagingHelper.js.map +1 -0
  231. package/dist-esm/src/policyInsightsClient.d.ts +3 -2
  232. package/dist-esm/src/policyInsightsClient.d.ts.map +1 -1
  233. package/dist-esm/src/policyInsightsClient.js +7 -9
  234. package/dist-esm/src/policyInsightsClient.js.map +1 -1
  235. package/package.json +5 -4
  236. package/review/arm-policyinsights.api.md +170 -32
  237. package/src/index.ts +1 -0
  238. package/src/models/index.ts +438 -163
  239. package/src/models/mappers.ts +453 -85
  240. package/src/models/parameters.ts +139 -1
  241. package/src/operations/attestations.ts +78 -40
  242. package/src/operations/componentPolicyStates.ts +376 -0
  243. package/src/operations/index.ts +2 -1
  244. package/src/operations/operations.ts +1 -1
  245. package/src/operations/policyEvents.ts +215 -199
  246. package/src/operations/policyMetadataOperations.ts +22 -10
  247. package/src/operations/policyStates.ts +224 -208
  248. package/src/operations/policyTrackedResources.ts +100 -51
  249. package/src/operations/remediations.ts +186 -88
  250. package/src/operationsInterfaces/componentPolicyStates.ts +113 -0
  251. package/src/operationsInterfaces/index.ts +2 -1
  252. package/src/pagingHelper.ts +39 -0
  253. package/src/policyInsightsClient.ts +13 -10
  254. package/types/arm-policyinsights.d.ts +433 -65
  255. package/types/tsdoc-metadata.json +1 -1
@@ -238,8 +238,6 @@ export declare type AttestationsGetAtSubscriptionResponse = Attestation;
238
238
 
239
239
  /** Optional parameters. */
240
240
  export declare interface AttestationsListForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
241
- /** Parameter group */
242
- queryOptions?: QueryOptions;
243
241
  }
244
242
 
245
243
  /** Contains response data for the listForResourceGroupNext operation. */
@@ -256,8 +254,6 @@ export declare type AttestationsListForResourceGroupResponse = AttestationListRe
256
254
 
257
255
  /** Optional parameters. */
258
256
  export declare interface AttestationsListForResourceNextOptionalParams extends coreClient.OperationOptions {
259
- /** Parameter group */
260
- queryOptions?: QueryOptions;
261
257
  }
262
258
 
263
259
  /** Contains response data for the listForResourceNext operation. */
@@ -274,8 +270,6 @@ export declare type AttestationsListForResourceResponse = AttestationListResult;
274
270
 
275
271
  /** Optional parameters. */
276
272
  export declare interface AttestationsListForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
277
- /** Parameter group */
278
- queryOptions?: QueryOptions;
279
273
  }
280
274
 
281
275
  /** Contains response data for the listForSubscriptionNext operation. */
@@ -375,6 +369,420 @@ export declare interface ComponentEventDetails {
375
369
  policyDefinitionAction?: string;
376
370
  }
377
371
 
372
+ /** Evaluation details of policy language expressions. */
373
+ export declare interface ComponentExpressionEvaluationDetails {
374
+ /** Evaluation result. */
375
+ result?: string;
376
+ /**
377
+ * Expression evaluated.
378
+ * NOTE: This property will not be serialized. It can only be populated by the server.
379
+ */
380
+ readonly expression?: string;
381
+ /**
382
+ * The kind of expression that was evaluated.
383
+ * NOTE: This property will not be serialized. It can only be populated by the server.
384
+ */
385
+ readonly expressionKind?: string;
386
+ /**
387
+ * Property path if the expression is a field or an alias.
388
+ * NOTE: This property will not be serialized. It can only be populated by the server.
389
+ */
390
+ readonly path?: string;
391
+ /**
392
+ * Value of the expression.
393
+ * NOTE: This property will not be serialized. It can only be populated by the server.
394
+ */
395
+ readonly expressionValue?: Record<string, unknown>;
396
+ /**
397
+ * Target value to be compared with the expression value.
398
+ * NOTE: This property will not be serialized. It can only be populated by the server.
399
+ */
400
+ readonly targetValue?: Record<string, unknown>;
401
+ /**
402
+ * Operator to compare the expression value and the target value.
403
+ * NOTE: This property will not be serialized. It can only be populated by the server.
404
+ */
405
+ readonly operator?: string;
406
+ }
407
+
408
+ /** Policy evaluation details. */
409
+ export declare interface ComponentPolicyEvaluationDetails {
410
+ /**
411
+ * Details of the evaluated expressions.
412
+ * NOTE: This property will not be serialized. It can only be populated by the server.
413
+ */
414
+ readonly evaluatedExpressions?: ComponentExpressionEvaluationDetails[];
415
+ /** Additional textual reason for the evaluation outcome. */
416
+ reason?: string;
417
+ }
418
+
419
+ /** Component Policy State record. */
420
+ export declare interface ComponentPolicyState {
421
+ /** Describes unknown properties. The value of an unknown property can be of "any" type. */
422
+ [property: string]: any;
423
+ /**
424
+ * OData entity ID; always set to null since component policy state records do not have an entity ID.
425
+ * NOTE: This property will not be serialized. It can only be populated by the server.
426
+ */
427
+ readonly odataId?: string;
428
+ /**
429
+ * OData context string; used by OData clients to resolve type information based on metadata.
430
+ * NOTE: This property will not be serialized. It can only be populated by the server.
431
+ */
432
+ readonly odataContext?: string;
433
+ /**
434
+ * Timestamp for the component policy state record.
435
+ * NOTE: This property will not be serialized. It can only be populated by the server.
436
+ */
437
+ readonly timestamp?: Date;
438
+ /**
439
+ * Component Id.
440
+ * NOTE: This property will not be serialized. It can only be populated by the server.
441
+ */
442
+ readonly componentId?: string;
443
+ /**
444
+ * Component type.
445
+ * NOTE: This property will not be serialized. It can only be populated by the server.
446
+ */
447
+ readonly componentType?: string;
448
+ /**
449
+ * Component name.
450
+ * NOTE: This property will not be serialized. It can only be populated by the server.
451
+ */
452
+ readonly componentName?: string;
453
+ /**
454
+ * Resource ID.
455
+ * NOTE: This property will not be serialized. It can only be populated by the server.
456
+ */
457
+ readonly resourceId?: string;
458
+ /**
459
+ * Policy assignment ID.
460
+ * NOTE: This property will not be serialized. It can only be populated by the server.
461
+ */
462
+ readonly policyAssignmentId?: string;
463
+ /**
464
+ * Policy definition ID.
465
+ * NOTE: This property will not be serialized. It can only be populated by the server.
466
+ */
467
+ readonly policyDefinitionId?: string;
468
+ /**
469
+ * Subscription ID.
470
+ * NOTE: This property will not be serialized. It can only be populated by the server.
471
+ */
472
+ readonly subscriptionId?: string;
473
+ /**
474
+ * Resource type.
475
+ * NOTE: This property will not be serialized. It can only be populated by the server.
476
+ */
477
+ readonly resourceType?: string;
478
+ /**
479
+ * Resource location.
480
+ * NOTE: This property will not be serialized. It can only be populated by the server.
481
+ */
482
+ readonly resourceLocation?: string;
483
+ /**
484
+ * Resource group name.
485
+ * NOTE: This property will not be serialized. It can only be populated by the server.
486
+ */
487
+ readonly resourceGroup?: string;
488
+ /**
489
+ * Policy assignment name.
490
+ * NOTE: This property will not be serialized. It can only be populated by the server.
491
+ */
492
+ readonly policyAssignmentName?: string;
493
+ /**
494
+ * Policy assignment owner.
495
+ * NOTE: This property will not be serialized. It can only be populated by the server.
496
+ */
497
+ readonly policyAssignmentOwner?: string;
498
+ /**
499
+ * Policy assignment parameters.
500
+ * NOTE: This property will not be serialized. It can only be populated by the server.
501
+ */
502
+ readonly policyAssignmentParameters?: string;
503
+ /**
504
+ * Policy assignment scope.
505
+ * NOTE: This property will not be serialized. It can only be populated by the server.
506
+ */
507
+ readonly policyAssignmentScope?: string;
508
+ /**
509
+ * Policy definition name.
510
+ * NOTE: This property will not be serialized. It can only be populated by the server.
511
+ */
512
+ readonly policyDefinitionName?: string;
513
+ /**
514
+ * Policy definition action, i.e. effect.
515
+ * NOTE: This property will not be serialized. It can only be populated by the server.
516
+ */
517
+ readonly policyDefinitionAction?: string;
518
+ /**
519
+ * Policy definition category.
520
+ * NOTE: This property will not be serialized. It can only be populated by the server.
521
+ */
522
+ readonly policyDefinitionCategory?: string;
523
+ /**
524
+ * Policy set definition ID, if the policy assignment is for a policy set.
525
+ * NOTE: This property will not be serialized. It can only be populated by the server.
526
+ */
527
+ readonly policySetDefinitionId?: string;
528
+ /**
529
+ * Policy set definition name, if the policy assignment is for a policy set.
530
+ * NOTE: This property will not be serialized. It can only be populated by the server.
531
+ */
532
+ readonly policySetDefinitionName?: string;
533
+ /**
534
+ * Policy set definition owner, if the policy assignment is for a policy set.
535
+ * NOTE: This property will not be serialized. It can only be populated by the server.
536
+ */
537
+ readonly policySetDefinitionOwner?: string;
538
+ /**
539
+ * Policy set definition category, if the policy assignment is for a policy set.
540
+ * NOTE: This property will not be serialized. It can only be populated by the server.
541
+ */
542
+ readonly policySetDefinitionCategory?: string;
543
+ /**
544
+ * Policy set definition parameters, if the policy assignment is for a policy set.
545
+ * NOTE: This property will not be serialized. It can only be populated by the server.
546
+ */
547
+ readonly policySetDefinitionParameters?: string;
548
+ /**
549
+ * Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.
550
+ * NOTE: This property will not be serialized. It can only be populated by the server.
551
+ */
552
+ readonly policyDefinitionReferenceId?: string;
553
+ /**
554
+ * Compliance state of the resource.
555
+ * NOTE: This property will not be serialized. It can only be populated by the server.
556
+ */
557
+ readonly complianceState?: string;
558
+ /** Policy evaluation details. This is only included in the response if the request contains $expand=PolicyEvaluationDetails. */
559
+ policyEvaluationDetails?: ComponentPolicyEvaluationDetails;
560
+ /**
561
+ * Policy definition group names.
562
+ * NOTE: This property will not be serialized. It can only be populated by the server.
563
+ */
564
+ readonly policyDefinitionGroupNames?: string[];
565
+ /**
566
+ * Evaluated policy definition version.
567
+ * NOTE: This property will not be serialized. It can only be populated by the server.
568
+ */
569
+ readonly policyDefinitionVersion?: string;
570
+ /**
571
+ * Evaluated policy set definition version.
572
+ * NOTE: This property will not be serialized. It can only be populated by the server.
573
+ */
574
+ readonly policySetDefinitionVersion?: string;
575
+ /**
576
+ * Evaluated policy assignment version.
577
+ * NOTE: This property will not be serialized. It can only be populated by the server.
578
+ */
579
+ readonly policyAssignmentVersion?: string;
580
+ }
581
+
582
+ /** Interface representing a ComponentPolicyStates. */
583
+ export declare interface ComponentPolicyStates {
584
+ /**
585
+ * Queries component policy states under subscription scope.
586
+ * @param subscriptionId Microsoft Azure subscription ID.
587
+ * @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
588
+ * In a given time range, 'latest' represents the latest component policy state(s).
589
+ * @param options The options parameters.
590
+ */
591
+ listQueryResultsForSubscription(subscriptionId: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForSubscriptionOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForSubscriptionResponse>;
592
+ /**
593
+ * Queries component policy states under resource group scope.
594
+ * @param subscriptionId Microsoft Azure subscription ID.
595
+ * @param resourceGroupName Resource group name.
596
+ * @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
597
+ * In a given time range, 'latest' represents the latest component policy state(s).
598
+ * @param options The options parameters.
599
+ */
600
+ listQueryResultsForResourceGroup(subscriptionId: string, resourceGroupName: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForResourceGroupOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForResourceGroupResponse>;
601
+ /**
602
+ * Queries component policy states for the resource.
603
+ * @param resourceId Resource ID.
604
+ * @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
605
+ * In a given time range, 'latest' represents the latest component policy state(s).
606
+ * @param options The options parameters.
607
+ */
608
+ listQueryResultsForResource(resourceId: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForResourceOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForResourceResponse>;
609
+ /**
610
+ * Queries component policy states for the subscription level policy definition.
611
+ * @param subscriptionId Microsoft Azure subscription ID.
612
+ * @param policyDefinitionName Policy definition name.
613
+ * @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
614
+ * In a given time range, 'latest' represents the latest component policy state(s).
615
+ * @param options The options parameters.
616
+ */
617
+ listQueryResultsForPolicyDefinition(subscriptionId: string, policyDefinitionName: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForPolicyDefinitionOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForPolicyDefinitionResponse>;
618
+ /**
619
+ * Queries component policy states for the subscription level policy assignment.
620
+ * @param subscriptionId Microsoft Azure subscription ID.
621
+ * @param policyAssignmentName Policy assignment name.
622
+ * @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
623
+ * In a given time range, 'latest' represents the latest component policy state(s).
624
+ * @param options The options parameters.
625
+ */
626
+ listQueryResultsForSubscriptionLevelPolicyAssignment(subscriptionId: string, policyAssignmentName: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentResponse>;
627
+ /**
628
+ * Queries component policy states for the resource group level policy assignment.
629
+ * @param subscriptionId Microsoft Azure subscription ID.
630
+ * @param resourceGroupName Resource group name.
631
+ * @param policyAssignmentName Policy assignment name.
632
+ * @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
633
+ * In a given time range, 'latest' represents the latest component policy state(s).
634
+ * @param options The options parameters.
635
+ */
636
+ listQueryResultsForResourceGroupLevelPolicyAssignment(subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentResponse>;
637
+ }
638
+
639
+ /** Optional parameters. */
640
+ export declare interface ComponentPolicyStatesListQueryResultsForPolicyDefinitionOptionalParams extends coreClient.OperationOptions {
641
+ /** Maximum number of records to return. */
642
+ top?: number;
643
+ /** Ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". */
644
+ orderBy?: string;
645
+ /** Select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". */
646
+ select?: string;
647
+ /** ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). */
648
+ from?: Date;
649
+ /** ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. */
650
+ to?: Date;
651
+ /** OData filter expression. */
652
+ filter?: string;
653
+ /** OData apply expression for aggregations. */
654
+ apply?: string;
655
+ }
656
+
657
+ /** Contains response data for the listQueryResultsForPolicyDefinition operation. */
658
+ export declare type ComponentPolicyStatesListQueryResultsForPolicyDefinitionResponse = ComponentPolicyStatesQueryResults;
659
+
660
+ /** Optional parameters. */
661
+ export declare interface ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
662
+ /** Maximum number of records to return. */
663
+ top?: number;
664
+ /** Ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". */
665
+ orderBy?: string;
666
+ /** Select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". */
667
+ select?: string;
668
+ /** ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). */
669
+ from?: Date;
670
+ /** ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. */
671
+ to?: Date;
672
+ /** OData filter expression. */
673
+ filter?: string;
674
+ /** OData apply expression for aggregations. */
675
+ apply?: string;
676
+ }
677
+
678
+ /** Contains response data for the listQueryResultsForResourceGroupLevelPolicyAssignment operation. */
679
+ export declare type ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentResponse = ComponentPolicyStatesQueryResults;
680
+
681
+ /** Optional parameters. */
682
+ export declare interface ComponentPolicyStatesListQueryResultsForResourceGroupOptionalParams extends coreClient.OperationOptions {
683
+ /** Maximum number of records to return. */
684
+ top?: number;
685
+ /** Ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". */
686
+ orderBy?: string;
687
+ /** Select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". */
688
+ select?: string;
689
+ /** ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). */
690
+ from?: Date;
691
+ /** ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. */
692
+ to?: Date;
693
+ /** OData filter expression. */
694
+ filter?: string;
695
+ /** OData apply expression for aggregations. */
696
+ apply?: string;
697
+ }
698
+
699
+ /** Contains response data for the listQueryResultsForResourceGroup operation. */
700
+ export declare type ComponentPolicyStatesListQueryResultsForResourceGroupResponse = ComponentPolicyStatesQueryResults;
701
+
702
+ /** Optional parameters. */
703
+ export declare interface ComponentPolicyStatesListQueryResultsForResourceOptionalParams extends coreClient.OperationOptions {
704
+ /** Maximum number of records to return. */
705
+ top?: number;
706
+ /** Ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". */
707
+ orderBy?: string;
708
+ /** Select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". */
709
+ select?: string;
710
+ /** ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). */
711
+ from?: Date;
712
+ /** ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. */
713
+ to?: Date;
714
+ /** OData filter expression. */
715
+ filter?: string;
716
+ /** OData apply expression for aggregations. */
717
+ apply?: string;
718
+ /** The $expand query parameter. */
719
+ expand?: string;
720
+ }
721
+
722
+ /** Contains response data for the listQueryResultsForResource operation. */
723
+ export declare type ComponentPolicyStatesListQueryResultsForResourceResponse = ComponentPolicyStatesQueryResults;
724
+
725
+ /** Optional parameters. */
726
+ export declare interface ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
727
+ /** Maximum number of records to return. */
728
+ top?: number;
729
+ /** Ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". */
730
+ orderBy?: string;
731
+ /** Select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". */
732
+ select?: string;
733
+ /** ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). */
734
+ from?: Date;
735
+ /** ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. */
736
+ to?: Date;
737
+ /** OData filter expression. */
738
+ filter?: string;
739
+ /** OData apply expression for aggregations. */
740
+ apply?: string;
741
+ }
742
+
743
+ /** Contains response data for the listQueryResultsForSubscriptionLevelPolicyAssignment operation. */
744
+ export declare type ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentResponse = ComponentPolicyStatesQueryResults;
745
+
746
+ /** Optional parameters. */
747
+ export declare interface ComponentPolicyStatesListQueryResultsForSubscriptionOptionalParams extends coreClient.OperationOptions {
748
+ /** Maximum number of records to return. */
749
+ top?: number;
750
+ /** Ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". */
751
+ orderBy?: string;
752
+ /** Select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". */
753
+ select?: string;
754
+ /** ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). */
755
+ from?: Date;
756
+ /** ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. */
757
+ to?: Date;
758
+ /** OData filter expression. */
759
+ filter?: string;
760
+ /** OData apply expression for aggregations. */
761
+ apply?: string;
762
+ }
763
+
764
+ /** Contains response data for the listQueryResultsForSubscription operation. */
765
+ export declare type ComponentPolicyStatesListQueryResultsForSubscriptionResponse = ComponentPolicyStatesQueryResults;
766
+
767
+ /** Query results. */
768
+ export declare interface ComponentPolicyStatesQueryResults {
769
+ /** OData context string; used by OData clients to resolve type information based on metadata. */
770
+ odataContext?: string;
771
+ /** OData entity count; represents the number of policy state records returned. */
772
+ odataCount?: number;
773
+ /** Query results. */
774
+ value?: ComponentPolicyState[];
775
+ }
776
+
777
+ /**
778
+ * Defines values for ComponentPolicyStatesResource. \
779
+ * {@link KnownComponentPolicyStatesResource} can be used interchangeably with ComponentPolicyStatesResource,
780
+ * this enum contains the known values that the service supports.
781
+ * ### Known values supported by the service
782
+ * **latest**
783
+ */
784
+ export declare type ComponentPolicyStatesResource = string;
785
+
378
786
  /** Component state details. */
379
787
  export declare interface ComponentStateDetails {
380
788
  /** Describes unknown properties. The value of an unknown property can be of "any" type. */
@@ -575,6 +983,15 @@ export declare interface FieldRestrictions {
575
983
  restrictions?: FieldRestriction[];
576
984
  }
577
985
 
986
+ /**
987
+ * Given the last `.value` produced by the `byPage` iterator,
988
+ * returns a continuation token that can be used to begin paging from
989
+ * that point later.
990
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
991
+ * @returns The continuation token that can be passed into byPage() during future calls.
992
+ */
993
+ export declare function getContinuationToken(page: unknown): string | undefined;
994
+
578
995
  /** Evaluation details of IfNotExists effect. */
579
996
  export declare interface IfNotExistsEvaluationDetails {
580
997
  /** ID of the last evaluated resource for IfNotExists effect. */
@@ -593,6 +1010,12 @@ export declare enum KnownComplianceState {
593
1010
  Unknown = "Unknown"
594
1011
  }
595
1012
 
1013
+ /** Known values of {@link ComponentPolicyStatesResource} that the service accepts. */
1014
+ export declare enum KnownComponentPolicyStatesResource {
1015
+ /** Latest */
1016
+ Latest = "latest"
1017
+ }
1018
+
596
1019
  /** Known values of {@link CreatedByType} that the service accepts. */
597
1020
  export declare enum KnownCreatedByType {
598
1021
  /** User */
@@ -653,6 +1076,8 @@ export declare enum KnownResourceDiscoveryMode {
653
1076
  export declare interface Operation {
654
1077
  /** Operation name. */
655
1078
  name?: string;
1079
+ /** Indicates whether the operation is a data action */
1080
+ isDataAction?: boolean;
656
1081
  /** Display metadata associated with the operation. */
657
1082
  display?: OperationDisplay;
658
1083
  }
@@ -934,8 +1359,6 @@ export declare interface PolicyEvents {
934
1359
 
935
1360
  /** Optional parameters. */
936
1361
  export declare interface PolicyEventsListQueryResultsForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
937
- /** Parameter group */
938
- queryOptions?: QueryOptions;
939
1362
  }
940
1363
 
941
1364
  /** Contains response data for the listQueryResultsForManagementGroupNext operation. */
@@ -952,8 +1375,6 @@ export declare type PolicyEventsListQueryResultsForManagementGroupResponse = Pol
952
1375
 
953
1376
  /** Optional parameters. */
954
1377
  export declare interface PolicyEventsListQueryResultsForPolicyDefinitionNextOptionalParams extends coreClient.OperationOptions {
955
- /** Parameter group */
956
- queryOptions?: QueryOptions;
957
1378
  }
958
1379
 
959
1380
  /** Contains response data for the listQueryResultsForPolicyDefinitionNext operation. */
@@ -970,8 +1391,6 @@ export declare type PolicyEventsListQueryResultsForPolicyDefinitionResponse = Po
970
1391
 
971
1392
  /** Optional parameters. */
972
1393
  export declare interface PolicyEventsListQueryResultsForPolicySetDefinitionNextOptionalParams extends coreClient.OperationOptions {
973
- /** Parameter group */
974
- queryOptions?: QueryOptions;
975
1394
  }
976
1395
 
977
1396
  /** Contains response data for the listQueryResultsForPolicySetDefinitionNext operation. */
@@ -988,8 +1407,6 @@ export declare type PolicyEventsListQueryResultsForPolicySetDefinitionResponse =
988
1407
 
989
1408
  /** Optional parameters. */
990
1409
  export declare interface PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
991
- /** Parameter group */
992
- queryOptions?: QueryOptions;
993
1410
  }
994
1411
 
995
1412
  /** Contains response data for the listQueryResultsForResourceGroupLevelPolicyAssignmentNext operation. */
@@ -1006,8 +1423,6 @@ export declare type PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssig
1006
1423
 
1007
1424
  /** Optional parameters. */
1008
1425
  export declare interface PolicyEventsListQueryResultsForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1009
- /** Parameter group */
1010
- queryOptions?: QueryOptions;
1011
1426
  }
1012
1427
 
1013
1428
  /** Contains response data for the listQueryResultsForResourceGroupNext operation. */
@@ -1024,8 +1439,6 @@ export declare type PolicyEventsListQueryResultsForResourceGroupResponse = Polic
1024
1439
 
1025
1440
  /** Optional parameters. */
1026
1441
  export declare interface PolicyEventsListQueryResultsForResourceNextOptionalParams extends coreClient.OperationOptions {
1027
- /** Parameter group */
1028
- queryOptions?: QueryOptions;
1029
1442
  }
1030
1443
 
1031
1444
  /** Contains response data for the listQueryResultsForResourceNext operation. */
@@ -1042,8 +1455,6 @@ export declare type PolicyEventsListQueryResultsForResourceResponse = PolicyEven
1042
1455
 
1043
1456
  /** Optional parameters. */
1044
1457
  export declare interface PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
1045
- /** Parameter group */
1046
- queryOptions?: QueryOptions;
1047
1458
  }
1048
1459
 
1049
1460
  /** Contains response data for the listQueryResultsForSubscriptionLevelPolicyAssignmentNext operation. */
@@ -1060,8 +1471,6 @@ export declare type PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssign
1060
1471
 
1061
1472
  /** Optional parameters. */
1062
1473
  export declare interface PolicyEventsListQueryResultsForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
1063
- /** Parameter group */
1064
- queryOptions?: QueryOptions;
1065
1474
  }
1066
1475
 
1067
1476
  /** Contains response data for the listQueryResultsForSubscriptionNext operation. */
@@ -1119,9 +1528,10 @@ export declare class PolicyInsightsClient extends coreClient.ServiceClient {
1119
1528
  remediations: Remediations;
1120
1529
  policyEvents: PolicyEvents;
1121
1530
  policyStates: PolicyStates;
1122
- operations: Operations;
1123
1531
  policyMetadataOperations: PolicyMetadataOperations;
1124
1532
  policyRestrictions: PolicyRestrictions;
1533
+ componentPolicyStates: ComponentPolicyStates;
1534
+ operations: Operations;
1125
1535
  attestations: Attestations;
1126
1536
  }
1127
1537
 
@@ -1215,8 +1625,6 @@ export declare type PolicyMetadataGetResourceResponse = PolicyMetadata;
1215
1625
 
1216
1626
  /** Optional parameters. */
1217
1627
  export declare interface PolicyMetadataListNextOptionalParams extends coreClient.OperationOptions {
1218
- /** Parameter group */
1219
- queryOptions?: QueryOptions;
1220
1628
  }
1221
1629
 
1222
1630
  /** Contains response data for the listNext operation. */
@@ -1635,8 +2043,6 @@ export declare interface PolicyStates {
1635
2043
 
1636
2044
  /** Optional parameters. */
1637
2045
  export declare interface PolicyStatesListQueryResultsForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
1638
- /** Parameter group */
1639
- queryOptions?: QueryOptions;
1640
2046
  }
1641
2047
 
1642
2048
  /** Contains response data for the listQueryResultsForManagementGroupNext operation. */
@@ -1653,8 +2059,6 @@ export declare type PolicyStatesListQueryResultsForManagementGroupResponse = Pol
1653
2059
 
1654
2060
  /** Optional parameters. */
1655
2061
  export declare interface PolicyStatesListQueryResultsForPolicyDefinitionNextOptionalParams extends coreClient.OperationOptions {
1656
- /** Parameter group */
1657
- queryOptions?: QueryOptions;
1658
2062
  }
1659
2063
 
1660
2064
  /** Contains response data for the listQueryResultsForPolicyDefinitionNext operation. */
@@ -1671,8 +2075,6 @@ export declare type PolicyStatesListQueryResultsForPolicyDefinitionResponse = Po
1671
2075
 
1672
2076
  /** Optional parameters. */
1673
2077
  export declare interface PolicyStatesListQueryResultsForPolicySetDefinitionNextOptionalParams extends coreClient.OperationOptions {
1674
- /** Parameter group */
1675
- queryOptions?: QueryOptions;
1676
2078
  }
1677
2079
 
1678
2080
  /** Contains response data for the listQueryResultsForPolicySetDefinitionNext operation. */
@@ -1689,8 +2091,6 @@ export declare type PolicyStatesListQueryResultsForPolicySetDefinitionResponse =
1689
2091
 
1690
2092
  /** Optional parameters. */
1691
2093
  export declare interface PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
1692
- /** Parameter group */
1693
- queryOptions?: QueryOptions;
1694
2094
  }
1695
2095
 
1696
2096
  /** Contains response data for the listQueryResultsForResourceGroupLevelPolicyAssignmentNext operation. */
@@ -1707,8 +2107,6 @@ export declare type PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssig
1707
2107
 
1708
2108
  /** Optional parameters. */
1709
2109
  export declare interface PolicyStatesListQueryResultsForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1710
- /** Parameter group */
1711
- queryOptions?: QueryOptions;
1712
2110
  }
1713
2111
 
1714
2112
  /** Contains response data for the listQueryResultsForResourceGroupNext operation. */
@@ -1725,8 +2123,6 @@ export declare type PolicyStatesListQueryResultsForResourceGroupResponse = Polic
1725
2123
 
1726
2124
  /** Optional parameters. */
1727
2125
  export declare interface PolicyStatesListQueryResultsForResourceNextOptionalParams extends coreClient.OperationOptions {
1728
- /** Parameter group */
1729
- queryOptions?: QueryOptions;
1730
2126
  }
1731
2127
 
1732
2128
  /** Contains response data for the listQueryResultsForResourceNext operation. */
@@ -1743,8 +2139,6 @@ export declare type PolicyStatesListQueryResultsForResourceResponse = PolicyStat
1743
2139
 
1744
2140
  /** Optional parameters. */
1745
2141
  export declare interface PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
1746
- /** Parameter group */
1747
- queryOptions?: QueryOptions;
1748
2142
  }
1749
2143
 
1750
2144
  /** Contains response data for the listQueryResultsForSubscriptionLevelPolicyAssignmentNext operation. */
@@ -1761,8 +2155,6 @@ export declare type PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssign
1761
2155
 
1762
2156
  /** Optional parameters. */
1763
2157
  export declare interface PolicyStatesListQueryResultsForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
1764
- /** Parameter group */
1765
- queryOptions?: QueryOptions;
1766
2158
  }
1767
2159
 
1768
2160
  /** Contains response data for the listQueryResultsForSubscriptionNext operation. */
@@ -1962,8 +2354,6 @@ export declare interface PolicyTrackedResources {
1962
2354
 
1963
2355
  /** Optional parameters. */
1964
2356
  export declare interface PolicyTrackedResourcesListQueryResultsForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
1965
- /** Parameter group */
1966
- queryOptions?: QueryOptions;
1967
2357
  }
1968
2358
 
1969
2359
  /** Contains response data for the listQueryResultsForManagementGroupNext operation. */
@@ -1980,8 +2370,6 @@ export declare type PolicyTrackedResourcesListQueryResultsForManagementGroupResp
1980
2370
 
1981
2371
  /** Optional parameters. */
1982
2372
  export declare interface PolicyTrackedResourcesListQueryResultsForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1983
- /** Parameter group */
1984
- queryOptions?: QueryOptions;
1985
2373
  }
1986
2374
 
1987
2375
  /** Contains response data for the listQueryResultsForResourceGroupNext operation. */
@@ -1998,8 +2386,6 @@ export declare type PolicyTrackedResourcesListQueryResultsForResourceGroupRespon
1998
2386
 
1999
2387
  /** Optional parameters. */
2000
2388
  export declare interface PolicyTrackedResourcesListQueryResultsForResourceNextOptionalParams extends coreClient.OperationOptions {
2001
- /** Parameter group */
2002
- queryOptions?: QueryOptions;
2003
2389
  }
2004
2390
 
2005
2391
  /** Contains response data for the listQueryResultsForResourceNext operation. */
@@ -2016,8 +2402,6 @@ export declare type PolicyTrackedResourcesListQueryResultsForResourceResponse =
2016
2402
 
2017
2403
  /** Optional parameters. */
2018
2404
  export declare interface PolicyTrackedResourcesListQueryResultsForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
2019
- /** Parameter group */
2020
- queryOptions?: QueryOptions;
2021
2405
  }
2022
2406
 
2023
2407
  /** Contains response data for the listQueryResultsForSubscriptionNext operation. */
@@ -2543,8 +2927,6 @@ export declare type RemediationsGetAtSubscriptionResponse = Remediation;
2543
2927
 
2544
2928
  /** Optional parameters. */
2545
2929
  export declare interface RemediationsListDeploymentsAtManagementGroupNextOptionalParams extends coreClient.OperationOptions {
2546
- /** Parameter group */
2547
- queryOptions?: QueryOptions;
2548
2930
  }
2549
2931
 
2550
2932
  /** Contains response data for the listDeploymentsAtManagementGroupNext operation. */
@@ -2561,8 +2943,6 @@ export declare type RemediationsListDeploymentsAtManagementGroupResponse = Remed
2561
2943
 
2562
2944
  /** Optional parameters. */
2563
2945
  export declare interface RemediationsListDeploymentsAtResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2564
- /** Parameter group */
2565
- queryOptions?: QueryOptions;
2566
2946
  }
2567
2947
 
2568
2948
  /** Contains response data for the listDeploymentsAtResourceGroupNext operation. */
@@ -2579,8 +2959,6 @@ export declare type RemediationsListDeploymentsAtResourceGroupResponse = Remedia
2579
2959
 
2580
2960
  /** Optional parameters. */
2581
2961
  export declare interface RemediationsListDeploymentsAtResourceNextOptionalParams extends coreClient.OperationOptions {
2582
- /** Parameter group */
2583
- queryOptions?: QueryOptions;
2584
2962
  }
2585
2963
 
2586
2964
  /** Contains response data for the listDeploymentsAtResourceNext operation. */
@@ -2597,8 +2975,6 @@ export declare type RemediationsListDeploymentsAtResourceResponse = RemediationD
2597
2975
 
2598
2976
  /** Optional parameters. */
2599
2977
  export declare interface RemediationsListDeploymentsAtSubscriptionNextOptionalParams extends coreClient.OperationOptions {
2600
- /** Parameter group */
2601
- queryOptions?: QueryOptions;
2602
2978
  }
2603
2979
 
2604
2980
  /** Contains response data for the listDeploymentsAtSubscriptionNext operation. */
@@ -2615,8 +2991,6 @@ export declare type RemediationsListDeploymentsAtSubscriptionResponse = Remediat
2615
2991
 
2616
2992
  /** Optional parameters. */
2617
2993
  export declare interface RemediationsListForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
2618
- /** Parameter group */
2619
- queryOptions?: QueryOptions;
2620
2994
  }
2621
2995
 
2622
2996
  /** Contains response data for the listForManagementGroupNext operation. */
@@ -2633,8 +3007,6 @@ export declare type RemediationsListForManagementGroupResponse = RemediationList
2633
3007
 
2634
3008
  /** Optional parameters. */
2635
3009
  export declare interface RemediationsListForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2636
- /** Parameter group */
2637
- queryOptions?: QueryOptions;
2638
3010
  }
2639
3011
 
2640
3012
  /** Contains response data for the listForResourceGroupNext operation. */
@@ -2651,8 +3023,6 @@ export declare type RemediationsListForResourceGroupResponse = RemediationListRe
2651
3023
 
2652
3024
  /** Optional parameters. */
2653
3025
  export declare interface RemediationsListForResourceNextOptionalParams extends coreClient.OperationOptions {
2654
- /** Parameter group */
2655
- queryOptions?: QueryOptions;
2656
3026
  }
2657
3027
 
2658
3028
  /** Contains response data for the listForResourceNext operation. */
@@ -2669,8 +3039,6 @@ export declare type RemediationsListForResourceResponse = RemediationListResult;
2669
3039
 
2670
3040
  /** Optional parameters. */
2671
3041
  export declare interface RemediationsListForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
2672
- /** Parameter group */
2673
- queryOptions?: QueryOptions;
2674
3042
  }
2675
3043
 
2676
3044
  /** Contains response data for the listForSubscriptionNext operation. */