@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,115 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PolicyExemption, PolicyExemptionsListOptionalParams, PolicyExemptionsListForResourceGroupOptionalParams, PolicyExemptionsListForResourceOptionalParams, PolicyExemptionsListForManagementGroupOptionalParams, PolicyExemptionsDeleteOptionalParams, PolicyExemptionsCreateOrUpdateOptionalParams, PolicyExemptionsCreateOrUpdateResponse, PolicyExemptionsGetOptionalParams, PolicyExemptionsGetResponse, PolicyExemptionUpdate, PolicyExemptionsUpdateOptionalParams, PolicyExemptionsUpdateResponse } from "../models/index.js";
3
- /** Interface representing a PolicyExemptions. */
4
- export interface PolicyExemptions {
5
- /**
6
- * This operation retrieves the list of all policy exemptions associated with the given subscription
7
- * that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()',
8
- * 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter is not provided, the unfiltered
9
- * list includes all policy exemptions associated with the subscription, including those that apply
10
- * directly or from management groups that contain the given subscription, as well as any applied to
11
- * objects contained within the subscription.
12
- * @param options The options parameters.
13
- */
14
- list(options?: PolicyExemptionsListOptionalParams): PagedAsyncIterableIterator<PolicyExemption>;
15
- /**
16
- * This operation retrieves the list of all policy exemptions associated with the given resource group
17
- * in the given subscription that match the optional given $filter. Valid values for $filter are:
18
- * 'atScope()', 'atExactScope()', 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter
19
- * is not provided, the unfiltered list includes all policy exemptions associated with the resource
20
- * group, including those that apply directly or apply from containing scopes, as well as any applied
21
- * to resources contained within the resource group.
22
- * @param resourceGroupName The name of the resource group containing the resource.
23
- * @param options The options parameters.
24
- */
25
- listForResourceGroup(resourceGroupName: string, options?: PolicyExemptionsListForResourceGroupOptionalParams): PagedAsyncIterableIterator<PolicyExemption>;
26
- /**
27
- * This operation retrieves the list of all policy exemptions associated with the specified resource in
28
- * the given resource group and subscription that match the optional given $filter. Valid values for
29
- * $filter are: 'atScope()', 'atExactScope()', 'excludeExpired()' or 'policyAssignmentId eq '{value}''.
30
- * If $filter is not provided, the unfiltered list includes all policy exemptions associated with the
31
- * resource, including those that apply directly or from all containing scopes, as well as any applied
32
- * to resources contained within the resource. Three parameters plus the resource name are used to
33
- * identify a specific resource. If the resource is not part of a parent resource (the more common
34
- * case), the parent resource path should not be provided (or provided as ''). For example a web app
35
- * could be specified as ({resourceProviderNamespace} == 'Microsoft.Web', {parentResourcePath} == '',
36
- * {resourceType} == 'sites', {resourceName} == 'MyWebApp'). If the resource is part of a parent
37
- * resource, then all parameters should be provided. For example a virtual machine DNS name could be
38
- * specified as ({resourceProviderNamespace} == 'Microsoft.Compute', {parentResourcePath} ==
39
- * 'virtualMachines/MyVirtualMachine', {resourceType} == 'domainNames', {resourceName} ==
40
- * 'MyComputerName'). A convenient alternative to providing the namespace and type name separately is
41
- * to provide both in the {resourceType} parameter, format: ({resourceProviderNamespace} == '',
42
- * {parentResourcePath} == '', {resourceType} == 'Microsoft.Web/sites', {resourceName} == 'MyWebApp').
43
- * @param resourceGroupName The name of the resource group containing the resource.
44
- * @param resourceProviderNamespace The namespace of the resource provider. For example, the namespace
45
- * of a virtual machine is Microsoft.Compute (from Microsoft.Compute/virtualMachines)
46
- * @param parentResourcePath The parent resource path. Use empty string if there is none.
47
- * @param resourceType The resource type name. For example the type name of a web app is 'sites' (from
48
- * Microsoft.Web/sites).
49
- * @param resourceName The name of the resource.
50
- * @param options The options parameters.
51
- */
52
- listForResource(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options?: PolicyExemptionsListForResourceOptionalParams): PagedAsyncIterableIterator<PolicyExemption>;
53
- /**
54
- * This operation retrieves the list of all policy exemptions applicable to the management group that
55
- * match the given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()',
56
- * 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter=atScope() is provided, the
57
- * returned list includes all policy exemptions that are assigned to the management group or the
58
- * management group's ancestors.
59
- * @param managementGroupId The ID of the management group.
60
- * @param options The options parameters.
61
- */
62
- listForManagementGroup(managementGroupId: string, options?: PolicyExemptionsListForManagementGroupOptionalParams): PagedAsyncIterableIterator<PolicyExemption>;
63
- /**
64
- * This operation deletes a policy exemption, given its name and the scope it was created in. The scope
65
- * of a policy exemption is the part of its ID preceding
66
- * '/providers/Microsoft.Authorization/policyExemptions/{policyExemptionName}'.
67
- * @param scope The scope of the policy exemption. Valid scopes are: management group (format:
68
- * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
69
- * '/subscriptions/{subscriptionId}'), resource group (format:
70
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:
71
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'
72
- * @param policyExemptionName The name of the policy exemption to delete.
73
- * @param options The options parameters.
74
- */
75
- delete(scope: string, policyExemptionName: string, options?: PolicyExemptionsDeleteOptionalParams): Promise<void>;
76
- /**
77
- * This operation creates or updates a policy exemption with the given scope and name. Policy
78
- * exemptions apply to all resources contained within their scope. For example, when you create a
79
- * policy exemption at resource group scope for a policy assignment at the same or above level, the
80
- * exemption exempts to all applicable resources in the resource group.
81
- * @param scope The scope of the policy exemption. Valid scopes are: management group (format:
82
- * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
83
- * '/subscriptions/{subscriptionId}'), resource group (format:
84
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:
85
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'
86
- * @param policyExemptionName The name of the policy exemption to delete.
87
- * @param parameters Parameters for the policy exemption.
88
- * @param options The options parameters.
89
- */
90
- createOrUpdate(scope: string, policyExemptionName: string, parameters: PolicyExemption, options?: PolicyExemptionsCreateOrUpdateOptionalParams): Promise<PolicyExemptionsCreateOrUpdateResponse>;
91
- /**
92
- * This operation retrieves a single policy exemption, given its name and the scope it was created at.
93
- * @param scope The scope of the policy exemption. Valid scopes are: management group (format:
94
- * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
95
- * '/subscriptions/{subscriptionId}'), resource group (format:
96
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:
97
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'
98
- * @param policyExemptionName The name of the policy exemption to delete.
99
- * @param options The options parameters.
100
- */
101
- get(scope: string, policyExemptionName: string, options?: PolicyExemptionsGetOptionalParams): Promise<PolicyExemptionsGetResponse>;
102
- /**
103
- * This operation updates a policy exemption with the given scope and name.
104
- * @param scope The scope of the policy exemption. Valid scopes are: management group (format:
105
- * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
106
- * '/subscriptions/{subscriptionId}'), resource group (format:
107
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:
108
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'
109
- * @param policyExemptionName The name of the policy exemption to delete.
110
- * @param parameters Parameters for policy exemption patch request.
111
- * @param options The options parameters.
112
- */
113
- update(scope: string, policyExemptionName: string, parameters: PolicyExemptionUpdate, options?: PolicyExemptionsUpdateOptionalParams): Promise<PolicyExemptionsUpdateResponse>;
114
- }
115
- //# sourceMappingURL=policyExemptions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"policyExemptions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/policyExemptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,eAAe,EACf,kCAAkC,EAClC,kDAAkD,EAClD,6CAA6C,EAC7C,oDAAoD,EACpD,oCAAoC,EACpC,4CAA4C,EAC5C,sCAAsC,EACtC,iCAAiC,EACjC,2BAA2B,EAC3B,qBAAqB,EACrB,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,oBAAoB,CAAC;AAG5B,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAC/B;;;;;;;;OAQG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,kCAAkC,GAC3C,0BAA0B,CAAC,eAAe,CAAC,CAAC;IAC/C;;;;;;;;;OASG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,0BAA0B,CAAC,eAAe,CAAC,CAAC;IAC/C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,kBAAkB,EAAE,MAAM,EAC1B,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,eAAe,CAAC,CAAC;IAC/C;;;;;;;;OAQG;IACH,sBAAsB,CACpB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,oDAAoD,GAC7D,0BAA0B,CAAC,eAAe,CAAC,CAAC;IAC/C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,KAAK,EAAE,MAAM,EACb,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;;;;;;OAaG;IACH,cAAc,CACZ,KAAK,EAAE,MAAM,EACb,mBAAmB,EAAE,MAAM,EAC3B,UAAU,EAAE,eAAe,EAC3B,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;;;;;;OASG;IACH,GAAG,CACD,KAAK,EAAE,MAAM,EACb,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;;;;;;;OAUG;IACH,MAAM,CACJ,KAAK,EAAE,MAAM,EACb,mBAAmB,EAAE,MAAM,EAC3B,UAAU,EAAE,qBAAqB,EACjC,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;CAC5C"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- //# sourceMappingURL=policyExemptions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"policyExemptions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/policyExemptions.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n PolicyExemption,\n PolicyExemptionsListOptionalParams,\n PolicyExemptionsListForResourceGroupOptionalParams,\n PolicyExemptionsListForResourceOptionalParams,\n PolicyExemptionsListForManagementGroupOptionalParams,\n PolicyExemptionsDeleteOptionalParams,\n PolicyExemptionsCreateOrUpdateOptionalParams,\n PolicyExemptionsCreateOrUpdateResponse,\n PolicyExemptionsGetOptionalParams,\n PolicyExemptionsGetResponse,\n PolicyExemptionUpdate,\n PolicyExemptionsUpdateOptionalParams,\n PolicyExemptionsUpdateResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a PolicyExemptions. */\nexport interface PolicyExemptions {\n /**\n * This operation retrieves the list of all policy exemptions associated with the given subscription\n * that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()',\n * 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter is not provided, the unfiltered\n * list includes all policy exemptions associated with the subscription, including those that apply\n * directly or from management groups that contain the given subscription, as well as any applied to\n * objects contained within the subscription.\n * @param options The options parameters.\n */\n list(\n options?: PolicyExemptionsListOptionalParams,\n ): PagedAsyncIterableIterator<PolicyExemption>;\n /**\n * This operation retrieves the list of all policy exemptions 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()', 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter\n * is not provided, the unfiltered list includes all policy exemptions associated with the resource\n * group, including those that apply directly or apply from containing scopes, as well as any applied\n * to resources contained within the resource group.\n * @param resourceGroupName The name of the resource group containing the resource.\n * @param options The options parameters.\n */\n listForResourceGroup(\n resourceGroupName: string,\n options?: PolicyExemptionsListForResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<PolicyExemption>;\n /**\n * This operation retrieves the list of all policy exemptions associated with the specified resource in\n * the given resource group and subscription that match the optional given $filter. Valid values for\n * $filter are: 'atScope()', 'atExactScope()', 'excludeExpired()' or 'policyAssignmentId eq '{value}''.\n * If $filter is not provided, the unfiltered list includes all policy exemptions associated with the\n * resource, including those that apply directly or from all containing scopes, as well as any applied\n * to resources contained within the resource. Three parameters plus the resource name are used to\n * identify a specific resource. If the resource is not part of a parent resource (the more common\n * case), the parent resource path should not be provided (or provided as ''). For example a web app\n * could be specified as ({resourceProviderNamespace} == 'Microsoft.Web', {parentResourcePath} == '',\n * {resourceType} == 'sites', {resourceName} == 'MyWebApp'). If the resource is part of a parent\n * resource, then all parameters should be provided. For example a virtual machine DNS name could be\n * specified as ({resourceProviderNamespace} == 'Microsoft.Compute', {parentResourcePath} ==\n * 'virtualMachines/MyVirtualMachine', {resourceType} == 'domainNames', {resourceName} ==\n * 'MyComputerName'). A convenient alternative to providing the namespace and type name separately is\n * to provide both in the {resourceType} parameter, format: ({resourceProviderNamespace} == '',\n * {parentResourcePath} == '', {resourceType} == '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 listForResource(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: PolicyExemptionsListForResourceOptionalParams,\n ): PagedAsyncIterableIterator<PolicyExemption>;\n /**\n * This operation retrieves the list of all policy exemptions applicable to the management group that\n * match the given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()',\n * 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter=atScope() is provided, the\n * returned list includes all policy exemptions that are assigned to the management group or the\n * management group's ancestors.\n * @param managementGroupId The ID of the management group.\n * @param options The options parameters.\n */\n listForManagementGroup(\n managementGroupId: string,\n options?: PolicyExemptionsListForManagementGroupOptionalParams,\n ): PagedAsyncIterableIterator<PolicyExemption>;\n /**\n * This operation deletes a policy exemption, given its name and the scope it was created in. The scope\n * of a policy exemption is the part of its ID preceding\n * '/providers/Microsoft.Authorization/policyExemptions/{policyExemptionName}'.\n * @param scope The scope of the policy exemption. 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 policyExemptionName The name of the policy exemption to delete.\n * @param options The options parameters.\n */\n delete(\n scope: string,\n policyExemptionName: string,\n options?: PolicyExemptionsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * This operation creates or updates a policy exemption with the given scope and name. Policy\n * exemptions apply to all resources contained within their scope. For example, when you create a\n * policy exemption at resource group scope for a policy assignment at the same or above level, the\n * exemption exempts to all applicable resources in the resource group.\n * @param scope The scope of the policy exemption. 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 policyExemptionName The name of the policy exemption to delete.\n * @param parameters Parameters for the policy exemption.\n * @param options The options parameters.\n */\n createOrUpdate(\n scope: string,\n policyExemptionName: string,\n parameters: PolicyExemption,\n options?: PolicyExemptionsCreateOrUpdateOptionalParams,\n ): Promise<PolicyExemptionsCreateOrUpdateResponse>;\n /**\n * This operation retrieves a single policy exemption, given its name and the scope it was created at.\n * @param scope The scope of the policy exemption. 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 policyExemptionName The name of the policy exemption to delete.\n * @param options The options parameters.\n */\n get(\n scope: string,\n policyExemptionName: string,\n options?: PolicyExemptionsGetOptionalParams,\n ): Promise<PolicyExemptionsGetResponse>;\n /**\n * This operation updates a policy exemption with the given scope and name.\n * @param scope The scope of the policy exemption. 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 policyExemptionName The name of the policy exemption to delete.\n * @param parameters Parameters for policy exemption patch request.\n * @param options The options parameters.\n */\n update(\n scope: string,\n policyExemptionName: string,\n parameters: PolicyExemptionUpdate,\n options?: PolicyExemptionsUpdateOptionalParams,\n ): Promise<PolicyExemptionsUpdateResponse>;\n}\n"]}
@@ -1,76 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { VariableValue, VariableValuesListOptionalParams, VariableValuesListForManagementGroupOptionalParams, VariableValuesDeleteOptionalParams, VariableValuesCreateOrUpdateOptionalParams, VariableValuesCreateOrUpdateResponse, VariableValuesGetOptionalParams, VariableValuesGetResponse, VariableValuesDeleteAtManagementGroupOptionalParams, VariableValuesCreateOrUpdateAtManagementGroupOptionalParams, VariableValuesCreateOrUpdateAtManagementGroupResponse, VariableValuesGetAtManagementGroupOptionalParams, VariableValuesGetAtManagementGroupResponse } from "../models/index.js";
3
- /** Interface representing a VariableValues. */
4
- export interface VariableValues {
5
- /**
6
- * This operation retrieves the list of all variable values associated with the given variable that is
7
- * at a subscription level.
8
- * @param variableName The name of the variable to operate on.
9
- * @param options The options parameters.
10
- */
11
- list(variableName: string, options?: VariableValuesListOptionalParams): PagedAsyncIterableIterator<VariableValue>;
12
- /**
13
- * This operation retrieves the list of all variable values applicable the variable indicated at the
14
- * management group scope.
15
- * @param managementGroupId The ID of the management group.
16
- * @param variableName The name of the variable to operate on.
17
- * @param options The options parameters.
18
- */
19
- listForManagementGroup(managementGroupId: string, variableName: string, options?: VariableValuesListForManagementGroupOptionalParams): PagedAsyncIterableIterator<VariableValue>;
20
- /**
21
- * This operation deletes a variable value, given its name, the subscription it was created in, and the
22
- * variable it belongs to. The scope of a variable value is the part of its ID preceding
23
- * '/providers/Microsoft.Authorization/variables/{variableName}'.
24
- * @param variableName The name of the variable to operate on.
25
- * @param variableValueName The name of the variable value to operate on.
26
- * @param options The options parameters.
27
- */
28
- delete(variableName: string, variableValueName: string, options?: VariableValuesDeleteOptionalParams): Promise<void>;
29
- /**
30
- * This operation creates or updates a variable value with the given subscription and name for a given
31
- * variable. Variable values are scoped to the variable for which they are created for.
32
- * @param variableName The name of the variable to operate on.
33
- * @param variableValueName The name of the variable value to operate on.
34
- * @param parameters Parameters for the variable value.
35
- * @param options The options parameters.
36
- */
37
- createOrUpdate(variableName: string, variableValueName: string, parameters: VariableValue, options?: VariableValuesCreateOrUpdateOptionalParams): Promise<VariableValuesCreateOrUpdateResponse>;
38
- /**
39
- * This operation retrieves a single variable value; given its name, subscription it was created at and
40
- * the variable it's created for.
41
- * @param variableName The name of the variable to operate on.
42
- * @param variableValueName The name of the variable value to operate on.
43
- * @param options The options parameters.
44
- */
45
- get(variableName: string, variableValueName: string, options?: VariableValuesGetOptionalParams): Promise<VariableValuesGetResponse>;
46
- /**
47
- * This operation deletes a variable value, given its name, the management group it was created in, and
48
- * the variable it belongs to. The scope of a variable value is the part of its ID preceding
49
- * '/providers/Microsoft.Authorization/variables/{variableName}'.
50
- * @param managementGroupId The ID of the management group.
51
- * @param variableName The name of the variable to operate on.
52
- * @param variableValueName The name of the variable value to operate on.
53
- * @param options The options parameters.
54
- */
55
- deleteAtManagementGroup(managementGroupId: string, variableName: string, variableValueName: string, options?: VariableValuesDeleteAtManagementGroupOptionalParams): Promise<void>;
56
- /**
57
- * This operation creates or updates a variable value with the given management group and name for a
58
- * given variable. Variable values are scoped to the variable for which they are created for.
59
- * @param managementGroupId The ID of the management group.
60
- * @param variableName The name of the variable to operate on.
61
- * @param variableValueName The name of the variable value to operate on.
62
- * @param parameters Parameters for the variable value.
63
- * @param options The options parameters.
64
- */
65
- createOrUpdateAtManagementGroup(managementGroupId: string, variableName: string, variableValueName: string, parameters: VariableValue, options?: VariableValuesCreateOrUpdateAtManagementGroupOptionalParams): Promise<VariableValuesCreateOrUpdateAtManagementGroupResponse>;
66
- /**
67
- * This operation retrieves a single variable value; given its name, management group it was created
68
- * at and the variable it's created for.
69
- * @param managementGroupId The ID of the management group.
70
- * @param variableName The name of the variable to operate on.
71
- * @param variableValueName The name of the variable value to operate on.
72
- * @param options The options parameters.
73
- */
74
- getAtManagementGroup(managementGroupId: string, variableName: string, variableValueName: string, options?: VariableValuesGetAtManagementGroupOptionalParams): Promise<VariableValuesGetAtManagementGroupResponse>;
75
- }
76
- //# sourceMappingURL=variableValues.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"variableValues.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/variableValues.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,aAAa,EACb,gCAAgC,EAChC,kDAAkD,EAClD,kCAAkC,EAClC,0CAA0C,EAC1C,oCAAoC,EACpC,+BAA+B,EAC/B,yBAAyB,EACzB,mDAAmD,EACnD,2DAA2D,EAC3D,qDAAqD,EACrD,gDAAgD,EAChD,0CAA0C,EAC3C,MAAM,oBAAoB,CAAC;AAG5B,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B;;;;;OAKG;IACH,IAAI,CACF,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC7C;;;;;;OAMG;IACH,sBAAsB,CACpB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC7C;;;;;;;OAOG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,cAAc,CACZ,YAAY,EAAE,MAAM,EACpB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;IACjD;;;;;;OAMG;IACH,GAAG,CACD,YAAY,EAAE,MAAM,EACpB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC;;;;;;;;OAQG;IACH,uBAAuB,CACrB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;OAQG;IACH,+BAA+B,CAC7B,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,2DAA2D,GACpE,OAAO,CAAC,qDAAqD,CAAC,CAAC;IAClE;;;;;;;OAOG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;CACxD"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- //# sourceMappingURL=variableValues.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"variableValues.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/variableValues.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n VariableValue,\n VariableValuesListOptionalParams,\n VariableValuesListForManagementGroupOptionalParams,\n VariableValuesDeleteOptionalParams,\n VariableValuesCreateOrUpdateOptionalParams,\n VariableValuesCreateOrUpdateResponse,\n VariableValuesGetOptionalParams,\n VariableValuesGetResponse,\n VariableValuesDeleteAtManagementGroupOptionalParams,\n VariableValuesCreateOrUpdateAtManagementGroupOptionalParams,\n VariableValuesCreateOrUpdateAtManagementGroupResponse,\n VariableValuesGetAtManagementGroupOptionalParams,\n VariableValuesGetAtManagementGroupResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a VariableValues. */\nexport interface VariableValues {\n /**\n * This operation retrieves the list of all variable values associated with the given variable that is\n * at a subscription level.\n * @param variableName The name of the variable to operate on.\n * @param options The options parameters.\n */\n list(\n variableName: string,\n options?: VariableValuesListOptionalParams,\n ): PagedAsyncIterableIterator<VariableValue>;\n /**\n * This operation retrieves the list of all variable values applicable the variable indicated at the\n * management group scope.\n * @param managementGroupId The ID of the management group.\n * @param variableName The name of the variable to operate on.\n * @param options The options parameters.\n */\n listForManagementGroup(\n managementGroupId: string,\n variableName: string,\n options?: VariableValuesListForManagementGroupOptionalParams,\n ): PagedAsyncIterableIterator<VariableValue>;\n /**\n * This operation deletes a variable value, given its name, the subscription it was created in, and the\n * variable it belongs to. The scope of a variable value is the part of its ID preceding\n * '/providers/Microsoft.Authorization/variables/{variableName}'.\n * @param variableName The name of the variable to operate on.\n * @param variableValueName The name of the variable value to operate on.\n * @param options The options parameters.\n */\n delete(\n variableName: string,\n variableValueName: string,\n options?: VariableValuesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * This operation creates or updates a variable value with the given subscription and name for a given\n * variable. Variable values are scoped to the variable for which they are created for.\n * @param variableName The name of the variable to operate on.\n * @param variableValueName The name of the variable value to operate on.\n * @param parameters Parameters for the variable value.\n * @param options The options parameters.\n */\n createOrUpdate(\n variableName: string,\n variableValueName: string,\n parameters: VariableValue,\n options?: VariableValuesCreateOrUpdateOptionalParams,\n ): Promise<VariableValuesCreateOrUpdateResponse>;\n /**\n * This operation retrieves a single variable value; given its name, subscription it was created at and\n * the variable it's created for.\n * @param variableName The name of the variable to operate on.\n * @param variableValueName The name of the variable value to operate on.\n * @param options The options parameters.\n */\n get(\n variableName: string,\n variableValueName: string,\n options?: VariableValuesGetOptionalParams,\n ): Promise<VariableValuesGetResponse>;\n /**\n * This operation deletes a variable value, given its name, the management group it was created in, and\n * the variable it belongs to. The scope of a variable value is the part of its ID preceding\n * '/providers/Microsoft.Authorization/variables/{variableName}'.\n * @param managementGroupId The ID of the management group.\n * @param variableName The name of the variable to operate on.\n * @param variableValueName The name of the variable value to operate on.\n * @param options The options parameters.\n */\n deleteAtManagementGroup(\n managementGroupId: string,\n variableName: string,\n variableValueName: string,\n options?: VariableValuesDeleteAtManagementGroupOptionalParams,\n ): Promise<void>;\n /**\n * This operation creates or updates a variable value with the given management group and name for a\n * given variable. Variable values are scoped to the variable for which they are created for.\n * @param managementGroupId The ID of the management group.\n * @param variableName The name of the variable to operate on.\n * @param variableValueName The name of the variable value to operate on.\n * @param parameters Parameters for the variable value.\n * @param options The options parameters.\n */\n createOrUpdateAtManagementGroup(\n managementGroupId: string,\n variableName: string,\n variableValueName: string,\n parameters: VariableValue,\n options?: VariableValuesCreateOrUpdateAtManagementGroupOptionalParams,\n ): Promise<VariableValuesCreateOrUpdateAtManagementGroupResponse>;\n /**\n * This operation retrieves a single variable value; given its name, management group it was created\n * at and the variable it's created for.\n * @param managementGroupId The ID of the management group.\n * @param variableName The name of the variable to operate on.\n * @param variableValueName The name of the variable value to operate on.\n * @param options The options parameters.\n */\n getAtManagementGroup(\n managementGroupId: string,\n variableName: string,\n variableValueName: string,\n options?: VariableValuesGetAtManagementGroupOptionalParams,\n ): Promise<VariableValuesGetAtManagementGroupResponse>;\n}\n"]}
@@ -1,65 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Variable, VariablesListOptionalParams, VariablesListForManagementGroupOptionalParams, VariablesDeleteOptionalParams, VariablesCreateOrUpdateOptionalParams, VariablesCreateOrUpdateResponse, VariablesGetOptionalParams, VariablesGetResponse, VariablesDeleteAtManagementGroupOptionalParams, VariablesCreateOrUpdateAtManagementGroupOptionalParams, VariablesCreateOrUpdateAtManagementGroupResponse, VariablesGetAtManagementGroupOptionalParams, VariablesGetAtManagementGroupResponse } from "../models/index.js";
3
- /** Interface representing a Variables. */
4
- export interface Variables {
5
- /**
6
- * This operation retrieves the list of all variables associated with the given subscription.
7
- * @param options The options parameters.
8
- */
9
- list(options?: VariablesListOptionalParams): PagedAsyncIterableIterator<Variable>;
10
- /**
11
- * This operation retrieves the list of all variables applicable to the management group.
12
- * @param managementGroupId The ID of the management group.
13
- * @param options The options parameters.
14
- */
15
- listForManagementGroup(managementGroupId: string, options?: VariablesListForManagementGroupOptionalParams): PagedAsyncIterableIterator<Variable>;
16
- /**
17
- * This operation deletes a variable, given its name and the subscription it was created in. The scope
18
- * of a variable is the part of its ID preceding
19
- * '/providers/Microsoft.Authorization/variables/{variableName}'.
20
- * @param variableName The name of the variable to operate on.
21
- * @param options The options parameters.
22
- */
23
- delete(variableName: string, options?: VariablesDeleteOptionalParams): Promise<void>;
24
- /**
25
- * This operation creates or updates a variable with the given subscription and name. Policy variables
26
- * can only be used by a policy definition at the scope they are created or below.
27
- * @param variableName The name of the variable to operate on.
28
- * @param parameters Parameters for the variable.
29
- * @param options The options parameters.
30
- */
31
- createOrUpdate(variableName: string, parameters: Variable, options?: VariablesCreateOrUpdateOptionalParams): Promise<VariablesCreateOrUpdateResponse>;
32
- /**
33
- * This operation retrieves a single variable, given its name and the subscription it was created at.
34
- * @param variableName The name of the variable to operate on.
35
- * @param options The options parameters.
36
- */
37
- get(variableName: string, options?: VariablesGetOptionalParams): Promise<VariablesGetResponse>;
38
- /**
39
- * This operation deletes a variable, given its name and the management group it was created in. The
40
- * scope of a variable is the part of its ID preceding
41
- * '/providers/Microsoft.Authorization/variables/{variableName}'.
42
- * @param managementGroupId The ID of the management group.
43
- * @param variableName The name of the variable to operate on.
44
- * @param options The options parameters.
45
- */
46
- deleteAtManagementGroup(managementGroupId: string, variableName: string, options?: VariablesDeleteAtManagementGroupOptionalParams): Promise<void>;
47
- /**
48
- * This operation creates or updates a variable with the given management group and name. Policy
49
- * variables can only be used by a policy definition at the scope they are created or below.
50
- * @param managementGroupId The ID of the management group.
51
- * @param variableName The name of the variable to operate on.
52
- * @param parameters Parameters for the variable.
53
- * @param options The options parameters.
54
- */
55
- createOrUpdateAtManagementGroup(managementGroupId: string, variableName: string, parameters: Variable, options?: VariablesCreateOrUpdateAtManagementGroupOptionalParams): Promise<VariablesCreateOrUpdateAtManagementGroupResponse>;
56
- /**
57
- * This operation retrieves a single variable, given its name and the management group it was created
58
- * at.
59
- * @param managementGroupId The ID of the management group.
60
- * @param variableName The name of the variable to operate on.
61
- * @param options The options parameters.
62
- */
63
- getAtManagementGroup(managementGroupId: string, variableName: string, options?: VariablesGetAtManagementGroupOptionalParams): Promise<VariablesGetAtManagementGroupResponse>;
64
- }
65
- //# sourceMappingURL=variables.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/variables.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,QAAQ,EACR,2BAA2B,EAC3B,6CAA6C,EAC7C,6BAA6B,EAC7B,qCAAqC,EACrC,+BAA+B,EAC/B,0BAA0B,EAC1B,oBAAoB,EACpB,8CAA8C,EAC9C,sDAAsD,EACtD,gDAAgD,EAChD,2CAA2C,EAC3C,qCAAqC,EACtC,MAAM,oBAAoB,CAAC;AAG5B,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,2BAA2B,GACpC,0BAA0B,CAAC,QAAQ,CAAC,CAAC;IACxC;;;;OAIG;IACH,sBAAsB,CACpB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,QAAQ,CAAC,CAAC;IACxC;;;;;;OAMG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,cAAc,CACZ,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC5C;;;;OAIG;IACH,GAAG,CACD,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;;;;;OAOG;IACH,uBAAuB,CACrB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,+BAA+B,CAC7B,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC,CAAC;IAC7D;;;;;;OAMG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;CACnD"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- //# sourceMappingURL=variables.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"variables.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/variables.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n Variable,\n VariablesListOptionalParams,\n VariablesListForManagementGroupOptionalParams,\n VariablesDeleteOptionalParams,\n VariablesCreateOrUpdateOptionalParams,\n VariablesCreateOrUpdateResponse,\n VariablesGetOptionalParams,\n VariablesGetResponse,\n VariablesDeleteAtManagementGroupOptionalParams,\n VariablesCreateOrUpdateAtManagementGroupOptionalParams,\n VariablesCreateOrUpdateAtManagementGroupResponse,\n VariablesGetAtManagementGroupOptionalParams,\n VariablesGetAtManagementGroupResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Variables. */\nexport interface Variables {\n /**\n * This operation retrieves the list of all variables associated with the given subscription.\n * @param options The options parameters.\n */\n list(\n options?: VariablesListOptionalParams,\n ): PagedAsyncIterableIterator<Variable>;\n /**\n * This operation retrieves the list of all variables applicable to the management group.\n * @param managementGroupId The ID of the management group.\n * @param options The options parameters.\n */\n listForManagementGroup(\n managementGroupId: string,\n options?: VariablesListForManagementGroupOptionalParams,\n ): PagedAsyncIterableIterator<Variable>;\n /**\n * This operation deletes a variable, given its name and the subscription it was created in. The scope\n * of a variable is the part of its ID preceding\n * '/providers/Microsoft.Authorization/variables/{variableName}'.\n * @param variableName The name of the variable to operate on.\n * @param options The options parameters.\n */\n delete(\n variableName: string,\n options?: VariablesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * This operation creates or updates a variable with the given subscription and name. Policy variables\n * can only be used by a policy definition at the scope they are created or below.\n * @param variableName The name of the variable to operate on.\n * @param parameters Parameters for the variable.\n * @param options The options parameters.\n */\n createOrUpdate(\n variableName: string,\n parameters: Variable,\n options?: VariablesCreateOrUpdateOptionalParams,\n ): Promise<VariablesCreateOrUpdateResponse>;\n /**\n * This operation retrieves a single variable, given its name and the subscription it was created at.\n * @param variableName The name of the variable to operate on.\n * @param options The options parameters.\n */\n get(\n variableName: string,\n options?: VariablesGetOptionalParams,\n ): Promise<VariablesGetResponse>;\n /**\n * This operation deletes a variable, given its name and the management group it was created in. The\n * scope of a variable is the part of its ID preceding\n * '/providers/Microsoft.Authorization/variables/{variableName}'.\n * @param managementGroupId The ID of the management group.\n * @param variableName The name of the variable to operate on.\n * @param options The options parameters.\n */\n deleteAtManagementGroup(\n managementGroupId: string,\n variableName: string,\n options?: VariablesDeleteAtManagementGroupOptionalParams,\n ): Promise<void>;\n /**\n * This operation creates or updates a variable with the given management group and name. Policy\n * variables can only be used by a policy definition at the scope they are created or below.\n * @param managementGroupId The ID of the management group.\n * @param variableName The name of the variable to operate on.\n * @param parameters Parameters for the variable.\n * @param options The options parameters.\n */\n createOrUpdateAtManagementGroup(\n managementGroupId: string,\n variableName: string,\n parameters: Variable,\n options?: VariablesCreateOrUpdateAtManagementGroupOptionalParams,\n ): Promise<VariablesCreateOrUpdateAtManagementGroupResponse>;\n /**\n * This operation retrieves a single variable, given its name and the management group it was created\n * at.\n * @param managementGroupId The ID of the management group.\n * @param variableName The name of the variable to operate on.\n * @param options The options parameters.\n */\n getAtManagementGroup(\n managementGroupId: string,\n variableName: string,\n options?: VariablesGetAtManagementGroupOptionalParams,\n ): Promise<VariablesGetAtManagementGroupResponse>;\n}\n"]}
@@ -1,46 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { DataPolicyManifests } from "../operationsInterfaces/index.js";
3
- import { PolicyClient } from "../policyClient.js";
4
- import { DataPolicyManifest, DataPolicyManifestsListOptionalParams, DataPolicyManifestsGetByPolicyModeOptionalParams, DataPolicyManifestsGetByPolicyModeResponse } from "../models/index.js";
5
- /** Class containing DataPolicyManifests operations. */
6
- export declare class DataPolicyManifestsImpl implements DataPolicyManifests {
7
- private readonly client;
8
- /**
9
- * Initialize a new instance of the class DataPolicyManifests class.
10
- * @param client Reference to the service client
11
- */
12
- constructor(client: PolicyClient);
13
- /**
14
- * This operation retrieves a list of all the data policy manifests that match the optional given
15
- * $filter. Valid values for $filter are: "$filter=namespace eq '{0}'". If $filter is not provided, the
16
- * unfiltered list includes all data policy manifests for data resource types. If $filter=namespace is
17
- * provided, the returned list only includes all data policy manifests that have a namespace matching
18
- * the provided value.
19
- * @param options The options parameters.
20
- */
21
- list(options?: DataPolicyManifestsListOptionalParams): PagedAsyncIterableIterator<DataPolicyManifest>;
22
- private listPagingPage;
23
- private listPagingAll;
24
- /**
25
- * This operation retrieves the data policy manifest with the given policy mode.
26
- * @param policyMode The policy mode of the data policy manifest to get.
27
- * @param options The options parameters.
28
- */
29
- getByPolicyMode(policyMode: string, options?: DataPolicyManifestsGetByPolicyModeOptionalParams): Promise<DataPolicyManifestsGetByPolicyModeResponse>;
30
- /**
31
- * This operation retrieves a list of all the data policy manifests that match the optional given
32
- * $filter. Valid values for $filter are: "$filter=namespace eq '{0}'". If $filter is not provided, the
33
- * unfiltered list includes all data policy manifests for data resource types. If $filter=namespace is
34
- * provided, the returned list only includes all data policy manifests that have a namespace matching
35
- * the provided value.
36
- * @param options The options parameters.
37
- */
38
- private _list;
39
- /**
40
- * ListNext
41
- * @param nextLink The nextLink from the previous successful call to the List method.
42
- * @param options The options parameters.
43
- */
44
- private _listNext;
45
- }
46
- //# sourceMappingURL=dataPolicyManifests.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dataPolicyManifests.d.ts","sourceRoot":"","sources":["../../../src/operations/dataPolicyManifests.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAIvE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EACL,kBAAkB,EAElB,qCAAqC,EAErC,gDAAgD,EAChD,0CAA0C,EAE3C,MAAM,oBAAoB,CAAC;AAG5B,uDAAuD;AACvD,qBAAa,uBAAwB,YAAW,mBAAmB;IACjE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;IAEtC;;;OAGG;gBACS,MAAM,EAAE,YAAY;IAIhC;;;;;;;OAOG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,kBAAkB,CAAC;YAkBlC,cAAc;YAsBd,aAAa;IAQ5B;;;;OAIG;IACH,eAAe,CACb,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC;IAOtD;;;;;;;OAOG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -1,165 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper.js";
10
- import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers.js";
12
- import * as Parameters from "../models/parameters.js";
13
- /// <reference lib="esnext.asynciterable" />
14
- /** Class containing DataPolicyManifests operations. */
15
- export class DataPolicyManifestsImpl {
16
- /**
17
- * Initialize a new instance of the class DataPolicyManifests class.
18
- * @param client Reference to the service client
19
- */
20
- constructor(client) {
21
- this.client = client;
22
- }
23
- /**
24
- * This operation retrieves a list of all the data policy manifests that match the optional given
25
- * $filter. Valid values for $filter are: "$filter=namespace eq '{0}'". If $filter is not provided, the
26
- * unfiltered list includes all data policy manifests for data resource types. If $filter=namespace is
27
- * provided, the returned list only includes all data policy manifests that have a namespace matching
28
- * the provided value.
29
- * @param options The options parameters.
30
- */
31
- list(options) {
32
- const iter = this.listPagingAll(options);
33
- return {
34
- next() {
35
- return iter.next();
36
- },
37
- [Symbol.asyncIterator]() {
38
- return this;
39
- },
40
- byPage: (settings) => {
41
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
42
- throw new Error("maxPageSize is not supported by this operation.");
43
- }
44
- return this.listPagingPage(options, settings);
45
- },
46
- };
47
- }
48
- listPagingPage(options, settings) {
49
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
50
- let result;
51
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
52
- if (!continuationToken) {
53
- result = yield __await(this._list(options));
54
- let page = result.value || [];
55
- continuationToken = result.nextLink;
56
- setContinuationToken(page, continuationToken);
57
- yield yield __await(page);
58
- }
59
- while (continuationToken) {
60
- result = yield __await(this._listNext(continuationToken, options));
61
- continuationToken = result.nextLink;
62
- let page = result.value || [];
63
- setContinuationToken(page, continuationToken);
64
- yield yield __await(page);
65
- }
66
- });
67
- }
68
- listPagingAll(options) {
69
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
70
- var _a, e_1, _b, _c;
71
- try {
72
- for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
73
- _c = _f.value;
74
- _d = false;
75
- const page = _c;
76
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
77
- }
78
- }
79
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
80
- finally {
81
- try {
82
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
83
- }
84
- finally { if (e_1) throw e_1.error; }
85
- }
86
- });
87
- }
88
- /**
89
- * This operation retrieves the data policy manifest with the given policy mode.
90
- * @param policyMode The policy mode of the data policy manifest to get.
91
- * @param options The options parameters.
92
- */
93
- getByPolicyMode(policyMode, options) {
94
- return this.client.sendOperationRequest({ policyMode, options }, getByPolicyModeOperationSpec);
95
- }
96
- /**
97
- * This operation retrieves a list of all the data policy manifests that match the optional given
98
- * $filter. Valid values for $filter are: "$filter=namespace eq '{0}'". If $filter is not provided, the
99
- * unfiltered list includes all data policy manifests for data resource types. If $filter=namespace is
100
- * provided, the returned list only includes all data policy manifests that have a namespace matching
101
- * the provided value.
102
- * @param options The options parameters.
103
- */
104
- _list(options) {
105
- return this.client.sendOperationRequest({ options }, listOperationSpec);
106
- }
107
- /**
108
- * ListNext
109
- * @param nextLink The nextLink from the previous successful call to the List method.
110
- * @param options The options parameters.
111
- */
112
- _listNext(nextLink, options) {
113
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
114
- }
115
- }
116
- // Operation Specifications
117
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
118
- const getByPolicyModeOperationSpec = {
119
- path: "/providers/Microsoft.Authorization/dataPolicyManifests/{policyMode}",
120
- httpMethod: "GET",
121
- responses: {
122
- 200: {
123
- bodyMapper: Mappers.DataPolicyManifest,
124
- },
125
- default: {
126
- bodyMapper: Mappers.CloudError,
127
- },
128
- },
129
- queryParameters: [Parameters.apiVersion],
130
- urlParameters: [Parameters.$host, Parameters.policyMode],
131
- headerParameters: [Parameters.accept],
132
- serializer,
133
- };
134
- const listOperationSpec = {
135
- path: "/providers/Microsoft.Authorization/dataPolicyManifests",
136
- httpMethod: "GET",
137
- responses: {
138
- 200: {
139
- bodyMapper: Mappers.DataPolicyManifestListResult,
140
- },
141
- default: {
142
- bodyMapper: Mappers.CloudError,
143
- },
144
- },
145
- queryParameters: [Parameters.apiVersion, Parameters.filter],
146
- urlParameters: [Parameters.$host],
147
- headerParameters: [Parameters.accept],
148
- serializer,
149
- };
150
- const listNextOperationSpec = {
151
- path: "{nextLink}",
152
- httpMethod: "GET",
153
- responses: {
154
- 200: {
155
- bodyMapper: Mappers.DataPolicyManifestListResult,
156
- },
157
- default: {
158
- bodyMapper: Mappers.CloudError,
159
- },
160
- },
161
- urlParameters: [Parameters.$host, Parameters.nextLink],
162
- headerParameters: [Parameters.accept],
163
- serializer,
164
- };
165
- //# sourceMappingURL=dataPolicyManifests.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dataPolicyManifests.js","sourceRoot":"","sources":["../../../src/operations/dataPolicyManifests.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAYtD,4CAA4C;AAC5C,uDAAuD;AACvD,MAAM,OAAO,uBAAuB;IAGlC;;;OAGG;IACH,YAAY,MAAoB;QAC9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,IAAI,CACT,OAA+C;QAE/C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,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,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAA+C,EAC/C,QAAuB;;YAEvB,IAAI,MAAuC,CAAC;YAC5C,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACvB,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA,CAAC;gBACnC,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC9B,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;gBACpC,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;gBAC9C,oBAAM,IAAI,CAAA,CAAC;YACb,CAAC;YACD,OAAO,iBAAiB,EAAE,CAAC;gBACzB,MAAM,GAAG,cAAM,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAA,CAAC;gBAC1D,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;gBACpC,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC9B,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;gBAC9C,oBAAM,IAAI,CAAA,CAAC;YACb,CAAC;QACH,CAAC;KAAA;IAEc,aAAa,CAC1B,OAA+C;;;;gBAE/C,KAAyB,eAAA,KAAA,cAAA,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA,IAAA,+DAAE,CAAC;oBAA/B,cAA4B;oBAA5B,WAA4B;oBAA1C,MAAM,IAAI,KAAA,CAAA;oBACnB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,IAAI,CAAA,CAAA,CAAA,CAAC;gBACd,CAAC;;;;;;;;;QACH,CAAC;KAAA;IAED;;;;OAIG;IACH,eAAe,CACb,UAAkB,EAClB,OAA0D;QAE1D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,UAAU,EAAE,OAAO,EAAE,EACvB,4BAA4B,CAC7B,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACK,KAAK,CACX,OAA+C;QAE/C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;IAED;;;;OAIG;IACK,SAAS,CACf,QAAgB,EAChB,OAAmD;QAEnD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EAAE,qEAAqE;IAC3E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC;IACxD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,wDAAwD;IAC9D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,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,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,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 { DataPolicyManifests } 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 DataPolicyManifest,\n DataPolicyManifestsListNextOptionalParams,\n DataPolicyManifestsListOptionalParams,\n DataPolicyManifestsListResponse,\n DataPolicyManifestsGetByPolicyModeOptionalParams,\n DataPolicyManifestsGetByPolicyModeResponse,\n DataPolicyManifestsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DataPolicyManifests operations. */\nexport class DataPolicyManifestsImpl implements DataPolicyManifests {\n private readonly client: PolicyClient;\n\n /**\n * Initialize a new instance of the class DataPolicyManifests 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 a list of all the data policy manifests that match the optional given\n * $filter. Valid values for $filter are: \"$filter=namespace eq '{0}'\". If $filter is not provided, the\n * unfiltered list includes all data policy manifests for data resource types. If $filter=namespace is\n * provided, the returned list only includes all data policy manifests that have a namespace matching\n * the provided value.\n * @param options The options parameters.\n */\n public list(\n options?: DataPolicyManifestsListOptionalParams,\n ): PagedAsyncIterableIterator<DataPolicyManifest> {\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?: DataPolicyManifestsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DataPolicyManifest[]> {\n let result: DataPolicyManifestsListResponse;\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?: DataPolicyManifestsListOptionalParams,\n ): AsyncIterableIterator<DataPolicyManifest> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * This operation retrieves the data policy manifest with the given policy mode.\n * @param policyMode The policy mode of the data policy manifest to get.\n * @param options The options parameters.\n */\n getByPolicyMode(\n policyMode: string,\n options?: DataPolicyManifestsGetByPolicyModeOptionalParams,\n ): Promise<DataPolicyManifestsGetByPolicyModeResponse> {\n return this.client.sendOperationRequest(\n { policyMode, options },\n getByPolicyModeOperationSpec,\n );\n }\n\n /**\n * This operation retrieves a list of all the data policy manifests that match the optional given\n * $filter. Valid values for $filter are: \"$filter=namespace eq '{0}'\". If $filter is not provided, the\n * unfiltered list includes all data policy manifests for data resource types. If $filter=namespace is\n * provided, the returned list only includes all data policy manifests that have a namespace matching\n * the provided value.\n * @param options The options parameters.\n */\n private _list(\n options?: DataPolicyManifestsListOptionalParams,\n ): Promise<DataPolicyManifestsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\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?: DataPolicyManifestsListNextOptionalParams,\n ): Promise<DataPolicyManifestsListNextResponse> {\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 getByPolicyModeOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Authorization/dataPolicyManifests/{policyMode}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataPolicyManifest,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.policyMode],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Authorization/dataPolicyManifests\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataPolicyManifestListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataPolicyManifestListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}