@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
@@ -685,34 +685,6 @@ export interface PolicyGroupSummary {
685
685
  results?: SummaryResults;
686
686
  }
687
687
 
688
- /** List of available operations. */
689
- export interface OperationsListResults {
690
- /** OData entity count; represents the number of operations returned. */
691
- odataCount?: number;
692
- /** List of available operations. */
693
- value?: Operation[];
694
- }
695
-
696
- /** Operation definition. */
697
- export interface Operation {
698
- /** Operation name. */
699
- name?: string;
700
- /** Display metadata associated with the operation. */
701
- display?: OperationDisplay;
702
- }
703
-
704
- /** Display metadata associated with the operation. */
705
- export interface OperationDisplay {
706
- /** Resource provider name. */
707
- provider?: string;
708
- /** Resource name on which the operation is performed. */
709
- resource?: string;
710
- /** Operation name. */
711
- operation?: string;
712
- /** Operation description. */
713
- description?: string;
714
- }
715
-
716
688
  /** Policy metadata resource definition. */
717
689
  export interface PolicyMetadata {
718
690
  /**
@@ -1036,6 +1008,256 @@ export interface CheckManagementGroupRestrictionsRequest {
1036
1008
  pendingFields?: PendingField[];
1037
1009
  }
1038
1010
 
1011
+ /** Query results. */
1012
+ export interface ComponentPolicyStatesQueryResults {
1013
+ /** OData context string; used by OData clients to resolve type information based on metadata. */
1014
+ odataContext?: string;
1015
+ /** OData entity count; represents the number of policy state records returned. */
1016
+ odataCount?: number;
1017
+ /** Query results. */
1018
+ value?: ComponentPolicyState[];
1019
+ }
1020
+
1021
+ /** Component Policy State record. */
1022
+ export interface ComponentPolicyState {
1023
+ /** Describes unknown properties. The value of an unknown property can be of "any" type. */
1024
+ [property: string]: any;
1025
+ /**
1026
+ * OData entity ID; always set to null since component policy state records do not have an entity ID.
1027
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1028
+ */
1029
+ readonly odataId?: string;
1030
+ /**
1031
+ * OData context string; used by OData clients to resolve type information based on metadata.
1032
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1033
+ */
1034
+ readonly odataContext?: string;
1035
+ /**
1036
+ * Timestamp for the component policy state record.
1037
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1038
+ */
1039
+ readonly timestamp?: Date;
1040
+ /**
1041
+ * Component Id.
1042
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1043
+ */
1044
+ readonly componentId?: string;
1045
+ /**
1046
+ * Component type.
1047
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1048
+ */
1049
+ readonly componentType?: string;
1050
+ /**
1051
+ * Component name.
1052
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1053
+ */
1054
+ readonly componentName?: string;
1055
+ /**
1056
+ * Resource ID.
1057
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1058
+ */
1059
+ readonly resourceId?: string;
1060
+ /**
1061
+ * Policy assignment ID.
1062
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1063
+ */
1064
+ readonly policyAssignmentId?: string;
1065
+ /**
1066
+ * Policy definition ID.
1067
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1068
+ */
1069
+ readonly policyDefinitionId?: string;
1070
+ /**
1071
+ * Subscription ID.
1072
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1073
+ */
1074
+ readonly subscriptionId?: string;
1075
+ /**
1076
+ * Resource type.
1077
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1078
+ */
1079
+ readonly resourceType?: string;
1080
+ /**
1081
+ * Resource location.
1082
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1083
+ */
1084
+ readonly resourceLocation?: string;
1085
+ /**
1086
+ * Resource group name.
1087
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1088
+ */
1089
+ readonly resourceGroup?: string;
1090
+ /**
1091
+ * Policy assignment name.
1092
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1093
+ */
1094
+ readonly policyAssignmentName?: string;
1095
+ /**
1096
+ * Policy assignment owner.
1097
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1098
+ */
1099
+ readonly policyAssignmentOwner?: string;
1100
+ /**
1101
+ * Policy assignment parameters.
1102
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1103
+ */
1104
+ readonly policyAssignmentParameters?: string;
1105
+ /**
1106
+ * Policy assignment scope.
1107
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1108
+ */
1109
+ readonly policyAssignmentScope?: string;
1110
+ /**
1111
+ * Policy definition name.
1112
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1113
+ */
1114
+ readonly policyDefinitionName?: string;
1115
+ /**
1116
+ * Policy definition action, i.e. effect.
1117
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1118
+ */
1119
+ readonly policyDefinitionAction?: string;
1120
+ /**
1121
+ * Policy definition category.
1122
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1123
+ */
1124
+ readonly policyDefinitionCategory?: string;
1125
+ /**
1126
+ * Policy set definition ID, if the policy assignment is for a policy set.
1127
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1128
+ */
1129
+ readonly policySetDefinitionId?: string;
1130
+ /**
1131
+ * Policy set definition name, if the policy assignment is for a policy set.
1132
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1133
+ */
1134
+ readonly policySetDefinitionName?: string;
1135
+ /**
1136
+ * Policy set definition owner, if the policy assignment is for a policy set.
1137
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1138
+ */
1139
+ readonly policySetDefinitionOwner?: string;
1140
+ /**
1141
+ * Policy set definition category, if the policy assignment is for a policy set.
1142
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1143
+ */
1144
+ readonly policySetDefinitionCategory?: string;
1145
+ /**
1146
+ * Policy set definition parameters, if the policy assignment is for a policy set.
1147
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1148
+ */
1149
+ readonly policySetDefinitionParameters?: string;
1150
+ /**
1151
+ * Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.
1152
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1153
+ */
1154
+ readonly policyDefinitionReferenceId?: string;
1155
+ /**
1156
+ * Compliance state of the resource.
1157
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1158
+ */
1159
+ readonly complianceState?: string;
1160
+ /** Policy evaluation details. This is only included in the response if the request contains $expand=PolicyEvaluationDetails. */
1161
+ policyEvaluationDetails?: ComponentPolicyEvaluationDetails;
1162
+ /**
1163
+ * Policy definition group names.
1164
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1165
+ */
1166
+ readonly policyDefinitionGroupNames?: string[];
1167
+ /**
1168
+ * Evaluated policy definition version.
1169
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1170
+ */
1171
+ readonly policyDefinitionVersion?: string;
1172
+ /**
1173
+ * Evaluated policy set definition version.
1174
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1175
+ */
1176
+ readonly policySetDefinitionVersion?: string;
1177
+ /**
1178
+ * Evaluated policy assignment version.
1179
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1180
+ */
1181
+ readonly policyAssignmentVersion?: string;
1182
+ }
1183
+
1184
+ /** Policy evaluation details. */
1185
+ export interface ComponentPolicyEvaluationDetails {
1186
+ /**
1187
+ * Details of the evaluated expressions.
1188
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1189
+ */
1190
+ readonly evaluatedExpressions?: ComponentExpressionEvaluationDetails[];
1191
+ /** Additional textual reason for the evaluation outcome. */
1192
+ reason?: string;
1193
+ }
1194
+
1195
+ /** Evaluation details of policy language expressions. */
1196
+ export interface ComponentExpressionEvaluationDetails {
1197
+ /** Evaluation result. */
1198
+ result?: string;
1199
+ /**
1200
+ * Expression evaluated.
1201
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1202
+ */
1203
+ readonly expression?: string;
1204
+ /**
1205
+ * The kind of expression that was evaluated.
1206
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1207
+ */
1208
+ readonly expressionKind?: string;
1209
+ /**
1210
+ * Property path if the expression is a field or an alias.
1211
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1212
+ */
1213
+ readonly path?: string;
1214
+ /**
1215
+ * Value of the expression.
1216
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1217
+ */
1218
+ readonly expressionValue?: Record<string, unknown>;
1219
+ /**
1220
+ * Target value to be compared with the expression value.
1221
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1222
+ */
1223
+ readonly targetValue?: Record<string, unknown>;
1224
+ /**
1225
+ * Operator to compare the expression value and the target value.
1226
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1227
+ */
1228
+ readonly operator?: string;
1229
+ }
1230
+
1231
+ /** List of available operations. */
1232
+ export interface OperationsListResults {
1233
+ /** OData entity count; represents the number of operations returned. */
1234
+ odataCount?: number;
1235
+ /** List of available operations. */
1236
+ value?: Operation[];
1237
+ }
1238
+
1239
+ /** Operation definition. */
1240
+ export interface Operation {
1241
+ /** Operation name. */
1242
+ name?: string;
1243
+ /** Indicates whether the operation is a data action */
1244
+ isDataAction?: boolean;
1245
+ /** Display metadata associated with the operation. */
1246
+ display?: OperationDisplay;
1247
+ }
1248
+
1249
+ /** Display metadata associated with the operation. */
1250
+ export interface OperationDisplay {
1251
+ /** Resource provider name. */
1252
+ provider?: string;
1253
+ /** Resource name on which the operation is performed. */
1254
+ resource?: string;
1255
+ /** Operation name. */
1256
+ operation?: string;
1257
+ /** Operation description. */
1258
+ description?: string;
1259
+ }
1260
+
1039
1261
  /** List of attestations. */
1040
1262
  export interface AttestationListResult {
1041
1263
  /**
@@ -1311,6 +1533,21 @@ export enum KnownFieldRestrictionResult {
1311
1533
  */
1312
1534
  export type FieldRestrictionResult = string;
1313
1535
 
1536
+ /** Known values of {@link ComponentPolicyStatesResource} that the service accepts. */
1537
+ export enum KnownComponentPolicyStatesResource {
1538
+ /** Latest */
1539
+ Latest = "latest"
1540
+ }
1541
+
1542
+ /**
1543
+ * Defines values for ComponentPolicyStatesResource. \
1544
+ * {@link KnownComponentPolicyStatesResource} can be used interchangeably with ComponentPolicyStatesResource,
1545
+ * this enum contains the known values that the service supports.
1546
+ * ### Known values supported by the service
1547
+ * **latest**
1548
+ */
1549
+ export type ComponentPolicyStatesResource = string;
1550
+
1314
1551
  /** Known values of {@link ComplianceState} that the service accepts. */
1315
1552
  export enum KnownComplianceState {
1316
1553
  /** The resource is in compliance with the policy. */
@@ -1374,40 +1611,28 @@ export type PolicyTrackedResourcesListQueryResultsForResourceResponse = PolicyTr
1374
1611
 
1375
1612
  /** Optional parameters. */
1376
1613
  export interface PolicyTrackedResourcesListQueryResultsForManagementGroupNextOptionalParams
1377
- extends coreClient.OperationOptions {
1378
- /** Parameter group */
1379
- queryOptions?: QueryOptions;
1380
- }
1614
+ extends coreClient.OperationOptions {}
1381
1615
 
1382
1616
  /** Contains response data for the listQueryResultsForManagementGroupNext operation. */
1383
1617
  export type PolicyTrackedResourcesListQueryResultsForManagementGroupNextResponse = PolicyTrackedResourcesQueryResults;
1384
1618
 
1385
1619
  /** Optional parameters. */
1386
1620
  export interface PolicyTrackedResourcesListQueryResultsForSubscriptionNextOptionalParams
1387
- extends coreClient.OperationOptions {
1388
- /** Parameter group */
1389
- queryOptions?: QueryOptions;
1390
- }
1621
+ extends coreClient.OperationOptions {}
1391
1622
 
1392
1623
  /** Contains response data for the listQueryResultsForSubscriptionNext operation. */
1393
1624
  export type PolicyTrackedResourcesListQueryResultsForSubscriptionNextResponse = PolicyTrackedResourcesQueryResults;
1394
1625
 
1395
1626
  /** Optional parameters. */
1396
1627
  export interface PolicyTrackedResourcesListQueryResultsForResourceGroupNextOptionalParams
1397
- extends coreClient.OperationOptions {
1398
- /** Parameter group */
1399
- queryOptions?: QueryOptions;
1400
- }
1628
+ extends coreClient.OperationOptions {}
1401
1629
 
1402
1630
  /** Contains response data for the listQueryResultsForResourceGroupNext operation. */
1403
1631
  export type PolicyTrackedResourcesListQueryResultsForResourceGroupNextResponse = PolicyTrackedResourcesQueryResults;
1404
1632
 
1405
1633
  /** Optional parameters. */
1406
1634
  export interface PolicyTrackedResourcesListQueryResultsForResourceNextOptionalParams
1407
- extends coreClient.OperationOptions {
1408
- /** Parameter group */
1409
- queryOptions?: QueryOptions;
1410
- }
1635
+ extends coreClient.OperationOptions {}
1411
1636
 
1412
1637
  /** Contains response data for the listQueryResultsForResourceNext operation. */
1413
1638
  export type PolicyTrackedResourcesListQueryResultsForResourceNextResponse = PolicyTrackedResourcesQueryResults;
@@ -1606,80 +1831,56 @@ export type RemediationsDeleteAtResourceResponse = Remediation;
1606
1831
 
1607
1832
  /** Optional parameters. */
1608
1833
  export interface RemediationsListDeploymentsAtManagementGroupNextOptionalParams
1609
- extends coreClient.OperationOptions {
1610
- /** Parameter group */
1611
- queryOptions?: QueryOptions;
1612
- }
1834
+ extends coreClient.OperationOptions {}
1613
1835
 
1614
1836
  /** Contains response data for the listDeploymentsAtManagementGroupNext operation. */
1615
1837
  export type RemediationsListDeploymentsAtManagementGroupNextResponse = RemediationDeploymentsListResult;
1616
1838
 
1617
1839
  /** Optional parameters. */
1618
1840
  export interface RemediationsListForManagementGroupNextOptionalParams
1619
- extends coreClient.OperationOptions {
1620
- /** Parameter group */
1621
- queryOptions?: QueryOptions;
1622
- }
1841
+ extends coreClient.OperationOptions {}
1623
1842
 
1624
1843
  /** Contains response data for the listForManagementGroupNext operation. */
1625
1844
  export type RemediationsListForManagementGroupNextResponse = RemediationListResult;
1626
1845
 
1627
1846
  /** Optional parameters. */
1628
1847
  export interface RemediationsListDeploymentsAtSubscriptionNextOptionalParams
1629
- extends coreClient.OperationOptions {
1630
- /** Parameter group */
1631
- queryOptions?: QueryOptions;
1632
- }
1848
+ extends coreClient.OperationOptions {}
1633
1849
 
1634
1850
  /** Contains response data for the listDeploymentsAtSubscriptionNext operation. */
1635
1851
  export type RemediationsListDeploymentsAtSubscriptionNextResponse = RemediationDeploymentsListResult;
1636
1852
 
1637
1853
  /** Optional parameters. */
1638
1854
  export interface RemediationsListForSubscriptionNextOptionalParams
1639
- extends coreClient.OperationOptions {
1640
- /** Parameter group */
1641
- queryOptions?: QueryOptions;
1642
- }
1855
+ extends coreClient.OperationOptions {}
1643
1856
 
1644
1857
  /** Contains response data for the listForSubscriptionNext operation. */
1645
1858
  export type RemediationsListForSubscriptionNextResponse = RemediationListResult;
1646
1859
 
1647
1860
  /** Optional parameters. */
1648
1861
  export interface RemediationsListDeploymentsAtResourceGroupNextOptionalParams
1649
- extends coreClient.OperationOptions {
1650
- /** Parameter group */
1651
- queryOptions?: QueryOptions;
1652
- }
1862
+ extends coreClient.OperationOptions {}
1653
1863
 
1654
1864
  /** Contains response data for the listDeploymentsAtResourceGroupNext operation. */
1655
1865
  export type RemediationsListDeploymentsAtResourceGroupNextResponse = RemediationDeploymentsListResult;
1656
1866
 
1657
1867
  /** Optional parameters. */
1658
1868
  export interface RemediationsListForResourceGroupNextOptionalParams
1659
- extends coreClient.OperationOptions {
1660
- /** Parameter group */
1661
- queryOptions?: QueryOptions;
1662
- }
1869
+ extends coreClient.OperationOptions {}
1663
1870
 
1664
1871
  /** Contains response data for the listForResourceGroupNext operation. */
1665
1872
  export type RemediationsListForResourceGroupNextResponse = RemediationListResult;
1666
1873
 
1667
1874
  /** Optional parameters. */
1668
1875
  export interface RemediationsListDeploymentsAtResourceNextOptionalParams
1669
- extends coreClient.OperationOptions {
1670
- /** Parameter group */
1671
- queryOptions?: QueryOptions;
1672
- }
1876
+ extends coreClient.OperationOptions {}
1673
1877
 
1674
1878
  /** Contains response data for the listDeploymentsAtResourceNext operation. */
1675
1879
  export type RemediationsListDeploymentsAtResourceNextResponse = RemediationDeploymentsListResult;
1676
1880
 
1677
1881
  /** Optional parameters. */
1678
1882
  export interface RemediationsListForResourceNextOptionalParams
1679
- extends coreClient.OperationOptions {
1680
- /** Parameter group */
1681
- queryOptions?: QueryOptions;
1682
- }
1883
+ extends coreClient.OperationOptions {}
1683
1884
 
1684
1885
  /** Contains response data for the listForResourceNext operation. */
1685
1886
  export type RemediationsListForResourceNextResponse = RemediationListResult;
@@ -1766,80 +1967,56 @@ export type PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentRes
1766
1967
 
1767
1968
  /** Optional parameters. */
1768
1969
  export interface PolicyEventsListQueryResultsForManagementGroupNextOptionalParams
1769
- extends coreClient.OperationOptions {
1770
- /** Parameter group */
1771
- queryOptions?: QueryOptions;
1772
- }
1970
+ extends coreClient.OperationOptions {}
1773
1971
 
1774
1972
  /** Contains response data for the listQueryResultsForManagementGroupNext operation. */
1775
1973
  export type PolicyEventsListQueryResultsForManagementGroupNextResponse = PolicyEventsQueryResults;
1776
1974
 
1777
1975
  /** Optional parameters. */
1778
1976
  export interface PolicyEventsListQueryResultsForSubscriptionNextOptionalParams
1779
- extends coreClient.OperationOptions {
1780
- /** Parameter group */
1781
- queryOptions?: QueryOptions;
1782
- }
1977
+ extends coreClient.OperationOptions {}
1783
1978
 
1784
1979
  /** Contains response data for the listQueryResultsForSubscriptionNext operation. */
1785
1980
  export type PolicyEventsListQueryResultsForSubscriptionNextResponse = PolicyEventsQueryResults;
1786
1981
 
1787
1982
  /** Optional parameters. */
1788
1983
  export interface PolicyEventsListQueryResultsForResourceGroupNextOptionalParams
1789
- extends coreClient.OperationOptions {
1790
- /** Parameter group */
1791
- queryOptions?: QueryOptions;
1792
- }
1984
+ extends coreClient.OperationOptions {}
1793
1985
 
1794
1986
  /** Contains response data for the listQueryResultsForResourceGroupNext operation. */
1795
1987
  export type PolicyEventsListQueryResultsForResourceGroupNextResponse = PolicyEventsQueryResults;
1796
1988
 
1797
1989
  /** Optional parameters. */
1798
1990
  export interface PolicyEventsListQueryResultsForResourceNextOptionalParams
1799
- extends coreClient.OperationOptions {
1800
- /** Parameter group */
1801
- queryOptions?: QueryOptions;
1802
- }
1991
+ extends coreClient.OperationOptions {}
1803
1992
 
1804
1993
  /** Contains response data for the listQueryResultsForResourceNext operation. */
1805
1994
  export type PolicyEventsListQueryResultsForResourceNextResponse = PolicyEventsQueryResults;
1806
1995
 
1807
1996
  /** Optional parameters. */
1808
1997
  export interface PolicyEventsListQueryResultsForPolicySetDefinitionNextOptionalParams
1809
- extends coreClient.OperationOptions {
1810
- /** Parameter group */
1811
- queryOptions?: QueryOptions;
1812
- }
1998
+ extends coreClient.OperationOptions {}
1813
1999
 
1814
2000
  /** Contains response data for the listQueryResultsForPolicySetDefinitionNext operation. */
1815
2001
  export type PolicyEventsListQueryResultsForPolicySetDefinitionNextResponse = PolicyEventsQueryResults;
1816
2002
 
1817
2003
  /** Optional parameters. */
1818
2004
  export interface PolicyEventsListQueryResultsForPolicyDefinitionNextOptionalParams
1819
- extends coreClient.OperationOptions {
1820
- /** Parameter group */
1821
- queryOptions?: QueryOptions;
1822
- }
2005
+ extends coreClient.OperationOptions {}
1823
2006
 
1824
2007
  /** Contains response data for the listQueryResultsForPolicyDefinitionNext operation. */
1825
2008
  export type PolicyEventsListQueryResultsForPolicyDefinitionNextResponse = PolicyEventsQueryResults;
1826
2009
 
1827
2010
  /** Optional parameters. */
1828
2011
  export interface PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentNextOptionalParams
1829
- extends coreClient.OperationOptions {
1830
- /** Parameter group */
1831
- queryOptions?: QueryOptions;
1832
- }
2012
+ extends coreClient.OperationOptions {}
1833
2013
 
1834
2014
  /** Contains response data for the listQueryResultsForSubscriptionLevelPolicyAssignmentNext operation. */
1835
2015
  export type PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentNextResponse = PolicyEventsQueryResults;
1836
2016
 
1837
2017
  /** Optional parameters. */
1838
2018
  export interface PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentNextOptionalParams
1839
- extends coreClient.OperationOptions {
1840
- /** Parameter group */
1841
- queryOptions?: QueryOptions;
1842
- }
2019
+ extends coreClient.OperationOptions {}
1843
2020
 
1844
2021
  /** Contains response data for the listQueryResultsForResourceGroupLevelPolicyAssignmentNext operation. */
1845
2022
  export type PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentNextResponse = PolicyEventsQueryResults;
@@ -2024,91 +2201,60 @@ export type PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentResponse =
2024
2201
 
2025
2202
  /** Optional parameters. */
2026
2203
  export interface PolicyStatesListQueryResultsForManagementGroupNextOptionalParams
2027
- extends coreClient.OperationOptions {
2028
- /** Parameter group */
2029
- queryOptions?: QueryOptions;
2030
- }
2204
+ extends coreClient.OperationOptions {}
2031
2205
 
2032
2206
  /** Contains response data for the listQueryResultsForManagementGroupNext operation. */
2033
2207
  export type PolicyStatesListQueryResultsForManagementGroupNextResponse = PolicyStatesQueryResults;
2034
2208
 
2035
2209
  /** Optional parameters. */
2036
2210
  export interface PolicyStatesListQueryResultsForSubscriptionNextOptionalParams
2037
- extends coreClient.OperationOptions {
2038
- /** Parameter group */
2039
- queryOptions?: QueryOptions;
2040
- }
2211
+ extends coreClient.OperationOptions {}
2041
2212
 
2042
2213
  /** Contains response data for the listQueryResultsForSubscriptionNext operation. */
2043
2214
  export type PolicyStatesListQueryResultsForSubscriptionNextResponse = PolicyStatesQueryResults;
2044
2215
 
2045
2216
  /** Optional parameters. */
2046
2217
  export interface PolicyStatesListQueryResultsForResourceGroupNextOptionalParams
2047
- extends coreClient.OperationOptions {
2048
- /** Parameter group */
2049
- queryOptions?: QueryOptions;
2050
- }
2218
+ extends coreClient.OperationOptions {}
2051
2219
 
2052
2220
  /** Contains response data for the listQueryResultsForResourceGroupNext operation. */
2053
2221
  export type PolicyStatesListQueryResultsForResourceGroupNextResponse = PolicyStatesQueryResults;
2054
2222
 
2055
2223
  /** Optional parameters. */
2056
2224
  export interface PolicyStatesListQueryResultsForResourceNextOptionalParams
2057
- extends coreClient.OperationOptions {
2058
- /** Parameter group */
2059
- queryOptions?: QueryOptions;
2060
- }
2225
+ extends coreClient.OperationOptions {}
2061
2226
 
2062
2227
  /** Contains response data for the listQueryResultsForResourceNext operation. */
2063
2228
  export type PolicyStatesListQueryResultsForResourceNextResponse = PolicyStatesQueryResults;
2064
2229
 
2065
2230
  /** Optional parameters. */
2066
2231
  export interface PolicyStatesListQueryResultsForPolicySetDefinitionNextOptionalParams
2067
- extends coreClient.OperationOptions {
2068
- /** Parameter group */
2069
- queryOptions?: QueryOptions;
2070
- }
2232
+ extends coreClient.OperationOptions {}
2071
2233
 
2072
2234
  /** Contains response data for the listQueryResultsForPolicySetDefinitionNext operation. */
2073
2235
  export type PolicyStatesListQueryResultsForPolicySetDefinitionNextResponse = PolicyStatesQueryResults;
2074
2236
 
2075
2237
  /** Optional parameters. */
2076
2238
  export interface PolicyStatesListQueryResultsForPolicyDefinitionNextOptionalParams
2077
- extends coreClient.OperationOptions {
2078
- /** Parameter group */
2079
- queryOptions?: QueryOptions;
2080
- }
2239
+ extends coreClient.OperationOptions {}
2081
2240
 
2082
2241
  /** Contains response data for the listQueryResultsForPolicyDefinitionNext operation. */
2083
2242
  export type PolicyStatesListQueryResultsForPolicyDefinitionNextResponse = PolicyStatesQueryResults;
2084
2243
 
2085
2244
  /** Optional parameters. */
2086
2245
  export interface PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentNextOptionalParams
2087
- extends coreClient.OperationOptions {
2088
- /** Parameter group */
2089
- queryOptions?: QueryOptions;
2090
- }
2246
+ extends coreClient.OperationOptions {}
2091
2247
 
2092
2248
  /** Contains response data for the listQueryResultsForSubscriptionLevelPolicyAssignmentNext operation. */
2093
2249
  export type PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentNextResponse = PolicyStatesQueryResults;
2094
2250
 
2095
2251
  /** Optional parameters. */
2096
2252
  export interface PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentNextOptionalParams
2097
- extends coreClient.OperationOptions {
2098
- /** Parameter group */
2099
- queryOptions?: QueryOptions;
2100
- }
2253
+ extends coreClient.OperationOptions {}
2101
2254
 
2102
2255
  /** Contains response data for the listQueryResultsForResourceGroupLevelPolicyAssignmentNext operation. */
2103
2256
  export type PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentNextResponse = PolicyStatesQueryResults;
2104
2257
 
2105
- /** Optional parameters. */
2106
- export interface OperationsListOptionalParams
2107
- extends coreClient.OperationOptions {}
2108
-
2109
- /** Contains response data for the list operation. */
2110
- export type OperationsListResponse = OperationsListResults;
2111
-
2112
2258
  /** Optional parameters. */
2113
2259
  export interface PolicyMetadataGetResourceOptionalParams
2114
2260
  extends coreClient.OperationOptions {}
@@ -2128,10 +2274,7 @@ export type PolicyMetadataListResponse = PolicyMetadataCollection;
2128
2274
 
2129
2275
  /** Optional parameters. */
2130
2276
  export interface PolicyMetadataListNextOptionalParams
2131
- extends coreClient.OperationOptions {
2132
- /** Parameter group */
2133
- queryOptions?: QueryOptions;
2134
- }
2277
+ extends coreClient.OperationOptions {}
2135
2278
 
2136
2279
  /** Contains response data for the listNext operation. */
2137
2280
  export type PolicyMetadataListNextResponse = PolicyMetadataCollection;
@@ -2157,6 +2300,147 @@ export interface PolicyRestrictionsCheckAtManagementGroupScopeOptionalParams
2157
2300
  /** Contains response data for the checkAtManagementGroupScope operation. */
2158
2301
  export type PolicyRestrictionsCheckAtManagementGroupScopeResponse = CheckRestrictionsResult;
2159
2302
 
2303
+ /** Optional parameters. */
2304
+ export interface ComponentPolicyStatesListQueryResultsForSubscriptionOptionalParams
2305
+ extends coreClient.OperationOptions {
2306
+ /** Maximum number of records to return. */
2307
+ top?: number;
2308
+ /** 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". */
2309
+ orderBy?: string;
2310
+ /** Select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". */
2311
+ select?: string;
2312
+ /** ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). */
2313
+ from?: Date;
2314
+ /** ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. */
2315
+ to?: Date;
2316
+ /** OData filter expression. */
2317
+ filter?: string;
2318
+ /** OData apply expression for aggregations. */
2319
+ apply?: string;
2320
+ }
2321
+
2322
+ /** Contains response data for the listQueryResultsForSubscription operation. */
2323
+ export type ComponentPolicyStatesListQueryResultsForSubscriptionResponse = ComponentPolicyStatesQueryResults;
2324
+
2325
+ /** Optional parameters. */
2326
+ export interface ComponentPolicyStatesListQueryResultsForResourceGroupOptionalParams
2327
+ extends coreClient.OperationOptions {
2328
+ /** Maximum number of records to return. */
2329
+ top?: number;
2330
+ /** 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". */
2331
+ orderBy?: string;
2332
+ /** Select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". */
2333
+ select?: string;
2334
+ /** ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). */
2335
+ from?: Date;
2336
+ /** ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. */
2337
+ to?: Date;
2338
+ /** OData filter expression. */
2339
+ filter?: string;
2340
+ /** OData apply expression for aggregations. */
2341
+ apply?: string;
2342
+ }
2343
+
2344
+ /** Contains response data for the listQueryResultsForResourceGroup operation. */
2345
+ export type ComponentPolicyStatesListQueryResultsForResourceGroupResponse = ComponentPolicyStatesQueryResults;
2346
+
2347
+ /** Optional parameters. */
2348
+ export interface ComponentPolicyStatesListQueryResultsForResourceOptionalParams
2349
+ extends coreClient.OperationOptions {
2350
+ /** Maximum number of records to return. */
2351
+ top?: number;
2352
+ /** 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". */
2353
+ orderBy?: string;
2354
+ /** Select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". */
2355
+ select?: string;
2356
+ /** ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). */
2357
+ from?: Date;
2358
+ /** ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. */
2359
+ to?: Date;
2360
+ /** OData filter expression. */
2361
+ filter?: string;
2362
+ /** OData apply expression for aggregations. */
2363
+ apply?: string;
2364
+ /** The $expand query parameter. */
2365
+ expand?: string;
2366
+ }
2367
+
2368
+ /** Contains response data for the listQueryResultsForResource operation. */
2369
+ export type ComponentPolicyStatesListQueryResultsForResourceResponse = ComponentPolicyStatesQueryResults;
2370
+
2371
+ /** Optional parameters. */
2372
+ export interface ComponentPolicyStatesListQueryResultsForPolicyDefinitionOptionalParams
2373
+ extends coreClient.OperationOptions {
2374
+ /** Maximum number of records to return. */
2375
+ top?: number;
2376
+ /** 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". */
2377
+ orderBy?: string;
2378
+ /** Select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". */
2379
+ select?: string;
2380
+ /** ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). */
2381
+ from?: Date;
2382
+ /** ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. */
2383
+ to?: Date;
2384
+ /** OData filter expression. */
2385
+ filter?: string;
2386
+ /** OData apply expression for aggregations. */
2387
+ apply?: string;
2388
+ }
2389
+
2390
+ /** Contains response data for the listQueryResultsForPolicyDefinition operation. */
2391
+ export type ComponentPolicyStatesListQueryResultsForPolicyDefinitionResponse = ComponentPolicyStatesQueryResults;
2392
+
2393
+ /** Optional parameters. */
2394
+ export interface ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams
2395
+ extends coreClient.OperationOptions {
2396
+ /** Maximum number of records to return. */
2397
+ top?: number;
2398
+ /** 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". */
2399
+ orderBy?: string;
2400
+ /** Select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". */
2401
+ select?: string;
2402
+ /** ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). */
2403
+ from?: Date;
2404
+ /** ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. */
2405
+ to?: Date;
2406
+ /** OData filter expression. */
2407
+ filter?: string;
2408
+ /** OData apply expression for aggregations. */
2409
+ apply?: string;
2410
+ }
2411
+
2412
+ /** Contains response data for the listQueryResultsForSubscriptionLevelPolicyAssignment operation. */
2413
+ export type ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentResponse = ComponentPolicyStatesQueryResults;
2414
+
2415
+ /** Optional parameters. */
2416
+ export interface ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams
2417
+ extends coreClient.OperationOptions {
2418
+ /** Maximum number of records to return. */
2419
+ top?: number;
2420
+ /** 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". */
2421
+ orderBy?: string;
2422
+ /** Select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". */
2423
+ select?: string;
2424
+ /** ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). */
2425
+ from?: Date;
2426
+ /** ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. */
2427
+ to?: Date;
2428
+ /** OData filter expression. */
2429
+ filter?: string;
2430
+ /** OData apply expression for aggregations. */
2431
+ apply?: string;
2432
+ }
2433
+
2434
+ /** Contains response data for the listQueryResultsForResourceGroupLevelPolicyAssignment operation. */
2435
+ export type ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentResponse = ComponentPolicyStatesQueryResults;
2436
+
2437
+ /** Optional parameters. */
2438
+ export interface OperationsListOptionalParams
2439
+ extends coreClient.OperationOptions {}
2440
+
2441
+ /** Contains response data for the list operation. */
2442
+ export type OperationsListResponse = OperationsListResults;
2443
+
2160
2444
  /** Optional parameters. */
2161
2445
  export interface AttestationsListForSubscriptionOptionalParams
2162
2446
  extends coreClient.OperationOptions {
@@ -2258,30 +2542,21 @@ export interface AttestationsDeleteAtResourceOptionalParams
2258
2542
 
2259
2543
  /** Optional parameters. */
2260
2544
  export interface AttestationsListForSubscriptionNextOptionalParams
2261
- extends coreClient.OperationOptions {
2262
- /** Parameter group */
2263
- queryOptions?: QueryOptions;
2264
- }
2545
+ extends coreClient.OperationOptions {}
2265
2546
 
2266
2547
  /** Contains response data for the listForSubscriptionNext operation. */
2267
2548
  export type AttestationsListForSubscriptionNextResponse = AttestationListResult;
2268
2549
 
2269
2550
  /** Optional parameters. */
2270
2551
  export interface AttestationsListForResourceGroupNextOptionalParams
2271
- extends coreClient.OperationOptions {
2272
- /** Parameter group */
2273
- queryOptions?: QueryOptions;
2274
- }
2552
+ extends coreClient.OperationOptions {}
2275
2553
 
2276
2554
  /** Contains response data for the listForResourceGroupNext operation. */
2277
2555
  export type AttestationsListForResourceGroupNextResponse = AttestationListResult;
2278
2556
 
2279
2557
  /** Optional parameters. */
2280
2558
  export interface AttestationsListForResourceNextOptionalParams
2281
- extends coreClient.OperationOptions {
2282
- /** Parameter group */
2283
- queryOptions?: QueryOptions;
2284
- }
2559
+ extends coreClient.OperationOptions {}
2285
2560
 
2286
2561
  /** Contains response data for the listForResourceNext operation. */
2287
2562
  export type AttestationsListForResourceNextResponse = AttestationListResult;