@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,733 +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 PolicyExemptions operations. */
15
- export class PolicyExemptionsImpl {
16
- /**
17
- * Initialize a new instance of the class PolicyExemptions class.
18
- * @param client Reference to the service client
19
- */
20
- constructor(client) {
21
- this.client = client;
22
- }
23
- /**
24
- * This operation retrieves the list of all policy exemptions associated with the given subscription
25
- * that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()',
26
- * 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter is not provided, the unfiltered
27
- * list includes all policy exemptions associated with the subscription, including those that apply
28
- * directly or from management groups that contain the given subscription, as well as any applied to
29
- * objects contained within the subscription.
30
- * @param options The options parameters.
31
- */
32
- list(options) {
33
- const iter = this.listPagingAll(options);
34
- return {
35
- next() {
36
- return iter.next();
37
- },
38
- [Symbol.asyncIterator]() {
39
- return this;
40
- },
41
- byPage: (settings) => {
42
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
43
- throw new Error("maxPageSize is not supported by this operation.");
44
- }
45
- return this.listPagingPage(options, settings);
46
- },
47
- };
48
- }
49
- listPagingPage(options, settings) {
50
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
51
- let result;
52
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
53
- if (!continuationToken) {
54
- result = yield __await(this._list(options));
55
- let page = result.value || [];
56
- continuationToken = result.nextLink;
57
- setContinuationToken(page, continuationToken);
58
- yield yield __await(page);
59
- }
60
- while (continuationToken) {
61
- result = yield __await(this._listNext(continuationToken, options));
62
- continuationToken = result.nextLink;
63
- let page = result.value || [];
64
- setContinuationToken(page, continuationToken);
65
- yield yield __await(page);
66
- }
67
- });
68
- }
69
- listPagingAll(options) {
70
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
71
- var _a, e_1, _b, _c;
72
- try {
73
- for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
74
- _c = _f.value;
75
- _d = false;
76
- const page = _c;
77
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
78
- }
79
- }
80
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
81
- finally {
82
- try {
83
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
84
- }
85
- finally { if (e_1) throw e_1.error; }
86
- }
87
- });
88
- }
89
- /**
90
- * This operation retrieves the list of all policy exemptions associated with the given resource group
91
- * in the given subscription that match the optional given $filter. Valid values for $filter are:
92
- * 'atScope()', 'atExactScope()', 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter
93
- * is not provided, the unfiltered list includes all policy exemptions associated with the resource
94
- * group, including those that apply directly or apply from containing scopes, as well as any applied
95
- * to resources contained within the resource group.
96
- * @param resourceGroupName The name of the resource group containing the resource.
97
- * @param options The options parameters.
98
- */
99
- listForResourceGroup(resourceGroupName, options) {
100
- const iter = this.listForResourceGroupPagingAll(resourceGroupName, options);
101
- return {
102
- next() {
103
- return iter.next();
104
- },
105
- [Symbol.asyncIterator]() {
106
- return this;
107
- },
108
- byPage: (settings) => {
109
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
110
- throw new Error("maxPageSize is not supported by this operation.");
111
- }
112
- return this.listForResourceGroupPagingPage(resourceGroupName, options, settings);
113
- },
114
- };
115
- }
116
- listForResourceGroupPagingPage(resourceGroupName, options, settings) {
117
- return __asyncGenerator(this, arguments, function* listForResourceGroupPagingPage_1() {
118
- let result;
119
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
120
- if (!continuationToken) {
121
- result = yield __await(this._listForResourceGroup(resourceGroupName, options));
122
- let page = result.value || [];
123
- continuationToken = result.nextLink;
124
- setContinuationToken(page, continuationToken);
125
- yield yield __await(page);
126
- }
127
- while (continuationToken) {
128
- result = yield __await(this._listForResourceGroupNext(resourceGroupName, continuationToken, options));
129
- continuationToken = result.nextLink;
130
- let page = result.value || [];
131
- setContinuationToken(page, continuationToken);
132
- yield yield __await(page);
133
- }
134
- });
135
- }
136
- listForResourceGroupPagingAll(resourceGroupName, options) {
137
- return __asyncGenerator(this, arguments, function* listForResourceGroupPagingAll_1() {
138
- var _a, e_2, _b, _c;
139
- try {
140
- for (var _d = true, _e = __asyncValues(this.listForResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
141
- _c = _f.value;
142
- _d = false;
143
- const page = _c;
144
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
145
- }
146
- }
147
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
148
- finally {
149
- try {
150
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
151
- }
152
- finally { if (e_2) throw e_2.error; }
153
- }
154
- });
155
- }
156
- /**
157
- * This operation retrieves the list of all policy exemptions associated with the specified resource in
158
- * the given resource group and subscription that match the optional given $filter. Valid values for
159
- * $filter are: 'atScope()', 'atExactScope()', 'excludeExpired()' or 'policyAssignmentId eq '{value}''.
160
- * If $filter is not provided, the unfiltered list includes all policy exemptions associated with the
161
- * resource, including those that apply directly or from all containing scopes, as well as any applied
162
- * to resources contained within the resource. Three parameters plus the resource name are used to
163
- * identify a specific resource. If the resource is not part of a parent resource (the more common
164
- * case), the parent resource path should not be provided (or provided as ''). For example a web app
165
- * could be specified as ({resourceProviderNamespace} == 'Microsoft.Web', {parentResourcePath} == '',
166
- * {resourceType} == 'sites', {resourceName} == 'MyWebApp'). If the resource is part of a parent
167
- * resource, then all parameters should be provided. For example a virtual machine DNS name could be
168
- * specified as ({resourceProviderNamespace} == 'Microsoft.Compute', {parentResourcePath} ==
169
- * 'virtualMachines/MyVirtualMachine', {resourceType} == 'domainNames', {resourceName} ==
170
- * 'MyComputerName'). A convenient alternative to providing the namespace and type name separately is
171
- * to provide both in the {resourceType} parameter, format: ({resourceProviderNamespace} == '',
172
- * {parentResourcePath} == '', {resourceType} == 'Microsoft.Web/sites', {resourceName} == 'MyWebApp').
173
- * @param resourceGroupName The name of the resource group containing the resource.
174
- * @param resourceProviderNamespace The namespace of the resource provider. For example, the namespace
175
- * of a virtual machine is Microsoft.Compute (from Microsoft.Compute/virtualMachines)
176
- * @param parentResourcePath The parent resource path. Use empty string if there is none.
177
- * @param resourceType The resource type name. For example the type name of a web app is 'sites' (from
178
- * Microsoft.Web/sites).
179
- * @param resourceName The name of the resource.
180
- * @param options The options parameters.
181
- */
182
- listForResource(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options) {
183
- const iter = this.listForResourcePagingAll(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options);
184
- return {
185
- next() {
186
- return iter.next();
187
- },
188
- [Symbol.asyncIterator]() {
189
- return this;
190
- },
191
- byPage: (settings) => {
192
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
193
- throw new Error("maxPageSize is not supported by this operation.");
194
- }
195
- return this.listForResourcePagingPage(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options, settings);
196
- },
197
- };
198
- }
199
- listForResourcePagingPage(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options, settings) {
200
- return __asyncGenerator(this, arguments, function* listForResourcePagingPage_1() {
201
- let result;
202
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
203
- if (!continuationToken) {
204
- result = yield __await(this._listForResource(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options));
205
- let page = result.value || [];
206
- continuationToken = result.nextLink;
207
- setContinuationToken(page, continuationToken);
208
- yield yield __await(page);
209
- }
210
- while (continuationToken) {
211
- result = yield __await(this._listForResourceNext(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, continuationToken, options));
212
- continuationToken = result.nextLink;
213
- let page = result.value || [];
214
- setContinuationToken(page, continuationToken);
215
- yield yield __await(page);
216
- }
217
- });
218
- }
219
- listForResourcePagingAll(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options) {
220
- return __asyncGenerator(this, arguments, function* listForResourcePagingAll_1() {
221
- var _a, e_3, _b, _c;
222
- try {
223
- for (var _d = true, _e = __asyncValues(this.listForResourcePagingPage(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
224
- _c = _f.value;
225
- _d = false;
226
- const page = _c;
227
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
228
- }
229
- }
230
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
231
- finally {
232
- try {
233
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
234
- }
235
- finally { if (e_3) throw e_3.error; }
236
- }
237
- });
238
- }
239
- /**
240
- * This operation retrieves the list of all policy exemptions applicable to the management group that
241
- * match the given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()',
242
- * 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter=atScope() is provided, the
243
- * returned list includes all policy exemptions that are assigned to the management group or the
244
- * management group's ancestors.
245
- * @param managementGroupId The ID of the management group.
246
- * @param options The options parameters.
247
- */
248
- listForManagementGroup(managementGroupId, options) {
249
- const iter = this.listForManagementGroupPagingAll(managementGroupId, options);
250
- return {
251
- next() {
252
- return iter.next();
253
- },
254
- [Symbol.asyncIterator]() {
255
- return this;
256
- },
257
- byPage: (settings) => {
258
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
259
- throw new Error("maxPageSize is not supported by this operation.");
260
- }
261
- return this.listForManagementGroupPagingPage(managementGroupId, options, settings);
262
- },
263
- };
264
- }
265
- listForManagementGroupPagingPage(managementGroupId, options, settings) {
266
- return __asyncGenerator(this, arguments, function* listForManagementGroupPagingPage_1() {
267
- let result;
268
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
269
- if (!continuationToken) {
270
- result = yield __await(this._listForManagementGroup(managementGroupId, options));
271
- let page = result.value || [];
272
- continuationToken = result.nextLink;
273
- setContinuationToken(page, continuationToken);
274
- yield yield __await(page);
275
- }
276
- while (continuationToken) {
277
- result = yield __await(this._listForManagementGroupNext(managementGroupId, continuationToken, options));
278
- continuationToken = result.nextLink;
279
- let page = result.value || [];
280
- setContinuationToken(page, continuationToken);
281
- yield yield __await(page);
282
- }
283
- });
284
- }
285
- listForManagementGroupPagingAll(managementGroupId, options) {
286
- return __asyncGenerator(this, arguments, function* listForManagementGroupPagingAll_1() {
287
- var _a, e_4, _b, _c;
288
- try {
289
- for (var _d = true, _e = __asyncValues(this.listForManagementGroupPagingPage(managementGroupId, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
290
- _c = _f.value;
291
- _d = false;
292
- const page = _c;
293
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
294
- }
295
- }
296
- catch (e_4_1) { e_4 = { error: e_4_1 }; }
297
- finally {
298
- try {
299
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
300
- }
301
- finally { if (e_4) throw e_4.error; }
302
- }
303
- });
304
- }
305
- /**
306
- * This operation deletes a policy exemption, given its name and the scope it was created in. The scope
307
- * of a policy exemption is the part of its ID preceding
308
- * '/providers/Microsoft.Authorization/policyExemptions/{policyExemptionName}'.
309
- * @param scope The scope of the policy exemption. Valid scopes are: management group (format:
310
- * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
311
- * '/subscriptions/{subscriptionId}'), resource group (format:
312
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:
313
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'
314
- * @param policyExemptionName The name of the policy exemption to delete.
315
- * @param options The options parameters.
316
- */
317
- delete(scope, policyExemptionName, options) {
318
- return this.client.sendOperationRequest({ scope, policyExemptionName, options }, deleteOperationSpec);
319
- }
320
- /**
321
- * This operation creates or updates a policy exemption with the given scope and name. Policy
322
- * exemptions apply to all resources contained within their scope. For example, when you create a
323
- * policy exemption at resource group scope for a policy assignment at the same or above level, the
324
- * exemption exempts to all applicable resources in the resource group.
325
- * @param scope The scope of the policy exemption. Valid scopes are: management group (format:
326
- * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
327
- * '/subscriptions/{subscriptionId}'), resource group (format:
328
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:
329
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'
330
- * @param policyExemptionName The name of the policy exemption to delete.
331
- * @param parameters Parameters for the policy exemption.
332
- * @param options The options parameters.
333
- */
334
- createOrUpdate(scope, policyExemptionName, parameters, options) {
335
- return this.client.sendOperationRequest({ scope, policyExemptionName, parameters, options }, createOrUpdateOperationSpec);
336
- }
337
- /**
338
- * This operation retrieves a single policy exemption, given its name and the scope it was created at.
339
- * @param scope The scope of the policy exemption. Valid scopes are: management group (format:
340
- * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
341
- * '/subscriptions/{subscriptionId}'), resource group (format:
342
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:
343
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'
344
- * @param policyExemptionName The name of the policy exemption to delete.
345
- * @param options The options parameters.
346
- */
347
- get(scope, policyExemptionName, options) {
348
- return this.client.sendOperationRequest({ scope, policyExemptionName, options }, getOperationSpec);
349
- }
350
- /**
351
- * This operation updates a policy exemption with the given scope and name.
352
- * @param scope The scope of the policy exemption. Valid scopes are: management group (format:
353
- * '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
354
- * '/subscriptions/{subscriptionId}'), resource group (format:
355
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format:
356
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'
357
- * @param policyExemptionName The name of the policy exemption to delete.
358
- * @param parameters Parameters for policy exemption patch request.
359
- * @param options The options parameters.
360
- */
361
- update(scope, policyExemptionName, parameters, options) {
362
- return this.client.sendOperationRequest({ scope, policyExemptionName, parameters, options }, updateOperationSpec);
363
- }
364
- /**
365
- * This operation retrieves the list of all policy exemptions associated with the given subscription
366
- * that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()',
367
- * 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter is not provided, the unfiltered
368
- * list includes all policy exemptions associated with the subscription, including those that apply
369
- * directly or from management groups that contain the given subscription, as well as any applied to
370
- * objects contained within the subscription.
371
- * @param options The options parameters.
372
- */
373
- _list(options) {
374
- return this.client.sendOperationRequest({ options }, listOperationSpec);
375
- }
376
- /**
377
- * This operation retrieves the list of all policy exemptions associated with the given resource group
378
- * in the given subscription that match the optional given $filter. Valid values for $filter are:
379
- * 'atScope()', 'atExactScope()', 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter
380
- * is not provided, the unfiltered list includes all policy exemptions associated with the resource
381
- * group, including those that apply directly or apply from containing scopes, as well as any applied
382
- * to resources contained within the resource group.
383
- * @param resourceGroupName The name of the resource group containing the resource.
384
- * @param options The options parameters.
385
- */
386
- _listForResourceGroup(resourceGroupName, options) {
387
- return this.client.sendOperationRequest({ resourceGroupName, options }, listForResourceGroupOperationSpec);
388
- }
389
- /**
390
- * This operation retrieves the list of all policy exemptions associated with the specified resource in
391
- * the given resource group and subscription that match the optional given $filter. Valid values for
392
- * $filter are: 'atScope()', 'atExactScope()', 'excludeExpired()' or 'policyAssignmentId eq '{value}''.
393
- * If $filter is not provided, the unfiltered list includes all policy exemptions associated with the
394
- * resource, including those that apply directly or from all containing scopes, as well as any applied
395
- * to resources contained within the resource. Three parameters plus the resource name are used to
396
- * identify a specific resource. If the resource is not part of a parent resource (the more common
397
- * case), the parent resource path should not be provided (or provided as ''). For example a web app
398
- * could be specified as ({resourceProviderNamespace} == 'Microsoft.Web', {parentResourcePath} == '',
399
- * {resourceType} == 'sites', {resourceName} == 'MyWebApp'). If the resource is part of a parent
400
- * resource, then all parameters should be provided. For example a virtual machine DNS name could be
401
- * specified as ({resourceProviderNamespace} == 'Microsoft.Compute', {parentResourcePath} ==
402
- * 'virtualMachines/MyVirtualMachine', {resourceType} == 'domainNames', {resourceName} ==
403
- * 'MyComputerName'). A convenient alternative to providing the namespace and type name separately is
404
- * to provide both in the {resourceType} parameter, format: ({resourceProviderNamespace} == '',
405
- * {parentResourcePath} == '', {resourceType} == 'Microsoft.Web/sites', {resourceName} == 'MyWebApp').
406
- * @param resourceGroupName The name of the resource group containing the resource.
407
- * @param resourceProviderNamespace The namespace of the resource provider. For example, the namespace
408
- * of a virtual machine is Microsoft.Compute (from Microsoft.Compute/virtualMachines)
409
- * @param parentResourcePath The parent resource path. Use empty string if there is none.
410
- * @param resourceType The resource type name. For example the type name of a web app is 'sites' (from
411
- * Microsoft.Web/sites).
412
- * @param resourceName The name of the resource.
413
- * @param options The options parameters.
414
- */
415
- _listForResource(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options) {
416
- return this.client.sendOperationRequest({
417
- resourceGroupName,
418
- resourceProviderNamespace,
419
- parentResourcePath,
420
- resourceType,
421
- resourceName,
422
- options,
423
- }, listForResourceOperationSpec);
424
- }
425
- /**
426
- * This operation retrieves the list of all policy exemptions applicable to the management group that
427
- * match the given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()',
428
- * 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter=atScope() is provided, the
429
- * returned list includes all policy exemptions that are assigned to the management group or the
430
- * management group's ancestors.
431
- * @param managementGroupId The ID of the management group.
432
- * @param options The options parameters.
433
- */
434
- _listForManagementGroup(managementGroupId, options) {
435
- return this.client.sendOperationRequest({ managementGroupId, options }, listForManagementGroupOperationSpec);
436
- }
437
- /**
438
- * ListNext
439
- * @param nextLink The nextLink from the previous successful call to the List method.
440
- * @param options The options parameters.
441
- */
442
- _listNext(nextLink, options) {
443
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
444
- }
445
- /**
446
- * ListForResourceGroupNext
447
- * @param resourceGroupName The name of the resource group containing the resource.
448
- * @param nextLink The nextLink from the previous successful call to the ListForResourceGroup method.
449
- * @param options The options parameters.
450
- */
451
- _listForResourceGroupNext(resourceGroupName, nextLink, options) {
452
- return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listForResourceGroupNextOperationSpec);
453
- }
454
- /**
455
- * ListForResourceNext
456
- * @param resourceGroupName The name of the resource group containing the resource.
457
- * @param resourceProviderNamespace The namespace of the resource provider. For example, the namespace
458
- * of a virtual machine is Microsoft.Compute (from Microsoft.Compute/virtualMachines)
459
- * @param parentResourcePath The parent resource path. Use empty string if there is none.
460
- * @param resourceType The resource type name. For example the type name of a web app is 'sites' (from
461
- * Microsoft.Web/sites).
462
- * @param resourceName The name of the resource.
463
- * @param nextLink The nextLink from the previous successful call to the ListForResource method.
464
- * @param options The options parameters.
465
- */
466
- _listForResourceNext(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, nextLink, options) {
467
- return this.client.sendOperationRequest({
468
- resourceGroupName,
469
- resourceProviderNamespace,
470
- parentResourcePath,
471
- resourceType,
472
- resourceName,
473
- nextLink,
474
- options,
475
- }, listForResourceNextOperationSpec);
476
- }
477
- /**
478
- * ListForManagementGroupNext
479
- * @param managementGroupId The ID of the management group.
480
- * @param nextLink The nextLink from the previous successful call to the ListForManagementGroup method.
481
- * @param options The options parameters.
482
- */
483
- _listForManagementGroupNext(managementGroupId, nextLink, options) {
484
- return this.client.sendOperationRequest({ managementGroupId, nextLink, options }, listForManagementGroupNextOperationSpec);
485
- }
486
- }
487
- // Operation Specifications
488
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
489
- const deleteOperationSpec = {
490
- path: "/{scope}/providers/Microsoft.Authorization/policyExemptions/{policyExemptionName}",
491
- httpMethod: "DELETE",
492
- responses: {
493
- 200: {},
494
- 204: {},
495
- default: {
496
- bodyMapper: Mappers.CloudError,
497
- },
498
- },
499
- queryParameters: [Parameters.apiVersion2],
500
- urlParameters: [
501
- Parameters.$host,
502
- Parameters.scope,
503
- Parameters.policyExemptionName,
504
- ],
505
- headerParameters: [Parameters.accept],
506
- serializer,
507
- };
508
- const createOrUpdateOperationSpec = {
509
- path: "/{scope}/providers/Microsoft.Authorization/policyExemptions/{policyExemptionName}",
510
- httpMethod: "PUT",
511
- responses: {
512
- 200: {
513
- bodyMapper: Mappers.PolicyExemption,
514
- },
515
- 201: {
516
- bodyMapper: Mappers.PolicyExemption,
517
- },
518
- default: {
519
- bodyMapper: Mappers.CloudError,
520
- },
521
- },
522
- requestBody: Parameters.parameters6,
523
- queryParameters: [Parameters.apiVersion2],
524
- urlParameters: [
525
- Parameters.$host,
526
- Parameters.scope,
527
- Parameters.policyExemptionName,
528
- ],
529
- headerParameters: [Parameters.accept, Parameters.contentType],
530
- mediaType: "json",
531
- serializer,
532
- };
533
- const getOperationSpec = {
534
- path: "/{scope}/providers/Microsoft.Authorization/policyExemptions/{policyExemptionName}",
535
- httpMethod: "GET",
536
- responses: {
537
- 200: {
538
- bodyMapper: Mappers.PolicyExemption,
539
- },
540
- default: {
541
- bodyMapper: Mappers.CloudError,
542
- },
543
- },
544
- queryParameters: [Parameters.apiVersion2],
545
- urlParameters: [
546
- Parameters.$host,
547
- Parameters.scope,
548
- Parameters.policyExemptionName,
549
- ],
550
- headerParameters: [Parameters.accept],
551
- serializer,
552
- };
553
- const updateOperationSpec = {
554
- path: "/{scope}/providers/Microsoft.Authorization/policyExemptions/{policyExemptionName}",
555
- httpMethod: "PATCH",
556
- responses: {
557
- 200: {
558
- bodyMapper: Mappers.PolicyExemption,
559
- },
560
- default: {
561
- bodyMapper: Mappers.CloudError,
562
- },
563
- },
564
- requestBody: Parameters.parameters7,
565
- queryParameters: [Parameters.apiVersion2],
566
- urlParameters: [
567
- Parameters.$host,
568
- Parameters.scope,
569
- Parameters.policyExemptionName,
570
- ],
571
- headerParameters: [Parameters.accept, Parameters.contentType],
572
- mediaType: "json",
573
- serializer,
574
- };
575
- const listOperationSpec = {
576
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyExemptions",
577
- httpMethod: "GET",
578
- responses: {
579
- 200: {
580
- bodyMapper: Mappers.PolicyExemptionListResult,
581
- },
582
- default: {
583
- bodyMapper: Mappers.CloudError,
584
- },
585
- },
586
- queryParameters: [Parameters.filter, Parameters.apiVersion2],
587
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
588
- headerParameters: [Parameters.accept],
589
- serializer,
590
- };
591
- const listForResourceGroupOperationSpec = {
592
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyExemptions",
593
- httpMethod: "GET",
594
- responses: {
595
- 200: {
596
- bodyMapper: Mappers.PolicyExemptionListResult,
597
- },
598
- default: {
599
- bodyMapper: Mappers.CloudError,
600
- },
601
- },
602
- queryParameters: [Parameters.filter, Parameters.apiVersion2],
603
- urlParameters: [
604
- Parameters.$host,
605
- Parameters.subscriptionId,
606
- Parameters.resourceGroupName,
607
- ],
608
- headerParameters: [Parameters.accept],
609
- serializer,
610
- };
611
- const listForResourceOperationSpec = {
612
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyExemptions",
613
- httpMethod: "GET",
614
- responses: {
615
- 200: {
616
- bodyMapper: Mappers.PolicyExemptionListResult,
617
- },
618
- default: {
619
- bodyMapper: Mappers.CloudError,
620
- },
621
- },
622
- queryParameters: [Parameters.filter, Parameters.apiVersion2],
623
- urlParameters: [
624
- Parameters.$host,
625
- Parameters.subscriptionId,
626
- Parameters.resourceGroupName,
627
- Parameters.resourceProviderNamespace,
628
- Parameters.parentResourcePath,
629
- Parameters.resourceType,
630
- Parameters.resourceName1,
631
- ],
632
- headerParameters: [Parameters.accept],
633
- serializer,
634
- };
635
- const listForManagementGroupOperationSpec = {
636
- path: "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyExemptions",
637
- httpMethod: "GET",
638
- responses: {
639
- 200: {
640
- bodyMapper: Mappers.PolicyExemptionListResult,
641
- },
642
- default: {
643
- bodyMapper: Mappers.CloudError,
644
- },
645
- },
646
- queryParameters: [Parameters.filter, Parameters.apiVersion2],
647
- urlParameters: [Parameters.$host, Parameters.managementGroupId],
648
- headerParameters: [Parameters.accept],
649
- serializer,
650
- };
651
- const listNextOperationSpec = {
652
- path: "{nextLink}",
653
- httpMethod: "GET",
654
- responses: {
655
- 200: {
656
- bodyMapper: Mappers.PolicyExemptionListResult,
657
- },
658
- default: {
659
- bodyMapper: Mappers.CloudError,
660
- },
661
- },
662
- urlParameters: [
663
- Parameters.$host,
664
- Parameters.nextLink,
665
- Parameters.subscriptionId,
666
- ],
667
- headerParameters: [Parameters.accept],
668
- serializer,
669
- };
670
- const listForResourceGroupNextOperationSpec = {
671
- path: "{nextLink}",
672
- httpMethod: "GET",
673
- responses: {
674
- 200: {
675
- bodyMapper: Mappers.PolicyExemptionListResult,
676
- },
677
- default: {
678
- bodyMapper: Mappers.CloudError,
679
- },
680
- },
681
- urlParameters: [
682
- Parameters.$host,
683
- Parameters.nextLink,
684
- Parameters.subscriptionId,
685
- Parameters.resourceGroupName,
686
- ],
687
- headerParameters: [Parameters.accept],
688
- serializer,
689
- };
690
- const listForResourceNextOperationSpec = {
691
- path: "{nextLink}",
692
- httpMethod: "GET",
693
- responses: {
694
- 200: {
695
- bodyMapper: Mappers.PolicyExemptionListResult,
696
- },
697
- default: {
698
- bodyMapper: Mappers.CloudError,
699
- },
700
- },
701
- urlParameters: [
702
- Parameters.$host,
703
- Parameters.nextLink,
704
- Parameters.subscriptionId,
705
- Parameters.resourceGroupName,
706
- Parameters.resourceProviderNamespace,
707
- Parameters.parentResourcePath,
708
- Parameters.resourceType,
709
- Parameters.resourceName1,
710
- ],
711
- headerParameters: [Parameters.accept],
712
- serializer,
713
- };
714
- const listForManagementGroupNextOperationSpec = {
715
- path: "{nextLink}",
716
- httpMethod: "GET",
717
- responses: {
718
- 200: {
719
- bodyMapper: Mappers.PolicyExemptionListResult,
720
- },
721
- default: {
722
- bodyMapper: Mappers.CloudError,
723
- },
724
- },
725
- urlParameters: [
726
- Parameters.$host,
727
- Parameters.nextLink,
728
- Parameters.managementGroupId,
729
- ],
730
- headerParameters: [Parameters.accept],
731
- serializer,
732
- };
733
- //# sourceMappingURL=policyExemptions.js.map