@azure/arm-policyinsights 6.0.0-beta.2 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (854) hide show
  1. package/CHANGELOG.md +238 -4
  2. package/LICENSE +1 -1
  3. package/README.md +4 -5
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/dist/browser/index.js +13 -0
  7. package/dist/browser/index.js.map +1 -0
  8. package/dist/browser/lroImpl.d.ts +11 -0
  9. package/dist/browser/lroImpl.d.ts.map +1 -0
  10. package/dist/browser/lroImpl.js +21 -0
  11. package/dist/browser/lroImpl.js.map +1 -0
  12. package/dist/browser/models/index.d.ts +2256 -0
  13. package/dist/browser/models/index.d.ts.map +1 -0
  14. package/dist/browser/models/index.js +82 -0
  15. package/dist/browser/models/index.js.map +1 -0
  16. package/dist/browser/models/mappers.d.ts +67 -0
  17. package/dist/browser/models/mappers.d.ts.map +1 -0
  18. package/dist/browser/models/mappers.js +2982 -0
  19. package/dist/browser/models/mappers.js.map +1 -0
  20. package/dist/browser/models/parameters.d.ts +51 -0
  21. package/dist/browser/models/parameters.d.ts.map +1 -0
  22. package/dist/browser/models/parameters.js +488 -0
  23. package/dist/browser/models/parameters.js.map +1 -0
  24. package/dist/browser/operations/attestations.d.ts +161 -0
  25. package/dist/browser/operations/attestations.d.ts.map +1 -0
  26. package/dist/browser/operations/attestations.js +790 -0
  27. package/dist/browser/operations/attestations.js.map +1 -0
  28. package/dist/browser/operations/componentPolicyStates.d.ts +66 -0
  29. package/dist/browser/operations/componentPolicyStates.d.ts.map +1 -0
  30. package/dist/browser/operations/componentPolicyStates.js +292 -0
  31. package/dist/browser/operations/componentPolicyStates.js.map +1 -0
  32. package/dist/browser/operations/index.d.ts +10 -0
  33. package/dist/browser/operations/index.d.ts.map +1 -0
  34. package/dist/browser/operations/index.js +17 -0
  35. package/dist/browser/operations/index.js.map +1 -0
  36. package/dist/browser/operations/operations.d.ts +18 -0
  37. package/dist/browser/operations/operations.d.ts.map +1 -0
  38. package/dist/browser/operations/operations.js +46 -0
  39. package/dist/browser/operations/operations.js.map +1 -0
  40. package/dist/browser/operations/policyEvents.d.ts +256 -0
  41. package/dist/browser/operations/policyEvents.d.ts.map +1 -0
  42. package/dist/browser/operations/policyEvents.js +1200 -0
  43. package/dist/browser/operations/policyEvents.js.map +1 -0
  44. package/dist/browser/operations/policyMetadataOperations.d.ts +38 -0
  45. package/dist/browser/operations/policyMetadataOperations.d.ts.map +1 -0
  46. package/dist/browser/operations/policyMetadataOperations.js +157 -0
  47. package/dist/browser/operations/policyMetadataOperations.js.map +1 -0
  48. package/dist/browser/operations/policyRestrictions.d.ts +34 -0
  49. package/dist/browser/operations/policyRestrictions.d.ts.map +1 -0
  50. package/dist/browser/operations/policyRestrictions.js +112 -0
  51. package/dist/browser/operations/policyRestrictions.js.map +1 -0
  52. package/dist/browser/operations/policyStates.d.ts +385 -0
  53. package/dist/browser/operations/policyStates.d.ts.map +1 -0
  54. package/dist/browser/operations/policyStates.js +1705 -0
  55. package/dist/browser/operations/policyStates.js.map +1 -0
  56. package/dist/browser/operations/policyTrackedResources.d.ts +123 -0
  57. package/dist/browser/operations/policyTrackedResources.d.ts.map +1 -0
  58. package/dist/browser/operations/policyTrackedResources.js +536 -0
  59. package/dist/browser/operations/policyTrackedResources.js.map +1 -0
  60. package/dist/browser/operations/remediations.d.ts +304 -0
  61. package/dist/browser/operations/remediations.d.ts.map +1 -0
  62. package/dist/browser/operations/remediations.js +1474 -0
  63. package/dist/browser/operations/remediations.js.map +1 -0
  64. package/dist/browser/operationsInterfaces/attestations.d.ts +110 -0
  65. package/dist/browser/operationsInterfaces/attestations.d.ts.map +1 -0
  66. package/dist/browser/operationsInterfaces/attestations.js.map +1 -0
  67. package/dist/browser/operationsInterfaces/componentPolicyStates.d.ts +58 -0
  68. package/dist/browser/operationsInterfaces/componentPolicyStates.d.ts.map +1 -0
  69. package/dist/browser/operationsInterfaces/componentPolicyStates.js +9 -0
  70. package/dist/browser/operationsInterfaces/componentPolicyStates.js.map +1 -0
  71. package/dist/browser/operationsInterfaces/index.d.ts +10 -0
  72. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  73. package/dist/browser/operationsInterfaces/index.js +17 -0
  74. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  75. package/dist/browser/operationsInterfaces/operations.d.ts +10 -0
  76. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
  77. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  78. package/dist/browser/operationsInterfaces/policyEvents.d.ts +76 -0
  79. package/dist/browser/operationsInterfaces/policyEvents.d.ts.map +1 -0
  80. package/dist/browser/operationsInterfaces/policyEvents.js.map +1 -0
  81. package/dist/browser/operationsInterfaces/policyMetadataOperations.d.ts +17 -0
  82. package/dist/browser/operationsInterfaces/policyMetadataOperations.d.ts.map +1 -0
  83. package/dist/browser/operationsInterfaces/policyMetadataOperations.js.map +1 -0
  84. package/dist/browser/operationsInterfaces/policyRestrictions.d.ts +26 -0
  85. package/dist/browser/operationsInterfaces/policyRestrictions.d.ts.map +1 -0
  86. package/dist/browser/operationsInterfaces/policyRestrictions.js.map +1 -0
  87. package/dist/browser/operationsInterfaces/policyStates.d.ts +189 -0
  88. package/dist/browser/operationsInterfaces/policyStates.d.ts.map +1 -0
  89. package/dist/browser/operationsInterfaces/policyStates.js.map +1 -0
  90. package/dist/browser/operationsInterfaces/policyTrackedResources.d.ts +37 -0
  91. package/dist/browser/operationsInterfaces/policyTrackedResources.d.ts.map +1 -0
  92. package/dist/browser/operationsInterfaces/policyTrackedResources.js.map +1 -0
  93. package/dist/browser/operationsInterfaces/remediations.d.ts +168 -0
  94. package/dist/browser/operationsInterfaces/remediations.d.ts.map +1 -0
  95. package/dist/browser/operationsInterfaces/remediations.js.map +1 -0
  96. package/dist/browser/package.json +3 -0
  97. package/dist/browser/pagingHelper.d.ts +13 -0
  98. package/dist/browser/pagingHelper.d.ts.map +1 -0
  99. package/dist/browser/pagingHelper.js +32 -0
  100. package/dist/browser/pagingHelper.js.map +1 -0
  101. package/dist/browser/policyInsightsClient.d.ts +26 -0
  102. package/dist/browser/policyInsightsClient.d.ts.map +1 -0
  103. package/dist/browser/policyInsightsClient.js +76 -0
  104. package/dist/browser/policyInsightsClient.js.map +1 -0
  105. package/dist/commonjs/index.d.ts +5 -0
  106. package/dist/commonjs/index.d.ts.map +1 -0
  107. package/dist/commonjs/index.js +19 -0
  108. package/dist/commonjs/index.js.map +1 -0
  109. package/dist/commonjs/lroImpl.d.ts +11 -0
  110. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  111. package/dist/commonjs/lroImpl.js +24 -0
  112. package/dist/commonjs/lroImpl.js.map +1 -0
  113. package/dist/commonjs/models/index.d.ts +2256 -0
  114. package/dist/commonjs/models/index.d.ts.map +1 -0
  115. package/dist/commonjs/models/index.js +85 -0
  116. package/dist/commonjs/models/index.js.map +1 -0
  117. package/dist/commonjs/models/mappers.d.ts +67 -0
  118. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  119. package/dist/commonjs/models/mappers.js +2986 -0
  120. package/dist/commonjs/models/mappers.js.map +1 -0
  121. package/dist/commonjs/models/parameters.d.ts +51 -0
  122. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  123. package/dist/commonjs/models/parameters.js +491 -0
  124. package/dist/commonjs/models/parameters.js.map +1 -0
  125. package/dist/commonjs/operations/attestations.d.ts +161 -0
  126. package/dist/commonjs/operations/attestations.d.ts.map +1 -0
  127. package/dist/commonjs/operations/attestations.js +794 -0
  128. package/dist/commonjs/operations/attestations.js.map +1 -0
  129. package/dist/commonjs/operations/componentPolicyStates.d.ts +66 -0
  130. package/dist/commonjs/operations/componentPolicyStates.d.ts.map +1 -0
  131. package/dist/commonjs/operations/componentPolicyStates.js +297 -0
  132. package/dist/commonjs/operations/componentPolicyStates.js.map +1 -0
  133. package/dist/commonjs/operations/index.d.ts +10 -0
  134. package/dist/commonjs/operations/index.d.ts.map +1 -0
  135. package/dist/commonjs/operations/index.js +20 -0
  136. package/dist/commonjs/operations/index.js.map +1 -0
  137. package/dist/commonjs/operations/operations.d.ts +18 -0
  138. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  139. package/dist/commonjs/operations/operations.js +51 -0
  140. package/dist/commonjs/operations/operations.js.map +1 -0
  141. package/dist/commonjs/operations/policyEvents.d.ts +256 -0
  142. package/dist/commonjs/operations/policyEvents.d.ts.map +1 -0
  143. package/dist/commonjs/operations/policyEvents.js +1204 -0
  144. package/dist/commonjs/operations/policyEvents.js.map +1 -0
  145. package/dist/commonjs/operations/policyMetadataOperations.d.ts +38 -0
  146. package/dist/commonjs/operations/policyMetadataOperations.d.ts.map +1 -0
  147. package/dist/commonjs/operations/policyMetadataOperations.js +161 -0
  148. package/dist/commonjs/operations/policyMetadataOperations.js.map +1 -0
  149. package/dist/commonjs/operations/policyRestrictions.d.ts +34 -0
  150. package/dist/commonjs/operations/policyRestrictions.d.ts.map +1 -0
  151. package/dist/commonjs/operations/policyRestrictions.js +117 -0
  152. package/dist/commonjs/operations/policyRestrictions.js.map +1 -0
  153. package/dist/commonjs/operations/policyStates.d.ts +385 -0
  154. package/dist/commonjs/operations/policyStates.d.ts.map +1 -0
  155. package/dist/commonjs/operations/policyStates.js +1709 -0
  156. package/dist/commonjs/operations/policyStates.js.map +1 -0
  157. package/dist/commonjs/operations/policyTrackedResources.d.ts +123 -0
  158. package/dist/commonjs/operations/policyTrackedResources.d.ts.map +1 -0
  159. package/dist/commonjs/operations/policyTrackedResources.js +540 -0
  160. package/dist/commonjs/operations/policyTrackedResources.js.map +1 -0
  161. package/dist/commonjs/operations/remediations.d.ts +304 -0
  162. package/dist/commonjs/operations/remediations.d.ts.map +1 -0
  163. package/dist/commonjs/operations/remediations.js +1478 -0
  164. package/dist/commonjs/operations/remediations.js.map +1 -0
  165. package/dist/commonjs/operationsInterfaces/attestations.d.ts +110 -0
  166. package/dist/commonjs/operationsInterfaces/attestations.d.ts.map +1 -0
  167. package/dist/commonjs/operationsInterfaces/attestations.js +10 -0
  168. package/dist/commonjs/operationsInterfaces/attestations.js.map +1 -0
  169. package/dist/commonjs/operationsInterfaces/componentPolicyStates.d.ts +58 -0
  170. package/dist/commonjs/operationsInterfaces/componentPolicyStates.d.ts.map +1 -0
  171. package/dist/commonjs/operationsInterfaces/componentPolicyStates.js +10 -0
  172. package/dist/commonjs/operationsInterfaces/componentPolicyStates.js.map +1 -0
  173. package/dist/commonjs/operationsInterfaces/index.d.ts +10 -0
  174. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  175. package/dist/commonjs/operationsInterfaces/index.js +20 -0
  176. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  177. package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
  178. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  179. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  180. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  181. package/dist/commonjs/operationsInterfaces/policyEvents.d.ts +76 -0
  182. package/dist/commonjs/operationsInterfaces/policyEvents.d.ts.map +1 -0
  183. package/dist/commonjs/operationsInterfaces/policyEvents.js +10 -0
  184. package/dist/commonjs/operationsInterfaces/policyEvents.js.map +1 -0
  185. package/dist/commonjs/operationsInterfaces/policyMetadataOperations.d.ts +17 -0
  186. package/dist/commonjs/operationsInterfaces/policyMetadataOperations.d.ts.map +1 -0
  187. package/dist/commonjs/operationsInterfaces/policyMetadataOperations.js +10 -0
  188. package/dist/commonjs/operationsInterfaces/policyMetadataOperations.js.map +1 -0
  189. package/dist/commonjs/operationsInterfaces/policyRestrictions.d.ts +26 -0
  190. package/dist/commonjs/operationsInterfaces/policyRestrictions.d.ts.map +1 -0
  191. package/dist/commonjs/operationsInterfaces/policyRestrictions.js +10 -0
  192. package/dist/commonjs/operationsInterfaces/policyRestrictions.js.map +1 -0
  193. package/dist/commonjs/operationsInterfaces/policyStates.d.ts +189 -0
  194. package/dist/commonjs/operationsInterfaces/policyStates.d.ts.map +1 -0
  195. package/dist/commonjs/operationsInterfaces/policyStates.js +10 -0
  196. package/dist/commonjs/operationsInterfaces/policyStates.js.map +1 -0
  197. package/dist/commonjs/operationsInterfaces/policyTrackedResources.d.ts +37 -0
  198. package/dist/commonjs/operationsInterfaces/policyTrackedResources.d.ts.map +1 -0
  199. package/dist/commonjs/operationsInterfaces/policyTrackedResources.js +10 -0
  200. package/dist/commonjs/operationsInterfaces/policyTrackedResources.js.map +1 -0
  201. package/dist/commonjs/operationsInterfaces/remediations.d.ts +168 -0
  202. package/dist/commonjs/operationsInterfaces/remediations.d.ts.map +1 -0
  203. package/dist/commonjs/operationsInterfaces/remediations.js +10 -0
  204. package/dist/commonjs/operationsInterfaces/remediations.js.map +1 -0
  205. package/dist/commonjs/package.json +3 -0
  206. package/dist/commonjs/pagingHelper.d.ts +13 -0
  207. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  208. package/dist/commonjs/pagingHelper.js +36 -0
  209. package/dist/commonjs/pagingHelper.js.map +1 -0
  210. package/dist/commonjs/policyInsightsClient.d.ts +26 -0
  211. package/dist/commonjs/policyInsightsClient.d.ts.map +1 -0
  212. package/dist/commonjs/policyInsightsClient.js +81 -0
  213. package/dist/commonjs/policyInsightsClient.js.map +1 -0
  214. package/dist/commonjs/tsdoc-metadata.json +11 -0
  215. package/dist/esm/index.d.ts +5 -0
  216. package/dist/esm/index.d.ts.map +1 -0
  217. package/dist/esm/index.js +13 -0
  218. package/dist/esm/index.js.map +1 -0
  219. package/dist/esm/lroImpl.d.ts +11 -0
  220. package/dist/esm/lroImpl.d.ts.map +1 -0
  221. package/dist/esm/lroImpl.js +21 -0
  222. package/dist/esm/lroImpl.js.map +1 -0
  223. package/dist/esm/models/index.d.ts +2256 -0
  224. package/dist/esm/models/index.d.ts.map +1 -0
  225. package/dist/esm/models/index.js +82 -0
  226. package/dist/esm/models/index.js.map +1 -0
  227. package/dist/esm/models/mappers.d.ts +67 -0
  228. package/dist/esm/models/mappers.d.ts.map +1 -0
  229. package/dist/esm/models/mappers.js +2982 -0
  230. package/dist/esm/models/mappers.js.map +1 -0
  231. package/dist/esm/models/parameters.d.ts +51 -0
  232. package/dist/esm/models/parameters.d.ts.map +1 -0
  233. package/dist/esm/models/parameters.js +488 -0
  234. package/dist/esm/models/parameters.js.map +1 -0
  235. package/dist/esm/operations/attestations.d.ts +161 -0
  236. package/dist/esm/operations/attestations.d.ts.map +1 -0
  237. package/dist/esm/operations/attestations.js +790 -0
  238. package/dist/esm/operations/attestations.js.map +1 -0
  239. package/dist/esm/operations/componentPolicyStates.d.ts +66 -0
  240. package/dist/esm/operations/componentPolicyStates.d.ts.map +1 -0
  241. package/dist/esm/operations/componentPolicyStates.js +292 -0
  242. package/dist/esm/operations/componentPolicyStates.js.map +1 -0
  243. package/dist/esm/operations/index.d.ts +10 -0
  244. package/dist/esm/operations/index.d.ts.map +1 -0
  245. package/dist/esm/operations/index.js +17 -0
  246. package/dist/esm/operations/index.js.map +1 -0
  247. package/dist/esm/operations/operations.d.ts +18 -0
  248. package/dist/esm/operations/operations.d.ts.map +1 -0
  249. package/dist/esm/operations/operations.js +46 -0
  250. package/dist/esm/operations/operations.js.map +1 -0
  251. package/dist/esm/operations/policyEvents.d.ts +256 -0
  252. package/dist/esm/operations/policyEvents.d.ts.map +1 -0
  253. package/dist/esm/operations/policyEvents.js +1200 -0
  254. package/dist/esm/operations/policyEvents.js.map +1 -0
  255. package/dist/esm/operations/policyMetadataOperations.d.ts +38 -0
  256. package/dist/esm/operations/policyMetadataOperations.d.ts.map +1 -0
  257. package/dist/esm/operations/policyMetadataOperations.js +157 -0
  258. package/dist/esm/operations/policyMetadataOperations.js.map +1 -0
  259. package/dist/esm/operations/policyRestrictions.d.ts +34 -0
  260. package/dist/esm/operations/policyRestrictions.d.ts.map +1 -0
  261. package/dist/esm/operations/policyRestrictions.js +112 -0
  262. package/dist/esm/operations/policyRestrictions.js.map +1 -0
  263. package/dist/esm/operations/policyStates.d.ts +385 -0
  264. package/dist/esm/operations/policyStates.d.ts.map +1 -0
  265. package/dist/esm/operations/policyStates.js +1705 -0
  266. package/dist/esm/operations/policyStates.js.map +1 -0
  267. package/dist/esm/operations/policyTrackedResources.d.ts +123 -0
  268. package/dist/esm/operations/policyTrackedResources.d.ts.map +1 -0
  269. package/dist/esm/operations/policyTrackedResources.js +536 -0
  270. package/dist/esm/operations/policyTrackedResources.js.map +1 -0
  271. package/dist/esm/operations/remediations.d.ts +304 -0
  272. package/dist/esm/operations/remediations.d.ts.map +1 -0
  273. package/dist/esm/operations/remediations.js +1474 -0
  274. package/dist/esm/operations/remediations.js.map +1 -0
  275. package/dist/esm/operationsInterfaces/attestations.d.ts +110 -0
  276. package/dist/esm/operationsInterfaces/attestations.d.ts.map +1 -0
  277. package/dist/esm/operationsInterfaces/attestations.js +9 -0
  278. package/dist/esm/operationsInterfaces/attestations.js.map +1 -0
  279. package/dist/esm/operationsInterfaces/componentPolicyStates.d.ts +58 -0
  280. package/dist/esm/operationsInterfaces/componentPolicyStates.d.ts.map +1 -0
  281. package/dist/esm/operationsInterfaces/componentPolicyStates.js +9 -0
  282. package/dist/esm/operationsInterfaces/componentPolicyStates.js.map +1 -0
  283. package/dist/esm/operationsInterfaces/index.d.ts +10 -0
  284. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  285. package/dist/esm/operationsInterfaces/index.js +17 -0
  286. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  287. package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
  288. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  289. package/dist/esm/operationsInterfaces/operations.js +9 -0
  290. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  291. package/dist/esm/operationsInterfaces/policyEvents.d.ts +76 -0
  292. package/dist/esm/operationsInterfaces/policyEvents.d.ts.map +1 -0
  293. package/dist/esm/operationsInterfaces/policyEvents.js +9 -0
  294. package/dist/esm/operationsInterfaces/policyEvents.js.map +1 -0
  295. package/dist/esm/operationsInterfaces/policyMetadataOperations.d.ts +17 -0
  296. package/dist/esm/operationsInterfaces/policyMetadataOperations.d.ts.map +1 -0
  297. package/dist/esm/operationsInterfaces/policyMetadataOperations.js +9 -0
  298. package/dist/esm/operationsInterfaces/policyMetadataOperations.js.map +1 -0
  299. package/dist/esm/operationsInterfaces/policyRestrictions.d.ts +26 -0
  300. package/dist/esm/operationsInterfaces/policyRestrictions.d.ts.map +1 -0
  301. package/dist/esm/operationsInterfaces/policyRestrictions.js +9 -0
  302. package/dist/esm/operationsInterfaces/policyRestrictions.js.map +1 -0
  303. package/dist/esm/operationsInterfaces/policyStates.d.ts +189 -0
  304. package/dist/esm/operationsInterfaces/policyStates.d.ts.map +1 -0
  305. package/dist/esm/operationsInterfaces/policyStates.js +9 -0
  306. package/dist/esm/operationsInterfaces/policyStates.js.map +1 -0
  307. package/dist/esm/operationsInterfaces/policyTrackedResources.d.ts +37 -0
  308. package/dist/esm/operationsInterfaces/policyTrackedResources.d.ts.map +1 -0
  309. package/dist/esm/operationsInterfaces/policyTrackedResources.js +9 -0
  310. package/dist/esm/operationsInterfaces/policyTrackedResources.js.map +1 -0
  311. package/dist/esm/operationsInterfaces/remediations.d.ts +168 -0
  312. package/dist/esm/operationsInterfaces/remediations.d.ts.map +1 -0
  313. package/dist/esm/operationsInterfaces/remediations.js +9 -0
  314. package/dist/esm/operationsInterfaces/remediations.js.map +1 -0
  315. package/dist/esm/package.json +3 -0
  316. package/dist/esm/pagingHelper.d.ts +13 -0
  317. package/dist/esm/pagingHelper.d.ts.map +1 -0
  318. package/dist/esm/pagingHelper.js +32 -0
  319. package/dist/esm/pagingHelper.js.map +1 -0
  320. package/dist/esm/policyInsightsClient.d.ts +26 -0
  321. package/dist/esm/policyInsightsClient.d.ts.map +1 -0
  322. package/dist/esm/policyInsightsClient.js +76 -0
  323. package/dist/esm/policyInsightsClient.js.map +1 -0
  324. package/dist/react-native/index.d.ts +5 -0
  325. package/dist/react-native/index.d.ts.map +1 -0
  326. package/dist/react-native/index.js +13 -0
  327. package/dist/react-native/index.js.map +1 -0
  328. package/dist/react-native/lroImpl.d.ts +11 -0
  329. package/dist/react-native/lroImpl.d.ts.map +1 -0
  330. package/dist/react-native/lroImpl.js +21 -0
  331. package/dist/react-native/lroImpl.js.map +1 -0
  332. package/dist/react-native/models/index.d.ts +2256 -0
  333. package/dist/react-native/models/index.d.ts.map +1 -0
  334. package/dist/react-native/models/index.js +82 -0
  335. package/dist/react-native/models/index.js.map +1 -0
  336. package/dist/react-native/models/mappers.d.ts +67 -0
  337. package/dist/react-native/models/mappers.d.ts.map +1 -0
  338. package/dist/react-native/models/mappers.js +2982 -0
  339. package/dist/react-native/models/mappers.js.map +1 -0
  340. package/dist/react-native/models/parameters.d.ts +51 -0
  341. package/dist/react-native/models/parameters.d.ts.map +1 -0
  342. package/dist/react-native/models/parameters.js +488 -0
  343. package/dist/react-native/models/parameters.js.map +1 -0
  344. package/dist/react-native/operations/attestations.d.ts +161 -0
  345. package/dist/react-native/operations/attestations.d.ts.map +1 -0
  346. package/dist/react-native/operations/attestations.js +790 -0
  347. package/dist/react-native/operations/attestations.js.map +1 -0
  348. package/dist/react-native/operations/componentPolicyStates.d.ts +66 -0
  349. package/dist/react-native/operations/componentPolicyStates.d.ts.map +1 -0
  350. package/dist/react-native/operations/componentPolicyStates.js +292 -0
  351. package/dist/react-native/operations/componentPolicyStates.js.map +1 -0
  352. package/dist/react-native/operations/index.d.ts +10 -0
  353. package/dist/react-native/operations/index.d.ts.map +1 -0
  354. package/dist/react-native/operations/index.js +17 -0
  355. package/dist/react-native/operations/index.js.map +1 -0
  356. package/dist/react-native/operations/operations.d.ts +18 -0
  357. package/dist/react-native/operations/operations.d.ts.map +1 -0
  358. package/dist/react-native/operations/operations.js +46 -0
  359. package/dist/react-native/operations/operations.js.map +1 -0
  360. package/dist/react-native/operations/policyEvents.d.ts +256 -0
  361. package/dist/react-native/operations/policyEvents.d.ts.map +1 -0
  362. package/dist/react-native/operations/policyEvents.js +1200 -0
  363. package/dist/react-native/operations/policyEvents.js.map +1 -0
  364. package/dist/react-native/operations/policyMetadataOperations.d.ts +38 -0
  365. package/dist/react-native/operations/policyMetadataOperations.d.ts.map +1 -0
  366. package/dist/react-native/operations/policyMetadataOperations.js +157 -0
  367. package/dist/react-native/operations/policyMetadataOperations.js.map +1 -0
  368. package/dist/react-native/operations/policyRestrictions.d.ts +34 -0
  369. package/dist/react-native/operations/policyRestrictions.d.ts.map +1 -0
  370. package/dist/react-native/operations/policyRestrictions.js +112 -0
  371. package/dist/react-native/operations/policyRestrictions.js.map +1 -0
  372. package/dist/react-native/operations/policyStates.d.ts +385 -0
  373. package/dist/react-native/operations/policyStates.d.ts.map +1 -0
  374. package/dist/react-native/operations/policyStates.js +1705 -0
  375. package/dist/react-native/operations/policyStates.js.map +1 -0
  376. package/dist/react-native/operations/policyTrackedResources.d.ts +123 -0
  377. package/dist/react-native/operations/policyTrackedResources.d.ts.map +1 -0
  378. package/dist/react-native/operations/policyTrackedResources.js +536 -0
  379. package/dist/react-native/operations/policyTrackedResources.js.map +1 -0
  380. package/dist/react-native/operations/remediations.d.ts +304 -0
  381. package/dist/react-native/operations/remediations.d.ts.map +1 -0
  382. package/dist/react-native/operations/remediations.js +1474 -0
  383. package/dist/react-native/operations/remediations.js.map +1 -0
  384. package/dist/react-native/operationsInterfaces/attestations.d.ts +110 -0
  385. package/dist/react-native/operationsInterfaces/attestations.d.ts.map +1 -0
  386. package/dist/react-native/operationsInterfaces/attestations.js +9 -0
  387. package/dist/react-native/operationsInterfaces/attestations.js.map +1 -0
  388. package/dist/react-native/operationsInterfaces/componentPolicyStates.d.ts +58 -0
  389. package/dist/react-native/operationsInterfaces/componentPolicyStates.d.ts.map +1 -0
  390. package/dist/react-native/operationsInterfaces/componentPolicyStates.js +9 -0
  391. package/dist/react-native/operationsInterfaces/componentPolicyStates.js.map +1 -0
  392. package/dist/react-native/operationsInterfaces/index.d.ts +10 -0
  393. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  394. package/dist/react-native/operationsInterfaces/index.js +17 -0
  395. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  396. package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
  397. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  398. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  399. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  400. package/dist/react-native/operationsInterfaces/policyEvents.d.ts +76 -0
  401. package/dist/react-native/operationsInterfaces/policyEvents.d.ts.map +1 -0
  402. package/dist/react-native/operationsInterfaces/policyEvents.js +9 -0
  403. package/dist/react-native/operationsInterfaces/policyEvents.js.map +1 -0
  404. package/dist/react-native/operationsInterfaces/policyMetadataOperations.d.ts +17 -0
  405. package/dist/react-native/operationsInterfaces/policyMetadataOperations.d.ts.map +1 -0
  406. package/dist/react-native/operationsInterfaces/policyMetadataOperations.js +9 -0
  407. package/dist/react-native/operationsInterfaces/policyMetadataOperations.js.map +1 -0
  408. package/dist/react-native/operationsInterfaces/policyRestrictions.d.ts +26 -0
  409. package/dist/react-native/operationsInterfaces/policyRestrictions.d.ts.map +1 -0
  410. package/dist/react-native/operationsInterfaces/policyRestrictions.js +9 -0
  411. package/dist/react-native/operationsInterfaces/policyRestrictions.js.map +1 -0
  412. package/dist/react-native/operationsInterfaces/policyStates.d.ts +189 -0
  413. package/dist/react-native/operationsInterfaces/policyStates.d.ts.map +1 -0
  414. package/dist/react-native/operationsInterfaces/policyStates.js +9 -0
  415. package/dist/react-native/operationsInterfaces/policyStates.js.map +1 -0
  416. package/dist/react-native/operationsInterfaces/policyTrackedResources.d.ts +37 -0
  417. package/dist/react-native/operationsInterfaces/policyTrackedResources.d.ts.map +1 -0
  418. package/dist/react-native/operationsInterfaces/policyTrackedResources.js +9 -0
  419. package/dist/react-native/operationsInterfaces/policyTrackedResources.js.map +1 -0
  420. package/dist/react-native/operationsInterfaces/remediations.d.ts +168 -0
  421. package/dist/react-native/operationsInterfaces/remediations.d.ts.map +1 -0
  422. package/dist/react-native/operationsInterfaces/remediations.js +9 -0
  423. package/dist/react-native/operationsInterfaces/remediations.js.map +1 -0
  424. package/dist/react-native/package.json +3 -0
  425. package/dist/react-native/pagingHelper.d.ts +13 -0
  426. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  427. package/dist/react-native/pagingHelper.js +32 -0
  428. package/dist/react-native/pagingHelper.js.map +1 -0
  429. package/dist/react-native/policyInsightsClient.d.ts +26 -0
  430. package/dist/react-native/policyInsightsClient.d.ts.map +1 -0
  431. package/dist/react-native/policyInsightsClient.js +76 -0
  432. package/dist/react-native/policyInsightsClient.js.map +1 -0
  433. package/package.json +84 -62
  434. package/review/arm-policyinsights.api.md +198 -41
  435. package/dist/index.js +0 -8961
  436. package/dist/index.js.map +0 -1
  437. package/dist/index.min.js +0 -1
  438. package/dist/index.min.js.map +0 -1
  439. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.d.ts +0 -2
  440. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.d.ts.map +0 -1
  441. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.js +0 -47
  442. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.js.map +0 -1
  443. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.d.ts +0 -2
  444. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.d.ts.map +0 -1
  445. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.js +0 -47
  446. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.js.map +0 -1
  447. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.d.ts +0 -2
  448. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.d.ts.map +0 -1
  449. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.js +0 -67
  450. package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.js.map +0 -1
  451. package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.d.ts +0 -2
  452. package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.d.ts.map +0 -1
  453. package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.js +0 -31
  454. package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.js.map +0 -1
  455. package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.d.ts +0 -2
  456. package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.d.ts.map +0 -1
  457. package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.js +0 -31
  458. package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.js.map +0 -1
  459. package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.d.ts +0 -2
  460. package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.d.ts.map +0 -1
  461. package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.js +0 -30
  462. package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.js.map +0 -1
  463. package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.d.ts +0 -2
  464. package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.d.ts.map +0 -1
  465. package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.js +0 -31
  466. package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.js.map +0 -1
  467. package/dist-esm/samples-dev/attestationsGetAtResourceSample.d.ts +0 -2
  468. package/dist-esm/samples-dev/attestationsGetAtResourceSample.d.ts.map +0 -1
  469. package/dist-esm/samples-dev/attestationsGetAtResourceSample.js +0 -31
  470. package/dist-esm/samples-dev/attestationsGetAtResourceSample.js.map +0 -1
  471. package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.d.ts +0 -2
  472. package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.d.ts.map +0 -1
  473. package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.js +0 -30
  474. package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.js.map +0 -1
  475. package/dist-esm/samples-dev/attestationsListForResourceGroupSample.d.ts +0 -2
  476. package/dist-esm/samples-dev/attestationsListForResourceGroupSample.d.ts.map +0 -1
  477. package/dist-esm/samples-dev/attestationsListForResourceGroupSample.js +0 -83
  478. package/dist-esm/samples-dev/attestationsListForResourceGroupSample.js.map +0 -1
  479. package/dist-esm/samples-dev/attestationsListForResourceSample.d.ts +0 -2
  480. package/dist-esm/samples-dev/attestationsListForResourceSample.d.ts.map +0 -1
  481. package/dist-esm/samples-dev/attestationsListForResourceSample.js +0 -78
  482. package/dist-esm/samples-dev/attestationsListForResourceSample.js.map +0 -1
  483. package/dist-esm/samples-dev/attestationsListForSubscriptionSample.d.ts +0 -2
  484. package/dist-esm/samples-dev/attestationsListForSubscriptionSample.d.ts.map +0 -1
  485. package/dist-esm/samples-dev/attestationsListForSubscriptionSample.js +0 -81
  486. package/dist-esm/samples-dev/attestationsListForSubscriptionSample.js.map +0 -1
  487. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  488. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  489. package/dist-esm/samples-dev/operationsListSample.js +0 -29
  490. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  491. package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.d.ts +0 -2
  492. package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.d.ts.map +0 -1
  493. package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.js +0 -81
  494. package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.js.map +0 -1
  495. package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.d.ts +0 -2
  496. package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.d.ts.map +0 -1
  497. package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.js +0 -81
  498. package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.js.map +0 -1
  499. package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.d.ts +0 -2
  500. package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.d.ts.map +0 -1
  501. package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.js +0 -81
  502. package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.js.map +0 -1
  503. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts +0 -2
  504. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts.map +0 -1
  505. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +0 -83
  506. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +0 -1
  507. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.d.ts +0 -2
  508. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.d.ts.map +0 -1
  509. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.js +0 -81
  510. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.js.map +0 -1
  511. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.d.ts +0 -2
  512. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.d.ts.map +0 -1
  513. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.js +0 -251
  514. package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.js.map +0 -1
  515. package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts +0 -2
  516. package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts.map +0 -1
  517. package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js +0 -81
  518. package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +0 -1
  519. package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.d.ts +0 -2
  520. package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.d.ts.map +0 -1
  521. package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.js +0 -270
  522. package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.js.map +0 -1
  523. package/dist-esm/samples-dev/policyMetadataGetResourceSample.d.ts +0 -2
  524. package/dist-esm/samples-dev/policyMetadataGetResourceSample.d.ts.map +0 -1
  525. package/dist-esm/samples-dev/policyMetadataGetResourceSample.js +0 -30
  526. package/dist-esm/samples-dev/policyMetadataGetResourceSample.js.map +0 -1
  527. package/dist-esm/samples-dev/policyMetadataListSample.d.ts +0 -2
  528. package/dist-esm/samples-dev/policyMetadataListSample.d.ts.map +0 -1
  529. package/dist-esm/samples-dev/policyMetadataListSample.js +0 -75
  530. package/dist-esm/samples-dev/policyMetadataListSample.js.map +0 -1
  531. package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.d.ts +0 -2
  532. package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.d.ts.map +0 -1
  533. package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.js +0 -33
  534. package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.js.map +0 -1
  535. package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.d.ts +0 -2
  536. package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.d.ts.map +0 -1
  537. package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.js +0 -47
  538. package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.js.map +0 -1
  539. package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.d.ts +0 -2
  540. package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.d.ts.map +0 -1
  541. package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.js +0 -46
  542. package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.js.map +0 -1
  543. package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.d.ts +0 -2
  544. package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.d.ts.map +0 -1
  545. package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.js +0 -81
  546. package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.js.map +0 -1
  547. package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.d.ts +0 -2
  548. package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.d.ts.map +0 -1
  549. package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.js +0 -81
  550. package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.js.map +0 -1
  551. package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.d.ts +0 -2
  552. package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.d.ts.map +0 -1
  553. package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.js +0 -81
  554. package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.js.map +0 -1
  555. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts +0 -2
  556. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts.map +0 -1
  557. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +0 -83
  558. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +0 -1
  559. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.d.ts +0 -2
  560. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.d.ts.map +0 -1
  561. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.js +0 -81
  562. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.js.map +0 -1
  563. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.d.ts +0 -2
  564. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.d.ts.map +0 -1
  565. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.js +0 -287
  566. package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.js.map +0 -1
  567. package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts +0 -2
  568. package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts.map +0 -1
  569. package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js +0 -81
  570. package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +0 -1
  571. package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.d.ts +0 -2
  572. package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.d.ts.map +0 -1
  573. package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.js +0 -270
  574. package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.js.map +0 -1
  575. package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.d.ts +0 -2
  576. package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.d.ts.map +0 -1
  577. package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.js +0 -38
  578. package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.js.map +0 -1
  579. package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.d.ts +0 -2
  580. package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.d.ts.map +0 -1
  581. package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.js +0 -31
  582. package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.js.map +0 -1
  583. package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.d.ts +0 -2
  584. package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.d.ts.map +0 -1
  585. package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.js +0 -38
  586. package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.js.map +0 -1
  587. package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.d.ts +0 -2
  588. package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.d.ts.map +0 -1
  589. package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.js +0 -32
  590. package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.js.map +0 -1
  591. package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.d.ts +0 -2
  592. package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.d.ts.map +0 -1
  593. package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.js +0 -31
  594. package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.js.map +0 -1
  595. package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.d.ts +0 -2
  596. package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.d.ts.map +0 -1
  597. package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.js +0 -33
  598. package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.js.map +0 -1
  599. package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.d.ts +0 -2
  600. package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.d.ts.map +0 -1
  601. package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.js +0 -31
  602. package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.js.map +0 -1
  603. package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.d.ts +0 -2
  604. package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.d.ts.map +0 -1
  605. package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.js +0 -54
  606. package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.js.map +0 -1
  607. package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.d.ts +0 -2
  608. package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.d.ts.map +0 -1
  609. package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.js +0 -30
  610. package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.js.map +0 -1
  611. package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.d.ts +0 -2
  612. package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.d.ts.map +0 -1
  613. package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.js +0 -29
  614. package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.js.map +0 -1
  615. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.d.ts +0 -2
  616. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.d.ts.map +0 -1
  617. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.js +0 -82
  618. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.js.map +0 -1
  619. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.d.ts +0 -2
  620. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.d.ts.map +0 -1
  621. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.js +0 -82
  622. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.js.map +0 -1
  623. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.d.ts +0 -2
  624. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.d.ts.map +0 -1
  625. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.js +0 -82
  626. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.js.map +0 -1
  627. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.d.ts +0 -2
  628. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.d.ts.map +0 -1
  629. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.js +0 -80
  630. package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.js.map +0 -1
  631. package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.d.ts +0 -2
  632. package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.d.ts.map +0 -1
  633. package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.js +0 -31
  634. package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.js.map +0 -1
  635. package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.d.ts +0 -2
  636. package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.d.ts.map +0 -1
  637. package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.js +0 -31
  638. package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.js.map +0 -1
  639. package/dist-esm/samples-dev/remediationsCancelAtResourceSample.d.ts +0 -2
  640. package/dist-esm/samples-dev/remediationsCancelAtResourceSample.d.ts.map +0 -1
  641. package/dist-esm/samples-dev/remediationsCancelAtResourceSample.js +0 -31
  642. package/dist-esm/samples-dev/remediationsCancelAtResourceSample.js.map +0 -1
  643. package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.d.ts +0 -2
  644. package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.d.ts.map +0 -1
  645. package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.js +0 -30
  646. package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.js.map +0 -1
  647. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.d.ts +0 -2
  648. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.d.ts.map +0 -1
  649. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.js +0 -34
  650. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.js.map +0 -1
  651. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.d.ts +0 -2
  652. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.d.ts.map +0 -1
  653. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.js +0 -34
  654. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.js.map +0 -1
  655. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.d.ts +0 -2
  656. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.d.ts.map +0 -1
  657. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.js +0 -34
  658. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.js.map +0 -1
  659. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.d.ts +0 -2
  660. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.d.ts.map +0 -1
  661. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.js +0 -59
  662. package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.js.map +0 -1
  663. package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.d.ts +0 -2
  664. package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.d.ts.map +0 -1
  665. package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.js +0 -31
  666. package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.js.map +0 -1
  667. package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.d.ts +0 -2
  668. package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.d.ts.map +0 -1
  669. package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.js +0 -31
  670. package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.js.map +0 -1
  671. package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.d.ts +0 -2
  672. package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.d.ts.map +0 -1
  673. package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.js +0 -31
  674. package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.js.map +0 -1
  675. package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.d.ts +0 -2
  676. package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.d.ts.map +0 -1
  677. package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.js +0 -30
  678. package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.js.map +0 -1
  679. package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.d.ts +0 -2
  680. package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.d.ts.map +0 -1
  681. package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.js +0 -31
  682. package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.js.map +0 -1
  683. package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.d.ts +0 -2
  684. package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.d.ts.map +0 -1
  685. package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.js +0 -31
  686. package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.js.map +0 -1
  687. package/dist-esm/samples-dev/remediationsGetAtResourceSample.d.ts +0 -2
  688. package/dist-esm/samples-dev/remediationsGetAtResourceSample.d.ts.map +0 -1
  689. package/dist-esm/samples-dev/remediationsGetAtResourceSample.js +0 -31
  690. package/dist-esm/samples-dev/remediationsGetAtResourceSample.js.map +0 -1
  691. package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.d.ts +0 -2
  692. package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.d.ts.map +0 -1
  693. package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.js +0 -30
  694. package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.js.map +0 -1
  695. package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.d.ts +0 -2
  696. package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.d.ts.map +0 -1
  697. package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.js +0 -45
  698. package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.js.map +0 -1
  699. package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.d.ts +0 -2
  700. package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.d.ts.map +0 -1
  701. package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.js +0 -45
  702. package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.js.map +0 -1
  703. package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.d.ts +0 -2
  704. package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.d.ts.map +0 -1
  705. package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.js +0 -45
  706. package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.js.map +0 -1
  707. package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.d.ts +0 -2
  708. package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.d.ts.map +0 -1
  709. package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.js +0 -44
  710. package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.js.map +0 -1
  711. package/dist-esm/samples-dev/remediationsListForManagementGroupSample.d.ts +0 -2
  712. package/dist-esm/samples-dev/remediationsListForManagementGroupSample.d.ts.map +0 -1
  713. package/dist-esm/samples-dev/remediationsListForManagementGroupSample.js +0 -80
  714. package/dist-esm/samples-dev/remediationsListForManagementGroupSample.js.map +0 -1
  715. package/dist-esm/samples-dev/remediationsListForResourceGroupSample.d.ts +0 -2
  716. package/dist-esm/samples-dev/remediationsListForResourceGroupSample.d.ts.map +0 -1
  717. package/dist-esm/samples-dev/remediationsListForResourceGroupSample.js +0 -80
  718. package/dist-esm/samples-dev/remediationsListForResourceGroupSample.js.map +0 -1
  719. package/dist-esm/samples-dev/remediationsListForResourceSample.d.ts +0 -2
  720. package/dist-esm/samples-dev/remediationsListForResourceSample.d.ts.map +0 -1
  721. package/dist-esm/samples-dev/remediationsListForResourceSample.js +0 -78
  722. package/dist-esm/samples-dev/remediationsListForResourceSample.js.map +0 -1
  723. package/dist-esm/samples-dev/remediationsListForSubscriptionSample.d.ts +0 -2
  724. package/dist-esm/samples-dev/remediationsListForSubscriptionSample.d.ts.map +0 -1
  725. package/dist-esm/samples-dev/remediationsListForSubscriptionSample.js +0 -78
  726. package/dist-esm/samples-dev/remediationsListForSubscriptionSample.js.map +0 -1
  727. package/dist-esm/src/index.d.ts +0 -5
  728. package/dist-esm/src/index.d.ts.map +0 -1
  729. package/dist-esm/src/index.js +0 -12
  730. package/dist-esm/src/index.js.map +0 -1
  731. package/dist-esm/src/lroImpl.d.ts +0 -16
  732. package/dist-esm/src/lroImpl.d.ts.map +0 -1
  733. package/dist-esm/src/lroImpl.js +0 -29
  734. package/dist-esm/src/lroImpl.js.map +0 -1
  735. package/dist-esm/src/models/index.d.ts +0 -1931
  736. package/dist-esm/src/models/index.d.ts.map +0 -1
  737. package/dist-esm/src/models/index.js +0 -74
  738. package/dist-esm/src/models/index.js.map +0 -1
  739. package/dist-esm/src/models/mappers.d.ts +0 -61
  740. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  741. package/dist-esm/src/models/mappers.js +0 -2530
  742. package/dist-esm/src/models/mappers.js.map +0 -1
  743. package/dist-esm/src/models/parameters.d.ts +0 -43
  744. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  745. package/dist-esm/src/models/parameters.js +0 -406
  746. package/dist-esm/src/models/parameters.js.map +0 -1
  747. package/dist-esm/src/operations/attestations.d.ts +0 -161
  748. package/dist-esm/src/operations/attestations.d.ts.map +0 -1
  749. package/dist-esm/src/operations/attestations.js +0 -753
  750. package/dist-esm/src/operations/attestations.js.map +0 -1
  751. package/dist-esm/src/operations/index.d.ts +0 -9
  752. package/dist-esm/src/operations/index.d.ts.map +0 -1
  753. package/dist-esm/src/operations/index.js +0 -16
  754. package/dist-esm/src/operations/index.js.map +0 -1
  755. package/dist-esm/src/operations/operations.d.ts +0 -18
  756. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  757. package/dist-esm/src/operations/operations.js +0 -46
  758. package/dist-esm/src/operations/operations.js.map +0 -1
  759. package/dist-esm/src/operations/policyEvents.d.ts +0 -256
  760. package/dist-esm/src/operations/policyEvents.d.ts.map +0 -1
  761. package/dist-esm/src/operations/policyEvents.js +0 -1181
  762. package/dist-esm/src/operations/policyEvents.js.map +0 -1
  763. package/dist-esm/src/operations/policyMetadataOperations.d.ts +0 -38
  764. package/dist-esm/src/operations/policyMetadataOperations.d.ts.map +0 -1
  765. package/dist-esm/src/operations/policyMetadataOperations.js +0 -144
  766. package/dist-esm/src/operations/policyMetadataOperations.js.map +0 -1
  767. package/dist-esm/src/operations/policyRestrictions.d.ts +0 -34
  768. package/dist-esm/src/operations/policyRestrictions.d.ts.map +0 -1
  769. package/dist-esm/src/operations/policyRestrictions.js +0 -112
  770. package/dist-esm/src/operations/policyRestrictions.js.map +0 -1
  771. package/dist-esm/src/operations/policyStates.d.ts +0 -385
  772. package/dist-esm/src/operations/policyStates.d.ts.map +0 -1
  773. package/dist-esm/src/operations/policyStates.js +0 -1686
  774. package/dist-esm/src/operations/policyStates.js.map +0 -1
  775. package/dist-esm/src/operations/policyTrackedResources.d.ts +0 -123
  776. package/dist-esm/src/operations/policyTrackedResources.d.ts.map +0 -1
  777. package/dist-esm/src/operations/policyTrackedResources.js +0 -487
  778. package/dist-esm/src/operations/policyTrackedResources.js.map +0 -1
  779. package/dist-esm/src/operations/remediations.d.ts +0 -304
  780. package/dist-esm/src/operations/remediations.d.ts.map +0 -1
  781. package/dist-esm/src/operations/remediations.js +0 -1377
  782. package/dist-esm/src/operations/remediations.js.map +0 -1
  783. package/dist-esm/src/operationsInterfaces/attestations.d.ts +0 -110
  784. package/dist-esm/src/operationsInterfaces/attestations.d.ts.map +0 -1
  785. package/dist-esm/src/operationsInterfaces/attestations.js.map +0 -1
  786. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -9
  787. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  788. package/dist-esm/src/operationsInterfaces/index.js +0 -16
  789. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  790. package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -10
  791. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  792. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  793. package/dist-esm/src/operationsInterfaces/policyEvents.d.ts +0 -76
  794. package/dist-esm/src/operationsInterfaces/policyEvents.d.ts.map +0 -1
  795. package/dist-esm/src/operationsInterfaces/policyEvents.js.map +0 -1
  796. package/dist-esm/src/operationsInterfaces/policyMetadataOperations.d.ts +0 -17
  797. package/dist-esm/src/operationsInterfaces/policyMetadataOperations.d.ts.map +0 -1
  798. package/dist-esm/src/operationsInterfaces/policyMetadataOperations.js.map +0 -1
  799. package/dist-esm/src/operationsInterfaces/policyRestrictions.d.ts +0 -26
  800. package/dist-esm/src/operationsInterfaces/policyRestrictions.d.ts.map +0 -1
  801. package/dist-esm/src/operationsInterfaces/policyRestrictions.js.map +0 -1
  802. package/dist-esm/src/operationsInterfaces/policyStates.d.ts +0 -189
  803. package/dist-esm/src/operationsInterfaces/policyStates.d.ts.map +0 -1
  804. package/dist-esm/src/operationsInterfaces/policyStates.js.map +0 -1
  805. package/dist-esm/src/operationsInterfaces/policyTrackedResources.d.ts +0 -37
  806. package/dist-esm/src/operationsInterfaces/policyTrackedResources.d.ts.map +0 -1
  807. package/dist-esm/src/operationsInterfaces/policyTrackedResources.js.map +0 -1
  808. package/dist-esm/src/operationsInterfaces/remediations.d.ts +0 -168
  809. package/dist-esm/src/operationsInterfaces/remediations.d.ts.map +0 -1
  810. package/dist-esm/src/operationsInterfaces/remediations.js.map +0 -1
  811. package/dist-esm/src/policyInsightsClient.d.ts +0 -24
  812. package/dist-esm/src/policyInsightsClient.d.ts.map +0 -1
  813. package/dist-esm/src/policyInsightsClient.js +0 -80
  814. package/dist-esm/src/policyInsightsClient.js.map +0 -1
  815. package/dist-esm/test/policyinsights_example.spec.d.ts +0 -4
  816. package/dist-esm/test/policyinsights_example.spec.d.ts.map +0 -1
  817. package/dist-esm/test/policyinsights_example.spec.js +0 -71
  818. package/dist-esm/test/policyinsights_example.spec.js.map +0 -1
  819. package/rollup.config.js +0 -122
  820. package/src/index.ts +0 -12
  821. package/src/lroImpl.ts +0 -34
  822. package/src/models/index.ts +0 -2296
  823. package/src/models/mappers.ts +0 -2608
  824. package/src/models/parameters.ts +0 -457
  825. package/src/operations/attestations.ts +0 -1005
  826. package/src/operations/index.ts +0 -16
  827. package/src/operations/operations.ts +0 -59
  828. package/src/operations/policyEvents.ts +0 -1603
  829. package/src/operations/policyMetadataOperations.ts +0 -170
  830. package/src/operations/policyRestrictions.ts +0 -154
  831. package/src/operations/policyStates.ts +0 -2270
  832. package/src/operations/policyTrackedResources.ts +0 -665
  833. package/src/operations/remediations.ts +0 -1814
  834. package/src/operationsInterfaces/attestations.ts +0 -212
  835. package/src/operationsInterfaces/index.ts +0 -16
  836. package/src/operationsInterfaces/operations.ts +0 -21
  837. package/src/operationsInterfaces/policyEvents.ts +0 -134
  838. package/src/operationsInterfaces/policyMetadataOperations.ts +0 -36
  839. package/src/operationsInterfaces/policyRestrictions.ts +0 -54
  840. package/src/operationsInterfaces/policyStates.ts +0 -320
  841. package/src/operationsInterfaces/policyTrackedResources.ts +0 -68
  842. package/src/operationsInterfaces/remediations.ts +0 -310
  843. package/src/policyInsightsClient.ts +0 -137
  844. package/tsconfig.json +0 -33
  845. package/types/arm-policyinsights.d.ts +0 -2853
  846. package/types/tsdoc-metadata.json +0 -11
  847. /package/{dist-esm/src → dist/browser}/operationsInterfaces/attestations.js +0 -0
  848. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  849. /package/{dist-esm/src → dist/browser}/operationsInterfaces/policyEvents.js +0 -0
  850. /package/{dist-esm/src → dist/browser}/operationsInterfaces/policyMetadataOperations.js +0 -0
  851. /package/{dist-esm/src → dist/browser}/operationsInterfaces/policyRestrictions.js +0 -0
  852. /package/{dist-esm/src → dist/browser}/operationsInterfaces/policyStates.js +0 -0
  853. /package/{dist-esm/src → dist/browser}/operationsInterfaces/policyTrackedResources.js +0 -0
  854. /package/{dist-esm/src → dist/browser}/operationsInterfaces/remediations.js +0 -0
@@ -1,2853 +0,0 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
6
-
7
- /** An attestation resource. */
8
- export declare interface Attestation extends Resource {
9
- /**
10
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
11
- * NOTE: This property will not be serialized. It can only be populated by the server.
12
- */
13
- readonly systemData?: SystemData;
14
- /** The resource ID of the policy assignment that the attestation is setting the state for. */
15
- policyAssignmentId: string;
16
- /** The policy definition reference ID from a policy set definition that the attestation is setting the state for. If the policy assignment assigns a policy set definition the attestation can choose a definition within the set definition with this property or omit this and set the state for the entire set definition. */
17
- policyDefinitionReferenceId?: string;
18
- /** The compliance state that should be set on the resource. */
19
- complianceState?: ComplianceState;
20
- /** The time the compliance state should expire. */
21
- expiresOn?: Date;
22
- /** The person responsible for setting the state of the resource. This value is typically an Azure Active Directory object ID. */
23
- owner?: string;
24
- /** Comments describing why this attestation was created. */
25
- comments?: string;
26
- /** The evidence supporting the compliance state set in this attestation. */
27
- evidence?: AttestationEvidence[];
28
- /**
29
- * The status of the attestation.
30
- * NOTE: This property will not be serialized. It can only be populated by the server.
31
- */
32
- readonly provisioningState?: string;
33
- /**
34
- * The time the compliance state was last changed in this attestation.
35
- * NOTE: This property will not be serialized. It can only be populated by the server.
36
- */
37
- readonly lastComplianceStateChangeAt?: Date;
38
- /** The time the evidence was assessed */
39
- assessmentDate?: Date;
40
- /** Additional metadata for this attestation */
41
- metadata?: Record<string, unknown>;
42
- }
43
-
44
- /** A piece of evidence supporting the compliance state set in the attestation. */
45
- export declare interface AttestationEvidence {
46
- /** The description for this piece of evidence. */
47
- description?: string;
48
- /** The URI location of the evidence. */
49
- sourceUri?: string;
50
- }
51
-
52
- /** List of attestations. */
53
- export declare interface AttestationListResult {
54
- /**
55
- * Array of attestation definitions.
56
- * NOTE: This property will not be serialized. It can only be populated by the server.
57
- */
58
- readonly value?: Attestation[];
59
- /**
60
- * The URL to get the next set of results.
61
- * NOTE: This property will not be serialized. It can only be populated by the server.
62
- */
63
- readonly nextLink?: string;
64
- }
65
-
66
- /** Interface representing a Attestations. */
67
- export declare interface Attestations {
68
- /**
69
- * Gets all attestations for the subscription.
70
- * @param options The options parameters.
71
- */
72
- listForSubscription(options?: AttestationsListForSubscriptionOptionalParams): PagedAsyncIterableIterator<Attestation>;
73
- /**
74
- * Gets all attestations for the resource group.
75
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
76
- * @param options The options parameters.
77
- */
78
- listForResourceGroup(resourceGroupName: string, options?: AttestationsListForResourceGroupOptionalParams): PagedAsyncIterableIterator<Attestation>;
79
- /**
80
- * Gets all attestations for a resource.
81
- * @param resourceId Resource ID.
82
- * @param options The options parameters.
83
- */
84
- listForResource(resourceId: string, options?: AttestationsListForResourceOptionalParams): PagedAsyncIterableIterator<Attestation>;
85
- /**
86
- * Creates or updates an attestation at subscription scope.
87
- * @param attestationName The name of the attestation.
88
- * @param parameters The attestation parameters.
89
- * @param options The options parameters.
90
- */
91
- beginCreateOrUpdateAtSubscription(attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtSubscriptionOptionalParams): Promise<PollerLike<PollOperationState<AttestationsCreateOrUpdateAtSubscriptionResponse>, AttestationsCreateOrUpdateAtSubscriptionResponse>>;
92
- /**
93
- * Creates or updates an attestation at subscription scope.
94
- * @param attestationName The name of the attestation.
95
- * @param parameters The attestation parameters.
96
- * @param options The options parameters.
97
- */
98
- beginCreateOrUpdateAtSubscriptionAndWait(attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtSubscriptionOptionalParams): Promise<AttestationsCreateOrUpdateAtSubscriptionResponse>;
99
- /**
100
- * Gets an existing attestation at subscription scope.
101
- * @param attestationName The name of the attestation.
102
- * @param options The options parameters.
103
- */
104
- getAtSubscription(attestationName: string, options?: AttestationsGetAtSubscriptionOptionalParams): Promise<AttestationsGetAtSubscriptionResponse>;
105
- /**
106
- * Deletes an existing attestation at subscription scope.
107
- * @param attestationName The name of the attestation.
108
- * @param options The options parameters.
109
- */
110
- deleteAtSubscription(attestationName: string, options?: AttestationsDeleteAtSubscriptionOptionalParams): Promise<void>;
111
- /**
112
- * Creates or updates an attestation at resource group scope.
113
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
114
- * @param attestationName The name of the attestation.
115
- * @param parameters The attestation parameters.
116
- * @param options The options parameters.
117
- */
118
- beginCreateOrUpdateAtResourceGroup(resourceGroupName: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceGroupOptionalParams): Promise<PollerLike<PollOperationState<AttestationsCreateOrUpdateAtResourceGroupResponse>, AttestationsCreateOrUpdateAtResourceGroupResponse>>;
119
- /**
120
- * Creates or updates an attestation at resource group scope.
121
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
122
- * @param attestationName The name of the attestation.
123
- * @param parameters The attestation parameters.
124
- * @param options The options parameters.
125
- */
126
- beginCreateOrUpdateAtResourceGroupAndWait(resourceGroupName: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceGroupOptionalParams): Promise<AttestationsCreateOrUpdateAtResourceGroupResponse>;
127
- /**
128
- * Gets an existing attestation at resource group scope.
129
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
130
- * @param attestationName The name of the attestation.
131
- * @param options The options parameters.
132
- */
133
- getAtResourceGroup(resourceGroupName: string, attestationName: string, options?: AttestationsGetAtResourceGroupOptionalParams): Promise<AttestationsGetAtResourceGroupResponse>;
134
- /**
135
- * Deletes an existing attestation at resource group scope.
136
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
137
- * @param attestationName The name of the attestation.
138
- * @param options The options parameters.
139
- */
140
- deleteAtResourceGroup(resourceGroupName: string, attestationName: string, options?: AttestationsDeleteAtResourceGroupOptionalParams): Promise<void>;
141
- /**
142
- * Creates or updates an attestation at resource scope.
143
- * @param resourceId Resource ID.
144
- * @param attestationName The name of the attestation.
145
- * @param parameters The attestation parameters.
146
- * @param options The options parameters.
147
- */
148
- beginCreateOrUpdateAtResource(resourceId: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceOptionalParams): Promise<PollerLike<PollOperationState<AttestationsCreateOrUpdateAtResourceResponse>, AttestationsCreateOrUpdateAtResourceResponse>>;
149
- /**
150
- * Creates or updates an attestation at resource scope.
151
- * @param resourceId Resource ID.
152
- * @param attestationName The name of the attestation.
153
- * @param parameters The attestation parameters.
154
- * @param options The options parameters.
155
- */
156
- beginCreateOrUpdateAtResourceAndWait(resourceId: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceOptionalParams): Promise<AttestationsCreateOrUpdateAtResourceResponse>;
157
- /**
158
- * Gets an existing attestation at resource scope.
159
- * @param resourceId Resource ID.
160
- * @param attestationName The name of the attestation.
161
- * @param options The options parameters.
162
- */
163
- getAtResource(resourceId: string, attestationName: string, options?: AttestationsGetAtResourceOptionalParams): Promise<AttestationsGetAtResourceResponse>;
164
- /**
165
- * Deletes an existing attestation at individual resource scope.
166
- * @param resourceId Resource ID.
167
- * @param attestationName The name of the attestation.
168
- * @param options The options parameters.
169
- */
170
- deleteAtResource(resourceId: string, attestationName: string, options?: AttestationsDeleteAtResourceOptionalParams): Promise<void>;
171
- }
172
-
173
- /** Optional parameters. */
174
- export declare interface AttestationsCreateOrUpdateAtResourceGroupOptionalParams extends coreClient.OperationOptions {
175
- /** Delay to wait until next poll, in milliseconds. */
176
- updateIntervalInMs?: number;
177
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
178
- resumeFrom?: string;
179
- }
180
-
181
- /** Contains response data for the createOrUpdateAtResourceGroup operation. */
182
- export declare type AttestationsCreateOrUpdateAtResourceGroupResponse = Attestation;
183
-
184
- /** Optional parameters. */
185
- export declare interface AttestationsCreateOrUpdateAtResourceOptionalParams extends coreClient.OperationOptions {
186
- /** Delay to wait until next poll, in milliseconds. */
187
- updateIntervalInMs?: number;
188
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
189
- resumeFrom?: string;
190
- }
191
-
192
- /** Contains response data for the createOrUpdateAtResource operation. */
193
- export declare type AttestationsCreateOrUpdateAtResourceResponse = Attestation;
194
-
195
- /** Optional parameters. */
196
- export declare interface AttestationsCreateOrUpdateAtSubscriptionOptionalParams extends coreClient.OperationOptions {
197
- /** Delay to wait until next poll, in milliseconds. */
198
- updateIntervalInMs?: number;
199
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
200
- resumeFrom?: string;
201
- }
202
-
203
- /** Contains response data for the createOrUpdateAtSubscription operation. */
204
- export declare type AttestationsCreateOrUpdateAtSubscriptionResponse = Attestation;
205
-
206
- /** Optional parameters. */
207
- export declare interface AttestationsDeleteAtResourceGroupOptionalParams extends coreClient.OperationOptions {
208
- }
209
-
210
- /** Optional parameters. */
211
- export declare interface AttestationsDeleteAtResourceOptionalParams extends coreClient.OperationOptions {
212
- }
213
-
214
- /** Optional parameters. */
215
- export declare interface AttestationsDeleteAtSubscriptionOptionalParams extends coreClient.OperationOptions {
216
- }
217
-
218
- /** Optional parameters. */
219
- export declare interface AttestationsGetAtResourceGroupOptionalParams extends coreClient.OperationOptions {
220
- }
221
-
222
- /** Contains response data for the getAtResourceGroup operation. */
223
- export declare type AttestationsGetAtResourceGroupResponse = Attestation;
224
-
225
- /** Optional parameters. */
226
- export declare interface AttestationsGetAtResourceOptionalParams extends coreClient.OperationOptions {
227
- }
228
-
229
- /** Contains response data for the getAtResource operation. */
230
- export declare type AttestationsGetAtResourceResponse = Attestation;
231
-
232
- /** Optional parameters. */
233
- export declare interface AttestationsGetAtSubscriptionOptionalParams extends coreClient.OperationOptions {
234
- }
235
-
236
- /** Contains response data for the getAtSubscription operation. */
237
- export declare type AttestationsGetAtSubscriptionResponse = Attestation;
238
-
239
- /** Optional parameters. */
240
- export declare interface AttestationsListForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
241
- /** Parameter group */
242
- queryOptions?: QueryOptions;
243
- }
244
-
245
- /** Contains response data for the listForResourceGroupNext operation. */
246
- export declare type AttestationsListForResourceGroupNextResponse = AttestationListResult;
247
-
248
- /** Optional parameters. */
249
- export declare interface AttestationsListForResourceGroupOptionalParams extends coreClient.OperationOptions {
250
- /** Parameter group */
251
- queryOptions?: QueryOptions;
252
- }
253
-
254
- /** Contains response data for the listForResourceGroup operation. */
255
- export declare type AttestationsListForResourceGroupResponse = AttestationListResult;
256
-
257
- /** Optional parameters. */
258
- export declare interface AttestationsListForResourceNextOptionalParams extends coreClient.OperationOptions {
259
- /** Parameter group */
260
- queryOptions?: QueryOptions;
261
- }
262
-
263
- /** Contains response data for the listForResourceNext operation. */
264
- export declare type AttestationsListForResourceNextResponse = AttestationListResult;
265
-
266
- /** Optional parameters. */
267
- export declare interface AttestationsListForResourceOptionalParams extends coreClient.OperationOptions {
268
- /** Parameter group */
269
- queryOptions?: QueryOptions;
270
- }
271
-
272
- /** Contains response data for the listForResource operation. */
273
- export declare type AttestationsListForResourceResponse = AttestationListResult;
274
-
275
- /** Optional parameters. */
276
- export declare interface AttestationsListForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
277
- /** Parameter group */
278
- queryOptions?: QueryOptions;
279
- }
280
-
281
- /** Contains response data for the listForSubscriptionNext operation. */
282
- export declare type AttestationsListForSubscriptionNextResponse = AttestationListResult;
283
-
284
- /** Optional parameters. */
285
- export declare interface AttestationsListForSubscriptionOptionalParams extends coreClient.OperationOptions {
286
- /** Parameter group */
287
- queryOptions?: QueryOptions;
288
- }
289
-
290
- /** Contains response data for the listForSubscription operation. */
291
- export declare type AttestationsListForSubscriptionResponse = AttestationListResult;
292
-
293
- /** The check policy restrictions parameters describing the resource that is being evaluated. */
294
- export declare interface CheckManagementGroupRestrictionsRequest {
295
- /** The information about the resource that will be evaluated. */
296
- resourceDetails?: CheckRestrictionsResourceDetails;
297
- /** The list of fields and values that should be evaluated for potential restrictions. */
298
- pendingFields?: PendingField[];
299
- }
300
-
301
- /** The check policy restrictions parameters describing the resource that is being evaluated. */
302
- export declare interface CheckRestrictionsRequest {
303
- /** The information about the resource that will be evaluated. */
304
- resourceDetails: CheckRestrictionsResourceDetails;
305
- /** The list of fields and values that should be evaluated for potential restrictions. */
306
- pendingFields?: PendingField[];
307
- }
308
-
309
- /** The information about the resource that will be evaluated. */
310
- export declare interface CheckRestrictionsResourceDetails {
311
- /** The resource content. This should include whatever properties are already known and can be a partial set of all resource properties. */
312
- resourceContent: Record<string, unknown>;
313
- /** The api-version of the resource content. */
314
- apiVersion?: string;
315
- /** The scope where the resource is being created. For example, if the resource is a child resource this would be the parent resource's resource ID. */
316
- scope?: string;
317
- }
318
-
319
- /** The result of a check policy restrictions evaluation on a resource. */
320
- export declare interface CheckRestrictionsResult {
321
- /**
322
- * The restrictions that will be placed on various fields in the resource by policy.
323
- * NOTE: This property will not be serialized. It can only be populated by the server.
324
- */
325
- readonly fieldRestrictions?: FieldRestrictions[];
326
- /**
327
- * Evaluation results for the provided partial resource content.
328
- * NOTE: This property will not be serialized. It can only be populated by the server.
329
- */
330
- readonly contentEvaluationResult?: CheckRestrictionsResultContentEvaluationResult;
331
- }
332
-
333
- /** Evaluation results for the provided partial resource content. */
334
- export declare interface CheckRestrictionsResultContentEvaluationResult {
335
- /** Policy evaluation results against the given resource content. This will indicate if the partial content that was provided will be denied as-is. */
336
- policyEvaluations?: PolicyEvaluationResult[];
337
- }
338
-
339
- /** The compliance state rollup. */
340
- export declare interface ComplianceDetail {
341
- /** The compliance state. */
342
- complianceState?: string;
343
- /** Summarized count value for this compliance state. */
344
- count?: number;
345
- }
346
-
347
- /**
348
- * Defines values for ComplianceState. \
349
- * {@link KnownComplianceState} can be used interchangeably with ComplianceState,
350
- * this enum contains the known values that the service supports.
351
- * ### Known values supported by the service
352
- * **Compliant**: The resource is in compliance with the policy. \
353
- * **NonCompliant**: The resource is not in compliance with the policy. \
354
- * **Unknown**: The compliance state of the resource is not known.
355
- */
356
- export declare type ComplianceState = string;
357
-
358
- /** Component event details. */
359
- export declare interface ComponentEventDetails {
360
- /** Describes unknown properties. The value of an unknown property can be of "any" type. */
361
- [property: string]: any;
362
- /** Component Id. */
363
- id?: string;
364
- /** Component type. */
365
- type?: string;
366
- /** Component name. */
367
- name?: string;
368
- /** Timestamp for component policy event record. */
369
- timestamp?: Date;
370
- /** Tenant ID for the policy event record. */
371
- tenantId?: string;
372
- /** Principal object ID for the user who initiated the resource component operation that triggered the policy event. */
373
- principalOid?: string;
374
- /** Policy definition action, i.e. effect. */
375
- policyDefinitionAction?: string;
376
- }
377
-
378
- /** Component state details. */
379
- export declare interface ComponentStateDetails {
380
- /** Describes unknown properties. The value of an unknown property can be of "any" type. */
381
- [property: string]: any;
382
- /** Component Id. */
383
- id?: string;
384
- /** Component type. */
385
- type?: string;
386
- /** Component name. */
387
- name?: string;
388
- /** Component compliance evaluation timestamp. */
389
- timestamp?: Date;
390
- /** Component compliance state. */
391
- complianceState?: string;
392
- }
393
-
394
- /**
395
- * Defines values for CreatedByType. \
396
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
397
- * this enum contains the known values that the service supports.
398
- * ### Known values supported by the service
399
- * **User** \
400
- * **Application** \
401
- * **ManagedIdentity** \
402
- * **Key**
403
- */
404
- export declare type CreatedByType = string;
405
-
406
- /** Error definition. */
407
- export declare interface ErrorDefinition {
408
- /**
409
- * Service specific error code which serves as the substatus for the HTTP error code.
410
- * NOTE: This property will not be serialized. It can only be populated by the server.
411
- */
412
- readonly code?: string;
413
- /**
414
- * Description of the error.
415
- * NOTE: This property will not be serialized. It can only be populated by the server.
416
- */
417
- readonly message?: string;
418
- /**
419
- * The target of the error.
420
- * NOTE: This property will not be serialized. It can only be populated by the server.
421
- */
422
- readonly target?: string;
423
- /**
424
- * Internal error details.
425
- * NOTE: This property will not be serialized. It can only be populated by the server.
426
- */
427
- readonly details?: ErrorDefinition[];
428
- /**
429
- * Additional scenario specific error details.
430
- * NOTE: This property will not be serialized. It can only be populated by the server.
431
- */
432
- readonly additionalInfo?: TypedErrorInfo[];
433
- }
434
-
435
- /** Error definition. */
436
- export declare interface ErrorDefinitionAutoGenerated {
437
- /**
438
- * Service specific error code which serves as the substatus for the HTTP error code.
439
- * NOTE: This property will not be serialized. It can only be populated by the server.
440
- */
441
- readonly code?: string;
442
- /**
443
- * Description of the error.
444
- * NOTE: This property will not be serialized. It can only be populated by the server.
445
- */
446
- readonly message?: string;
447
- /**
448
- * The target of the error.
449
- * NOTE: This property will not be serialized. It can only be populated by the server.
450
- */
451
- readonly target?: string;
452
- /**
453
- * Internal error details.
454
- * NOTE: This property will not be serialized. It can only be populated by the server.
455
- */
456
- readonly details?: ErrorDefinitionAutoGenerated[];
457
- /**
458
- * Additional scenario specific error details.
459
- * NOTE: This property will not be serialized. It can only be populated by the server.
460
- */
461
- readonly additionalInfo?: TypedErrorInfo[];
462
- }
463
-
464
- /** Error definition. */
465
- export declare interface ErrorDefinitionAutoGenerated2 {
466
- /**
467
- * Service specific error code which serves as the substatus for the HTTP error code.
468
- * NOTE: This property will not be serialized. It can only be populated by the server.
469
- */
470
- readonly code?: string;
471
- /**
472
- * Description of the error.
473
- * NOTE: This property will not be serialized. It can only be populated by the server.
474
- */
475
- readonly message?: string;
476
- /**
477
- * The target of the error.
478
- * NOTE: This property will not be serialized. It can only be populated by the server.
479
- */
480
- readonly target?: string;
481
- /**
482
- * Internal error details.
483
- * NOTE: This property will not be serialized. It can only be populated by the server.
484
- */
485
- readonly details?: ErrorDefinitionAutoGenerated2[];
486
- /**
487
- * Additional scenario specific error details.
488
- * NOTE: This property will not be serialized. It can only be populated by the server.
489
- */
490
- readonly additionalInfo?: TypedErrorInfo[];
491
- }
492
-
493
- /** Error response. */
494
- export declare interface ErrorResponse {
495
- /** The error details. */
496
- error?: ErrorDefinition;
497
- }
498
-
499
- /** Error response. */
500
- export declare interface ErrorResponseAutoGenerated {
501
- /** The error details. */
502
- error?: ErrorDefinitionAutoGenerated;
503
- }
504
-
505
- /** Error response. */
506
- export declare interface ErrorResponseAutoGenerated2 {
507
- /** The error details. */
508
- error?: ErrorDefinitionAutoGenerated2;
509
- }
510
-
511
- /** Evaluation details of policy language expressions. */
512
- export declare interface ExpressionEvaluationDetails {
513
- /** Evaluation result. */
514
- result?: string;
515
- /** Expression evaluated. */
516
- expression?: string;
517
- /**
518
- * The kind of expression that was evaluated.
519
- * NOTE: This property will not be serialized. It can only be populated by the server.
520
- */
521
- readonly expressionKind?: string;
522
- /** Property path if the expression is a field or an alias. */
523
- path?: string;
524
- /** Value of the expression. */
525
- expressionValue?: Record<string, unknown>;
526
- /** Target value to be compared with the expression value. */
527
- targetValue?: Record<string, unknown>;
528
- /** Operator to compare the expression value and the target value. */
529
- operator?: string;
530
- }
531
-
532
- /** The restrictions on a field imposed by a specific policy. */
533
- export declare interface FieldRestriction {
534
- /**
535
- * The type of restriction that is imposed on the field.
536
- * NOTE: This property will not be serialized. It can only be populated by the server.
537
- */
538
- readonly result?: FieldRestrictionResult;
539
- /**
540
- * The value that policy will set for the field if the user does not provide a value.
541
- * NOTE: This property will not be serialized. It can only be populated by the server.
542
- */
543
- readonly defaultValue?: string;
544
- /**
545
- * The values that policy either requires or denies for the field.
546
- * NOTE: This property will not be serialized. It can only be populated by the server.
547
- */
548
- readonly values?: string[];
549
- /**
550
- * The details of the policy that is causing the field restriction.
551
- * NOTE: This property will not be serialized. It can only be populated by the server.
552
- */
553
- readonly policy?: PolicyReference;
554
- }
555
-
556
- /**
557
- * Defines values for FieldRestrictionResult. \
558
- * {@link KnownFieldRestrictionResult} can be used interchangeably with FieldRestrictionResult,
559
- * this enum contains the known values that the service supports.
560
- * ### Known values supported by the service
561
- * **Required**: The field and\/or values are required by policy. \
562
- * **Removed**: The field will be removed by policy. \
563
- * **Deny**: The field and\/or values will be denied by policy.
564
- */
565
- export declare type FieldRestrictionResult = string;
566
-
567
- /** The restrictions that will be placed on a field in the resource by policy. */
568
- export declare interface FieldRestrictions {
569
- /**
570
- * The name of the field. This can be a top-level property like 'name' or 'type' or an Azure Policy field alias.
571
- * NOTE: This property will not be serialized. It can only be populated by the server.
572
- */
573
- readonly field?: string;
574
- /** The restrictions placed on that field by policy. */
575
- restrictions?: FieldRestriction[];
576
- }
577
-
578
- /** Evaluation details of IfNotExists effect. */
579
- export declare interface IfNotExistsEvaluationDetails {
580
- /** ID of the last evaluated resource for IfNotExists effect. */
581
- resourceId?: string;
582
- /** Total number of resources to which the existence condition is applicable. */
583
- totalResources?: number;
584
- }
585
-
586
- /** Known values of {@link ComplianceState} that the service accepts. */
587
- export declare enum KnownComplianceState {
588
- /** The resource is in compliance with the policy. */
589
- Compliant = "Compliant",
590
- /** The resource is not in compliance with the policy. */
591
- NonCompliant = "NonCompliant",
592
- /** The compliance state of the resource is not known. */
593
- Unknown = "Unknown"
594
- }
595
-
596
- /** Known values of {@link CreatedByType} that the service accepts. */
597
- export declare enum KnownCreatedByType {
598
- /** User */
599
- User = "User",
600
- /** Application */
601
- Application = "Application",
602
- /** ManagedIdentity */
603
- ManagedIdentity = "ManagedIdentity",
604
- /** Key */
605
- Key = "Key"
606
- }
607
-
608
- /** Known values of {@link FieldRestrictionResult} that the service accepts. */
609
- export declare enum KnownFieldRestrictionResult {
610
- /** The field and/or values are required by policy. */
611
- Required = "Required",
612
- /** The field will be removed by policy. */
613
- Removed = "Removed",
614
- /** The field and/or values will be denied by policy. */
615
- Deny = "Deny"
616
- }
617
-
618
- /** Known values of {@link PolicyEventsResourceType} that the service accepts. */
619
- export declare enum KnownPolicyEventsResourceType {
620
- /** Default */
621
- Default = "default"
622
- }
623
-
624
- /** Known values of {@link PolicyStatesResource} that the service accepts. */
625
- export declare enum KnownPolicyStatesResource {
626
- /** Default */
627
- Default = "default",
628
- /** Latest */
629
- Latest = "latest"
630
- }
631
-
632
- /** Known values of {@link PolicyStatesSummaryResourceType} that the service accepts. */
633
- export declare enum KnownPolicyStatesSummaryResourceType {
634
- /** Latest */
635
- Latest = "latest"
636
- }
637
-
638
- /** Known values of {@link PolicyTrackedResourcesResourceType} that the service accepts. */
639
- export declare enum KnownPolicyTrackedResourcesResourceType {
640
- /** Default */
641
- Default = "default"
642
- }
643
-
644
- /** Known values of {@link ResourceDiscoveryMode} that the service accepts. */
645
- export declare enum KnownResourceDiscoveryMode {
646
- /** Remediate resources that are already known to be non-compliant. */
647
- ExistingNonCompliant = "ExistingNonCompliant",
648
- /** Re-evaluate the compliance state of resources and then remediate the resources found to be non-compliant. */
649
- ReEvaluateCompliance = "ReEvaluateCompliance"
650
- }
651
-
652
- /** Operation definition. */
653
- export declare interface Operation {
654
- /** Operation name. */
655
- name?: string;
656
- /** Display metadata associated with the operation. */
657
- display?: OperationDisplay;
658
- }
659
-
660
- /** Display metadata associated with the operation. */
661
- export declare interface OperationDisplay {
662
- /** Resource provider name. */
663
- provider?: string;
664
- /** Resource name on which the operation is performed. */
665
- resource?: string;
666
- /** Operation name. */
667
- operation?: string;
668
- /** Operation description. */
669
- description?: string;
670
- }
671
-
672
- /** Interface representing a Operations. */
673
- export declare interface Operations {
674
- /**
675
- * Lists available operations.
676
- * @param options The options parameters.
677
- */
678
- list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
679
- }
680
-
681
- /** Optional parameters. */
682
- export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
683
- }
684
-
685
- /** Contains response data for the list operation. */
686
- export declare type OperationsListResponse = OperationsListResults;
687
-
688
- /** List of available operations. */
689
- export declare 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
- /** A field that should be evaluated against Azure Policy to determine restrictions. */
697
- export declare interface PendingField {
698
- /** The name of the field. This can be a top-level property like 'name' or 'type' or an Azure Policy field alias. */
699
- field: string;
700
- /** The list of potential values for the field that should be evaluated against Azure Policy. */
701
- values?: string[];
702
- }
703
-
704
- /** Policy assignment summary. */
705
- export declare interface PolicyAssignmentSummary {
706
- /** Policy assignment ID. */
707
- policyAssignmentId?: string;
708
- /** Policy set definition ID, if the policy assignment is for a policy set. */
709
- policySetDefinitionId?: string;
710
- /** Compliance summary for the policy assignment. */
711
- results?: SummaryResults;
712
- /** Policy definitions summary. */
713
- policyDefinitions?: PolicyDefinitionSummary[];
714
- /** Policy definition group summary. */
715
- policyGroups?: PolicyGroupSummary[];
716
- }
717
-
718
- /** Policy definition summary. */
719
- export declare interface PolicyDefinitionSummary {
720
- /** Policy definition ID. */
721
- policyDefinitionId?: string;
722
- /** Policy definition reference ID. */
723
- policyDefinitionReferenceId?: string;
724
- /** Policy definition group names. */
725
- policyDefinitionGroupNames?: string[];
726
- /** Policy effect, i.e. policy definition action. */
727
- effect?: string;
728
- /** Compliance summary for the policy definition. */
729
- results?: SummaryResults;
730
- }
731
-
732
- /** The policy details. */
733
- export declare interface PolicyDetails {
734
- /**
735
- * The ID of the policy definition.
736
- * NOTE: This property will not be serialized. It can only be populated by the server.
737
- */
738
- readonly policyDefinitionId?: string;
739
- /**
740
- * The ID of the policy assignment.
741
- * NOTE: This property will not be serialized. It can only be populated by the server.
742
- */
743
- readonly policyAssignmentId?: string;
744
- /**
745
- * The display name of the policy assignment.
746
- * NOTE: This property will not be serialized. It can only be populated by the server.
747
- */
748
- readonly policyAssignmentDisplayName?: string;
749
- /**
750
- * The scope of the policy assignment.
751
- * NOTE: This property will not be serialized. It can only be populated by the server.
752
- */
753
- readonly policyAssignmentScope?: string;
754
- /**
755
- * The ID of the policy set definition.
756
- * NOTE: This property will not be serialized. It can only be populated by the server.
757
- */
758
- readonly policySetDefinitionId?: string;
759
- /**
760
- * The policy definition reference ID within the policy set definition.
761
- * NOTE: This property will not be serialized. It can only be populated by the server.
762
- */
763
- readonly policyDefinitionReferenceId?: string;
764
- }
765
-
766
- /** Policy evaluation details. */
767
- export declare interface PolicyEvaluationDetails {
768
- /** Details of the evaluated expressions. */
769
- evaluatedExpressions?: ExpressionEvaluationDetails[];
770
- /** Evaluation details of IfNotExists effect. */
771
- ifNotExistsDetails?: IfNotExistsEvaluationDetails;
772
- }
773
-
774
- /** The result of a non-compliant policy evaluation against the given resource content. */
775
- export declare interface PolicyEvaluationResult {
776
- /**
777
- * The details of the policy that was evaluated.
778
- * NOTE: This property will not be serialized. It can only be populated by the server.
779
- */
780
- readonly policyInfo?: PolicyReference;
781
- /**
782
- * The result of the policy evaluation against the resource. This will typically be 'NonCompliant' but may contain other values if errors were encountered.
783
- * NOTE: This property will not be serialized. It can only be populated by the server.
784
- */
785
- readonly evaluationResult?: string;
786
- /**
787
- * The detailed results of the policy expressions and values that were evaluated.
788
- * NOTE: This property will not be serialized. It can only be populated by the server.
789
- */
790
- readonly evaluationDetails?: PolicyEvaluationDetails;
791
- }
792
-
793
- /** Policy event record. */
794
- export declare interface PolicyEvent {
795
- /** Describes unknown properties. The value of an unknown property can be of "any" type. */
796
- [property: string]: any;
797
- /** OData entity ID; always set to null since policy event records do not have an entity ID. */
798
- odataId?: string;
799
- /** OData context string; used by OData clients to resolve type information based on metadata. */
800
- odataContext?: string;
801
- /** Timestamp for the policy event record. */
802
- timestamp?: Date;
803
- /** Resource ID. */
804
- resourceId?: string;
805
- /** Policy assignment ID. */
806
- policyAssignmentId?: string;
807
- /** Policy definition ID. */
808
- policyDefinitionId?: string;
809
- /** Effective parameters for the policy assignment. */
810
- effectiveParameters?: string;
811
- /** Flag which states whether the resource is compliant against the policy assignment it was evaluated against. */
812
- isCompliant?: boolean;
813
- /** Subscription ID. */
814
- subscriptionId?: string;
815
- /** Resource type. */
816
- resourceType?: string;
817
- /** Resource location. */
818
- resourceLocation?: string;
819
- /** Resource group name. */
820
- resourceGroup?: string;
821
- /** List of resource tags. */
822
- resourceTags?: string;
823
- /** Policy assignment name. */
824
- policyAssignmentName?: string;
825
- /** Policy assignment owner. */
826
- policyAssignmentOwner?: string;
827
- /** Policy assignment parameters. */
828
- policyAssignmentParameters?: string;
829
- /** Policy assignment scope. */
830
- policyAssignmentScope?: string;
831
- /** Policy definition name. */
832
- policyDefinitionName?: string;
833
- /** Policy definition action, i.e. effect. */
834
- policyDefinitionAction?: string;
835
- /** Policy definition category. */
836
- policyDefinitionCategory?: string;
837
- /** Policy set definition ID, if the policy assignment is for a policy set. */
838
- policySetDefinitionId?: string;
839
- /** Policy set definition name, if the policy assignment is for a policy set. */
840
- policySetDefinitionName?: string;
841
- /** Policy set definition owner, if the policy assignment is for a policy set. */
842
- policySetDefinitionOwner?: string;
843
- /** Policy set definition category, if the policy assignment is for a policy set. */
844
- policySetDefinitionCategory?: string;
845
- /** Policy set definition parameters, if the policy assignment is for a policy set. */
846
- policySetDefinitionParameters?: string;
847
- /** Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under. */
848
- managementGroupIds?: string;
849
- /** Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set. */
850
- policyDefinitionReferenceId?: string;
851
- /** Compliance state of the resource. */
852
- complianceState?: string;
853
- /** Tenant ID for the policy event record. */
854
- tenantId?: string;
855
- /** Principal object ID for the user who initiated the resource operation that triggered the policy event. */
856
- principalOid?: string;
857
- /** Components events records populated only when URL contains $expand=components clause. */
858
- components?: ComponentEventDetails[];
859
- }
860
-
861
- /** Interface representing a PolicyEvents. */
862
- export declare interface PolicyEvents {
863
- /**
864
- * Queries policy events for the resources under the management group.
865
- * @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
866
- * "default" is allowed.
867
- * @param managementGroupName Management group name.
868
- * @param options The options parameters.
869
- */
870
- listQueryResultsForManagementGroup(policyEventsResource: PolicyEventsResourceType, managementGroupName: string, options?: PolicyEventsListQueryResultsForManagementGroupOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
871
- /**
872
- * Queries policy events for the resources under the subscription.
873
- * @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
874
- * "default" is allowed.
875
- * @param subscriptionId Microsoft Azure subscription ID.
876
- * @param options The options parameters.
877
- */
878
- listQueryResultsForSubscription(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, options?: PolicyEventsListQueryResultsForSubscriptionOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
879
- /**
880
- * Queries policy events for the resources under the resource group.
881
- * @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
882
- * "default" is allowed.
883
- * @param subscriptionId Microsoft Azure subscription ID.
884
- * @param resourceGroupName Resource group name.
885
- * @param options The options parameters.
886
- */
887
- listQueryResultsForResourceGroup(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, resourceGroupName: string, options?: PolicyEventsListQueryResultsForResourceGroupOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
888
- /**
889
- * Queries policy events for the resource.
890
- * @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
891
- * "default" is allowed.
892
- * @param resourceId Resource ID.
893
- * @param options The options parameters.
894
- */
895
- listQueryResultsForResource(policyEventsResource: PolicyEventsResourceType, resourceId: string, options?: PolicyEventsListQueryResultsForResourceOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
896
- /**
897
- * Queries policy events for the subscription level policy set definition.
898
- * @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
899
- * "default" is allowed.
900
- * @param subscriptionId Microsoft Azure subscription ID.
901
- * @param policySetDefinitionName Policy set definition name.
902
- * @param options The options parameters.
903
- */
904
- listQueryResultsForPolicySetDefinition(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, policySetDefinitionName: string, options?: PolicyEventsListQueryResultsForPolicySetDefinitionOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
905
- /**
906
- * Queries policy events for the subscription level policy definition.
907
- * @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
908
- * "default" is allowed.
909
- * @param subscriptionId Microsoft Azure subscription ID.
910
- * @param policyDefinitionName Policy definition name.
911
- * @param options The options parameters.
912
- */
913
- listQueryResultsForPolicyDefinition(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, policyDefinitionName: string, options?: PolicyEventsListQueryResultsForPolicyDefinitionOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
914
- /**
915
- * Queries policy events for the subscription level policy assignment.
916
- * @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
917
- * "default" is allowed.
918
- * @param subscriptionId Microsoft Azure subscription ID.
919
- * @param policyAssignmentName Policy assignment name.
920
- * @param options The options parameters.
921
- */
922
- listQueryResultsForSubscriptionLevelPolicyAssignment(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, policyAssignmentName: string, options?: PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
923
- /**
924
- * Queries policy events for the resource group level policy assignment.
925
- * @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
926
- * "default" is allowed.
927
- * @param subscriptionId Microsoft Azure subscription ID.
928
- * @param resourceGroupName Resource group name.
929
- * @param policyAssignmentName Policy assignment name.
930
- * @param options The options parameters.
931
- */
932
- listQueryResultsForResourceGroupLevelPolicyAssignment(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
933
- }
934
-
935
- /** Optional parameters. */
936
- export declare interface PolicyEventsListQueryResultsForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
937
- /** Parameter group */
938
- queryOptions?: QueryOptions;
939
- }
940
-
941
- /** Contains response data for the listQueryResultsForManagementGroupNext operation. */
942
- export declare type PolicyEventsListQueryResultsForManagementGroupNextResponse = PolicyEventsQueryResults;
943
-
944
- /** Optional parameters. */
945
- export declare interface PolicyEventsListQueryResultsForManagementGroupOptionalParams extends coreClient.OperationOptions {
946
- /** Parameter group */
947
- queryOptions?: QueryOptions;
948
- }
949
-
950
- /** Contains response data for the listQueryResultsForManagementGroup operation. */
951
- export declare type PolicyEventsListQueryResultsForManagementGroupResponse = PolicyEventsQueryResults;
952
-
953
- /** Optional parameters. */
954
- export declare interface PolicyEventsListQueryResultsForPolicyDefinitionNextOptionalParams extends coreClient.OperationOptions {
955
- /** Parameter group */
956
- queryOptions?: QueryOptions;
957
- }
958
-
959
- /** Contains response data for the listQueryResultsForPolicyDefinitionNext operation. */
960
- export declare type PolicyEventsListQueryResultsForPolicyDefinitionNextResponse = PolicyEventsQueryResults;
961
-
962
- /** Optional parameters. */
963
- export declare interface PolicyEventsListQueryResultsForPolicyDefinitionOptionalParams extends coreClient.OperationOptions {
964
- /** Parameter group */
965
- queryOptions?: QueryOptions;
966
- }
967
-
968
- /** Contains response data for the listQueryResultsForPolicyDefinition operation. */
969
- export declare type PolicyEventsListQueryResultsForPolicyDefinitionResponse = PolicyEventsQueryResults;
970
-
971
- /** Optional parameters. */
972
- export declare interface PolicyEventsListQueryResultsForPolicySetDefinitionNextOptionalParams extends coreClient.OperationOptions {
973
- /** Parameter group */
974
- queryOptions?: QueryOptions;
975
- }
976
-
977
- /** Contains response data for the listQueryResultsForPolicySetDefinitionNext operation. */
978
- export declare type PolicyEventsListQueryResultsForPolicySetDefinitionNextResponse = PolicyEventsQueryResults;
979
-
980
- /** Optional parameters. */
981
- export declare interface PolicyEventsListQueryResultsForPolicySetDefinitionOptionalParams extends coreClient.OperationOptions {
982
- /** Parameter group */
983
- queryOptions?: QueryOptions;
984
- }
985
-
986
- /** Contains response data for the listQueryResultsForPolicySetDefinition operation. */
987
- export declare type PolicyEventsListQueryResultsForPolicySetDefinitionResponse = PolicyEventsQueryResults;
988
-
989
- /** Optional parameters. */
990
- export declare interface PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
991
- /** Parameter group */
992
- queryOptions?: QueryOptions;
993
- }
994
-
995
- /** Contains response data for the listQueryResultsForResourceGroupLevelPolicyAssignmentNext operation. */
996
- export declare type PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentNextResponse = PolicyEventsQueryResults;
997
-
998
- /** Optional parameters. */
999
- export declare interface PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
1000
- /** Parameter group */
1001
- queryOptions?: QueryOptions;
1002
- }
1003
-
1004
- /** Contains response data for the listQueryResultsForResourceGroupLevelPolicyAssignment operation. */
1005
- export declare type PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentResponse = PolicyEventsQueryResults;
1006
-
1007
- /** Optional parameters. */
1008
- export declare interface PolicyEventsListQueryResultsForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1009
- /** Parameter group */
1010
- queryOptions?: QueryOptions;
1011
- }
1012
-
1013
- /** Contains response data for the listQueryResultsForResourceGroupNext operation. */
1014
- export declare type PolicyEventsListQueryResultsForResourceGroupNextResponse = PolicyEventsQueryResults;
1015
-
1016
- /** Optional parameters. */
1017
- export declare interface PolicyEventsListQueryResultsForResourceGroupOptionalParams extends coreClient.OperationOptions {
1018
- /** Parameter group */
1019
- queryOptions?: QueryOptions;
1020
- }
1021
-
1022
- /** Contains response data for the listQueryResultsForResourceGroup operation. */
1023
- export declare type PolicyEventsListQueryResultsForResourceGroupResponse = PolicyEventsQueryResults;
1024
-
1025
- /** Optional parameters. */
1026
- export declare interface PolicyEventsListQueryResultsForResourceNextOptionalParams extends coreClient.OperationOptions {
1027
- /** Parameter group */
1028
- queryOptions?: QueryOptions;
1029
- }
1030
-
1031
- /** Contains response data for the listQueryResultsForResourceNext operation. */
1032
- export declare type PolicyEventsListQueryResultsForResourceNextResponse = PolicyEventsQueryResults;
1033
-
1034
- /** Optional parameters. */
1035
- export declare interface PolicyEventsListQueryResultsForResourceOptionalParams extends coreClient.OperationOptions {
1036
- /** Parameter group */
1037
- queryOptions?: QueryOptions;
1038
- }
1039
-
1040
- /** Contains response data for the listQueryResultsForResource operation. */
1041
- export declare type PolicyEventsListQueryResultsForResourceResponse = PolicyEventsQueryResults;
1042
-
1043
- /** Optional parameters. */
1044
- export declare interface PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
1045
- /** Parameter group */
1046
- queryOptions?: QueryOptions;
1047
- }
1048
-
1049
- /** Contains response data for the listQueryResultsForSubscriptionLevelPolicyAssignmentNext operation. */
1050
- export declare type PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentNextResponse = PolicyEventsQueryResults;
1051
-
1052
- /** Optional parameters. */
1053
- export declare interface PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
1054
- /** Parameter group */
1055
- queryOptions?: QueryOptions;
1056
- }
1057
-
1058
- /** Contains response data for the listQueryResultsForSubscriptionLevelPolicyAssignment operation. */
1059
- export declare type PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentResponse = PolicyEventsQueryResults;
1060
-
1061
- /** Optional parameters. */
1062
- export declare interface PolicyEventsListQueryResultsForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
1063
- /** Parameter group */
1064
- queryOptions?: QueryOptions;
1065
- }
1066
-
1067
- /** Contains response data for the listQueryResultsForSubscriptionNext operation. */
1068
- export declare type PolicyEventsListQueryResultsForSubscriptionNextResponse = PolicyEventsQueryResults;
1069
-
1070
- /** Optional parameters. */
1071
- export declare interface PolicyEventsListQueryResultsForSubscriptionOptionalParams extends coreClient.OperationOptions {
1072
- /** Parameter group */
1073
- queryOptions?: QueryOptions;
1074
- }
1075
-
1076
- /** Contains response data for the listQueryResultsForSubscription operation. */
1077
- export declare type PolicyEventsListQueryResultsForSubscriptionResponse = PolicyEventsQueryResults;
1078
-
1079
- /** Query results. */
1080
- export declare interface PolicyEventsQueryResults {
1081
- /** OData context string; used by OData clients to resolve type information based on metadata. */
1082
- odataContext?: string;
1083
- /** OData entity count; represents the number of policy event records returned. */
1084
- odataCount?: number;
1085
- /** Odata next link; URL to get the next set of results. */
1086
- odataNextLink?: string;
1087
- /** Query results. */
1088
- value?: PolicyEvent[];
1089
- }
1090
-
1091
- /**
1092
- * Defines values for PolicyEventsResourceType. \
1093
- * {@link KnownPolicyEventsResourceType} can be used interchangeably with PolicyEventsResourceType,
1094
- * this enum contains the known values that the service supports.
1095
- * ### Known values supported by the service
1096
- * **default**
1097
- */
1098
- export declare type PolicyEventsResourceType = string;
1099
-
1100
- /** Policy definition group summary. */
1101
- export declare interface PolicyGroupSummary {
1102
- /** Policy group name. */
1103
- policyGroupName?: string;
1104
- /** Compliance summary for the policy definition group. */
1105
- results?: SummaryResults;
1106
- }
1107
-
1108
- export declare class PolicyInsightsClient extends coreClient.ServiceClient {
1109
- $host: string;
1110
- subscriptionId: string;
1111
- /**
1112
- * Initializes a new instance of the PolicyInsightsClient class.
1113
- * @param credentials Subscription credentials which uniquely identify client subscription.
1114
- * @param subscriptionId Microsoft Azure subscription ID.
1115
- * @param options The parameter options
1116
- */
1117
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: PolicyInsightsClientOptionalParams);
1118
- policyTrackedResources: PolicyTrackedResources;
1119
- remediations: Remediations;
1120
- policyEvents: PolicyEvents;
1121
- policyStates: PolicyStates;
1122
- operations: Operations;
1123
- policyMetadataOperations: PolicyMetadataOperations;
1124
- policyRestrictions: PolicyRestrictions;
1125
- attestations: Attestations;
1126
- }
1127
-
1128
- /** Optional parameters. */
1129
- export declare interface PolicyInsightsClientOptionalParams extends coreClient.ServiceClientOptions {
1130
- /** server parameter */
1131
- $host?: string;
1132
- /** Overrides client endpoint. */
1133
- endpoint?: string;
1134
- }
1135
-
1136
- /** Policy metadata resource definition. */
1137
- export declare interface PolicyMetadata {
1138
- /**
1139
- * The ID of the policy metadata.
1140
- * NOTE: This property will not be serialized. It can only be populated by the server.
1141
- */
1142
- readonly id?: string;
1143
- /**
1144
- * The type of the policy metadata.
1145
- * NOTE: This property will not be serialized. It can only be populated by the server.
1146
- */
1147
- readonly type?: string;
1148
- /**
1149
- * The name of the policy metadata.
1150
- * NOTE: This property will not be serialized. It can only be populated by the server.
1151
- */
1152
- readonly name?: string;
1153
- /**
1154
- * The policy metadata identifier.
1155
- * NOTE: This property will not be serialized. It can only be populated by the server.
1156
- */
1157
- readonly metadataId?: string;
1158
- /**
1159
- * The category of the policy metadata.
1160
- * NOTE: This property will not be serialized. It can only be populated by the server.
1161
- */
1162
- readonly category?: string;
1163
- /**
1164
- * The title of the policy metadata.
1165
- * NOTE: This property will not be serialized. It can only be populated by the server.
1166
- */
1167
- readonly title?: string;
1168
- /**
1169
- * The owner of the policy metadata.
1170
- * NOTE: This property will not be serialized. It can only be populated by the server.
1171
- */
1172
- readonly owner?: string;
1173
- /**
1174
- * Url for getting additional content about the resource metadata.
1175
- * NOTE: This property will not be serialized. It can only be populated by the server.
1176
- */
1177
- readonly additionalContentUrl?: string;
1178
- /**
1179
- * Additional metadata.
1180
- * NOTE: This property will not be serialized. It can only be populated by the server.
1181
- */
1182
- readonly metadata?: Record<string, unknown>;
1183
- /**
1184
- * The description of the policy metadata.
1185
- * NOTE: This property will not be serialized. It can only be populated by the server.
1186
- */
1187
- readonly description?: string;
1188
- /**
1189
- * The requirements of the policy metadata.
1190
- * NOTE: This property will not be serialized. It can only be populated by the server.
1191
- */
1192
- readonly requirements?: string;
1193
- }
1194
-
1195
- /** Collection of policy metadata resources. */
1196
- export declare interface PolicyMetadataCollection {
1197
- /**
1198
- * Array of policy metadata definitions.
1199
- * NOTE: This property will not be serialized. It can only be populated by the server.
1200
- */
1201
- readonly value?: SlimPolicyMetadata[];
1202
- /**
1203
- * The URL to get the next set of results.
1204
- * NOTE: This property will not be serialized. It can only be populated by the server.
1205
- */
1206
- readonly nextLink?: string;
1207
- }
1208
-
1209
- /** Optional parameters. */
1210
- export declare interface PolicyMetadataGetResourceOptionalParams extends coreClient.OperationOptions {
1211
- }
1212
-
1213
- /** Contains response data for the getResource operation. */
1214
- export declare type PolicyMetadataGetResourceResponse = PolicyMetadata;
1215
-
1216
- /** Optional parameters. */
1217
- export declare interface PolicyMetadataListNextOptionalParams extends coreClient.OperationOptions {
1218
- /** Parameter group */
1219
- queryOptions?: QueryOptions;
1220
- }
1221
-
1222
- /** Contains response data for the listNext operation. */
1223
- export declare type PolicyMetadataListNextResponse = PolicyMetadataCollection;
1224
-
1225
- /** Optional parameters. */
1226
- export declare interface PolicyMetadataListOptionalParams extends coreClient.OperationOptions {
1227
- /** Parameter group */
1228
- queryOptions?: QueryOptions;
1229
- }
1230
-
1231
- /** Contains response data for the list operation. */
1232
- export declare type PolicyMetadataListResponse = PolicyMetadataCollection;
1233
-
1234
- /** Interface representing a PolicyMetadataOperations. */
1235
- export declare interface PolicyMetadataOperations {
1236
- /**
1237
- * Get a list of the policy metadata resources.
1238
- * @param options The options parameters.
1239
- */
1240
- list(options?: PolicyMetadataListOptionalParams): PagedAsyncIterableIterator<SlimPolicyMetadata>;
1241
- /**
1242
- * Get policy metadata resource.
1243
- * @param resourceName The name of the policy metadata resource.
1244
- * @param options The options parameters.
1245
- */
1246
- getResource(resourceName: string, options?: PolicyMetadataGetResourceOptionalParams): Promise<PolicyMetadataGetResourceResponse>;
1247
- }
1248
-
1249
- /** The properties of the policy metadata. */
1250
- export declare interface PolicyMetadataProperties extends PolicyMetadataSlimProperties {
1251
- /**
1252
- * The description of the policy metadata.
1253
- * NOTE: This property will not be serialized. It can only be populated by the server.
1254
- */
1255
- readonly description?: string;
1256
- /**
1257
- * The requirements of the policy metadata.
1258
- * NOTE: This property will not be serialized. It can only be populated by the server.
1259
- */
1260
- readonly requirements?: string;
1261
- }
1262
-
1263
- /** The properties of the policy metadata, excluding properties containing large strings */
1264
- export declare interface PolicyMetadataSlimProperties {
1265
- /**
1266
- * The policy metadata identifier.
1267
- * NOTE: This property will not be serialized. It can only be populated by the server.
1268
- */
1269
- readonly metadataId?: string;
1270
- /**
1271
- * The category of the policy metadata.
1272
- * NOTE: This property will not be serialized. It can only be populated by the server.
1273
- */
1274
- readonly category?: string;
1275
- /**
1276
- * The title of the policy metadata.
1277
- * NOTE: This property will not be serialized. It can only be populated by the server.
1278
- */
1279
- readonly title?: string;
1280
- /**
1281
- * The owner of the policy metadata.
1282
- * NOTE: This property will not be serialized. It can only be populated by the server.
1283
- */
1284
- readonly owner?: string;
1285
- /**
1286
- * Url for getting additional content about the resource metadata.
1287
- * NOTE: This property will not be serialized. It can only be populated by the server.
1288
- */
1289
- readonly additionalContentUrl?: string;
1290
- /**
1291
- * Additional metadata.
1292
- * NOTE: This property will not be serialized. It can only be populated by the server.
1293
- */
1294
- readonly metadata?: Record<string, unknown>;
1295
- }
1296
-
1297
- /** Resource identifiers for a policy. */
1298
- export declare interface PolicyReference {
1299
- /**
1300
- * The resource identifier of the policy definition.
1301
- * NOTE: This property will not be serialized. It can only be populated by the server.
1302
- */
1303
- readonly policyDefinitionId?: string;
1304
- /**
1305
- * The resource identifier of the policy set definition.
1306
- * NOTE: This property will not be serialized. It can only be populated by the server.
1307
- */
1308
- readonly policySetDefinitionId?: string;
1309
- /**
1310
- * The reference identifier of a specific policy definition within a policy set definition.
1311
- * NOTE: This property will not be serialized. It can only be populated by the server.
1312
- */
1313
- readonly policyDefinitionReferenceId?: string;
1314
- /**
1315
- * The resource identifier of the policy assignment.
1316
- * NOTE: This property will not be serialized. It can only be populated by the server.
1317
- */
1318
- readonly policyAssignmentId?: string;
1319
- }
1320
-
1321
- /** Interface representing a PolicyRestrictions. */
1322
- export declare interface PolicyRestrictions {
1323
- /**
1324
- * Checks what restrictions Azure Policy will place on a resource within a subscription.
1325
- * @param parameters The check policy restrictions parameters.
1326
- * @param options The options parameters.
1327
- */
1328
- checkAtSubscriptionScope(parameters: CheckRestrictionsRequest, options?: PolicyRestrictionsCheckAtSubscriptionScopeOptionalParams): Promise<PolicyRestrictionsCheckAtSubscriptionScopeResponse>;
1329
- /**
1330
- * Checks what restrictions Azure Policy will place on a resource within a resource group. Use this
1331
- * when the resource group the resource will be created in is already known.
1332
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1333
- * @param parameters The check policy restrictions parameters.
1334
- * @param options The options parameters.
1335
- */
1336
- checkAtResourceGroupScope(resourceGroupName: string, parameters: CheckRestrictionsRequest, options?: PolicyRestrictionsCheckAtResourceGroupScopeOptionalParams): Promise<PolicyRestrictionsCheckAtResourceGroupScopeResponse>;
1337
- /**
1338
- * Checks what restrictions Azure Policy will place on resources within a management group.
1339
- * @param managementGroupId Management group ID.
1340
- * @param parameters The check policy restrictions parameters.
1341
- * @param options The options parameters.
1342
- */
1343
- checkAtManagementGroupScope(managementGroupId: string, parameters: CheckManagementGroupRestrictionsRequest, options?: PolicyRestrictionsCheckAtManagementGroupScopeOptionalParams): Promise<PolicyRestrictionsCheckAtManagementGroupScopeResponse>;
1344
- }
1345
-
1346
- /** Optional parameters. */
1347
- export declare interface PolicyRestrictionsCheckAtManagementGroupScopeOptionalParams extends coreClient.OperationOptions {
1348
- }
1349
-
1350
- /** Contains response data for the checkAtManagementGroupScope operation. */
1351
- export declare type PolicyRestrictionsCheckAtManagementGroupScopeResponse = CheckRestrictionsResult;
1352
-
1353
- /** Optional parameters. */
1354
- export declare interface PolicyRestrictionsCheckAtResourceGroupScopeOptionalParams extends coreClient.OperationOptions {
1355
- }
1356
-
1357
- /** Contains response data for the checkAtResourceGroupScope operation. */
1358
- export declare type PolicyRestrictionsCheckAtResourceGroupScopeResponse = CheckRestrictionsResult;
1359
-
1360
- /** Optional parameters. */
1361
- export declare interface PolicyRestrictionsCheckAtSubscriptionScopeOptionalParams extends coreClient.OperationOptions {
1362
- }
1363
-
1364
- /** Contains response data for the checkAtSubscriptionScope operation. */
1365
- export declare type PolicyRestrictionsCheckAtSubscriptionScopeResponse = CheckRestrictionsResult;
1366
-
1367
- /** Policy state record. */
1368
- export declare interface PolicyState {
1369
- /** Describes unknown properties. The value of an unknown property can be of "any" type. */
1370
- [property: string]: any;
1371
- /** OData entity ID; always set to null since policy state records do not have an entity ID. */
1372
- odataId?: string;
1373
- /** OData context string; used by OData clients to resolve type information based on metadata. */
1374
- odataContext?: string;
1375
- /** Timestamp for the policy state record. */
1376
- timestamp?: Date;
1377
- /** Resource ID. */
1378
- resourceId?: string;
1379
- /** Policy assignment ID. */
1380
- policyAssignmentId?: string;
1381
- /** Policy definition ID. */
1382
- policyDefinitionId?: string;
1383
- /** Effective parameters for the policy assignment. */
1384
- effectiveParameters?: string;
1385
- /** Flag which states whether the resource is compliant against the policy assignment it was evaluated against. This property is deprecated; please use ComplianceState instead. */
1386
- isCompliant?: boolean;
1387
- /** Subscription ID. */
1388
- subscriptionId?: string;
1389
- /** Resource type. */
1390
- resourceType?: string;
1391
- /** Resource location. */
1392
- resourceLocation?: string;
1393
- /** Resource group name. */
1394
- resourceGroup?: string;
1395
- /** List of resource tags. */
1396
- resourceTags?: string;
1397
- /** Policy assignment name. */
1398
- policyAssignmentName?: string;
1399
- /** Policy assignment owner. */
1400
- policyAssignmentOwner?: string;
1401
- /** Policy assignment parameters. */
1402
- policyAssignmentParameters?: string;
1403
- /** Policy assignment scope. */
1404
- policyAssignmentScope?: string;
1405
- /** Policy definition name. */
1406
- policyDefinitionName?: string;
1407
- /** Policy definition action, i.e. effect. */
1408
- policyDefinitionAction?: string;
1409
- /** Policy definition category. */
1410
- policyDefinitionCategory?: string;
1411
- /** Policy set definition ID, if the policy assignment is for a policy set. */
1412
- policySetDefinitionId?: string;
1413
- /** Policy set definition name, if the policy assignment is for a policy set. */
1414
- policySetDefinitionName?: string;
1415
- /** Policy set definition owner, if the policy assignment is for a policy set. */
1416
- policySetDefinitionOwner?: string;
1417
- /** Policy set definition category, if the policy assignment is for a policy set. */
1418
- policySetDefinitionCategory?: string;
1419
- /** Policy set definition parameters, if the policy assignment is for a policy set. */
1420
- policySetDefinitionParameters?: string;
1421
- /** Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under. */
1422
- managementGroupIds?: string;
1423
- /** Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set. */
1424
- policyDefinitionReferenceId?: string;
1425
- /** Compliance state of the resource. */
1426
- complianceState?: string;
1427
- /** Policy evaluation details. */
1428
- policyEvaluationDetails?: PolicyEvaluationDetails;
1429
- /** Policy definition group names. */
1430
- policyDefinitionGroupNames?: string[];
1431
- /** Components state compliance records populated only when URL contains $expand=components clause. */
1432
- components?: ComponentStateDetails[];
1433
- /**
1434
- * Evaluated policy definition version.
1435
- * NOTE: This property will not be serialized. It can only be populated by the server.
1436
- */
1437
- readonly policyDefinitionVersion?: string;
1438
- /**
1439
- * Evaluated policy set definition version.
1440
- * NOTE: This property will not be serialized. It can only be populated by the server.
1441
- */
1442
- readonly policySetDefinitionVersion?: string;
1443
- /**
1444
- * Evaluated policy assignment version.
1445
- * NOTE: This property will not be serialized. It can only be populated by the server.
1446
- */
1447
- readonly policyAssignmentVersion?: string;
1448
- }
1449
-
1450
- /** Interface representing a PolicyStates. */
1451
- export declare interface PolicyStates {
1452
- /**
1453
- * Queries policy states for the resources under the management group.
1454
- * @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
1455
- * range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
1456
- * state(s).
1457
- * @param managementGroupName Management group name.
1458
- * @param options The options parameters.
1459
- */
1460
- listQueryResultsForManagementGroup(policyStatesResource: PolicyStatesResource, managementGroupName: string, options?: PolicyStatesListQueryResultsForManagementGroupOptionalParams): PagedAsyncIterableIterator<PolicyState>;
1461
- /**
1462
- * Queries policy states for the resources under the subscription.
1463
- * @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
1464
- * range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
1465
- * state(s).
1466
- * @param subscriptionId Microsoft Azure subscription ID.
1467
- * @param options The options parameters.
1468
- */
1469
- listQueryResultsForSubscription(policyStatesResource: PolicyStatesResource, subscriptionId: string, options?: PolicyStatesListQueryResultsForSubscriptionOptionalParams): PagedAsyncIterableIterator<PolicyState>;
1470
- /**
1471
- * Queries policy states for the resources under the resource group.
1472
- * @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
1473
- * range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
1474
- * state(s).
1475
- * @param subscriptionId Microsoft Azure subscription ID.
1476
- * @param resourceGroupName Resource group name.
1477
- * @param options The options parameters.
1478
- */
1479
- listQueryResultsForResourceGroup(policyStatesResource: PolicyStatesResource, subscriptionId: string, resourceGroupName: string, options?: PolicyStatesListQueryResultsForResourceGroupOptionalParams): PagedAsyncIterableIterator<PolicyState>;
1480
- /**
1481
- * Queries policy states for the resource.
1482
- * @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
1483
- * range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
1484
- * state(s).
1485
- * @param resourceId Resource ID.
1486
- * @param options The options parameters.
1487
- */
1488
- listQueryResultsForResource(policyStatesResource: PolicyStatesResource, resourceId: string, options?: PolicyStatesListQueryResultsForResourceOptionalParams): PagedAsyncIterableIterator<PolicyState>;
1489
- /**
1490
- * Queries policy states for the subscription level policy set definition.
1491
- * @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
1492
- * range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
1493
- * state(s).
1494
- * @param subscriptionId Microsoft Azure subscription ID.
1495
- * @param policySetDefinitionName Policy set definition name.
1496
- * @param options The options parameters.
1497
- */
1498
- listQueryResultsForPolicySetDefinition(policyStatesResource: PolicyStatesResource, subscriptionId: string, policySetDefinitionName: string, options?: PolicyStatesListQueryResultsForPolicySetDefinitionOptionalParams): PagedAsyncIterableIterator<PolicyState>;
1499
- /**
1500
- * Queries policy states for the subscription level policy definition.
1501
- * @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
1502
- * range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
1503
- * state(s).
1504
- * @param subscriptionId Microsoft Azure subscription ID.
1505
- * @param policyDefinitionName Policy definition name.
1506
- * @param options The options parameters.
1507
- */
1508
- listQueryResultsForPolicyDefinition(policyStatesResource: PolicyStatesResource, subscriptionId: string, policyDefinitionName: string, options?: PolicyStatesListQueryResultsForPolicyDefinitionOptionalParams): PagedAsyncIterableIterator<PolicyState>;
1509
- /**
1510
- * Queries policy states for the subscription level policy assignment.
1511
- * @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
1512
- * range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
1513
- * state(s).
1514
- * @param subscriptionId Microsoft Azure subscription ID.
1515
- * @param policyAssignmentName Policy assignment name.
1516
- * @param options The options parameters.
1517
- */
1518
- listQueryResultsForSubscriptionLevelPolicyAssignment(policyStatesResource: PolicyStatesResource, subscriptionId: string, policyAssignmentName: string, options?: PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams): PagedAsyncIterableIterator<PolicyState>;
1519
- /**
1520
- * Queries policy states for the resource group level policy assignment.
1521
- * @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
1522
- * range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
1523
- * state(s).
1524
- * @param subscriptionId Microsoft Azure subscription ID.
1525
- * @param resourceGroupName Resource group name.
1526
- * @param policyAssignmentName Policy assignment name.
1527
- * @param options The options parameters.
1528
- */
1529
- listQueryResultsForResourceGroupLevelPolicyAssignment(policyStatesResource: PolicyStatesResource, subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams): PagedAsyncIterableIterator<PolicyState>;
1530
- /**
1531
- * Summarizes policy states for the resources under the management group.
1532
- * @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
1533
- * summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
1534
- * only allowed value.
1535
- * @param managementGroupName Management group name.
1536
- * @param options The options parameters.
1537
- */
1538
- summarizeForManagementGroup(policyStatesSummaryResource: PolicyStatesSummaryResourceType, managementGroupName: string, options?: PolicyStatesSummarizeForManagementGroupOptionalParams): Promise<PolicyStatesSummarizeForManagementGroupResponse>;
1539
- /**
1540
- * Summarizes policy states for the resources under the subscription.
1541
- * @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
1542
- * summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
1543
- * only allowed value.
1544
- * @param subscriptionId Microsoft Azure subscription ID.
1545
- * @param options The options parameters.
1546
- */
1547
- summarizeForSubscription(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, options?: PolicyStatesSummarizeForSubscriptionOptionalParams): Promise<PolicyStatesSummarizeForSubscriptionResponse>;
1548
- /**
1549
- * Summarizes policy states for the resources under the resource group.
1550
- * @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
1551
- * summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
1552
- * only allowed value.
1553
- * @param subscriptionId Microsoft Azure subscription ID.
1554
- * @param resourceGroupName Resource group name.
1555
- * @param options The options parameters.
1556
- */
1557
- summarizeForResourceGroup(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, resourceGroupName: string, options?: PolicyStatesSummarizeForResourceGroupOptionalParams): Promise<PolicyStatesSummarizeForResourceGroupResponse>;
1558
- /**
1559
- * Summarizes policy states for the resource.
1560
- * @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
1561
- * summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
1562
- * only allowed value.
1563
- * @param resourceId Resource ID.
1564
- * @param options The options parameters.
1565
- */
1566
- summarizeForResource(policyStatesSummaryResource: PolicyStatesSummaryResourceType, resourceId: string, options?: PolicyStatesSummarizeForResourceOptionalParams): Promise<PolicyStatesSummarizeForResourceResponse>;
1567
- /**
1568
- * Triggers a policy evaluation scan for all the resources under the subscription
1569
- * @param subscriptionId Microsoft Azure subscription ID.
1570
- * @param options The options parameters.
1571
- */
1572
- beginTriggerSubscriptionEvaluation(subscriptionId: string, options?: PolicyStatesTriggerSubscriptionEvaluationOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1573
- /**
1574
- * Triggers a policy evaluation scan for all the resources under the subscription
1575
- * @param subscriptionId Microsoft Azure subscription ID.
1576
- * @param options The options parameters.
1577
- */
1578
- beginTriggerSubscriptionEvaluationAndWait(subscriptionId: string, options?: PolicyStatesTriggerSubscriptionEvaluationOptionalParams): Promise<void>;
1579
- /**
1580
- * Triggers a policy evaluation scan for all the resources under the resource group.
1581
- * @param subscriptionId Microsoft Azure subscription ID.
1582
- * @param resourceGroupName Resource group name.
1583
- * @param options The options parameters.
1584
- */
1585
- beginTriggerResourceGroupEvaluation(subscriptionId: string, resourceGroupName: string, options?: PolicyStatesTriggerResourceGroupEvaluationOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1586
- /**
1587
- * Triggers a policy evaluation scan for all the resources under the resource group.
1588
- * @param subscriptionId Microsoft Azure subscription ID.
1589
- * @param resourceGroupName Resource group name.
1590
- * @param options The options parameters.
1591
- */
1592
- beginTriggerResourceGroupEvaluationAndWait(subscriptionId: string, resourceGroupName: string, options?: PolicyStatesTriggerResourceGroupEvaluationOptionalParams): Promise<void>;
1593
- /**
1594
- * Summarizes policy states for the subscription level policy set definition.
1595
- * @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
1596
- * summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
1597
- * only allowed value.
1598
- * @param subscriptionId Microsoft Azure subscription ID.
1599
- * @param policySetDefinitionName Policy set definition name.
1600
- * @param options The options parameters.
1601
- */
1602
- summarizeForPolicySetDefinition(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, policySetDefinitionName: string, options?: PolicyStatesSummarizeForPolicySetDefinitionOptionalParams): Promise<PolicyStatesSummarizeForPolicySetDefinitionResponse>;
1603
- /**
1604
- * Summarizes policy states for the subscription level policy definition.
1605
- * @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
1606
- * summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
1607
- * only allowed value.
1608
- * @param subscriptionId Microsoft Azure subscription ID.
1609
- * @param policyDefinitionName Policy definition name.
1610
- * @param options The options parameters.
1611
- */
1612
- summarizeForPolicyDefinition(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, policyDefinitionName: string, options?: PolicyStatesSummarizeForPolicyDefinitionOptionalParams): Promise<PolicyStatesSummarizeForPolicyDefinitionResponse>;
1613
- /**
1614
- * Summarizes policy states for the subscription level policy assignment.
1615
- * @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
1616
- * summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
1617
- * only allowed value.
1618
- * @param subscriptionId Microsoft Azure subscription ID.
1619
- * @param policyAssignmentName Policy assignment name.
1620
- * @param options The options parameters.
1621
- */
1622
- summarizeForSubscriptionLevelPolicyAssignment(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, policyAssignmentName: string, options?: PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentOptionalParams): Promise<PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentResponse>;
1623
- /**
1624
- * Summarizes policy states for the resource group level policy assignment.
1625
- * @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
1626
- * summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
1627
- * only allowed value.
1628
- * @param subscriptionId Microsoft Azure subscription ID.
1629
- * @param resourceGroupName Resource group name.
1630
- * @param policyAssignmentName Policy assignment name.
1631
- * @param options The options parameters.
1632
- */
1633
- summarizeForResourceGroupLevelPolicyAssignment(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentOptionalParams): Promise<PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentResponse>;
1634
- }
1635
-
1636
- /** Optional parameters. */
1637
- export declare interface PolicyStatesListQueryResultsForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
1638
- /** Parameter group */
1639
- queryOptions?: QueryOptions;
1640
- }
1641
-
1642
- /** Contains response data for the listQueryResultsForManagementGroupNext operation. */
1643
- export declare type PolicyStatesListQueryResultsForManagementGroupNextResponse = PolicyStatesQueryResults;
1644
-
1645
- /** Optional parameters. */
1646
- export declare interface PolicyStatesListQueryResultsForManagementGroupOptionalParams extends coreClient.OperationOptions {
1647
- /** Parameter group */
1648
- queryOptions?: QueryOptions;
1649
- }
1650
-
1651
- /** Contains response data for the listQueryResultsForManagementGroup operation. */
1652
- export declare type PolicyStatesListQueryResultsForManagementGroupResponse = PolicyStatesQueryResults;
1653
-
1654
- /** Optional parameters. */
1655
- export declare interface PolicyStatesListQueryResultsForPolicyDefinitionNextOptionalParams extends coreClient.OperationOptions {
1656
- /** Parameter group */
1657
- queryOptions?: QueryOptions;
1658
- }
1659
-
1660
- /** Contains response data for the listQueryResultsForPolicyDefinitionNext operation. */
1661
- export declare type PolicyStatesListQueryResultsForPolicyDefinitionNextResponse = PolicyStatesQueryResults;
1662
-
1663
- /** Optional parameters. */
1664
- export declare interface PolicyStatesListQueryResultsForPolicyDefinitionOptionalParams extends coreClient.OperationOptions {
1665
- /** Parameter group */
1666
- queryOptions?: QueryOptions;
1667
- }
1668
-
1669
- /** Contains response data for the listQueryResultsForPolicyDefinition operation. */
1670
- export declare type PolicyStatesListQueryResultsForPolicyDefinitionResponse = PolicyStatesQueryResults;
1671
-
1672
- /** Optional parameters. */
1673
- export declare interface PolicyStatesListQueryResultsForPolicySetDefinitionNextOptionalParams extends coreClient.OperationOptions {
1674
- /** Parameter group */
1675
- queryOptions?: QueryOptions;
1676
- }
1677
-
1678
- /** Contains response data for the listQueryResultsForPolicySetDefinitionNext operation. */
1679
- export declare type PolicyStatesListQueryResultsForPolicySetDefinitionNextResponse = PolicyStatesQueryResults;
1680
-
1681
- /** Optional parameters. */
1682
- export declare interface PolicyStatesListQueryResultsForPolicySetDefinitionOptionalParams extends coreClient.OperationOptions {
1683
- /** Parameter group */
1684
- queryOptions?: QueryOptions;
1685
- }
1686
-
1687
- /** Contains response data for the listQueryResultsForPolicySetDefinition operation. */
1688
- export declare type PolicyStatesListQueryResultsForPolicySetDefinitionResponse = PolicyStatesQueryResults;
1689
-
1690
- /** Optional parameters. */
1691
- export declare interface PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
1692
- /** Parameter group */
1693
- queryOptions?: QueryOptions;
1694
- }
1695
-
1696
- /** Contains response data for the listQueryResultsForResourceGroupLevelPolicyAssignmentNext operation. */
1697
- export declare type PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentNextResponse = PolicyStatesQueryResults;
1698
-
1699
- /** Optional parameters. */
1700
- export declare interface PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
1701
- /** Parameter group */
1702
- queryOptions?: QueryOptions;
1703
- }
1704
-
1705
- /** Contains response data for the listQueryResultsForResourceGroupLevelPolicyAssignment operation. */
1706
- export declare type PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentResponse = PolicyStatesQueryResults;
1707
-
1708
- /** Optional parameters. */
1709
- export declare interface PolicyStatesListQueryResultsForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1710
- /** Parameter group */
1711
- queryOptions?: QueryOptions;
1712
- }
1713
-
1714
- /** Contains response data for the listQueryResultsForResourceGroupNext operation. */
1715
- export declare type PolicyStatesListQueryResultsForResourceGroupNextResponse = PolicyStatesQueryResults;
1716
-
1717
- /** Optional parameters. */
1718
- export declare interface PolicyStatesListQueryResultsForResourceGroupOptionalParams extends coreClient.OperationOptions {
1719
- /** Parameter group */
1720
- queryOptions?: QueryOptions;
1721
- }
1722
-
1723
- /** Contains response data for the listQueryResultsForResourceGroup operation. */
1724
- export declare type PolicyStatesListQueryResultsForResourceGroupResponse = PolicyStatesQueryResults;
1725
-
1726
- /** Optional parameters. */
1727
- export declare interface PolicyStatesListQueryResultsForResourceNextOptionalParams extends coreClient.OperationOptions {
1728
- /** Parameter group */
1729
- queryOptions?: QueryOptions;
1730
- }
1731
-
1732
- /** Contains response data for the listQueryResultsForResourceNext operation. */
1733
- export declare type PolicyStatesListQueryResultsForResourceNextResponse = PolicyStatesQueryResults;
1734
-
1735
- /** Optional parameters. */
1736
- export declare interface PolicyStatesListQueryResultsForResourceOptionalParams extends coreClient.OperationOptions {
1737
- /** Parameter group */
1738
- queryOptions?: QueryOptions;
1739
- }
1740
-
1741
- /** Contains response data for the listQueryResultsForResource operation. */
1742
- export declare type PolicyStatesListQueryResultsForResourceResponse = PolicyStatesQueryResults;
1743
-
1744
- /** Optional parameters. */
1745
- export declare interface PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
1746
- /** Parameter group */
1747
- queryOptions?: QueryOptions;
1748
- }
1749
-
1750
- /** Contains response data for the listQueryResultsForSubscriptionLevelPolicyAssignmentNext operation. */
1751
- export declare type PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentNextResponse = PolicyStatesQueryResults;
1752
-
1753
- /** Optional parameters. */
1754
- export declare interface PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
1755
- /** Parameter group */
1756
- queryOptions?: QueryOptions;
1757
- }
1758
-
1759
- /** Contains response data for the listQueryResultsForSubscriptionLevelPolicyAssignment operation. */
1760
- export declare type PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentResponse = PolicyStatesQueryResults;
1761
-
1762
- /** Optional parameters. */
1763
- export declare interface PolicyStatesListQueryResultsForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
1764
- /** Parameter group */
1765
- queryOptions?: QueryOptions;
1766
- }
1767
-
1768
- /** Contains response data for the listQueryResultsForSubscriptionNext operation. */
1769
- export declare type PolicyStatesListQueryResultsForSubscriptionNextResponse = PolicyStatesQueryResults;
1770
-
1771
- /** Optional parameters. */
1772
- export declare interface PolicyStatesListQueryResultsForSubscriptionOptionalParams extends coreClient.OperationOptions {
1773
- /** Parameter group */
1774
- queryOptions?: QueryOptions;
1775
- }
1776
-
1777
- /** Contains response data for the listQueryResultsForSubscription operation. */
1778
- export declare type PolicyStatesListQueryResultsForSubscriptionResponse = PolicyStatesQueryResults;
1779
-
1780
- /** Query results. */
1781
- export declare interface PolicyStatesQueryResults {
1782
- /** OData context string; used by OData clients to resolve type information based on metadata. */
1783
- odataContext?: string;
1784
- /** OData entity count; represents the number of policy state records returned. */
1785
- odataCount?: number;
1786
- /** Odata next link; URL to get the next set of results. */
1787
- odataNextLink?: string;
1788
- /** Query results. */
1789
- value?: PolicyState[];
1790
- }
1791
-
1792
- /**
1793
- * Defines values for PolicyStatesResource. \
1794
- * {@link KnownPolicyStatesResource} can be used interchangeably with PolicyStatesResource,
1795
- * this enum contains the known values that the service supports.
1796
- * ### Known values supported by the service
1797
- * **default** \
1798
- * **latest**
1799
- */
1800
- export declare type PolicyStatesResource = string;
1801
-
1802
- /** Optional parameters. */
1803
- export declare interface PolicyStatesSummarizeForManagementGroupOptionalParams extends coreClient.OperationOptions {
1804
- /** Parameter group */
1805
- queryOptions?: QueryOptions;
1806
- }
1807
-
1808
- /** Contains response data for the summarizeForManagementGroup operation. */
1809
- export declare type PolicyStatesSummarizeForManagementGroupResponse = SummarizeResults;
1810
-
1811
- /** Optional parameters. */
1812
- export declare interface PolicyStatesSummarizeForPolicyDefinitionOptionalParams extends coreClient.OperationOptions {
1813
- /** Parameter group */
1814
- queryOptions?: QueryOptions;
1815
- }
1816
-
1817
- /** Contains response data for the summarizeForPolicyDefinition operation. */
1818
- export declare type PolicyStatesSummarizeForPolicyDefinitionResponse = SummarizeResults;
1819
-
1820
- /** Optional parameters. */
1821
- export declare interface PolicyStatesSummarizeForPolicySetDefinitionOptionalParams extends coreClient.OperationOptions {
1822
- /** Parameter group */
1823
- queryOptions?: QueryOptions;
1824
- }
1825
-
1826
- /** Contains response data for the summarizeForPolicySetDefinition operation. */
1827
- export declare type PolicyStatesSummarizeForPolicySetDefinitionResponse = SummarizeResults;
1828
-
1829
- /** Optional parameters. */
1830
- export declare interface PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
1831
- /** Parameter group */
1832
- queryOptions?: QueryOptions;
1833
- }
1834
-
1835
- /** Contains response data for the summarizeForResourceGroupLevelPolicyAssignment operation. */
1836
- export declare type PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentResponse = SummarizeResults;
1837
-
1838
- /** Optional parameters. */
1839
- export declare interface PolicyStatesSummarizeForResourceGroupOptionalParams extends coreClient.OperationOptions {
1840
- /** Parameter group */
1841
- queryOptions?: QueryOptions;
1842
- }
1843
-
1844
- /** Contains response data for the summarizeForResourceGroup operation. */
1845
- export declare type PolicyStatesSummarizeForResourceGroupResponse = SummarizeResults;
1846
-
1847
- /** Optional parameters. */
1848
- export declare interface PolicyStatesSummarizeForResourceOptionalParams extends coreClient.OperationOptions {
1849
- /** Parameter group */
1850
- queryOptions?: QueryOptions;
1851
- }
1852
-
1853
- /** Contains response data for the summarizeForResource operation. */
1854
- export declare type PolicyStatesSummarizeForResourceResponse = SummarizeResults;
1855
-
1856
- /** Optional parameters. */
1857
- export declare interface PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
1858
- /** Parameter group */
1859
- queryOptions?: QueryOptions;
1860
- }
1861
-
1862
- /** Contains response data for the summarizeForSubscriptionLevelPolicyAssignment operation. */
1863
- export declare type PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentResponse = SummarizeResults;
1864
-
1865
- /** Optional parameters. */
1866
- export declare interface PolicyStatesSummarizeForSubscriptionOptionalParams extends coreClient.OperationOptions {
1867
- /** Parameter group */
1868
- queryOptions?: QueryOptions;
1869
- }
1870
-
1871
- /** Contains response data for the summarizeForSubscription operation. */
1872
- export declare type PolicyStatesSummarizeForSubscriptionResponse = SummarizeResults;
1873
-
1874
- /**
1875
- * Defines values for PolicyStatesSummaryResourceType. \
1876
- * {@link KnownPolicyStatesSummaryResourceType} can be used interchangeably with PolicyStatesSummaryResourceType,
1877
- * this enum contains the known values that the service supports.
1878
- * ### Known values supported by the service
1879
- * **latest**
1880
- */
1881
- export declare type PolicyStatesSummaryResourceType = string;
1882
-
1883
- /** Optional parameters. */
1884
- export declare interface PolicyStatesTriggerResourceGroupEvaluationOptionalParams extends coreClient.OperationOptions {
1885
- /** Delay to wait until next poll, in milliseconds. */
1886
- updateIntervalInMs?: number;
1887
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1888
- resumeFrom?: string;
1889
- }
1890
-
1891
- /** Optional parameters. */
1892
- export declare interface PolicyStatesTriggerSubscriptionEvaluationOptionalParams extends coreClient.OperationOptions {
1893
- /** Delay to wait until next poll, in milliseconds. */
1894
- updateIntervalInMs?: number;
1895
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1896
- resumeFrom?: string;
1897
- }
1898
-
1899
- /** Policy tracked resource record. */
1900
- export declare interface PolicyTrackedResource {
1901
- /**
1902
- * The ID of the policy tracked resource.
1903
- * NOTE: This property will not be serialized. It can only be populated by the server.
1904
- */
1905
- readonly trackedResourceId?: string;
1906
- /**
1907
- * The details of the policy that require the tracked resource.
1908
- * NOTE: This property will not be serialized. It can only be populated by the server.
1909
- */
1910
- readonly policyDetails?: PolicyDetails;
1911
- /**
1912
- * The details of the policy triggered deployment that created the tracked resource.
1913
- * NOTE: This property will not be serialized. It can only be populated by the server.
1914
- */
1915
- readonly createdBy?: TrackedResourceModificationDetails;
1916
- /**
1917
- * The details of the policy triggered deployment that modified the tracked resource.
1918
- * NOTE: This property will not be serialized. It can only be populated by the server.
1919
- */
1920
- readonly lastModifiedBy?: TrackedResourceModificationDetails;
1921
- /**
1922
- * Timestamp of the last update to the tracked resource.
1923
- * NOTE: This property will not be serialized. It can only be populated by the server.
1924
- */
1925
- readonly lastUpdateUtc?: Date;
1926
- }
1927
-
1928
- /** Interface representing a PolicyTrackedResources. */
1929
- export declare interface PolicyTrackedResources {
1930
- /**
1931
- * Queries policy tracked resources under the management group.
1932
- * @param managementGroupName Management group name.
1933
- * @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
1934
- * resource type; only "default" is allowed.
1935
- * @param options The options parameters.
1936
- */
1937
- listQueryResultsForManagementGroup(managementGroupName: string, policyTrackedResourcesResource: PolicyTrackedResourcesResourceType, options?: PolicyTrackedResourcesListQueryResultsForManagementGroupOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource>;
1938
- /**
1939
- * Queries policy tracked resources under the subscription.
1940
- * @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
1941
- * resource type; only "default" is allowed.
1942
- * @param options The options parameters.
1943
- */
1944
- listQueryResultsForSubscription(policyTrackedResourcesResource: PolicyTrackedResourcesResourceType, options?: PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource>;
1945
- /**
1946
- * Queries policy tracked resources under the resource group.
1947
- * @param resourceGroupName Resource group name.
1948
- * @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
1949
- * resource type; only "default" is allowed.
1950
- * @param options The options parameters.
1951
- */
1952
- listQueryResultsForResourceGroup(resourceGroupName: string, policyTrackedResourcesResource: PolicyTrackedResourcesResourceType, options?: PolicyTrackedResourcesListQueryResultsForResourceGroupOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource>;
1953
- /**
1954
- * Queries policy tracked resources under the resource.
1955
- * @param resourceId Resource ID.
1956
- * @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
1957
- * resource type; only "default" is allowed.
1958
- * @param options The options parameters.
1959
- */
1960
- listQueryResultsForResource(resourceId: string, policyTrackedResourcesResource: PolicyTrackedResourcesResourceType, options?: PolicyTrackedResourcesListQueryResultsForResourceOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource>;
1961
- }
1962
-
1963
- /** Optional parameters. */
1964
- export declare interface PolicyTrackedResourcesListQueryResultsForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
1965
- /** Parameter group */
1966
- queryOptions?: QueryOptions;
1967
- }
1968
-
1969
- /** Contains response data for the listQueryResultsForManagementGroupNext operation. */
1970
- export declare type PolicyTrackedResourcesListQueryResultsForManagementGroupNextResponse = PolicyTrackedResourcesQueryResults;
1971
-
1972
- /** Optional parameters. */
1973
- export declare interface PolicyTrackedResourcesListQueryResultsForManagementGroupOptionalParams extends coreClient.OperationOptions {
1974
- /** Parameter group */
1975
- queryOptions?: QueryOptions;
1976
- }
1977
-
1978
- /** Contains response data for the listQueryResultsForManagementGroup operation. */
1979
- export declare type PolicyTrackedResourcesListQueryResultsForManagementGroupResponse = PolicyTrackedResourcesQueryResults;
1980
-
1981
- /** Optional parameters. */
1982
- export declare interface PolicyTrackedResourcesListQueryResultsForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1983
- /** Parameter group */
1984
- queryOptions?: QueryOptions;
1985
- }
1986
-
1987
- /** Contains response data for the listQueryResultsForResourceGroupNext operation. */
1988
- export declare type PolicyTrackedResourcesListQueryResultsForResourceGroupNextResponse = PolicyTrackedResourcesQueryResults;
1989
-
1990
- /** Optional parameters. */
1991
- export declare interface PolicyTrackedResourcesListQueryResultsForResourceGroupOptionalParams extends coreClient.OperationOptions {
1992
- /** Parameter group */
1993
- queryOptions?: QueryOptions;
1994
- }
1995
-
1996
- /** Contains response data for the listQueryResultsForResourceGroup operation. */
1997
- export declare type PolicyTrackedResourcesListQueryResultsForResourceGroupResponse = PolicyTrackedResourcesQueryResults;
1998
-
1999
- /** Optional parameters. */
2000
- export declare interface PolicyTrackedResourcesListQueryResultsForResourceNextOptionalParams extends coreClient.OperationOptions {
2001
- /** Parameter group */
2002
- queryOptions?: QueryOptions;
2003
- }
2004
-
2005
- /** Contains response data for the listQueryResultsForResourceNext operation. */
2006
- export declare type PolicyTrackedResourcesListQueryResultsForResourceNextResponse = PolicyTrackedResourcesQueryResults;
2007
-
2008
- /** Optional parameters. */
2009
- export declare interface PolicyTrackedResourcesListQueryResultsForResourceOptionalParams extends coreClient.OperationOptions {
2010
- /** Parameter group */
2011
- queryOptions?: QueryOptions;
2012
- }
2013
-
2014
- /** Contains response data for the listQueryResultsForResource operation. */
2015
- export declare type PolicyTrackedResourcesListQueryResultsForResourceResponse = PolicyTrackedResourcesQueryResults;
2016
-
2017
- /** Optional parameters. */
2018
- export declare interface PolicyTrackedResourcesListQueryResultsForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
2019
- /** Parameter group */
2020
- queryOptions?: QueryOptions;
2021
- }
2022
-
2023
- /** Contains response data for the listQueryResultsForSubscriptionNext operation. */
2024
- export declare type PolicyTrackedResourcesListQueryResultsForSubscriptionNextResponse = PolicyTrackedResourcesQueryResults;
2025
-
2026
- /** Optional parameters. */
2027
- export declare interface PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams extends coreClient.OperationOptions {
2028
- /** Parameter group */
2029
- queryOptions?: QueryOptions;
2030
- }
2031
-
2032
- /** Contains response data for the listQueryResultsForSubscription operation. */
2033
- export declare type PolicyTrackedResourcesListQueryResultsForSubscriptionResponse = PolicyTrackedResourcesQueryResults;
2034
-
2035
- /** Query results. */
2036
- export declare interface PolicyTrackedResourcesQueryResults {
2037
- /**
2038
- * Query results.
2039
- * NOTE: This property will not be serialized. It can only be populated by the server.
2040
- */
2041
- readonly value?: PolicyTrackedResource[];
2042
- /**
2043
- * The URL to get the next set of results.
2044
- * NOTE: This property will not be serialized. It can only be populated by the server.
2045
- */
2046
- readonly nextLink?: string;
2047
- }
2048
-
2049
- /**
2050
- * Defines values for PolicyTrackedResourcesResourceType. \
2051
- * {@link KnownPolicyTrackedResourcesResourceType} can be used interchangeably with PolicyTrackedResourcesResourceType,
2052
- * this enum contains the known values that the service supports.
2053
- * ### Known values supported by the service
2054
- * **default**
2055
- */
2056
- export declare type PolicyTrackedResourcesResourceType = string;
2057
-
2058
- /** Error response. */
2059
- export declare interface QueryFailure {
2060
- /** Error definition. */
2061
- error?: QueryFailureError;
2062
- }
2063
-
2064
- /** Error definition. */
2065
- export declare interface QueryFailureError {
2066
- /**
2067
- * Service specific error code which serves as the substatus for the HTTP error code.
2068
- * NOTE: This property will not be serialized. It can only be populated by the server.
2069
- */
2070
- readonly code?: string;
2071
- /**
2072
- * Description of the error.
2073
- * NOTE: This property will not be serialized. It can only be populated by the server.
2074
- */
2075
- readonly message?: string;
2076
- }
2077
-
2078
- /** Parameter group */
2079
- export declare interface QueryOptions {
2080
- /** Maximum number of records to return. */
2081
- top?: number;
2082
- /** OData filter expression. */
2083
- filter?: string;
2084
- /** 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". */
2085
- orderBy?: string;
2086
- /** Select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". */
2087
- select?: string;
2088
- /** ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). */
2089
- from?: Date;
2090
- /** ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. */
2091
- to?: Date;
2092
- /** OData apply expression for aggregations. */
2093
- apply?: string;
2094
- /** Skiptoken is only provided if a previous response returned a partial result as a part of nextLink element. */
2095
- skipToken?: string;
2096
- /** The $expand query parameter. For example, to expand components use $expand=components */
2097
- expand?: string;
2098
- }
2099
-
2100
- /** The remediation definition. */
2101
- export declare interface Remediation {
2102
- /**
2103
- * The ID of the remediation.
2104
- * NOTE: This property will not be serialized. It can only be populated by the server.
2105
- */
2106
- readonly id?: string;
2107
- /**
2108
- * The type of the remediation.
2109
- * NOTE: This property will not be serialized. It can only be populated by the server.
2110
- */
2111
- readonly type?: string;
2112
- /**
2113
- * The name of the remediation.
2114
- * NOTE: This property will not be serialized. It can only be populated by the server.
2115
- */
2116
- readonly name?: string;
2117
- /**
2118
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
2119
- * NOTE: This property will not be serialized. It can only be populated by the server.
2120
- */
2121
- readonly systemData?: SystemData;
2122
- /** The resource ID of the policy assignment that should be remediated. */
2123
- policyAssignmentId?: string;
2124
- /** The policy definition reference ID of the individual definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition. */
2125
- policyDefinitionReferenceId?: string;
2126
- /** The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified. */
2127
- resourceDiscoveryMode?: ResourceDiscoveryMode;
2128
- /**
2129
- * The status of the remediation.
2130
- * NOTE: This property will not be serialized. It can only be populated by the server.
2131
- */
2132
- readonly provisioningState?: string;
2133
- /**
2134
- * The time at which the remediation was created.
2135
- * NOTE: This property will not be serialized. It can only be populated by the server.
2136
- */
2137
- readonly createdOn?: Date;
2138
- /**
2139
- * The time at which the remediation was last updated.
2140
- * NOTE: This property will not be serialized. It can only be populated by the server.
2141
- */
2142
- readonly lastUpdatedOn?: Date;
2143
- /** The filters that will be applied to determine which resources to remediate. */
2144
- filters?: RemediationFilters;
2145
- /**
2146
- * The deployment status summary for all deployments created by the remediation.
2147
- * NOTE: This property will not be serialized. It can only be populated by the server.
2148
- */
2149
- readonly deploymentStatus?: RemediationDeploymentSummary;
2150
- /**
2151
- * The remediation status message. Provides additional details regarding the state of the remediation.
2152
- * NOTE: This property will not be serialized. It can only be populated by the server.
2153
- */
2154
- readonly statusMessage?: string;
2155
- /**
2156
- * The remediation correlation Id. Can be used to find events related to the remediation in the activity log.
2157
- * NOTE: This property will not be serialized. It can only be populated by the server.
2158
- */
2159
- readonly correlationId?: string;
2160
- /** Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used. */
2161
- resourceCount?: number;
2162
- /** Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used. */
2163
- parallelDeployments?: number;
2164
- /** The remediation failure threshold settings */
2165
- failureThreshold?: RemediationPropertiesFailureThreshold;
2166
- }
2167
-
2168
- /** Details of a single deployment created by the remediation. */
2169
- export declare interface RemediationDeployment {
2170
- /**
2171
- * Resource ID of the resource that is being remediated by the deployment.
2172
- * NOTE: This property will not be serialized. It can only be populated by the server.
2173
- */
2174
- readonly remediatedResourceId?: string;
2175
- /**
2176
- * Resource ID of the template deployment that will remediate the resource.
2177
- * NOTE: This property will not be serialized. It can only be populated by the server.
2178
- */
2179
- readonly deploymentId?: string;
2180
- /**
2181
- * Status of the remediation deployment.
2182
- * NOTE: This property will not be serialized. It can only be populated by the server.
2183
- */
2184
- readonly status?: string;
2185
- /**
2186
- * Location of the resource that is being remediated.
2187
- * NOTE: This property will not be serialized. It can only be populated by the server.
2188
- */
2189
- readonly resourceLocation?: string;
2190
- /**
2191
- * Error encountered while remediated the resource.
2192
- * NOTE: This property will not be serialized. It can only be populated by the server.
2193
- */
2194
- readonly error?: ErrorDefinition;
2195
- /**
2196
- * The time at which the remediation was created.
2197
- * NOTE: This property will not be serialized. It can only be populated by the server.
2198
- */
2199
- readonly createdOn?: Date;
2200
- /**
2201
- * The time at which the remediation deployment was last updated.
2202
- * NOTE: This property will not be serialized. It can only be populated by the server.
2203
- */
2204
- readonly lastUpdatedOn?: Date;
2205
- }
2206
-
2207
- /** List of deployments for a remediation. */
2208
- export declare interface RemediationDeploymentsListResult {
2209
- /**
2210
- * Array of deployments for the remediation.
2211
- * NOTE: This property will not be serialized. It can only be populated by the server.
2212
- */
2213
- readonly value?: RemediationDeployment[];
2214
- /**
2215
- * The URL to get the next set of results.
2216
- * NOTE: This property will not be serialized. It can only be populated by the server.
2217
- */
2218
- readonly nextLink?: string;
2219
- }
2220
-
2221
- /** The deployment status summary for all deployments created by the remediation. */
2222
- export declare interface RemediationDeploymentSummary {
2223
- /**
2224
- * The number of deployments required by the remediation.
2225
- * NOTE: This property will not be serialized. It can only be populated by the server.
2226
- */
2227
- readonly totalDeployments?: number;
2228
- /**
2229
- * The number of deployments required by the remediation that have succeeded.
2230
- * NOTE: This property will not be serialized. It can only be populated by the server.
2231
- */
2232
- readonly successfulDeployments?: number;
2233
- /**
2234
- * The number of deployments required by the remediation that have failed.
2235
- * NOTE: This property will not be serialized. It can only be populated by the server.
2236
- */
2237
- readonly failedDeployments?: number;
2238
- }
2239
-
2240
- /** The filters that will be applied to determine which resources to remediate. */
2241
- export declare interface RemediationFilters {
2242
- /** The resource locations that will be remediated. */
2243
- locations?: string[];
2244
- }
2245
-
2246
- /** List of remediations. */
2247
- export declare interface RemediationListResult {
2248
- /**
2249
- * Array of remediation definitions.
2250
- * NOTE: This property will not be serialized. It can only be populated by the server.
2251
- */
2252
- readonly value?: Remediation[];
2253
- /**
2254
- * The URL to get the next set of results.
2255
- * NOTE: This property will not be serialized. It can only be populated by the server.
2256
- */
2257
- readonly nextLink?: string;
2258
- }
2259
-
2260
- /** The remediation failure threshold settings */
2261
- export declare interface RemediationPropertiesFailureThreshold {
2262
- /** A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold. */
2263
- percentage?: number;
2264
- }
2265
-
2266
- /** Interface representing a Remediations. */
2267
- export declare interface Remediations {
2268
- /**
2269
- * Gets all deployments for a remediation at management group scope.
2270
- * @param managementGroupId Management group ID.
2271
- * @param remediationName The name of the remediation.
2272
- * @param options The options parameters.
2273
- */
2274
- listDeploymentsAtManagementGroup(managementGroupId: string, remediationName: string, options?: RemediationsListDeploymentsAtManagementGroupOptionalParams): PagedAsyncIterableIterator<RemediationDeployment>;
2275
- /**
2276
- * Gets all remediations for the management group.
2277
- * @param managementGroupId Management group ID.
2278
- * @param options The options parameters.
2279
- */
2280
- listForManagementGroup(managementGroupId: string, options?: RemediationsListForManagementGroupOptionalParams): PagedAsyncIterableIterator<Remediation>;
2281
- /**
2282
- * Gets all deployments for a remediation at subscription scope.
2283
- * @param remediationName The name of the remediation.
2284
- * @param options The options parameters.
2285
- */
2286
- listDeploymentsAtSubscription(remediationName: string, options?: RemediationsListDeploymentsAtSubscriptionOptionalParams): PagedAsyncIterableIterator<RemediationDeployment>;
2287
- /**
2288
- * Gets all remediations for the subscription.
2289
- * @param options The options parameters.
2290
- */
2291
- listForSubscription(options?: RemediationsListForSubscriptionOptionalParams): PagedAsyncIterableIterator<Remediation>;
2292
- /**
2293
- * Gets all deployments for a remediation at resource group scope.
2294
- * @param resourceGroupName Resource group name.
2295
- * @param remediationName The name of the remediation.
2296
- * @param options The options parameters.
2297
- */
2298
- listDeploymentsAtResourceGroup(resourceGroupName: string, remediationName: string, options?: RemediationsListDeploymentsAtResourceGroupOptionalParams): PagedAsyncIterableIterator<RemediationDeployment>;
2299
- /**
2300
- * Gets all remediations for the subscription.
2301
- * @param resourceGroupName Resource group name.
2302
- * @param options The options parameters.
2303
- */
2304
- listForResourceGroup(resourceGroupName: string, options?: RemediationsListForResourceGroupOptionalParams): PagedAsyncIterableIterator<Remediation>;
2305
- /**
2306
- * Gets all deployments for a remediation at resource scope.
2307
- * @param resourceId Resource ID.
2308
- * @param remediationName The name of the remediation.
2309
- * @param options The options parameters.
2310
- */
2311
- listDeploymentsAtResource(resourceId: string, remediationName: string, options?: RemediationsListDeploymentsAtResourceOptionalParams): PagedAsyncIterableIterator<RemediationDeployment>;
2312
- /**
2313
- * Gets all remediations for a resource.
2314
- * @param resourceId Resource ID.
2315
- * @param options The options parameters.
2316
- */
2317
- listForResource(resourceId: string, options?: RemediationsListForResourceOptionalParams): PagedAsyncIterableIterator<Remediation>;
2318
- /**
2319
- * Cancels a remediation at management group scope.
2320
- * @param managementGroupId Management group ID.
2321
- * @param remediationName The name of the remediation.
2322
- * @param options The options parameters.
2323
- */
2324
- cancelAtManagementGroup(managementGroupId: string, remediationName: string, options?: RemediationsCancelAtManagementGroupOptionalParams): Promise<RemediationsCancelAtManagementGroupResponse>;
2325
- /**
2326
- * Creates or updates a remediation at management group scope.
2327
- * @param managementGroupId Management group ID.
2328
- * @param remediationName The name of the remediation.
2329
- * @param parameters The remediation parameters.
2330
- * @param options The options parameters.
2331
- */
2332
- createOrUpdateAtManagementGroup(managementGroupId: string, remediationName: string, parameters: Remediation, options?: RemediationsCreateOrUpdateAtManagementGroupOptionalParams): Promise<RemediationsCreateOrUpdateAtManagementGroupResponse>;
2333
- /**
2334
- * Gets an existing remediation at management group scope.
2335
- * @param managementGroupId Management group ID.
2336
- * @param remediationName The name of the remediation.
2337
- * @param options The options parameters.
2338
- */
2339
- getAtManagementGroup(managementGroupId: string, remediationName: string, options?: RemediationsGetAtManagementGroupOptionalParams): Promise<RemediationsGetAtManagementGroupResponse>;
2340
- /**
2341
- * Deletes an existing remediation at management group scope.
2342
- * @param managementGroupId Management group ID.
2343
- * @param remediationName The name of the remediation.
2344
- * @param options The options parameters.
2345
- */
2346
- deleteAtManagementGroup(managementGroupId: string, remediationName: string, options?: RemediationsDeleteAtManagementGroupOptionalParams): Promise<RemediationsDeleteAtManagementGroupResponse>;
2347
- /**
2348
- * Cancels a remediation at subscription scope.
2349
- * @param remediationName The name of the remediation.
2350
- * @param options The options parameters.
2351
- */
2352
- cancelAtSubscription(remediationName: string, options?: RemediationsCancelAtSubscriptionOptionalParams): Promise<RemediationsCancelAtSubscriptionResponse>;
2353
- /**
2354
- * Creates or updates a remediation at subscription scope.
2355
- * @param remediationName The name of the remediation.
2356
- * @param parameters The remediation parameters.
2357
- * @param options The options parameters.
2358
- */
2359
- createOrUpdateAtSubscription(remediationName: string, parameters: Remediation, options?: RemediationsCreateOrUpdateAtSubscriptionOptionalParams): Promise<RemediationsCreateOrUpdateAtSubscriptionResponse>;
2360
- /**
2361
- * Gets an existing remediation at subscription scope.
2362
- * @param remediationName The name of the remediation.
2363
- * @param options The options parameters.
2364
- */
2365
- getAtSubscription(remediationName: string, options?: RemediationsGetAtSubscriptionOptionalParams): Promise<RemediationsGetAtSubscriptionResponse>;
2366
- /**
2367
- * Deletes an existing remediation at subscription scope.
2368
- * @param remediationName The name of the remediation.
2369
- * @param options The options parameters.
2370
- */
2371
- deleteAtSubscription(remediationName: string, options?: RemediationsDeleteAtSubscriptionOptionalParams): Promise<RemediationsDeleteAtSubscriptionResponse>;
2372
- /**
2373
- * Cancels a remediation at resource group scope.
2374
- * @param resourceGroupName Resource group name.
2375
- * @param remediationName The name of the remediation.
2376
- * @param options The options parameters.
2377
- */
2378
- cancelAtResourceGroup(resourceGroupName: string, remediationName: string, options?: RemediationsCancelAtResourceGroupOptionalParams): Promise<RemediationsCancelAtResourceGroupResponse>;
2379
- /**
2380
- * Creates or updates a remediation at resource group scope.
2381
- * @param resourceGroupName Resource group name.
2382
- * @param remediationName The name of the remediation.
2383
- * @param parameters The remediation parameters.
2384
- * @param options The options parameters.
2385
- */
2386
- createOrUpdateAtResourceGroup(resourceGroupName: string, remediationName: string, parameters: Remediation, options?: RemediationsCreateOrUpdateAtResourceGroupOptionalParams): Promise<RemediationsCreateOrUpdateAtResourceGroupResponse>;
2387
- /**
2388
- * Gets an existing remediation at resource group scope.
2389
- * @param resourceGroupName Resource group name.
2390
- * @param remediationName The name of the remediation.
2391
- * @param options The options parameters.
2392
- */
2393
- getAtResourceGroup(resourceGroupName: string, remediationName: string, options?: RemediationsGetAtResourceGroupOptionalParams): Promise<RemediationsGetAtResourceGroupResponse>;
2394
- /**
2395
- * Deletes an existing remediation at resource group scope.
2396
- * @param resourceGroupName Resource group name.
2397
- * @param remediationName The name of the remediation.
2398
- * @param options The options parameters.
2399
- */
2400
- deleteAtResourceGroup(resourceGroupName: string, remediationName: string, options?: RemediationsDeleteAtResourceGroupOptionalParams): Promise<RemediationsDeleteAtResourceGroupResponse>;
2401
- /**
2402
- * Cancel a remediation at resource scope.
2403
- * @param resourceId Resource ID.
2404
- * @param remediationName The name of the remediation.
2405
- * @param options The options parameters.
2406
- */
2407
- cancelAtResource(resourceId: string, remediationName: string, options?: RemediationsCancelAtResourceOptionalParams): Promise<RemediationsCancelAtResourceResponse>;
2408
- /**
2409
- * Creates or updates a remediation at resource scope.
2410
- * @param resourceId Resource ID.
2411
- * @param remediationName The name of the remediation.
2412
- * @param parameters The remediation parameters.
2413
- * @param options The options parameters.
2414
- */
2415
- createOrUpdateAtResource(resourceId: string, remediationName: string, parameters: Remediation, options?: RemediationsCreateOrUpdateAtResourceOptionalParams): Promise<RemediationsCreateOrUpdateAtResourceResponse>;
2416
- /**
2417
- * Gets an existing remediation at resource scope.
2418
- * @param resourceId Resource ID.
2419
- * @param remediationName The name of the remediation.
2420
- * @param options The options parameters.
2421
- */
2422
- getAtResource(resourceId: string, remediationName: string, options?: RemediationsGetAtResourceOptionalParams): Promise<RemediationsGetAtResourceResponse>;
2423
- /**
2424
- * Deletes an existing remediation at individual resource scope.
2425
- * @param resourceId Resource ID.
2426
- * @param remediationName The name of the remediation.
2427
- * @param options The options parameters.
2428
- */
2429
- deleteAtResource(resourceId: string, remediationName: string, options?: RemediationsDeleteAtResourceOptionalParams): Promise<RemediationsDeleteAtResourceResponse>;
2430
- }
2431
-
2432
- /** Optional parameters. */
2433
- export declare interface RemediationsCancelAtManagementGroupOptionalParams extends coreClient.OperationOptions {
2434
- }
2435
-
2436
- /** Contains response data for the cancelAtManagementGroup operation. */
2437
- export declare type RemediationsCancelAtManagementGroupResponse = Remediation;
2438
-
2439
- /** Optional parameters. */
2440
- export declare interface RemediationsCancelAtResourceGroupOptionalParams extends coreClient.OperationOptions {
2441
- }
2442
-
2443
- /** Contains response data for the cancelAtResourceGroup operation. */
2444
- export declare type RemediationsCancelAtResourceGroupResponse = Remediation;
2445
-
2446
- /** Optional parameters. */
2447
- export declare interface RemediationsCancelAtResourceOptionalParams extends coreClient.OperationOptions {
2448
- }
2449
-
2450
- /** Contains response data for the cancelAtResource operation. */
2451
- export declare type RemediationsCancelAtResourceResponse = Remediation;
2452
-
2453
- /** Optional parameters. */
2454
- export declare interface RemediationsCancelAtSubscriptionOptionalParams extends coreClient.OperationOptions {
2455
- }
2456
-
2457
- /** Contains response data for the cancelAtSubscription operation. */
2458
- export declare type RemediationsCancelAtSubscriptionResponse = Remediation;
2459
-
2460
- /** Optional parameters. */
2461
- export declare interface RemediationsCreateOrUpdateAtManagementGroupOptionalParams extends coreClient.OperationOptions {
2462
- }
2463
-
2464
- /** Contains response data for the createOrUpdateAtManagementGroup operation. */
2465
- export declare type RemediationsCreateOrUpdateAtManagementGroupResponse = Remediation;
2466
-
2467
- /** Optional parameters. */
2468
- export declare interface RemediationsCreateOrUpdateAtResourceGroupOptionalParams extends coreClient.OperationOptions {
2469
- }
2470
-
2471
- /** Contains response data for the createOrUpdateAtResourceGroup operation. */
2472
- export declare type RemediationsCreateOrUpdateAtResourceGroupResponse = Remediation;
2473
-
2474
- /** Optional parameters. */
2475
- export declare interface RemediationsCreateOrUpdateAtResourceOptionalParams extends coreClient.OperationOptions {
2476
- }
2477
-
2478
- /** Contains response data for the createOrUpdateAtResource operation. */
2479
- export declare type RemediationsCreateOrUpdateAtResourceResponse = Remediation;
2480
-
2481
- /** Optional parameters. */
2482
- export declare interface RemediationsCreateOrUpdateAtSubscriptionOptionalParams extends coreClient.OperationOptions {
2483
- }
2484
-
2485
- /** Contains response data for the createOrUpdateAtSubscription operation. */
2486
- export declare type RemediationsCreateOrUpdateAtSubscriptionResponse = Remediation;
2487
-
2488
- /** Optional parameters. */
2489
- export declare interface RemediationsDeleteAtManagementGroupOptionalParams extends coreClient.OperationOptions {
2490
- }
2491
-
2492
- /** Contains response data for the deleteAtManagementGroup operation. */
2493
- export declare type RemediationsDeleteAtManagementGroupResponse = Remediation;
2494
-
2495
- /** Optional parameters. */
2496
- export declare interface RemediationsDeleteAtResourceGroupOptionalParams extends coreClient.OperationOptions {
2497
- }
2498
-
2499
- /** Contains response data for the deleteAtResourceGroup operation. */
2500
- export declare type RemediationsDeleteAtResourceGroupResponse = Remediation;
2501
-
2502
- /** Optional parameters. */
2503
- export declare interface RemediationsDeleteAtResourceOptionalParams extends coreClient.OperationOptions {
2504
- }
2505
-
2506
- /** Contains response data for the deleteAtResource operation. */
2507
- export declare type RemediationsDeleteAtResourceResponse = Remediation;
2508
-
2509
- /** Optional parameters. */
2510
- export declare interface RemediationsDeleteAtSubscriptionOptionalParams extends coreClient.OperationOptions {
2511
- }
2512
-
2513
- /** Contains response data for the deleteAtSubscription operation. */
2514
- export declare type RemediationsDeleteAtSubscriptionResponse = Remediation;
2515
-
2516
- /** Optional parameters. */
2517
- export declare interface RemediationsGetAtManagementGroupOptionalParams extends coreClient.OperationOptions {
2518
- }
2519
-
2520
- /** Contains response data for the getAtManagementGroup operation. */
2521
- export declare type RemediationsGetAtManagementGroupResponse = Remediation;
2522
-
2523
- /** Optional parameters. */
2524
- export declare interface RemediationsGetAtResourceGroupOptionalParams extends coreClient.OperationOptions {
2525
- }
2526
-
2527
- /** Contains response data for the getAtResourceGroup operation. */
2528
- export declare type RemediationsGetAtResourceGroupResponse = Remediation;
2529
-
2530
- /** Optional parameters. */
2531
- export declare interface RemediationsGetAtResourceOptionalParams extends coreClient.OperationOptions {
2532
- }
2533
-
2534
- /** Contains response data for the getAtResource operation. */
2535
- export declare type RemediationsGetAtResourceResponse = Remediation;
2536
-
2537
- /** Optional parameters. */
2538
- export declare interface RemediationsGetAtSubscriptionOptionalParams extends coreClient.OperationOptions {
2539
- }
2540
-
2541
- /** Contains response data for the getAtSubscription operation. */
2542
- export declare type RemediationsGetAtSubscriptionResponse = Remediation;
2543
-
2544
- /** Optional parameters. */
2545
- export declare interface RemediationsListDeploymentsAtManagementGroupNextOptionalParams extends coreClient.OperationOptions {
2546
- /** Parameter group */
2547
- queryOptions?: QueryOptions;
2548
- }
2549
-
2550
- /** Contains response data for the listDeploymentsAtManagementGroupNext operation. */
2551
- export declare type RemediationsListDeploymentsAtManagementGroupNextResponse = RemediationDeploymentsListResult;
2552
-
2553
- /** Optional parameters. */
2554
- export declare interface RemediationsListDeploymentsAtManagementGroupOptionalParams extends coreClient.OperationOptions {
2555
- /** Parameter group */
2556
- queryOptions?: QueryOptions;
2557
- }
2558
-
2559
- /** Contains response data for the listDeploymentsAtManagementGroup operation. */
2560
- export declare type RemediationsListDeploymentsAtManagementGroupResponse = RemediationDeploymentsListResult;
2561
-
2562
- /** Optional parameters. */
2563
- export declare interface RemediationsListDeploymentsAtResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2564
- /** Parameter group */
2565
- queryOptions?: QueryOptions;
2566
- }
2567
-
2568
- /** Contains response data for the listDeploymentsAtResourceGroupNext operation. */
2569
- export declare type RemediationsListDeploymentsAtResourceGroupNextResponse = RemediationDeploymentsListResult;
2570
-
2571
- /** Optional parameters. */
2572
- export declare interface RemediationsListDeploymentsAtResourceGroupOptionalParams extends coreClient.OperationOptions {
2573
- /** Parameter group */
2574
- queryOptions?: QueryOptions;
2575
- }
2576
-
2577
- /** Contains response data for the listDeploymentsAtResourceGroup operation. */
2578
- export declare type RemediationsListDeploymentsAtResourceGroupResponse = RemediationDeploymentsListResult;
2579
-
2580
- /** Optional parameters. */
2581
- export declare interface RemediationsListDeploymentsAtResourceNextOptionalParams extends coreClient.OperationOptions {
2582
- /** Parameter group */
2583
- queryOptions?: QueryOptions;
2584
- }
2585
-
2586
- /** Contains response data for the listDeploymentsAtResourceNext operation. */
2587
- export declare type RemediationsListDeploymentsAtResourceNextResponse = RemediationDeploymentsListResult;
2588
-
2589
- /** Optional parameters. */
2590
- export declare interface RemediationsListDeploymentsAtResourceOptionalParams extends coreClient.OperationOptions {
2591
- /** Parameter group */
2592
- queryOptions?: QueryOptions;
2593
- }
2594
-
2595
- /** Contains response data for the listDeploymentsAtResource operation. */
2596
- export declare type RemediationsListDeploymentsAtResourceResponse = RemediationDeploymentsListResult;
2597
-
2598
- /** Optional parameters. */
2599
- export declare interface RemediationsListDeploymentsAtSubscriptionNextOptionalParams extends coreClient.OperationOptions {
2600
- /** Parameter group */
2601
- queryOptions?: QueryOptions;
2602
- }
2603
-
2604
- /** Contains response data for the listDeploymentsAtSubscriptionNext operation. */
2605
- export declare type RemediationsListDeploymentsAtSubscriptionNextResponse = RemediationDeploymentsListResult;
2606
-
2607
- /** Optional parameters. */
2608
- export declare interface RemediationsListDeploymentsAtSubscriptionOptionalParams extends coreClient.OperationOptions {
2609
- /** Parameter group */
2610
- queryOptions?: QueryOptions;
2611
- }
2612
-
2613
- /** Contains response data for the listDeploymentsAtSubscription operation. */
2614
- export declare type RemediationsListDeploymentsAtSubscriptionResponse = RemediationDeploymentsListResult;
2615
-
2616
- /** Optional parameters. */
2617
- export declare interface RemediationsListForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
2618
- /** Parameter group */
2619
- queryOptions?: QueryOptions;
2620
- }
2621
-
2622
- /** Contains response data for the listForManagementGroupNext operation. */
2623
- export declare type RemediationsListForManagementGroupNextResponse = RemediationListResult;
2624
-
2625
- /** Optional parameters. */
2626
- export declare interface RemediationsListForManagementGroupOptionalParams extends coreClient.OperationOptions {
2627
- /** Parameter group */
2628
- queryOptions?: QueryOptions;
2629
- }
2630
-
2631
- /** Contains response data for the listForManagementGroup operation. */
2632
- export declare type RemediationsListForManagementGroupResponse = RemediationListResult;
2633
-
2634
- /** Optional parameters. */
2635
- export declare interface RemediationsListForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2636
- /** Parameter group */
2637
- queryOptions?: QueryOptions;
2638
- }
2639
-
2640
- /** Contains response data for the listForResourceGroupNext operation. */
2641
- export declare type RemediationsListForResourceGroupNextResponse = RemediationListResult;
2642
-
2643
- /** Optional parameters. */
2644
- export declare interface RemediationsListForResourceGroupOptionalParams extends coreClient.OperationOptions {
2645
- /** Parameter group */
2646
- queryOptions?: QueryOptions;
2647
- }
2648
-
2649
- /** Contains response data for the listForResourceGroup operation. */
2650
- export declare type RemediationsListForResourceGroupResponse = RemediationListResult;
2651
-
2652
- /** Optional parameters. */
2653
- export declare interface RemediationsListForResourceNextOptionalParams extends coreClient.OperationOptions {
2654
- /** Parameter group */
2655
- queryOptions?: QueryOptions;
2656
- }
2657
-
2658
- /** Contains response data for the listForResourceNext operation. */
2659
- export declare type RemediationsListForResourceNextResponse = RemediationListResult;
2660
-
2661
- /** Optional parameters. */
2662
- export declare interface RemediationsListForResourceOptionalParams extends coreClient.OperationOptions {
2663
- /** Parameter group */
2664
- queryOptions?: QueryOptions;
2665
- }
2666
-
2667
- /** Contains response data for the listForResource operation. */
2668
- export declare type RemediationsListForResourceResponse = RemediationListResult;
2669
-
2670
- /** Optional parameters. */
2671
- export declare interface RemediationsListForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
2672
- /** Parameter group */
2673
- queryOptions?: QueryOptions;
2674
- }
2675
-
2676
- /** Contains response data for the listForSubscriptionNext operation. */
2677
- export declare type RemediationsListForSubscriptionNextResponse = RemediationListResult;
2678
-
2679
- /** Optional parameters. */
2680
- export declare interface RemediationsListForSubscriptionOptionalParams extends coreClient.OperationOptions {
2681
- /** Parameter group */
2682
- queryOptions?: QueryOptions;
2683
- }
2684
-
2685
- /** Contains response data for the listForSubscription operation. */
2686
- export declare type RemediationsListForSubscriptionResponse = RemediationListResult;
2687
-
2688
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
2689
- export declare interface Resource {
2690
- /**
2691
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
2692
- * NOTE: This property will not be serialized. It can only be populated by the server.
2693
- */
2694
- readonly id?: string;
2695
- /**
2696
- * The name of the resource
2697
- * NOTE: This property will not be serialized. It can only be populated by the server.
2698
- */
2699
- readonly name?: string;
2700
- /**
2701
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
2702
- * NOTE: This property will not be serialized. It can only be populated by the server.
2703
- */
2704
- readonly type?: string;
2705
- }
2706
-
2707
- /**
2708
- * Defines values for ResourceDiscoveryMode. \
2709
- * {@link KnownResourceDiscoveryMode} can be used interchangeably with ResourceDiscoveryMode,
2710
- * this enum contains the known values that the service supports.
2711
- * ### Known values supported by the service
2712
- * **ExistingNonCompliant**: Remediate resources that are already known to be non-compliant. \
2713
- * **ReEvaluateCompliance**: Re-evaluate the compliance state of resources and then remediate the resources found to be non-compliant.
2714
- */
2715
- export declare type ResourceDiscoveryMode = string;
2716
-
2717
- /** Slim version of policy metadata resource definition, excluding properties with large strings */
2718
- export declare interface SlimPolicyMetadata {
2719
- /**
2720
- * The ID of the policy metadata.
2721
- * NOTE: This property will not be serialized. It can only be populated by the server.
2722
- */
2723
- readonly id?: string;
2724
- /**
2725
- * The type of the policy metadata.
2726
- * NOTE: This property will not be serialized. It can only be populated by the server.
2727
- */
2728
- readonly type?: string;
2729
- /**
2730
- * The name of the policy metadata.
2731
- * NOTE: This property will not be serialized. It can only be populated by the server.
2732
- */
2733
- readonly name?: string;
2734
- /**
2735
- * The policy metadata identifier.
2736
- * NOTE: This property will not be serialized. It can only be populated by the server.
2737
- */
2738
- readonly metadataId?: string;
2739
- /**
2740
- * The category of the policy metadata.
2741
- * NOTE: This property will not be serialized. It can only be populated by the server.
2742
- */
2743
- readonly category?: string;
2744
- /**
2745
- * The title of the policy metadata.
2746
- * NOTE: This property will not be serialized. It can only be populated by the server.
2747
- */
2748
- readonly title?: string;
2749
- /**
2750
- * The owner of the policy metadata.
2751
- * NOTE: This property will not be serialized. It can only be populated by the server.
2752
- */
2753
- readonly owner?: string;
2754
- /**
2755
- * Url for getting additional content about the resource metadata.
2756
- * NOTE: This property will not be serialized. It can only be populated by the server.
2757
- */
2758
- readonly additionalContentUrl?: string;
2759
- /**
2760
- * Additional metadata.
2761
- * NOTE: This property will not be serialized. It can only be populated by the server.
2762
- */
2763
- readonly metadata?: Record<string, unknown>;
2764
- }
2765
-
2766
- /** Summarize action results. */
2767
- export declare interface SummarizeResults {
2768
- /** OData context string; used by OData clients to resolve type information based on metadata. */
2769
- odataContext?: string;
2770
- /** OData entity count; represents the number of summaries returned; always set to 1. */
2771
- odataCount?: number;
2772
- /** Summarize action results. */
2773
- value?: Summary[];
2774
- }
2775
-
2776
- /** Summary results. */
2777
- export declare interface Summary {
2778
- /** OData entity ID; always set to null since summaries do not have an entity ID. */
2779
- odataId?: string;
2780
- /** OData context string; used by OData clients to resolve type information based on metadata. */
2781
- odataContext?: string;
2782
- /** Compliance summary for all policy assignments. */
2783
- results?: SummaryResults;
2784
- /** Policy assignments summary. */
2785
- policyAssignments?: PolicyAssignmentSummary[];
2786
- }
2787
-
2788
- /** Compliance summary on a particular summary level. */
2789
- export declare interface SummaryResults {
2790
- /** HTTP POST URI for queryResults action on Microsoft.PolicyInsights to retrieve raw results for the compliance summary. This property will not be available by default in future API versions, but could be queried explicitly. */
2791
- queryResultsUri?: string;
2792
- /** Number of non-compliant resources. */
2793
- nonCompliantResources?: number;
2794
- /** Number of non-compliant policies. */
2795
- nonCompliantPolicies?: number;
2796
- /** The resources summary at this level. */
2797
- resourceDetails?: ComplianceDetail[];
2798
- /** The policy artifact summary at this level. For query scope level, it represents policy assignment summary. For policy assignment level, it represents policy definitions summary. */
2799
- policyDetails?: ComplianceDetail[];
2800
- /** The policy definition group summary at this level. */
2801
- policyGroupDetails?: ComplianceDetail[];
2802
- }
2803
-
2804
- /** Metadata pertaining to creation and last modification of the resource. */
2805
- export declare interface SystemData {
2806
- /** The identity that created the resource. */
2807
- createdBy?: string;
2808
- /** The type of identity that created the resource. */
2809
- createdByType?: CreatedByType;
2810
- /** The timestamp of resource creation (UTC). */
2811
- createdAt?: Date;
2812
- /** The identity that last modified the resource. */
2813
- lastModifiedBy?: string;
2814
- /** The type of identity that last modified the resource. */
2815
- lastModifiedByType?: CreatedByType;
2816
- /** The timestamp of resource last modification (UTC) */
2817
- lastModifiedAt?: Date;
2818
- }
2819
-
2820
- /** The details of the policy triggered deployment that created or modified the tracked resource. */
2821
- export declare interface TrackedResourceModificationDetails {
2822
- /**
2823
- * The details of the policy that created or modified the tracked resource.
2824
- * NOTE: This property will not be serialized. It can only be populated by the server.
2825
- */
2826
- readonly policyDetails?: PolicyDetails;
2827
- /**
2828
- * The ID of the deployment that created or modified the tracked resource.
2829
- * NOTE: This property will not be serialized. It can only be populated by the server.
2830
- */
2831
- readonly deploymentId?: string;
2832
- /**
2833
- * Timestamp of the deployment that created or modified the tracked resource.
2834
- * NOTE: This property will not be serialized. It can only be populated by the server.
2835
- */
2836
- readonly deploymentTime?: Date;
2837
- }
2838
-
2839
- /** Scenario specific error details. */
2840
- export declare interface TypedErrorInfo {
2841
- /**
2842
- * The type of included error details.
2843
- * NOTE: This property will not be serialized. It can only be populated by the server.
2844
- */
2845
- readonly type?: string;
2846
- /**
2847
- * The scenario specific error details.
2848
- * NOTE: This property will not be serialized. It can only be populated by the server.
2849
- */
2850
- readonly info?: any;
2851
- }
2852
-
2853
- export { }