@azure/arm-policy 5.2.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 (377) hide show
  1. package/CHANGELOG.md +15 -54
  2. package/README.md +1 -1
  3. package/dist/browser/models/index.d.ts +73 -564
  4. package/dist/browser/models/index.d.ts.map +1 -1
  5. package/dist/browser/models/index.js +14 -44
  6. package/dist/browser/models/index.js.map +1 -1
  7. package/dist/browser/models/mappers.d.ts +4 -22
  8. package/dist/browser/models/mappers.d.ts.map +1 -1
  9. package/dist/browser/models/mappers.js +473 -1172
  10. package/dist/browser/models/mappers.js.map +1 -1
  11. package/dist/browser/models/parameters.d.ts +6 -18
  12. package/dist/browser/models/parameters.d.ts.map +1 -1
  13. package/dist/browser/models/parameters.js +37 -136
  14. package/dist/browser/models/parameters.js.map +1 -1
  15. package/dist/browser/operations/index.d.ts +0 -4
  16. package/dist/browser/operations/index.d.ts.map +1 -1
  17. package/dist/browser/operations/index.js +0 -4
  18. package/dist/browser/operations/index.js.map +1 -1
  19. package/dist/browser/operations/policyAssignments.d.ts +4 -4
  20. package/dist/browser/operations/policyAssignments.d.ts.map +1 -1
  21. package/dist/browser/operations/policyAssignments.js +25 -73
  22. package/dist/browser/operations/policyAssignments.js.map +1 -1
  23. package/dist/browser/operations/policyDefinitionVersions.d.ts +4 -4
  24. package/dist/browser/operations/policyDefinitionVersions.d.ts.map +1 -1
  25. package/dist/browser/operations/policyDefinitionVersions.js +19 -27
  26. package/dist/browser/operations/policyDefinitionVersions.js.map +1 -1
  27. package/dist/browser/operations/policyDefinitions.d.ts +4 -4
  28. package/dist/browser/operations/policyDefinitions.d.ts.map +1 -1
  29. package/dist/browser/operations/policyDefinitions.js +20 -52
  30. package/dist/browser/operations/policyDefinitions.js.map +1 -1
  31. package/dist/browser/operations/policySetDefinitionVersions.d.ts +4 -4
  32. package/dist/browser/operations/policySetDefinitionVersions.d.ts.map +1 -1
  33. package/dist/browser/operations/policySetDefinitionVersions.js +18 -26
  34. package/dist/browser/operations/policySetDefinitionVersions.js.map +1 -1
  35. package/dist/browser/operations/policySetDefinitions.d.ts +4 -4
  36. package/dist/browser/operations/policySetDefinitions.d.ts.map +1 -1
  37. package/dist/browser/operations/policySetDefinitions.js +17 -52
  38. package/dist/browser/operations/policySetDefinitions.js.map +1 -1
  39. package/dist/browser/operationsInterfaces/index.d.ts +0 -4
  40. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  41. package/dist/browser/operationsInterfaces/index.js +0 -4
  42. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  43. package/dist/browser/operationsInterfaces/policyAssignments.d.ts +2 -2
  44. package/dist/browser/operationsInterfaces/policyAssignments.d.ts.map +1 -1
  45. package/dist/browser/operationsInterfaces/policyAssignments.js.map +1 -1
  46. package/dist/browser/operationsInterfaces/policyDefinitionVersions.d.ts +2 -2
  47. package/dist/browser/operationsInterfaces/policyDefinitionVersions.d.ts.map +1 -1
  48. package/dist/browser/operationsInterfaces/policyDefinitionVersions.js.map +1 -1
  49. package/dist/browser/operationsInterfaces/policyDefinitions.d.ts +2 -2
  50. package/dist/browser/operationsInterfaces/policyDefinitions.d.ts.map +1 -1
  51. package/dist/browser/operationsInterfaces/policyDefinitions.js.map +1 -1
  52. package/dist/browser/operationsInterfaces/policySetDefinitionVersions.d.ts +2 -2
  53. package/dist/browser/operationsInterfaces/policySetDefinitionVersions.d.ts.map +1 -1
  54. package/dist/browser/operationsInterfaces/policySetDefinitionVersions.js.map +1 -1
  55. package/dist/browser/operationsInterfaces/policySetDefinitions.d.ts +2 -2
  56. package/dist/browser/operationsInterfaces/policySetDefinitions.d.ts.map +1 -1
  57. package/dist/browser/operationsInterfaces/policySetDefinitions.js.map +1 -1
  58. package/dist/browser/pagingHelper.d.ts.map +1 -1
  59. package/dist/browser/pagingHelper.js.map +1 -1
  60. package/dist/browser/policyClient.d.ts +6 -7
  61. package/dist/browser/policyClient.d.ts.map +1 -1
  62. package/dist/browser/policyClient.js +30 -8
  63. package/dist/browser/policyClient.js.map +1 -1
  64. package/dist/commonjs/models/index.d.ts +73 -564
  65. package/dist/commonjs/models/index.d.ts.map +1 -1
  66. package/dist/commonjs/models/index.js +15 -45
  67. package/dist/commonjs/models/index.js.map +1 -1
  68. package/dist/commonjs/models/mappers.d.ts +4 -22
  69. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  70. package/dist/commonjs/models/mappers.js +474 -1173
  71. package/dist/commonjs/models/mappers.js.map +1 -1
  72. package/dist/commonjs/models/parameters.d.ts +6 -18
  73. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  74. package/dist/commonjs/models/parameters.js +37 -136
  75. package/dist/commonjs/models/parameters.js.map +1 -1
  76. package/dist/commonjs/operations/index.d.ts +0 -4
  77. package/dist/commonjs/operations/index.d.ts.map +1 -1
  78. package/dist/commonjs/operations/index.js +0 -4
  79. package/dist/commonjs/operations/index.js.map +1 -1
  80. package/dist/commonjs/operations/policyAssignments.d.ts +4 -4
  81. package/dist/commonjs/operations/policyAssignments.d.ts.map +1 -1
  82. package/dist/commonjs/operations/policyAssignments.js +25 -73
  83. package/dist/commonjs/operations/policyAssignments.js.map +1 -1
  84. package/dist/commonjs/operations/policyDefinitionVersions.d.ts +4 -4
  85. package/dist/commonjs/operations/policyDefinitionVersions.d.ts.map +1 -1
  86. package/dist/commonjs/operations/policyDefinitionVersions.js +19 -27
  87. package/dist/commonjs/operations/policyDefinitionVersions.js.map +1 -1
  88. package/dist/commonjs/operations/policyDefinitions.d.ts +4 -4
  89. package/dist/commonjs/operations/policyDefinitions.d.ts.map +1 -1
  90. package/dist/commonjs/operations/policyDefinitions.js +20 -52
  91. package/dist/commonjs/operations/policyDefinitions.js.map +1 -1
  92. package/dist/commonjs/operations/policySetDefinitionVersions.d.ts +4 -4
  93. package/dist/commonjs/operations/policySetDefinitionVersions.d.ts.map +1 -1
  94. package/dist/commonjs/operations/policySetDefinitionVersions.js +18 -26
  95. package/dist/commonjs/operations/policySetDefinitionVersions.js.map +1 -1
  96. package/dist/commonjs/operations/policySetDefinitions.d.ts +4 -4
  97. package/dist/commonjs/operations/policySetDefinitions.d.ts.map +1 -1
  98. package/dist/commonjs/operations/policySetDefinitions.js +17 -52
  99. package/dist/commonjs/operations/policySetDefinitions.js.map +1 -1
  100. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -4
  101. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  102. package/dist/commonjs/operationsInterfaces/index.js +0 -4
  103. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  104. package/dist/commonjs/operationsInterfaces/policyAssignments.d.ts +2 -2
  105. package/dist/commonjs/operationsInterfaces/policyAssignments.d.ts.map +1 -1
  106. package/dist/commonjs/operationsInterfaces/policyAssignments.js.map +1 -1
  107. package/dist/commonjs/operationsInterfaces/policyDefinitionVersions.d.ts +2 -2
  108. package/dist/commonjs/operationsInterfaces/policyDefinitionVersions.d.ts.map +1 -1
  109. package/dist/commonjs/operationsInterfaces/policyDefinitionVersions.js.map +1 -1
  110. package/dist/commonjs/operationsInterfaces/policyDefinitions.d.ts +2 -2
  111. package/dist/commonjs/operationsInterfaces/policyDefinitions.d.ts.map +1 -1
  112. package/dist/commonjs/operationsInterfaces/policyDefinitions.js.map +1 -1
  113. package/dist/commonjs/operationsInterfaces/policySetDefinitionVersions.d.ts +2 -2
  114. package/dist/commonjs/operationsInterfaces/policySetDefinitionVersions.d.ts.map +1 -1
  115. package/dist/commonjs/operationsInterfaces/policySetDefinitionVersions.js.map +1 -1
  116. package/dist/commonjs/operationsInterfaces/policySetDefinitions.d.ts +2 -2
  117. package/dist/commonjs/operationsInterfaces/policySetDefinitions.d.ts.map +1 -1
  118. package/dist/commonjs/operationsInterfaces/policySetDefinitions.js.map +1 -1
  119. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  120. package/dist/commonjs/pagingHelper.js.map +1 -1
  121. package/dist/commonjs/policyClient.d.ts +6 -7
  122. package/dist/commonjs/policyClient.d.ts.map +1 -1
  123. package/dist/commonjs/policyClient.js +29 -7
  124. package/dist/commonjs/policyClient.js.map +1 -1
  125. package/dist/commonjs/tsdoc-metadata.json +1 -1
  126. package/dist/esm/models/index.d.ts +73 -564
  127. package/dist/esm/models/index.d.ts.map +1 -1
  128. package/dist/esm/models/index.js +14 -44
  129. package/dist/esm/models/index.js.map +1 -1
  130. package/dist/esm/models/mappers.d.ts +4 -22
  131. package/dist/esm/models/mappers.d.ts.map +1 -1
  132. package/dist/esm/models/mappers.js +473 -1172
  133. package/dist/esm/models/mappers.js.map +1 -1
  134. package/dist/esm/models/parameters.d.ts +6 -18
  135. package/dist/esm/models/parameters.d.ts.map +1 -1
  136. package/dist/esm/models/parameters.js +37 -136
  137. package/dist/esm/models/parameters.js.map +1 -1
  138. package/dist/esm/operations/index.d.ts +0 -4
  139. package/dist/esm/operations/index.d.ts.map +1 -1
  140. package/dist/esm/operations/index.js +0 -4
  141. package/dist/esm/operations/index.js.map +1 -1
  142. package/dist/esm/operations/policyAssignments.d.ts +4 -4
  143. package/dist/esm/operations/policyAssignments.d.ts.map +1 -1
  144. package/dist/esm/operations/policyAssignments.js +25 -73
  145. package/dist/esm/operations/policyAssignments.js.map +1 -1
  146. package/dist/esm/operations/policyDefinitionVersions.d.ts +4 -4
  147. package/dist/esm/operations/policyDefinitionVersions.d.ts.map +1 -1
  148. package/dist/esm/operations/policyDefinitionVersions.js +19 -27
  149. package/dist/esm/operations/policyDefinitionVersions.js.map +1 -1
  150. package/dist/esm/operations/policyDefinitions.d.ts +4 -4
  151. package/dist/esm/operations/policyDefinitions.d.ts.map +1 -1
  152. package/dist/esm/operations/policyDefinitions.js +20 -52
  153. package/dist/esm/operations/policyDefinitions.js.map +1 -1
  154. package/dist/esm/operations/policySetDefinitionVersions.d.ts +4 -4
  155. package/dist/esm/operations/policySetDefinitionVersions.d.ts.map +1 -1
  156. package/dist/esm/operations/policySetDefinitionVersions.js +18 -26
  157. package/dist/esm/operations/policySetDefinitionVersions.js.map +1 -1
  158. package/dist/esm/operations/policySetDefinitions.d.ts +4 -4
  159. package/dist/esm/operations/policySetDefinitions.d.ts.map +1 -1
  160. package/dist/esm/operations/policySetDefinitions.js +17 -52
  161. package/dist/esm/operations/policySetDefinitions.js.map +1 -1
  162. package/dist/esm/operationsInterfaces/index.d.ts +0 -4
  163. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  164. package/dist/esm/operationsInterfaces/index.js +0 -4
  165. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  166. package/dist/esm/operationsInterfaces/policyAssignments.d.ts +2 -2
  167. package/dist/esm/operationsInterfaces/policyAssignments.d.ts.map +1 -1
  168. package/dist/esm/operationsInterfaces/policyAssignments.js.map +1 -1
  169. package/dist/esm/operationsInterfaces/policyDefinitionVersions.d.ts +2 -2
  170. package/dist/esm/operationsInterfaces/policyDefinitionVersions.d.ts.map +1 -1
  171. package/dist/esm/operationsInterfaces/policyDefinitionVersions.js.map +1 -1
  172. package/dist/esm/operationsInterfaces/policyDefinitions.d.ts +2 -2
  173. package/dist/esm/operationsInterfaces/policyDefinitions.d.ts.map +1 -1
  174. package/dist/esm/operationsInterfaces/policyDefinitions.js.map +1 -1
  175. package/dist/esm/operationsInterfaces/policySetDefinitionVersions.d.ts +2 -2
  176. package/dist/esm/operationsInterfaces/policySetDefinitionVersions.d.ts.map +1 -1
  177. package/dist/esm/operationsInterfaces/policySetDefinitionVersions.js.map +1 -1
  178. package/dist/esm/operationsInterfaces/policySetDefinitions.d.ts +2 -2
  179. package/dist/esm/operationsInterfaces/policySetDefinitions.d.ts.map +1 -1
  180. package/dist/esm/operationsInterfaces/policySetDefinitions.js.map +1 -1
  181. package/dist/esm/pagingHelper.d.ts.map +1 -1
  182. package/dist/esm/pagingHelper.js.map +1 -1
  183. package/dist/esm/policyClient.d.ts +6 -7
  184. package/dist/esm/policyClient.d.ts.map +1 -1
  185. package/dist/esm/policyClient.js +30 -8
  186. package/dist/esm/policyClient.js.map +1 -1
  187. package/dist/react-native/models/index.d.ts +73 -564
  188. package/dist/react-native/models/index.d.ts.map +1 -1
  189. package/dist/react-native/models/index.js +14 -44
  190. package/dist/react-native/models/index.js.map +1 -1
  191. package/dist/react-native/models/mappers.d.ts +4 -22
  192. package/dist/react-native/models/mappers.d.ts.map +1 -1
  193. package/dist/react-native/models/mappers.js +473 -1172
  194. package/dist/react-native/models/mappers.js.map +1 -1
  195. package/dist/react-native/models/parameters.d.ts +6 -18
  196. package/dist/react-native/models/parameters.d.ts.map +1 -1
  197. package/dist/react-native/models/parameters.js +37 -136
  198. package/dist/react-native/models/parameters.js.map +1 -1
  199. package/dist/react-native/operations/index.d.ts +0 -4
  200. package/dist/react-native/operations/index.d.ts.map +1 -1
  201. package/dist/react-native/operations/index.js +0 -4
  202. package/dist/react-native/operations/index.js.map +1 -1
  203. package/dist/react-native/operations/policyAssignments.d.ts +4 -4
  204. package/dist/react-native/operations/policyAssignments.d.ts.map +1 -1
  205. package/dist/react-native/operations/policyAssignments.js +25 -73
  206. package/dist/react-native/operations/policyAssignments.js.map +1 -1
  207. package/dist/react-native/operations/policyDefinitionVersions.d.ts +4 -4
  208. package/dist/react-native/operations/policyDefinitionVersions.d.ts.map +1 -1
  209. package/dist/react-native/operations/policyDefinitionVersions.js +19 -27
  210. package/dist/react-native/operations/policyDefinitionVersions.js.map +1 -1
  211. package/dist/react-native/operations/policyDefinitions.d.ts +4 -4
  212. package/dist/react-native/operations/policyDefinitions.d.ts.map +1 -1
  213. package/dist/react-native/operations/policyDefinitions.js +20 -52
  214. package/dist/react-native/operations/policyDefinitions.js.map +1 -1
  215. package/dist/react-native/operations/policySetDefinitionVersions.d.ts +4 -4
  216. package/dist/react-native/operations/policySetDefinitionVersions.d.ts.map +1 -1
  217. package/dist/react-native/operations/policySetDefinitionVersions.js +18 -26
  218. package/dist/react-native/operations/policySetDefinitionVersions.js.map +1 -1
  219. package/dist/react-native/operations/policySetDefinitions.d.ts +4 -4
  220. package/dist/react-native/operations/policySetDefinitions.d.ts.map +1 -1
  221. package/dist/react-native/operations/policySetDefinitions.js +17 -52
  222. package/dist/react-native/operations/policySetDefinitions.js.map +1 -1
  223. package/dist/react-native/operationsInterfaces/index.d.ts +0 -4
  224. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  225. package/dist/react-native/operationsInterfaces/index.js +0 -4
  226. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  227. package/dist/react-native/operationsInterfaces/policyAssignments.d.ts +2 -2
  228. package/dist/react-native/operationsInterfaces/policyAssignments.d.ts.map +1 -1
  229. package/dist/react-native/operationsInterfaces/policyAssignments.js.map +1 -1
  230. package/dist/react-native/operationsInterfaces/policyDefinitionVersions.d.ts +2 -2
  231. package/dist/react-native/operationsInterfaces/policyDefinitionVersions.d.ts.map +1 -1
  232. package/dist/react-native/operationsInterfaces/policyDefinitionVersions.js.map +1 -1
  233. package/dist/react-native/operationsInterfaces/policyDefinitions.d.ts +2 -2
  234. package/dist/react-native/operationsInterfaces/policyDefinitions.d.ts.map +1 -1
  235. package/dist/react-native/operationsInterfaces/policyDefinitions.js.map +1 -1
  236. package/dist/react-native/operationsInterfaces/policySetDefinitionVersions.d.ts +2 -2
  237. package/dist/react-native/operationsInterfaces/policySetDefinitionVersions.d.ts.map +1 -1
  238. package/dist/react-native/operationsInterfaces/policySetDefinitionVersions.js.map +1 -1
  239. package/dist/react-native/operationsInterfaces/policySetDefinitions.d.ts +2 -2
  240. package/dist/react-native/operationsInterfaces/policySetDefinitions.d.ts.map +1 -1
  241. package/dist/react-native/operationsInterfaces/policySetDefinitions.js.map +1 -1
  242. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  243. package/dist/react-native/pagingHelper.js.map +1 -1
  244. package/dist/react-native/policyClient.d.ts +6 -7
  245. package/dist/react-native/policyClient.d.ts.map +1 -1
  246. package/dist/react-native/policyClient.js +30 -8
  247. package/dist/react-native/policyClient.js.map +1 -1
  248. package/package.json +40 -42
  249. package/review/arm-policy.api.md +11 -470
  250. package/dist/browser/operations/dataPolicyManifests.d.ts +0 -46
  251. package/dist/browser/operations/dataPolicyManifests.d.ts.map +0 -1
  252. package/dist/browser/operations/dataPolicyManifests.js +0 -165
  253. package/dist/browser/operations/dataPolicyManifests.js.map +0 -1
  254. package/dist/browser/operations/policyExemptions.d.ts +0 -222
  255. package/dist/browser/operations/policyExemptions.d.ts.map +0 -1
  256. package/dist/browser/operations/policyExemptions.js +0 -733
  257. package/dist/browser/operations/policyExemptions.js.map +0 -1
  258. package/dist/browser/operations/variableValues.d.ts +0 -118
  259. package/dist/browser/operations/variableValues.d.ts.map +0 -1
  260. package/dist/browser/operations/variableValues.js +0 -478
  261. package/dist/browser/operations/variableValues.js.map +0 -1
  262. package/dist/browser/operations/variables.d.ts +0 -101
  263. package/dist/browser/operations/variables.d.ts.map +0 -1
  264. package/dist/browser/operations/variables.js +0 -439
  265. package/dist/browser/operations/variables.js.map +0 -1
  266. package/dist/browser/operationsInterfaces/dataPolicyManifests.d.ts +0 -21
  267. package/dist/browser/operationsInterfaces/dataPolicyManifests.d.ts.map +0 -1
  268. package/dist/browser/operationsInterfaces/dataPolicyManifests.js +0 -9
  269. package/dist/browser/operationsInterfaces/dataPolicyManifests.js.map +0 -1
  270. package/dist/browser/operationsInterfaces/policyExemptions.d.ts +0 -115
  271. package/dist/browser/operationsInterfaces/policyExemptions.d.ts.map +0 -1
  272. package/dist/browser/operationsInterfaces/policyExemptions.js +0 -9
  273. package/dist/browser/operationsInterfaces/policyExemptions.js.map +0 -1
  274. package/dist/browser/operationsInterfaces/variableValues.d.ts +0 -76
  275. package/dist/browser/operationsInterfaces/variableValues.d.ts.map +0 -1
  276. package/dist/browser/operationsInterfaces/variableValues.js +0 -9
  277. package/dist/browser/operationsInterfaces/variableValues.js.map +0 -1
  278. package/dist/browser/operationsInterfaces/variables.d.ts +0 -65
  279. package/dist/browser/operationsInterfaces/variables.d.ts.map +0 -1
  280. package/dist/browser/operationsInterfaces/variables.js +0 -9
  281. package/dist/browser/operationsInterfaces/variables.js.map +0 -1
  282. package/dist/commonjs/operations/dataPolicyManifests.d.ts +0 -46
  283. package/dist/commonjs/operations/dataPolicyManifests.d.ts.map +0 -1
  284. package/dist/commonjs/operations/dataPolicyManifests.js +0 -169
  285. package/dist/commonjs/operations/dataPolicyManifests.js.map +0 -1
  286. package/dist/commonjs/operations/policyExemptions.d.ts +0 -222
  287. package/dist/commonjs/operations/policyExemptions.d.ts.map +0 -1
  288. package/dist/commonjs/operations/policyExemptions.js +0 -737
  289. package/dist/commonjs/operations/policyExemptions.js.map +0 -1
  290. package/dist/commonjs/operations/variableValues.d.ts +0 -118
  291. package/dist/commonjs/operations/variableValues.d.ts.map +0 -1
  292. package/dist/commonjs/operations/variableValues.js +0 -482
  293. package/dist/commonjs/operations/variableValues.js.map +0 -1
  294. package/dist/commonjs/operations/variables.d.ts +0 -101
  295. package/dist/commonjs/operations/variables.d.ts.map +0 -1
  296. package/dist/commonjs/operations/variables.js +0 -443
  297. package/dist/commonjs/operations/variables.js.map +0 -1
  298. package/dist/commonjs/operationsInterfaces/dataPolicyManifests.d.ts +0 -21
  299. package/dist/commonjs/operationsInterfaces/dataPolicyManifests.d.ts.map +0 -1
  300. package/dist/commonjs/operationsInterfaces/dataPolicyManifests.js +0 -10
  301. package/dist/commonjs/operationsInterfaces/dataPolicyManifests.js.map +0 -1
  302. package/dist/commonjs/operationsInterfaces/policyExemptions.d.ts +0 -115
  303. package/dist/commonjs/operationsInterfaces/policyExemptions.d.ts.map +0 -1
  304. package/dist/commonjs/operationsInterfaces/policyExemptions.js +0 -10
  305. package/dist/commonjs/operationsInterfaces/policyExemptions.js.map +0 -1
  306. package/dist/commonjs/operationsInterfaces/variableValues.d.ts +0 -76
  307. package/dist/commonjs/operationsInterfaces/variableValues.d.ts.map +0 -1
  308. package/dist/commonjs/operationsInterfaces/variableValues.js +0 -10
  309. package/dist/commonjs/operationsInterfaces/variableValues.js.map +0 -1
  310. package/dist/commonjs/operationsInterfaces/variables.d.ts +0 -65
  311. package/dist/commonjs/operationsInterfaces/variables.d.ts.map +0 -1
  312. package/dist/commonjs/operationsInterfaces/variables.js +0 -10
  313. package/dist/commonjs/operationsInterfaces/variables.js.map +0 -1
  314. package/dist/esm/operations/dataPolicyManifests.d.ts +0 -46
  315. package/dist/esm/operations/dataPolicyManifests.d.ts.map +0 -1
  316. package/dist/esm/operations/dataPolicyManifests.js +0 -165
  317. package/dist/esm/operations/dataPolicyManifests.js.map +0 -1
  318. package/dist/esm/operations/policyExemptions.d.ts +0 -222
  319. package/dist/esm/operations/policyExemptions.d.ts.map +0 -1
  320. package/dist/esm/operations/policyExemptions.js +0 -733
  321. package/dist/esm/operations/policyExemptions.js.map +0 -1
  322. package/dist/esm/operations/variableValues.d.ts +0 -118
  323. package/dist/esm/operations/variableValues.d.ts.map +0 -1
  324. package/dist/esm/operations/variableValues.js +0 -478
  325. package/dist/esm/operations/variableValues.js.map +0 -1
  326. package/dist/esm/operations/variables.d.ts +0 -101
  327. package/dist/esm/operations/variables.d.ts.map +0 -1
  328. package/dist/esm/operations/variables.js +0 -439
  329. package/dist/esm/operations/variables.js.map +0 -1
  330. package/dist/esm/operationsInterfaces/dataPolicyManifests.d.ts +0 -21
  331. package/dist/esm/operationsInterfaces/dataPolicyManifests.d.ts.map +0 -1
  332. package/dist/esm/operationsInterfaces/dataPolicyManifests.js +0 -9
  333. package/dist/esm/operationsInterfaces/dataPolicyManifests.js.map +0 -1
  334. package/dist/esm/operationsInterfaces/policyExemptions.d.ts +0 -115
  335. package/dist/esm/operationsInterfaces/policyExemptions.d.ts.map +0 -1
  336. package/dist/esm/operationsInterfaces/policyExemptions.js +0 -9
  337. package/dist/esm/operationsInterfaces/policyExemptions.js.map +0 -1
  338. package/dist/esm/operationsInterfaces/variableValues.d.ts +0 -76
  339. package/dist/esm/operationsInterfaces/variableValues.d.ts.map +0 -1
  340. package/dist/esm/operationsInterfaces/variableValues.js +0 -9
  341. package/dist/esm/operationsInterfaces/variableValues.js.map +0 -1
  342. package/dist/esm/operationsInterfaces/variables.d.ts +0 -65
  343. package/dist/esm/operationsInterfaces/variables.d.ts.map +0 -1
  344. package/dist/esm/operationsInterfaces/variables.js +0 -9
  345. package/dist/esm/operationsInterfaces/variables.js.map +0 -1
  346. package/dist/react-native/operations/dataPolicyManifests.d.ts +0 -46
  347. package/dist/react-native/operations/dataPolicyManifests.d.ts.map +0 -1
  348. package/dist/react-native/operations/dataPolicyManifests.js +0 -165
  349. package/dist/react-native/operations/dataPolicyManifests.js.map +0 -1
  350. package/dist/react-native/operations/policyExemptions.d.ts +0 -222
  351. package/dist/react-native/operations/policyExemptions.d.ts.map +0 -1
  352. package/dist/react-native/operations/policyExemptions.js +0 -733
  353. package/dist/react-native/operations/policyExemptions.js.map +0 -1
  354. package/dist/react-native/operations/variableValues.d.ts +0 -118
  355. package/dist/react-native/operations/variableValues.d.ts.map +0 -1
  356. package/dist/react-native/operations/variableValues.js +0 -478
  357. package/dist/react-native/operations/variableValues.js.map +0 -1
  358. package/dist/react-native/operations/variables.d.ts +0 -101
  359. package/dist/react-native/operations/variables.d.ts.map +0 -1
  360. package/dist/react-native/operations/variables.js +0 -439
  361. package/dist/react-native/operations/variables.js.map +0 -1
  362. package/dist/react-native/operationsInterfaces/dataPolicyManifests.d.ts +0 -21
  363. package/dist/react-native/operationsInterfaces/dataPolicyManifests.d.ts.map +0 -1
  364. package/dist/react-native/operationsInterfaces/dataPolicyManifests.js +0 -9
  365. package/dist/react-native/operationsInterfaces/dataPolicyManifests.js.map +0 -1
  366. package/dist/react-native/operationsInterfaces/policyExemptions.d.ts +0 -115
  367. package/dist/react-native/operationsInterfaces/policyExemptions.d.ts.map +0 -1
  368. package/dist/react-native/operationsInterfaces/policyExemptions.js +0 -9
  369. package/dist/react-native/operationsInterfaces/policyExemptions.js.map +0 -1
  370. package/dist/react-native/operationsInterfaces/variableValues.d.ts +0 -76
  371. package/dist/react-native/operationsInterfaces/variableValues.d.ts.map +0 -1
  372. package/dist/react-native/operationsInterfaces/variableValues.js +0 -9
  373. package/dist/react-native/operationsInterfaces/variableValues.js.map +0 -1
  374. package/dist/react-native/operationsInterfaces/variables.d.ts +0 -65
  375. package/dist/react-native/operationsInterfaces/variables.d.ts.map +0 -1
  376. package/dist/react-native/operationsInterfaces/variables.js +0 -9
  377. package/dist/react-native/operationsInterfaces/variables.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"policyAssignments.js","sourceRoot":"","sources":["../../../src/operations/policyAssignments.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAuCtD,4CAA4C;AAC5C,qDAAqD;AACrD,MAAa,qBAAqB;IAGhC;;;OAGG;IACH,YAAY,MAAoB;QAC9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACI,oBAAoB,CACzB,iBAAyB,EACzB,OAA6D;QAE7D,MAAM,IAAI,GAAG,IAAI,CAAC,6BAA6B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC5E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,8BAA8B,CACxC,iBAAiB,EACjB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,8BAA8B,CAC3C,iBAAyB,EACzB,OAA6D,EAC7D,QAAuB;;YAEvB,IAAI,MAAqD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ACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uCAAuC,GAA6B;IACxE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { PolicyAssignments } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { PolicyClient } from \"../policyClient.js\";\nimport {\n PolicyAssignment,\n PolicyAssignmentsListForResourceGroupNextOptionalParams,\n PolicyAssignmentsListForResourceGroupOptionalParams,\n PolicyAssignmentsListForResourceGroupResponse,\n PolicyAssignmentsListForResourceNextOptionalParams,\n PolicyAssignmentsListForResourceOptionalParams,\n PolicyAssignmentsListForResourceResponse,\n PolicyAssignmentsListForManagementGroupNextOptionalParams,\n PolicyAssignmentsListForManagementGroupOptionalParams,\n PolicyAssignmentsListForManagementGroupResponse,\n PolicyAssignmentsListNextOptionalParams,\n PolicyAssignmentsListOptionalParams,\n PolicyAssignmentsListResponse,\n PolicyAssignmentsDeleteOptionalParams,\n PolicyAssignmentsDeleteResponse,\n PolicyAssignmentsCreateOptionalParams,\n PolicyAssignmentsCreateResponse,\n PolicyAssignmentsGetOptionalParams,\n PolicyAssignmentsGetResponse,\n PolicyAssignmentUpdate,\n PolicyAssignmentsUpdateOptionalParams,\n PolicyAssignmentsUpdateResponse,\n PolicyAssignmentsDeleteByIdOptionalParams,\n PolicyAssignmentsDeleteByIdResponse,\n PolicyAssignmentsCreateByIdOptionalParams,\n PolicyAssignmentsCreateByIdResponse,\n PolicyAssignmentsGetByIdOptionalParams,\n PolicyAssignmentsGetByIdResponse,\n PolicyAssignmentsUpdateByIdOptionalParams,\n PolicyAssignmentsUpdateByIdResponse,\n PolicyAssignmentsListForResourceGroupNextResponse,\n PolicyAssignmentsListForResourceNextResponse,\n PolicyAssignmentsListForManagementGroupNextResponse,\n PolicyAssignmentsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PolicyAssignments operations. */\nexport class PolicyAssignmentsImpl implements PolicyAssignments {\n private readonly client: PolicyClient;\n\n /**\n * Initialize a new instance of the class PolicyAssignments class.\n * @param client Reference to the service client\n */\n constructor(client: PolicyClient) {\n this.client = client;\n }\n\n /**\n * This operation retrieves the list of all policy assignments associated with the given resource group\n * in the given subscription that match the optional given $filter. Valid values for $filter are:\n * 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the\n * unfiltered list includes all policy assignments associated with the resource group, including those\n * that apply directly or apply from containing scopes, as well as any applied to resources contained\n * within the resource group. If $filter=atScope() is provided, the returned list includes all policy\n * assignments that apply to the resource group, which is everything in the unfiltered list except\n * those applied to resources contained within the resource group. If $filter=atExactScope() is\n * provided, the returned list only includes all policy assignments that at the resource group. If\n * $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy\n * assignments of the policy definition whose id is {value} that apply to the resource group.\n * @param resourceGroupName The name of the resource group that contains policy assignments.\n * @param options The options parameters.\n */\n public listForResourceGroup(\n resourceGroupName: string,\n options?: PolicyAssignmentsListForResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<PolicyAssignment> {\n const iter = this.listForResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listForResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listForResourceGroupPagingPage(\n resourceGroupName: string,\n options?: PolicyAssignmentsListForResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PolicyAssignment[]> {\n let result: PolicyAssignmentsListForResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listForResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listForResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listForResourceGroupPagingAll(\n resourceGroupName: string,\n options?: PolicyAssignmentsListForResourceGroupOptionalParams,\n ): AsyncIterableIterator<PolicyAssignment> {\n for await (const page of this.listForResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * This operation retrieves the list of all policy assignments associated with the specified resource\n * in the given resource group and subscription that match the optional given $filter. Valid values for\n * $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not\n * provided, the unfiltered list includes all policy assignments associated with the resource,\n * including those that apply directly or from all containing scopes, as well as any applied to\n * resources contained within the resource. If $filter=atScope() is provided, the returned list\n * includes all policy assignments that apply to the resource, which is everything in the unfiltered\n * list except those applied to resources contained within the resource. If $filter=atExactScope() is\n * provided, the returned list only includes all policy assignments that at the resource level. If\n * $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy\n * assignments of the policy definition whose id is {value} that apply to the resource. Three\n * parameters plus the resource name are used to identify a specific resource. If the resource is not\n * part of a parent resource (the more common case), the parent resource path should not be provided\n * (or provided as ''). For example a web app could be specified as ({resourceProviderNamespace} ==\n * 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites', {resourceName} ==\n * 'MyWebApp'). If the resource is part of a parent resource, then all parameters should be provided.\n * For example a virtual machine DNS name could be specified as ({resourceProviderNamespace} ==\n * 'Microsoft.Compute', {parentResourcePath} == 'virtualMachines/MyVirtualMachine', {resourceType} ==\n * 'domainNames', {resourceName} == 'MyComputerName'). A convenient alternative to providing the\n * namespace and type name separately is to provide both in the {resourceType} parameter, format:\n * ({resourceProviderNamespace} == '', {parentResourcePath} == '', {resourceType} ==\n * 'Microsoft.Web/sites', {resourceName} == 'MyWebApp').\n * @param resourceGroupName The name of the resource group containing the resource.\n * @param resourceProviderNamespace The namespace of the resource provider. For example, the namespace\n * of a virtual machine is Microsoft.Compute (from Microsoft.Compute/virtualMachines)\n * @param parentResourcePath The parent resource path. Use empty string if there is none.\n * @param resourceType The resource type name. For example the type name of a web app is 'sites' (from\n * Microsoft.Web/sites).\n * @param resourceName The name of the resource.\n * @param options The options parameters.\n */\n public listForResource(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: PolicyAssignmentsListForResourceOptionalParams,\n ): PagedAsyncIterableIterator<PolicyAssignment> {\n const iter = this.listForResourcePagingAll(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listForResourcePagingPage(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listForResourcePagingPage(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: PolicyAssignmentsListForResourceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PolicyAssignment[]> {\n let result: PolicyAssignmentsListForResourceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listForResource(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listForResourceNext(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listForResourcePagingAll(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: PolicyAssignmentsListForResourceOptionalParams,\n ): AsyncIterableIterator<PolicyAssignment> {\n for await (const page of this.listForResourcePagingPage(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * This operation retrieves the list of all policy assignments applicable to the management group that\n * match the given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()' or\n * 'policyDefinitionId eq '{value}''. If $filter=atScope() is provided, the returned list includes all\n * policy assignments that are assigned to the management group or the management group's ancestors. If\n * $filter=atExactScope() is provided, the returned list only includes all policy assignments that at\n * the management group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list\n * includes all policy assignments of the policy definition whose id is {value} that apply to the\n * management group.\n * @param managementGroupId The ID of the management group.\n * @param options The options parameters.\n */\n public listForManagementGroup(\n managementGroupId: string,\n options?: PolicyAssignmentsListForManagementGroupOptionalParams,\n ): PagedAsyncIterableIterator<PolicyAssignment> {\n const iter = this.listForManagementGroupPagingAll(\n managementGroupId,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listForManagementGroupPagingPage(\n managementGroupId,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listForManagementGroupPagingPage(\n managementGroupId: string,\n options?: PolicyAssignmentsListForManagementGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PolicyAssignment[]> {\n let result: PolicyAssignmentsListForManagementGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listForManagementGroup(managementGroupId, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listForManagementGroupNext(\n managementGroupId,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listForManagementGroupPagingAll(\n managementGroupId: string,\n options?: PolicyAssignmentsListForManagementGroupOptionalParams,\n ): AsyncIterableIterator<PolicyAssignment> {\n for await (const page of this.listForManagementGroupPagingPage(\n managementGroupId,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * This operation retrieves the list of all policy assignments associated with the given subscription\n * that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()'\n * or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all\n * policy assignments associated with the subscription, including those that apply directly or from\n * management groups that contain the given subscription, as well as any applied to objects contained\n * within the subscription. If $filter=atScope() is provided, the returned list includes all policy\n * assignments that apply to the subscription, which is everything in the unfiltered list except those\n * applied to objects contained within the subscription. If $filter=atExactScope() is provided, the\n * returned list only includes all policy assignments that at the subscription. If\n * $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy\n * assignments of the policy definition whose id is {value}.\n * @param options The options parameters.\n */\n public list(\n options?: PolicyAssignmentsListOptionalParams,\n ): PagedAsyncIterableIterator<PolicyAssignment> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: PolicyAssignmentsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PolicyAssignment[]> {\n let result: PolicyAssignmentsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: PolicyAssignmentsListOptionalParams,\n ): AsyncIterableIterator<PolicyAssignment> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * This operation deletes a policy assignment, given its name and the scope it was created in. The\n * scope of a policy assignment is the part of its ID preceding\n * '/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.\n * @param scope The scope of the policy assignment. Valid scopes are: management group (format:\n * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:\n * '/subscriptions/{subscriptionId}'), resource group (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'\n * @param policyAssignmentName The name of the policy assignment to delete.\n * @param options The options parameters.\n */\n delete(\n scope: string,\n policyAssignmentName: string,\n options?: PolicyAssignmentsDeleteOptionalParams,\n ): Promise<PolicyAssignmentsDeleteResponse> {\n return this.client.sendOperationRequest(\n { scope, policyAssignmentName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * This operation creates or updates a policy assignment with the given scope and name. Policy\n * assignments apply to all resources contained within their scope. For example, when you assign a\n * policy at resource group scope, that policy applies to all resources in the group.\n * @param scope The scope of the policy assignment. Valid scopes are: management group (format:\n * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:\n * '/subscriptions/{subscriptionId}'), resource group (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'\n * @param policyAssignmentName The name of the policy assignment.\n * @param parameters Parameters for the policy assignment.\n * @param options The options parameters.\n */\n create(\n scope: string,\n policyAssignmentName: string,\n parameters: PolicyAssignment,\n options?: PolicyAssignmentsCreateOptionalParams,\n ): Promise<PolicyAssignmentsCreateResponse> {\n return this.client.sendOperationRequest(\n { scope, policyAssignmentName, parameters, options },\n createOperationSpec,\n );\n }\n\n /**\n * This operation retrieves a single policy assignment, given its name and the scope it was created at.\n * @param scope The scope of the policy assignment. Valid scopes are: management group (format:\n * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:\n * '/subscriptions/{subscriptionId}'), resource group (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'\n * @param policyAssignmentName The name of the policy assignment to get.\n * @param options The options parameters.\n */\n get(\n scope: string,\n policyAssignmentName: string,\n options?: PolicyAssignmentsGetOptionalParams,\n ): Promise<PolicyAssignmentsGetResponse> {\n return this.client.sendOperationRequest(\n { scope, policyAssignmentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * This operation updates a policy assignment with the given scope and name. Policy assignments apply\n * to all resources contained within their scope. For example, when you assign a policy at resource\n * group scope, that policy applies to all resources in the group.\n * @param scope The scope of the policy assignment. Valid scopes are: management group (format:\n * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:\n * '/subscriptions/{subscriptionId}'), resource group (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'\n * @param policyAssignmentName The name of the policy assignment.\n * @param parameters Parameters for policy assignment patch request.\n * @param options The options parameters.\n */\n update(\n scope: string,\n policyAssignmentName: string,\n parameters: PolicyAssignmentUpdate,\n options?: PolicyAssignmentsUpdateOptionalParams,\n ): Promise<PolicyAssignmentsUpdateResponse> {\n return this.client.sendOperationRequest(\n { scope, policyAssignmentName, parameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * This operation retrieves the list of all policy assignments associated with the given resource group\n * in the given subscription that match the optional given $filter. Valid values for $filter are:\n * 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the\n * unfiltered list includes all policy assignments associated with the resource group, including those\n * that apply directly or apply from containing scopes, as well as any applied to resources contained\n * within the resource group. If $filter=atScope() is provided, the returned list includes all policy\n * assignments that apply to the resource group, which is everything in the unfiltered list except\n * those applied to resources contained within the resource group. If $filter=atExactScope() is\n * provided, the returned list only includes all policy assignments that at the resource group. If\n * $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy\n * assignments of the policy definition whose id is {value} that apply to the resource group.\n * @param resourceGroupName The name of the resource group that contains policy assignments.\n * @param options The options parameters.\n */\n private _listForResourceGroup(\n resourceGroupName: string,\n options?: PolicyAssignmentsListForResourceGroupOptionalParams,\n ): Promise<PolicyAssignmentsListForResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listForResourceGroupOperationSpec,\n );\n }\n\n /**\n * This operation retrieves the list of all policy assignments associated with the specified resource\n * in the given resource group and subscription that match the optional given $filter. Valid values for\n * $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not\n * provided, the unfiltered list includes all policy assignments associated with the resource,\n * including those that apply directly or from all containing scopes, as well as any applied to\n * resources contained within the resource. If $filter=atScope() is provided, the returned list\n * includes all policy assignments that apply to the resource, which is everything in the unfiltered\n * list except those applied to resources contained within the resource. If $filter=atExactScope() is\n * provided, the returned list only includes all policy assignments that at the resource level. If\n * $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy\n * assignments of the policy definition whose id is {value} that apply to the resource. Three\n * parameters plus the resource name are used to identify a specific resource. If the resource is not\n * part of a parent resource (the more common case), the parent resource path should not be provided\n * (or provided as ''). For example a web app could be specified as ({resourceProviderNamespace} ==\n * 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites', {resourceName} ==\n * 'MyWebApp'). If the resource is part of a parent resource, then all parameters should be provided.\n * For example a virtual machine DNS name could be specified as ({resourceProviderNamespace} ==\n * 'Microsoft.Compute', {parentResourcePath} == 'virtualMachines/MyVirtualMachine', {resourceType} ==\n * 'domainNames', {resourceName} == 'MyComputerName'). A convenient alternative to providing the\n * namespace and type name separately is to provide both in the {resourceType} parameter, format:\n * ({resourceProviderNamespace} == '', {parentResourcePath} == '', {resourceType} ==\n * 'Microsoft.Web/sites', {resourceName} == 'MyWebApp').\n * @param resourceGroupName The name of the resource group containing the resource.\n * @param resourceProviderNamespace The namespace of the resource provider. For example, the namespace\n * of a virtual machine is Microsoft.Compute (from Microsoft.Compute/virtualMachines)\n * @param parentResourcePath The parent resource path. Use empty string if there is none.\n * @param resourceType The resource type name. For example the type name of a web app is 'sites' (from\n * Microsoft.Web/sites).\n * @param resourceName The name of the resource.\n * @param options The options parameters.\n */\n private _listForResource(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: PolicyAssignmentsListForResourceOptionalParams,\n ): Promise<PolicyAssignmentsListForResourceResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options,\n },\n listForResourceOperationSpec,\n );\n }\n\n /**\n * This operation retrieves the list of all policy assignments applicable to the management group that\n * match the given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()' or\n * 'policyDefinitionId eq '{value}''. If $filter=atScope() is provided, the returned list includes all\n * policy assignments that are assigned to the management group or the management group's ancestors. If\n * $filter=atExactScope() is provided, the returned list only includes all policy assignments that at\n * the management group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list\n * includes all policy assignments of the policy definition whose id is {value} that apply to the\n * management group.\n * @param managementGroupId The ID of the management group.\n * @param options The options parameters.\n */\n private _listForManagementGroup(\n managementGroupId: string,\n options?: PolicyAssignmentsListForManagementGroupOptionalParams,\n ): Promise<PolicyAssignmentsListForManagementGroupResponse> {\n return this.client.sendOperationRequest(\n { managementGroupId, options },\n listForManagementGroupOperationSpec,\n );\n }\n\n /**\n * This operation retrieves the list of all policy assignments associated with the given subscription\n * that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()'\n * or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all\n * policy assignments associated with the subscription, including those that apply directly or from\n * management groups that contain the given subscription, as well as any applied to objects contained\n * within the subscription. If $filter=atScope() is provided, the returned list includes all policy\n * assignments that apply to the subscription, which is everything in the unfiltered list except those\n * applied to objects contained within the subscription. If $filter=atExactScope() is provided, the\n * returned list only includes all policy assignments that at the subscription. If\n * $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy\n * assignments of the policy definition whose id is {value}.\n * @param options The options parameters.\n */\n private _list(\n options?: PolicyAssignmentsListOptionalParams,\n ): Promise<PolicyAssignmentsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * This operation deletes the policy with the given ID. Policy assignment IDs have this format:\n * '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid formats\n * for {scope} are: '/providers/Microsoft.Management/managementGroups/{managementGroup}' (management\n * group), '/subscriptions/{subscriptionId}' (subscription),\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' (resource group), or\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'\n * (resource).\n * @param policyAssignmentId The ID of the policy assignment to delete. Use the format\n * '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.\n * @param options The options parameters.\n */\n deleteById(\n policyAssignmentId: string,\n options?: PolicyAssignmentsDeleteByIdOptionalParams,\n ): Promise<PolicyAssignmentsDeleteByIdResponse> {\n return this.client.sendOperationRequest(\n { policyAssignmentId, options },\n deleteByIdOperationSpec,\n );\n }\n\n /**\n * This operation creates or updates the policy assignment with the given ID. Policy assignments made\n * on a scope apply to all resources contained in that scope. For example, when you assign a policy to\n * a resource group that policy applies to all resources in the group. Policy assignment IDs have this\n * format: '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid\n * scopes are: management group (format:\n * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:\n * '/subscriptions/{subscriptionId}'), resource group (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.\n * @param policyAssignmentId The ID of the policy assignment to create. Use the format\n * '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.\n * @param parameters Parameters for policy assignment.\n * @param options The options parameters.\n */\n createById(\n policyAssignmentId: string,\n parameters: PolicyAssignment,\n options?: PolicyAssignmentsCreateByIdOptionalParams,\n ): Promise<PolicyAssignmentsCreateByIdResponse> {\n return this.client.sendOperationRequest(\n { policyAssignmentId, parameters, options },\n createByIdOperationSpec,\n );\n }\n\n /**\n * The operation retrieves the policy assignment with the given ID. Policy assignment IDs have this\n * format: '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid\n * scopes are: management group (format:\n * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:\n * '/subscriptions/{subscriptionId}'), resource group (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.\n * @param policyAssignmentId The ID of the policy assignment to get. Use the format\n * '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.\n * @param options The options parameters.\n */\n getById(\n policyAssignmentId: string,\n options?: PolicyAssignmentsGetByIdOptionalParams,\n ): Promise<PolicyAssignmentsGetByIdResponse> {\n return this.client.sendOperationRequest(\n { policyAssignmentId, options },\n getByIdOperationSpec,\n );\n }\n\n /**\n * This operation updates the policy assignment with the given ID. Policy assignments made on a scope\n * apply to all resources contained in that scope. For example, when you assign a policy to a resource\n * group that policy applies to all resources in the group. Policy assignment IDs have this format:\n * '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid scopes\n * are: management group (format:\n * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:\n * '/subscriptions/{subscriptionId}'), resource group (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.\n * @param policyAssignmentId The ID of the policy assignment to update. Use the format\n * '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.\n * @param parameters Parameters for policy assignment patch request.\n * @param options The options parameters.\n */\n updateById(\n policyAssignmentId: string,\n parameters: PolicyAssignmentUpdate,\n options?: PolicyAssignmentsUpdateByIdOptionalParams,\n ): Promise<PolicyAssignmentsUpdateByIdResponse> {\n return this.client.sendOperationRequest(\n { policyAssignmentId, parameters, options },\n updateByIdOperationSpec,\n );\n }\n\n /**\n * ListForResourceGroupNext\n * @param resourceGroupName The name of the resource group that contains policy assignments.\n * @param nextLink The nextLink from the previous successful call to the ListForResourceGroup method.\n * @param options The options parameters.\n */\n private _listForResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: PolicyAssignmentsListForResourceGroupNextOptionalParams,\n ): Promise<PolicyAssignmentsListForResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listForResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListForResourceNext\n * @param resourceGroupName The name of the resource group containing the resource.\n * @param resourceProviderNamespace The namespace of the resource provider. For example, the namespace\n * of a virtual machine is Microsoft.Compute (from Microsoft.Compute/virtualMachines)\n * @param parentResourcePath The parent resource path. Use empty string if there is none.\n * @param resourceType The resource type name. For example the type name of a web app is 'sites' (from\n * Microsoft.Web/sites).\n * @param resourceName The name of the resource.\n * @param nextLink The nextLink from the previous successful call to the ListForResource method.\n * @param options The options parameters.\n */\n private _listForResourceNext(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n nextLink: string,\n options?: PolicyAssignmentsListForResourceNextOptionalParams,\n ): Promise<PolicyAssignmentsListForResourceNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n nextLink,\n options,\n },\n listForResourceNextOperationSpec,\n );\n }\n\n /**\n * ListForManagementGroupNext\n * @param managementGroupId The ID of the management group.\n * @param nextLink The nextLink from the previous successful call to the ListForManagementGroup method.\n * @param options The options parameters.\n */\n private _listForManagementGroupNext(\n managementGroupId: string,\n nextLink: string,\n options?: PolicyAssignmentsListForManagementGroupNextOptionalParams,\n ): Promise<PolicyAssignmentsListForManagementGroupNextResponse> {\n return this.client.sendOperationRequest(\n { managementGroupId, nextLink, options },\n listForManagementGroupNextOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: PolicyAssignmentsListNextOptionalParams,\n ): Promise<PolicyAssignmentsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.scope,\n Parameters.policyAssignmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.scope,\n Parameters.policyAssignmentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.scope,\n Parameters.policyAssignmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.scope,\n Parameters.policyAssignmentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listForResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.filter,\n Parameters.apiVersion1,\n Parameters.top,\n Parameters.expand,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listForResourceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.filter,\n Parameters.apiVersion1,\n Parameters.top,\n Parameters.expand,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listForManagementGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.filter,\n Parameters.apiVersion1,\n Parameters.top,\n Parameters.expand,\n ],\n urlParameters: [Parameters.$host, Parameters.managementGroupId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.filter,\n Parameters.apiVersion1,\n Parameters.top,\n Parameters.expand,\n ],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{policyAssignmentId}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.policyAssignmentId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{policyAssignmentId}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.policyAssignmentId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{policyAssignmentId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1, Parameters.expand],\n urlParameters: [Parameters.$host, Parameters.policyAssignmentId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{policyAssignmentId}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.policyAssignmentId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listForResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listForResourceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listForManagementGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.managementGroupId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"policyAssignments.js","sourceRoot":"","sources":["../../../src/operations/policyAssignments.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAuCtD,4CAA4C;AAC5C,qDAAqD;AACrD,MAAa,qBAAqB;IAGhC;;;OAGG;IACH,YAAY,MAAoB;QAC9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACI,oBAAoB,CACzB,iBAAyB,EACzB,OAA6D;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AU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,QAAQ,CAAC;IACjF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { PolicyAssignments } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { PolicyClient } from \"../policyClient.js\";\nimport type {\n PolicyAssignment,\n PolicyAssignmentsListForResourceGroupNextOptionalParams,\n PolicyAssignmentsListForResourceGroupOptionalParams,\n PolicyAssignmentsListForResourceGroupResponse,\n PolicyAssignmentsListForResourceNextOptionalParams,\n PolicyAssignmentsListForResourceOptionalParams,\n PolicyAssignmentsListForResourceResponse,\n PolicyAssignmentsListForManagementGroupNextOptionalParams,\n PolicyAssignmentsListForManagementGroupOptionalParams,\n PolicyAssignmentsListForManagementGroupResponse,\n PolicyAssignmentsListNextOptionalParams,\n PolicyAssignmentsListOptionalParams,\n PolicyAssignmentsListResponse,\n PolicyAssignmentsDeleteOptionalParams,\n PolicyAssignmentsDeleteResponse,\n PolicyAssignmentsCreateOptionalParams,\n PolicyAssignmentsCreateResponse,\n PolicyAssignmentsGetOptionalParams,\n PolicyAssignmentsGetResponse,\n PolicyAssignmentUpdate,\n PolicyAssignmentsUpdateOptionalParams,\n PolicyAssignmentsUpdateResponse,\n PolicyAssignmentsDeleteByIdOptionalParams,\n PolicyAssignmentsDeleteByIdResponse,\n PolicyAssignmentsCreateByIdOptionalParams,\n PolicyAssignmentsCreateByIdResponse,\n PolicyAssignmentsGetByIdOptionalParams,\n PolicyAssignmentsGetByIdResponse,\n PolicyAssignmentsUpdateByIdOptionalParams,\n PolicyAssignmentsUpdateByIdResponse,\n PolicyAssignmentsListForResourceGroupNextResponse,\n PolicyAssignmentsListForResourceNextResponse,\n PolicyAssignmentsListForManagementGroupNextResponse,\n PolicyAssignmentsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PolicyAssignments operations. */\nexport class PolicyAssignmentsImpl implements PolicyAssignments {\n private readonly client: PolicyClient;\n\n /**\n * Initialize a new instance of the class PolicyAssignments class.\n * @param client Reference to the service client\n */\n constructor(client: PolicyClient) {\n this.client = client;\n }\n\n /**\n * This operation retrieves the list of all policy assignments associated with the given resource group\n * in the given subscription that match the optional given $filter. Valid values for $filter are:\n * 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the\n * unfiltered list includes all policy assignments associated with the resource group, including those\n * that apply directly or apply from containing scopes, as well as any applied to resources contained\n * within the resource group. If $filter=atScope() is provided, the returned list includes all policy\n * assignments that apply to the resource group, which is everything in the unfiltered list except\n * those applied to resources contained within the resource group. If $filter=atExactScope() is\n * provided, the returned list only includes all policy assignments that at the resource group. If\n * $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy\n * assignments of the policy definition whose id is {value} that apply to the resource group.\n * @param resourceGroupName The name of the resource group that contains policy assignments.\n * @param options The options parameters.\n */\n public listForResourceGroup(\n resourceGroupName: string,\n options?: PolicyAssignmentsListForResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<PolicyAssignment> {\n const iter = this.listForResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listForResourceGroupPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *listForResourceGroupPagingPage(\n resourceGroupName: string,\n options?: PolicyAssignmentsListForResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PolicyAssignment[]> {\n let result: PolicyAssignmentsListForResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listForResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listForResourceGroupNext(resourceGroupName, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listForResourceGroupPagingAll(\n resourceGroupName: string,\n options?: PolicyAssignmentsListForResourceGroupOptionalParams,\n ): AsyncIterableIterator<PolicyAssignment> {\n for await (const page of this.listForResourceGroupPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * This operation retrieves the list of all policy assignments associated with the specified resource\n * in the given resource group and subscription that match the optional given $filter. Valid values for\n * $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not\n * provided, the unfiltered list includes all policy assignments associated with the resource,\n * including those that apply directly or from all containing scopes, as well as any applied to\n * resources contained within the resource. If $filter=atScope() is provided, the returned list\n * includes all policy assignments that apply to the resource, which is everything in the unfiltered\n * list except those applied to resources contained within the resource. If $filter=atExactScope() is\n * provided, the returned list only includes all policy assignments that at the resource level. If\n * $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy\n * assignments of the policy definition whose id is {value} that apply to the resource. Three\n * parameters plus the resource name are used to identify a specific resource. If the resource is not\n * part of a parent resource (the more common case), the parent resource path should not be provided\n * (or provided as ''). For example a web app could be specified as ({resourceProviderNamespace} ==\n * 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites', {resourceName} ==\n * 'MyWebApp'). If the resource is part of a parent resource, then all parameters should be provided.\n * For example a virtual machine DNS name could be specified as ({resourceProviderNamespace} ==\n * 'Microsoft.Compute', {parentResourcePath} == 'virtualMachines/MyVirtualMachine', {resourceType} ==\n * 'domainNames', {resourceName} == 'MyComputerName'). A convenient alternative to providing the\n * namespace and type name separately is to provide both in the {resourceType} parameter, format:\n * ({resourceProviderNamespace} == '', {parentResourcePath} == '', {resourceType} ==\n * 'Microsoft.Web/sites', {resourceName} == 'MyWebApp').\n * @param resourceGroupName The name of the resource group containing the resource.\n * @param resourceProviderNamespace The namespace of the resource provider. For example, the namespace\n * of a virtual machine is Microsoft.Compute (from Microsoft.Compute/virtualMachines)\n * @param parentResourcePath The parent resource path. Use empty string if there is none.\n * @param resourceType The resource type name. For example the type name of a web app is 'sites' (from\n * Microsoft.Web/sites).\n * @param resourceName The name of the resource.\n * @param options The options parameters.\n */\n public listForResource(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: PolicyAssignmentsListForResourceOptionalParams,\n ): PagedAsyncIterableIterator<PolicyAssignment> {\n const iter = this.listForResourcePagingAll(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listForResourcePagingPage(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listForResourcePagingPage(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: PolicyAssignmentsListForResourceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PolicyAssignment[]> {\n let result: PolicyAssignmentsListForResourceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listForResource(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listForResourceNext(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listForResourcePagingAll(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: PolicyAssignmentsListForResourceOptionalParams,\n ): AsyncIterableIterator<PolicyAssignment> {\n for await (const page of this.listForResourcePagingPage(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * This operation retrieves the list of all policy assignments applicable to the management group that\n * match the given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()' or\n * 'policyDefinitionId eq '{value}''. If $filter=atScope() is provided, the returned list includes all\n * policy assignments that are assigned to the management group or the management group's ancestors. If\n * $filter=atExactScope() is provided, the returned list only includes all policy assignments that at\n * the management group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list\n * includes all policy assignments of the policy definition whose id is {value} that apply to the\n * management group.\n * @param managementGroupId The ID of the management group.\n * @param options The options parameters.\n */\n public listForManagementGroup(\n managementGroupId: string,\n options?: PolicyAssignmentsListForManagementGroupOptionalParams,\n ): PagedAsyncIterableIterator<PolicyAssignment> {\n const iter = this.listForManagementGroupPagingAll(managementGroupId, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listForManagementGroupPagingPage(managementGroupId, options, settings);\n },\n };\n }\n\n private async *listForManagementGroupPagingPage(\n managementGroupId: string,\n options?: PolicyAssignmentsListForManagementGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PolicyAssignment[]> {\n let result: PolicyAssignmentsListForManagementGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listForManagementGroup(managementGroupId, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listForManagementGroupNext(\n managementGroupId,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listForManagementGroupPagingAll(\n managementGroupId: string,\n options?: PolicyAssignmentsListForManagementGroupOptionalParams,\n ): AsyncIterableIterator<PolicyAssignment> {\n for await (const page of this.listForManagementGroupPagingPage(managementGroupId, options)) {\n yield* page;\n }\n }\n\n /**\n * This operation retrieves the list of all policy assignments associated with the given subscription\n * that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()'\n * or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all\n * policy assignments associated with the subscription, including those that apply directly or from\n * management groups that contain the given subscription, as well as any applied to objects contained\n * within the subscription. If $filter=atScope() is provided, the returned list includes all policy\n * assignments that apply to the subscription, which is everything in the unfiltered list except those\n * applied to objects contained within the subscription. If $filter=atExactScope() is provided, the\n * returned list only includes all policy assignments that at the subscription. If\n * $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy\n * assignments of the policy definition whose id is {value}.\n * @param options The options parameters.\n */\n public list(\n options?: PolicyAssignmentsListOptionalParams,\n ): PagedAsyncIterableIterator<PolicyAssignment> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: PolicyAssignmentsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PolicyAssignment[]> {\n let result: PolicyAssignmentsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: PolicyAssignmentsListOptionalParams,\n ): AsyncIterableIterator<PolicyAssignment> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * This operation deletes a policy assignment, given its name and the scope it was created in. The\n * scope of a policy assignment is the part of its ID preceding\n * '/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.\n * @param scope The scope of the policy assignment. Valid scopes are: management group (format:\n * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:\n * '/subscriptions/{subscriptionId}'), resource group (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'\n * @param policyAssignmentName The name of the policy assignment to delete.\n * @param options The options parameters.\n */\n delete(\n scope: string,\n policyAssignmentName: string,\n options?: PolicyAssignmentsDeleteOptionalParams,\n ): Promise<PolicyAssignmentsDeleteResponse> {\n return this.client.sendOperationRequest(\n { scope, policyAssignmentName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * This operation creates or updates a policy assignment with the given scope and name. Policy\n * assignments apply to all resources contained within their scope. For example, when you assign a\n * policy at resource group scope, that policy applies to all resources in the group.\n * @param scope The scope of the policy assignment. Valid scopes are: management group (format:\n * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:\n * '/subscriptions/{subscriptionId}'), resource group (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'\n * @param policyAssignmentName The name of the policy assignment.\n * @param parameters Parameters for the policy assignment.\n * @param options The options parameters.\n */\n create(\n scope: string,\n policyAssignmentName: string,\n parameters: PolicyAssignment,\n options?: PolicyAssignmentsCreateOptionalParams,\n ): Promise<PolicyAssignmentsCreateResponse> {\n return this.client.sendOperationRequest(\n { scope, policyAssignmentName, parameters, options },\n createOperationSpec,\n );\n }\n\n /**\n * This operation retrieves a single policy assignment, given its name and the scope it was created at.\n * @param scope The scope of the policy assignment. Valid scopes are: management group (format:\n * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:\n * '/subscriptions/{subscriptionId}'), resource group (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'\n * @param policyAssignmentName The name of the policy assignment to get.\n * @param options The options parameters.\n */\n get(\n scope: string,\n policyAssignmentName: string,\n options?: PolicyAssignmentsGetOptionalParams,\n ): Promise<PolicyAssignmentsGetResponse> {\n return this.client.sendOperationRequest(\n { scope, policyAssignmentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * This operation updates a policy assignment with the given scope and name. Policy assignments apply\n * to all resources contained within their scope. For example, when you assign a policy at resource\n * group scope, that policy applies to all resources in the group.\n * @param scope The scope of the policy assignment. Valid scopes are: management group (format:\n * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:\n * '/subscriptions/{subscriptionId}'), resource group (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'\n * @param policyAssignmentName The name of the policy assignment.\n * @param parameters Parameters for policy assignment patch request.\n * @param options The options parameters.\n */\n update(\n scope: string,\n policyAssignmentName: string,\n parameters: PolicyAssignmentUpdate,\n options?: PolicyAssignmentsUpdateOptionalParams,\n ): Promise<PolicyAssignmentsUpdateResponse> {\n return this.client.sendOperationRequest(\n { scope, policyAssignmentName, parameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * This operation retrieves the list of all policy assignments associated with the given resource group\n * in the given subscription that match the optional given $filter. Valid values for $filter are:\n * 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the\n * unfiltered list includes all policy assignments associated with the resource group, including those\n * that apply directly or apply from containing scopes, as well as any applied to resources contained\n * within the resource group. If $filter=atScope() is provided, the returned list includes all policy\n * assignments that apply to the resource group, which is everything in the unfiltered list except\n * those applied to resources contained within the resource group. If $filter=atExactScope() is\n * provided, the returned list only includes all policy assignments that at the resource group. If\n * $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy\n * assignments of the policy definition whose id is {value} that apply to the resource group.\n * @param resourceGroupName The name of the resource group that contains policy assignments.\n * @param options The options parameters.\n */\n private _listForResourceGroup(\n resourceGroupName: string,\n options?: PolicyAssignmentsListForResourceGroupOptionalParams,\n ): Promise<PolicyAssignmentsListForResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listForResourceGroupOperationSpec,\n );\n }\n\n /**\n * This operation retrieves the list of all policy assignments associated with the specified resource\n * in the given resource group and subscription that match the optional given $filter. Valid values for\n * $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not\n * provided, the unfiltered list includes all policy assignments associated with the resource,\n * including those that apply directly or from all containing scopes, as well as any applied to\n * resources contained within the resource. If $filter=atScope() is provided, the returned list\n * includes all policy assignments that apply to the resource, which is everything in the unfiltered\n * list except those applied to resources contained within the resource. If $filter=atExactScope() is\n * provided, the returned list only includes all policy assignments that at the resource level. If\n * $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy\n * assignments of the policy definition whose id is {value} that apply to the resource. Three\n * parameters plus the resource name are used to identify a specific resource. If the resource is not\n * part of a parent resource (the more common case), the parent resource path should not be provided\n * (or provided as ''). For example a web app could be specified as ({resourceProviderNamespace} ==\n * 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites', {resourceName} ==\n * 'MyWebApp'). If the resource is part of a parent resource, then all parameters should be provided.\n * For example a virtual machine DNS name could be specified as ({resourceProviderNamespace} ==\n * 'Microsoft.Compute', {parentResourcePath} == 'virtualMachines/MyVirtualMachine', {resourceType} ==\n * 'domainNames', {resourceName} == 'MyComputerName'). A convenient alternative to providing the\n * namespace and type name separately is to provide both in the {resourceType} parameter, format:\n * ({resourceProviderNamespace} == '', {parentResourcePath} == '', {resourceType} ==\n * 'Microsoft.Web/sites', {resourceName} == 'MyWebApp').\n * @param resourceGroupName The name of the resource group containing the resource.\n * @param resourceProviderNamespace The namespace of the resource provider. For example, the namespace\n * of a virtual machine is Microsoft.Compute (from Microsoft.Compute/virtualMachines)\n * @param parentResourcePath The parent resource path. Use empty string if there is none.\n * @param resourceType The resource type name. For example the type name of a web app is 'sites' (from\n * Microsoft.Web/sites).\n * @param resourceName The name of the resource.\n * @param options The options parameters.\n */\n private _listForResource(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: PolicyAssignmentsListForResourceOptionalParams,\n ): Promise<PolicyAssignmentsListForResourceResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options,\n },\n listForResourceOperationSpec,\n );\n }\n\n /**\n * This operation retrieves the list of all policy assignments applicable to the management group that\n * match the given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()' or\n * 'policyDefinitionId eq '{value}''. If $filter=atScope() is provided, the returned list includes all\n * policy assignments that are assigned to the management group or the management group's ancestors. If\n * $filter=atExactScope() is provided, the returned list only includes all policy assignments that at\n * the management group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list\n * includes all policy assignments of the policy definition whose id is {value} that apply to the\n * management group.\n * @param managementGroupId The ID of the management group.\n * @param options The options parameters.\n */\n private _listForManagementGroup(\n managementGroupId: string,\n options?: PolicyAssignmentsListForManagementGroupOptionalParams,\n ): Promise<PolicyAssignmentsListForManagementGroupResponse> {\n return this.client.sendOperationRequest(\n { managementGroupId, options },\n listForManagementGroupOperationSpec,\n );\n }\n\n /**\n * This operation retrieves the list of all policy assignments associated with the given subscription\n * that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()'\n * or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all\n * policy assignments associated with the subscription, including those that apply directly or from\n * management groups that contain the given subscription, as well as any applied to objects contained\n * within the subscription. If $filter=atScope() is provided, the returned list includes all policy\n * assignments that apply to the subscription, which is everything in the unfiltered list except those\n * applied to objects contained within the subscription. If $filter=atExactScope() is provided, the\n * returned list only includes all policy assignments that at the subscription. If\n * $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy\n * assignments of the policy definition whose id is {value}.\n * @param options The options parameters.\n */\n private _list(\n options?: PolicyAssignmentsListOptionalParams,\n ): Promise<PolicyAssignmentsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * This operation deletes the policy with the given ID. Policy assignment IDs have this format:\n * '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid formats\n * for {scope} are: '/providers/Microsoft.Management/managementGroups/{managementGroup}' (management\n * group), '/subscriptions/{subscriptionId}' (subscription),\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' (resource group), or\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'\n * (resource).\n * @param policyAssignmentId The ID of the policy assignment to delete. Use the format\n * '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.\n * @param options The options parameters.\n */\n deleteById(\n policyAssignmentId: string,\n options?: PolicyAssignmentsDeleteByIdOptionalParams,\n ): Promise<PolicyAssignmentsDeleteByIdResponse> {\n return this.client.sendOperationRequest(\n { policyAssignmentId, options },\n deleteByIdOperationSpec,\n );\n }\n\n /**\n * This operation creates or updates the policy assignment with the given ID. Policy assignments made\n * on a scope apply to all resources contained in that scope. For example, when you assign a policy to\n * a resource group that policy applies to all resources in the group. Policy assignment IDs have this\n * format: '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid\n * scopes are: management group (format:\n * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:\n * '/subscriptions/{subscriptionId}'), resource group (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.\n * @param policyAssignmentId The ID of the policy assignment to create. Use the format\n * '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.\n * @param parameters Parameters for policy assignment.\n * @param options The options parameters.\n */\n createById(\n policyAssignmentId: string,\n parameters: PolicyAssignment,\n options?: PolicyAssignmentsCreateByIdOptionalParams,\n ): Promise<PolicyAssignmentsCreateByIdResponse> {\n return this.client.sendOperationRequest(\n { policyAssignmentId, parameters, options },\n createByIdOperationSpec,\n );\n }\n\n /**\n * The operation retrieves the policy assignment with the given ID. Policy assignment IDs have this\n * format: '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid\n * scopes are: management group (format:\n * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:\n * '/subscriptions/{subscriptionId}'), resource group (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.\n * @param policyAssignmentId The ID of the policy assignment to get. Use the format\n * '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.\n * @param options The options parameters.\n */\n getById(\n policyAssignmentId: string,\n options?: PolicyAssignmentsGetByIdOptionalParams,\n ): Promise<PolicyAssignmentsGetByIdResponse> {\n return this.client.sendOperationRequest({ policyAssignmentId, options }, getByIdOperationSpec);\n }\n\n /**\n * This operation updates the policy assignment with the given ID. Policy assignments made on a scope\n * apply to all resources contained in that scope. For example, when you assign a policy to a resource\n * group that policy applies to all resources in the group. Policy assignment IDs have this format:\n * '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid scopes\n * are: management group (format:\n * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:\n * '/subscriptions/{subscriptionId}'), resource group (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.\n * @param policyAssignmentId The ID of the policy assignment to update. Use the format\n * '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.\n * @param parameters Parameters for policy assignment patch request.\n * @param options The options parameters.\n */\n updateById(\n policyAssignmentId: string,\n parameters: PolicyAssignmentUpdate,\n options?: PolicyAssignmentsUpdateByIdOptionalParams,\n ): Promise<PolicyAssignmentsUpdateByIdResponse> {\n return this.client.sendOperationRequest(\n { policyAssignmentId, parameters, options },\n updateByIdOperationSpec,\n );\n }\n\n /**\n * ListForResourceGroupNext\n * @param resourceGroupName The name of the resource group that contains policy assignments.\n * @param nextLink The nextLink from the previous successful call to the ListForResourceGroup method.\n * @param options The options parameters.\n */\n private _listForResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: PolicyAssignmentsListForResourceGroupNextOptionalParams,\n ): Promise<PolicyAssignmentsListForResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listForResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListForResourceNext\n * @param resourceGroupName The name of the resource group containing the resource.\n * @param resourceProviderNamespace The namespace of the resource provider. For example, the namespace\n * of a virtual machine is Microsoft.Compute (from Microsoft.Compute/virtualMachines)\n * @param parentResourcePath The parent resource path. Use empty string if there is none.\n * @param resourceType The resource type name. For example the type name of a web app is 'sites' (from\n * Microsoft.Web/sites).\n * @param resourceName The name of the resource.\n * @param nextLink The nextLink from the previous successful call to the ListForResource method.\n * @param options The options parameters.\n */\n private _listForResourceNext(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n nextLink: string,\n options?: PolicyAssignmentsListForResourceNextOptionalParams,\n ): Promise<PolicyAssignmentsListForResourceNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n nextLink,\n options,\n },\n listForResourceNextOperationSpec,\n );\n }\n\n /**\n * ListForManagementGroupNext\n * @param managementGroupId The ID of the management group.\n * @param nextLink The nextLink from the previous successful call to the ListForManagementGroup method.\n * @param options The options parameters.\n */\n private _listForManagementGroupNext(\n managementGroupId: string,\n nextLink: string,\n options?: PolicyAssignmentsListForManagementGroupNextOptionalParams,\n ): Promise<PolicyAssignmentsListForManagementGroupNextResponse> {\n return this.client.sendOperationRequest(\n { managementGroupId, nextLink, options },\n listForManagementGroupNextOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: PolicyAssignmentsListNextOptionalParams,\n ): Promise<PolicyAssignmentsListNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.scope, Parameters.policyAssignmentName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.scope, Parameters.policyAssignmentName],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [Parameters.$host, Parameters.scope, Parameters.policyAssignmentName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.scope, Parameters.policyAssignmentName],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listForResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top, Parameters.expand],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listForResourceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listForManagementGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top, Parameters.expand],\n urlParameters: [Parameters.$host, Parameters.managementGroupId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top, Parameters.expand],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{policyAssignmentId}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.policyAssignmentId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{policyAssignmentId}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.policyAssignmentId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst getByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{policyAssignmentId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [Parameters.$host, Parameters.policyAssignmentId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{policyAssignmentId}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignment,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.policyAssignmentId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listForResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listForResourceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listForManagementGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.managementGroupId, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PolicyAssignmentListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,7 +1,7 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PolicyDefinitionVersions } from "../operationsInterfaces/index.js";
3
- import { PolicyClient } from "../policyClient.js";
4
- import { PolicyDefinitionVersion, PolicyDefinitionVersionsListOptionalParams, PolicyDefinitionVersionsListBuiltInOptionalParams, PolicyDefinitionVersionsListByManagementGroupOptionalParams, PolicyDefinitionVersionsListAllBuiltinsOptionalParams, PolicyDefinitionVersionsListAllBuiltinsResponse, PolicyDefinitionVersionsListAllAtManagementGroupOptionalParams, PolicyDefinitionVersionsListAllAtManagementGroupResponse, PolicyDefinitionVersionsListAllOptionalParams, PolicyDefinitionVersionsListAllResponse, PolicyDefinitionVersionsCreateOrUpdateOptionalParams, PolicyDefinitionVersionsCreateOrUpdateResponse, PolicyDefinitionVersionsDeleteOptionalParams, PolicyDefinitionVersionsGetOptionalParams, PolicyDefinitionVersionsGetResponse, PolicyDefinitionVersionsGetBuiltInOptionalParams, PolicyDefinitionVersionsGetBuiltInResponse, PolicyDefinitionVersionsCreateOrUpdateAtManagementGroupOptionalParams, PolicyDefinitionVersionsCreateOrUpdateAtManagementGroupResponse, PolicyDefinitionVersionsDeleteAtManagementGroupOptionalParams, PolicyDefinitionVersionsGetAtManagementGroupOptionalParams, PolicyDefinitionVersionsGetAtManagementGroupResponse } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { PolicyDefinitionVersions } from "../operationsInterfaces/index.js";
3
+ import type { PolicyClient } from "../policyClient.js";
4
+ import type { PolicyDefinitionVersion, PolicyDefinitionVersionsListOptionalParams, PolicyDefinitionVersionsListBuiltInOptionalParams, PolicyDefinitionVersionsListByManagementGroupOptionalParams, PolicyDefinitionVersionsListAllBuiltinsOptionalParams, PolicyDefinitionVersionsListAllBuiltinsResponse, PolicyDefinitionVersionsListAllAtManagementGroupOptionalParams, PolicyDefinitionVersionsListAllAtManagementGroupResponse, PolicyDefinitionVersionsListAllOptionalParams, PolicyDefinitionVersionsListAllResponse, PolicyDefinitionVersionsCreateOrUpdateOptionalParams, PolicyDefinitionVersionsCreateOrUpdateResponse, PolicyDefinitionVersionsDeleteOptionalParams, PolicyDefinitionVersionsGetOptionalParams, PolicyDefinitionVersionsGetResponse, PolicyDefinitionVersionsGetBuiltInOptionalParams, PolicyDefinitionVersionsGetBuiltInResponse, PolicyDefinitionVersionsCreateOrUpdateAtManagementGroupOptionalParams, PolicyDefinitionVersionsCreateOrUpdateAtManagementGroupResponse, PolicyDefinitionVersionsDeleteAtManagementGroupOptionalParams, PolicyDefinitionVersionsGetAtManagementGroupOptionalParams, PolicyDefinitionVersionsGetAtManagementGroupResponse } from "../models/index.js";
5
5
  /** Class containing PolicyDefinitionVersions operations. */
6
6
  export declare class PolicyDefinitionVersionsImpl implements PolicyDefinitionVersions {
7
7
  private readonly client;
@@ -1 +1 @@
1
- {"version":3,"file":"policyDefinitionVersions.d.ts","sourceRoot":"","sources":["../../../src/operations/policyDefinitionVersions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAI5E,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EACL,uBAAuB,EAEvB,0CAA0C,EAG1C,iDAAiD,EAGjD,2DAA2D,EAE3D,qDAAqD,EACrD,+CAA+C,EAC/C,8DAA8D,EAC9D,wDAAwD,EACxD,6CAA6C,EAC7C,uCAAuC,EACvC,oDAAoD,EACpD,8CAA8C,EAC9C,4CAA4C,EAC5C,yCAAyC,EACzC,mCAAmC,EACnC,gDAAgD,EAChD,0CAA0C,EAC1C,qEAAqE,EACrE,+DAA+D,EAC/D,6DAA6D,EAC7D,0DAA0D,EAC1D,oDAAoD,EAIrD,MAAM,oBAAoB,CAAC;AAG5B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BAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,6DAA6D,GACtE,OAAO,CAAC,IAAI,CAAC;IAYhB;;;;;;;;OAQG;IACH,oBAAoB,CAClB,mBAAmB,EAAE,MAAM,EAC3B,oBAAoB,EAAE,MAAM,EAC5B,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,0DAA0D,GACnE,OAAO,CAAC,oDAAoD,CAAC;IAYhE;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAOb;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAUpB;;;;;;OAMG;IACH,OAAO,CAAC,sBAAsB;IAW9B;;;;;OAKG;IACH,OAAO,CAAC,SAAS;IAWjB;;;;;OAKG;IACH,OAAO,CAAC,gBAAgB;IAWxB;;;;;;OAMG;IACH,OAAO,CAAC,0BAA0B;CAWnC"}
@@ -403,7 +403,7 @@ const listAllBuiltinsOperationSpec = {
403
403
  bodyMapper: Mappers.CloudError,
404
404
  },
405
405
  },
406
- queryParameters: [Parameters.apiVersion1],
406
+ queryParameters: [Parameters.apiVersion],
407
407
  urlParameters: [Parameters.$host],
408
408
  headerParameters: [Parameters.accept],
409
409
  serializer,
@@ -419,7 +419,7 @@ const listAllAtManagementGroupOperationSpec = {
419
419
  bodyMapper: Mappers.CloudError,
420
420
  },
421
421
  },
422
- queryParameters: [Parameters.apiVersion1],
422
+ queryParameters: [Parameters.apiVersion],
423
423
  urlParameters: [Parameters.$host, Parameters.managementGroupName],
424
424
  headerParameters: [Parameters.accept],
425
425
  serializer,
@@ -435,7 +435,7 @@ const listAllOperationSpec = {
435
435
  bodyMapper: Mappers.CloudError,
436
436
  },
437
437
  },
438
- queryParameters: [Parameters.apiVersion1],
438
+ queryParameters: [Parameters.apiVersion],
439
439
  urlParameters: [Parameters.$host, Parameters.subscriptionId],
440
440
  headerParameters: [Parameters.accept],
441
441
  serializer,
@@ -455,14 +455,14 @@ const createOrUpdateOperationSpec = {
455
455
  },
456
456
  },
457
457
  requestBody: Parameters.parameters1,
458
- queryParameters: [Parameters.apiVersion1],
458
+ queryParameters: [Parameters.apiVersion],
459
459
  urlParameters: [
460
460
  Parameters.$host,
461
461
  Parameters.subscriptionId,
462
462
  Parameters.policyDefinitionName,
463
463
  Parameters.policyDefinitionVersion,
464
464
  ],
465
- headerParameters: [Parameters.accept, Parameters.contentType],
465
+ headerParameters: [Parameters.contentType, Parameters.accept],
466
466
  mediaType: "json",
467
467
  serializer,
468
468
  };
@@ -476,7 +476,7 @@ const deleteOperationSpec = {
476
476
  bodyMapper: Mappers.CloudError,
477
477
  },
478
478
  },
479
- queryParameters: [Parameters.apiVersion1],
479
+ queryParameters: [Parameters.apiVersion],
480
480
  urlParameters: [
481
481
  Parameters.$host,
482
482
  Parameters.subscriptionId,
@@ -497,7 +497,7 @@ const getOperationSpec = {
497
497
  bodyMapper: Mappers.CloudError,
498
498
  },
499
499
  },
500
- queryParameters: [Parameters.apiVersion1],
500
+ queryParameters: [Parameters.apiVersion],
501
501
  urlParameters: [
502
502
  Parameters.$host,
503
503
  Parameters.subscriptionId,
@@ -518,7 +518,7 @@ const getBuiltInOperationSpec = {
518
518
  bodyMapper: Mappers.CloudError,
519
519
  },
520
520
  },
521
- queryParameters: [Parameters.apiVersion1],
521
+ queryParameters: [Parameters.apiVersion],
522
522
  urlParameters: [
523
523
  Parameters.$host,
524
524
  Parameters.policyDefinitionName,
@@ -542,14 +542,14 @@ const createOrUpdateAtManagementGroupOperationSpec = {
542
542
  },
543
543
  },
544
544
  requestBody: Parameters.parameters1,
545
- queryParameters: [Parameters.apiVersion1],
545
+ queryParameters: [Parameters.apiVersion],
546
546
  urlParameters: [
547
547
  Parameters.$host,
548
548
  Parameters.policyDefinitionName,
549
549
  Parameters.managementGroupName,
550
550
  Parameters.policyDefinitionVersion,
551
551
  ],
552
- headerParameters: [Parameters.accept, Parameters.contentType],
552
+ headerParameters: [Parameters.contentType, Parameters.accept],
553
553
  mediaType: "json",
554
554
  serializer,
555
555
  };
@@ -563,7 +563,7 @@ const deleteAtManagementGroupOperationSpec = {
563
563
  bodyMapper: Mappers.CloudError,
564
564
  },
565
565
  },
566
- queryParameters: [Parameters.apiVersion1],
566
+ queryParameters: [Parameters.apiVersion],
567
567
  urlParameters: [
568
568
  Parameters.$host,
569
569
  Parameters.policyDefinitionName,
@@ -584,7 +584,7 @@ const getAtManagementGroupOperationSpec = {
584
584
  bodyMapper: Mappers.CloudError,
585
585
  },
586
586
  },
587
- queryParameters: [Parameters.apiVersion1],
587
+ queryParameters: [Parameters.apiVersion],
588
588
  urlParameters: [
589
589
  Parameters.$host,
590
590
  Parameters.policyDefinitionName,
@@ -605,12 +605,8 @@ const listOperationSpec = {
605
605
  bodyMapper: Mappers.CloudError,
606
606
  },
607
607
  },
608
- queryParameters: [Parameters.apiVersion1, Parameters.top],
609
- urlParameters: [
610
- Parameters.$host,
611
- Parameters.subscriptionId,
612
- Parameters.policyDefinitionName,
613
- ],
608
+ queryParameters: [Parameters.apiVersion, Parameters.top],
609
+ urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.policyDefinitionName],
614
610
  headerParameters: [Parameters.accept],
615
611
  serializer,
616
612
  };
@@ -625,7 +621,7 @@ const listBuiltInOperationSpec = {
625
621
  bodyMapper: Mappers.CloudError,
626
622
  },
627
623
  },
628
- queryParameters: [Parameters.apiVersion1, Parameters.top],
624
+ queryParameters: [Parameters.apiVersion, Parameters.top],
629
625
  urlParameters: [Parameters.$host, Parameters.policyDefinitionName],
630
626
  headerParameters: [Parameters.accept],
631
627
  serializer,
@@ -641,7 +637,7 @@ const listByManagementGroupOperationSpec = {
641
637
  bodyMapper: Mappers.CloudError,
642
638
  },
643
639
  },
644
- queryParameters: [Parameters.apiVersion1, Parameters.top],
640
+ queryParameters: [Parameters.apiVersion, Parameters.top],
645
641
  urlParameters: [
646
642
  Parameters.$host,
647
643
  Parameters.policyDefinitionName,
@@ -663,9 +659,9 @@ const listNextOperationSpec = {
663
659
  },
664
660
  urlParameters: [
665
661
  Parameters.$host,
666
- Parameters.nextLink,
667
662
  Parameters.subscriptionId,
668
663
  Parameters.policyDefinitionName,
664
+ Parameters.nextLink,
669
665
  ],
670
666
  headerParameters: [Parameters.accept],
671
667
  serializer,
@@ -681,11 +677,7 @@ const listBuiltInNextOperationSpec = {
681
677
  bodyMapper: Mappers.CloudError,
682
678
  },
683
679
  },
684
- urlParameters: [
685
- Parameters.$host,
686
- Parameters.nextLink,
687
- Parameters.policyDefinitionName,
688
- ],
680
+ urlParameters: [Parameters.$host, Parameters.policyDefinitionName, Parameters.nextLink],
689
681
  headerParameters: [Parameters.accept],
690
682
  serializer,
691
683
  };
@@ -702,8 +694,8 @@ const listByManagementGroupNextOperationSpec = {
702
694
  },
703
695
  urlParameters: [
704
696
  Parameters.$host,
705
- Parameters.nextLink,
706
697
  Parameters.policyDefinitionName,
698
+ Parameters.nextLink,
707
699
  Parameters.managementGroupName,
708
700
  ],
709
701
  headerParameters: [Parameters.accept],