@azure/arm-appcomplianceautomation 1.0.1-alpha.20250101.1 → 1.0.1-alpha.20250103.2

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 (585) hide show
  1. package/{dist-esm/src → dist/browser}/appComplianceAutomationToolForMicrosoft365.d.ts +2 -2
  2. package/dist/browser/appComplianceAutomationToolForMicrosoft365.d.ts.map +1 -0
  3. package/{dist-esm/src → dist/browser}/appComplianceAutomationToolForMicrosoft365.js +15 -18
  4. package/dist/browser/appComplianceAutomationToolForMicrosoft365.js.map +1 -0
  5. package/dist/browser/index.d.ts +5 -0
  6. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  7. package/{dist-esm/src → dist/browser}/index.js +4 -4
  8. package/dist/browser/index.js.map +1 -0
  9. package/dist/browser/lroImpl.js.map +1 -0
  10. package/dist/browser/models/index.js.map +1 -0
  11. package/dist/browser/models/mappers.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  13. package/dist/browser/models/parameters.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/operations/evidence.d.ts +3 -3
  15. package/dist/browser/operations/evidence.d.ts.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/evidence.js +3 -3
  17. package/dist/browser/operations/evidence.js.map +1 -0
  18. package/dist/browser/operations/index.d.ts +8 -0
  19. package/dist/browser/operations/index.d.ts.map +1 -0
  20. package/dist/browser/operations/index.js +15 -0
  21. package/dist/browser/operations/index.js.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  23. package/dist/browser/operations/operations.d.ts.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  25. package/dist/browser/operations/operations.js.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/providerActions.d.ts +3 -3
  27. package/dist/browser/operations/providerActions.d.ts.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/providerActions.js +77 -86
  29. package/dist/browser/operations/providerActions.js.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/report.d.ts +3 -3
  31. package/dist/browser/operations/report.d.ts.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/report.js +227 -251
  33. package/dist/browser/operations/report.js.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/scopingConfiguration.d.ts +3 -3
  35. package/dist/browser/operations/scopingConfiguration.d.ts.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/scopingConfiguration.js +3 -3
  37. package/dist/browser/operations/scopingConfiguration.js.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/snapshot.d.ts +3 -3
  39. package/dist/browser/operations/snapshot.d.ts.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operations/snapshot.js +42 -46
  41. package/dist/browser/operations/snapshot.js.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operations/webhook.d.ts +3 -3
  43. package/dist/browser/operations/webhook.d.ts.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operations/webhook.js +3 -3
  45. package/dist/browser/operations/webhook.js.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operationsInterfaces/evidence.d.ts +1 -1
  47. package/dist/browser/operationsInterfaces/evidence.d.ts.map +1 -0
  48. package/dist/browser/operationsInterfaces/evidence.js.map +1 -0
  49. package/dist/browser/operationsInterfaces/index.d.ts +8 -0
  50. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  51. package/dist/browser/operationsInterfaces/index.js +15 -0
  52. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  53. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  55. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  56. package/{dist-esm/src → dist/browser}/operationsInterfaces/providerActions.d.ts +1 -1
  57. package/dist/browser/operationsInterfaces/providerActions.d.ts.map +1 -0
  58. package/dist/browser/operationsInterfaces/providerActions.js.map +1 -0
  59. package/{dist-esm/src → dist/browser}/operationsInterfaces/report.d.ts +1 -1
  60. package/dist/browser/operationsInterfaces/report.d.ts.map +1 -0
  61. package/dist/browser/operationsInterfaces/report.js.map +1 -0
  62. package/{dist-esm/src → dist/browser}/operationsInterfaces/scopingConfiguration.d.ts +1 -1
  63. package/dist/browser/operationsInterfaces/scopingConfiguration.d.ts.map +1 -0
  64. package/dist/browser/operationsInterfaces/scopingConfiguration.js.map +1 -0
  65. package/{dist-esm/src → dist/browser}/operationsInterfaces/snapshot.d.ts +1 -1
  66. package/dist/browser/operationsInterfaces/snapshot.d.ts.map +1 -0
  67. package/dist/browser/operationsInterfaces/snapshot.js.map +1 -0
  68. package/{dist-esm/src → dist/browser}/operationsInterfaces/webhook.d.ts +1 -1
  69. package/dist/browser/operationsInterfaces/webhook.d.ts.map +1 -0
  70. package/dist/browser/operationsInterfaces/webhook.js.map +1 -0
  71. package/dist/browser/package.json +3 -0
  72. package/dist/browser/pagingHelper.js.map +1 -0
  73. package/dist/commonjs/appComplianceAutomationToolForMicrosoft365.d.ts +24 -0
  74. package/dist/commonjs/appComplianceAutomationToolForMicrosoft365.d.ts.map +1 -0
  75. package/dist/commonjs/appComplianceAutomationToolForMicrosoft365.js +102 -0
  76. package/dist/commonjs/appComplianceAutomationToolForMicrosoft365.js.map +1 -0
  77. package/dist/commonjs/index.d.ts +5 -0
  78. package/dist/commonjs/index.d.ts.map +1 -0
  79. package/dist/commonjs/index.js +19 -0
  80. package/dist/commonjs/index.js.map +1 -0
  81. package/dist/commonjs/lroImpl.d.ts +11 -0
  82. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  83. package/dist/commonjs/lroImpl.js +24 -0
  84. package/dist/commonjs/lroImpl.js.map +1 -0
  85. package/{types/arm-appcomplianceautomation.d.ts → dist/commonjs/models/index.d.ts} +2108 -2676
  86. package/dist/commonjs/models/index.d.ts.map +1 -0
  87. package/dist/commonjs/models/index.js +357 -0
  88. package/dist/commonjs/models/index.js.map +1 -0
  89. package/dist/commonjs/models/mappers.d.ts +83 -0
  90. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  91. package/dist/commonjs/models/mappers.js +2601 -0
  92. package/dist/commonjs/models/mappers.js.map +1 -0
  93. package/dist/commonjs/models/parameters.d.ts +34 -0
  94. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  95. package/dist/commonjs/models/parameters.js +274 -0
  96. package/dist/commonjs/models/parameters.js.map +1 -0
  97. package/dist/commonjs/operations/evidence.d.ts +65 -0
  98. package/dist/commonjs/operations/evidence.d.ts.map +1 -0
  99. package/dist/commonjs/operations/evidence.js +277 -0
  100. package/dist/commonjs/operations/evidence.js.map +1 -0
  101. package/dist/commonjs/operations/index.d.ts +8 -0
  102. package/dist/commonjs/operations/index.d.ts.map +1 -0
  103. package/dist/commonjs/operations/index.js +18 -0
  104. package/dist/commonjs/operations/index.js.map +1 -0
  105. package/dist/commonjs/operations/operations.d.ts +32 -0
  106. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  107. package/dist/commonjs/operations/operations.js +137 -0
  108. package/dist/commonjs/operations/operations.js.map +1 -0
  109. package/dist/commonjs/operations/providerActions.d.ts +62 -0
  110. package/dist/commonjs/operations/providerActions.d.ts.map +1 -0
  111. package/dist/commonjs/operations/providerActions.js +288 -0
  112. package/dist/commonjs/operations/providerActions.js.map +1 -0
  113. package/dist/commonjs/operations/report.d.ts +133 -0
  114. package/dist/commonjs/operations/report.d.ts.map +1 -0
  115. package/dist/commonjs/operations/report.js +688 -0
  116. package/dist/commonjs/operations/report.js.map +1 -0
  117. package/dist/commonjs/operations/scopingConfiguration.d.ts +58 -0
  118. package/dist/commonjs/operations/scopingConfiguration.d.ts.map +1 -0
  119. package/dist/commonjs/operations/scopingConfiguration.js +233 -0
  120. package/dist/commonjs/operations/scopingConfiguration.js.map +1 -0
  121. package/dist/commonjs/operations/snapshot.d.ts +59 -0
  122. package/dist/commonjs/operations/snapshot.d.ts.map +1 -0
  123. package/dist/commonjs/operations/snapshot.js +265 -0
  124. package/dist/commonjs/operations/snapshot.js.map +1 -0
  125. package/dist/commonjs/operations/webhook.d.ts +65 -0
  126. package/dist/commonjs/operations/webhook.d.ts.map +1 -0
  127. package/dist/commonjs/operations/webhook.js +273 -0
  128. package/dist/commonjs/operations/webhook.js.map +1 -0
  129. package/dist/commonjs/operationsInterfaces/evidence.d.ts +42 -0
  130. package/dist/commonjs/operationsInterfaces/evidence.d.ts.map +1 -0
  131. package/dist/commonjs/operationsInterfaces/evidence.js +10 -0
  132. package/dist/commonjs/operationsInterfaces/evidence.js.map +1 -0
  133. package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
  134. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  135. package/dist/commonjs/operationsInterfaces/index.js +18 -0
  136. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  137. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  138. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  139. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  140. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  141. package/dist/commonjs/operationsInterfaces/providerActions.d.ts +54 -0
  142. package/dist/commonjs/operationsInterfaces/providerActions.d.ts.map +1 -0
  143. package/dist/commonjs/operationsInterfaces/providerActions.js +10 -0
  144. package/dist/commonjs/operationsInterfaces/providerActions.js.map +1 -0
  145. package/dist/commonjs/operationsInterfaces/report.d.ts +112 -0
  146. package/dist/commonjs/operationsInterfaces/report.d.ts.map +1 -0
  147. package/dist/commonjs/operationsInterfaces/report.js +10 -0
  148. package/dist/commonjs/operationsInterfaces/report.js.map +1 -0
  149. package/dist/commonjs/operationsInterfaces/scopingConfiguration.d.ts +35 -0
  150. package/dist/commonjs/operationsInterfaces/scopingConfiguration.d.ts.map +1 -0
  151. package/dist/commonjs/operationsInterfaces/scopingConfiguration.js +10 -0
  152. package/dist/commonjs/operationsInterfaces/scopingConfiguration.js.map +1 -0
  153. package/dist/commonjs/operationsInterfaces/snapshot.d.ts +36 -0
  154. package/dist/commonjs/operationsInterfaces/snapshot.d.ts.map +1 -0
  155. package/dist/commonjs/operationsInterfaces/snapshot.js +10 -0
  156. package/dist/commonjs/operationsInterfaces/snapshot.js.map +1 -0
  157. package/dist/commonjs/operationsInterfaces/webhook.d.ts +42 -0
  158. package/dist/commonjs/operationsInterfaces/webhook.d.ts.map +1 -0
  159. package/dist/commonjs/operationsInterfaces/webhook.js +10 -0
  160. package/dist/commonjs/operationsInterfaces/webhook.js.map +1 -0
  161. package/dist/commonjs/package.json +3 -0
  162. package/dist/commonjs/pagingHelper.d.ts +13 -0
  163. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  164. package/dist/commonjs/pagingHelper.js +36 -0
  165. package/dist/commonjs/pagingHelper.js.map +1 -0
  166. package/dist/esm/appComplianceAutomationToolForMicrosoft365.d.ts +24 -0
  167. package/dist/esm/appComplianceAutomationToolForMicrosoft365.d.ts.map +1 -0
  168. package/dist/esm/appComplianceAutomationToolForMicrosoft365.js +97 -0
  169. package/dist/esm/appComplianceAutomationToolForMicrosoft365.js.map +1 -0
  170. package/dist/esm/index.d.ts +5 -0
  171. package/dist/esm/index.d.ts.map +1 -0
  172. package/{src/index.ts → dist/esm/index.js} +5 -5
  173. package/dist/esm/index.js.map +1 -0
  174. package/dist/esm/lroImpl.d.ts +11 -0
  175. package/dist/esm/lroImpl.d.ts.map +1 -0
  176. package/dist/esm/lroImpl.js +21 -0
  177. package/dist/esm/lroImpl.js.map +1 -0
  178. package/dist/esm/models/index.d.ts +2108 -0
  179. package/dist/esm/models/index.d.ts.map +1 -0
  180. package/dist/esm/models/index.js +354 -0
  181. package/dist/esm/models/index.js.map +1 -0
  182. package/dist/esm/models/mappers.d.ts +83 -0
  183. package/dist/esm/models/mappers.d.ts.map +1 -0
  184. package/dist/esm/models/mappers.js +2597 -0
  185. package/dist/esm/models/mappers.js.map +1 -0
  186. package/dist/esm/models/parameters.d.ts +34 -0
  187. package/dist/esm/models/parameters.d.ts.map +1 -0
  188. package/dist/esm/models/parameters.js +271 -0
  189. package/dist/esm/models/parameters.js.map +1 -0
  190. package/dist/esm/operations/evidence.d.ts +65 -0
  191. package/dist/esm/operations/evidence.d.ts.map +1 -0
  192. package/dist/esm/operations/evidence.js +273 -0
  193. package/dist/esm/operations/evidence.js.map +1 -0
  194. package/dist/esm/operations/index.d.ts +8 -0
  195. package/dist/esm/operations/index.d.ts.map +1 -0
  196. package/dist/esm/operations/index.js +15 -0
  197. package/dist/esm/operations/index.js.map +1 -0
  198. package/dist/esm/operations/operations.d.ts +32 -0
  199. package/dist/esm/operations/operations.d.ts.map +1 -0
  200. package/dist/esm/operations/operations.js +133 -0
  201. package/dist/esm/operations/operations.js.map +1 -0
  202. package/dist/esm/operations/providerActions.d.ts +62 -0
  203. package/dist/esm/operations/providerActions.d.ts.map +1 -0
  204. package/dist/esm/operations/providerActions.js +283 -0
  205. package/dist/esm/operations/providerActions.js.map +1 -0
  206. package/dist/esm/operations/report.d.ts +133 -0
  207. package/dist/esm/operations/report.d.ts.map +1 -0
  208. package/dist/esm/operations/report.js +684 -0
  209. package/dist/esm/operations/report.js.map +1 -0
  210. package/dist/esm/operations/scopingConfiguration.d.ts +58 -0
  211. package/dist/esm/operations/scopingConfiguration.d.ts.map +1 -0
  212. package/dist/esm/operations/scopingConfiguration.js +229 -0
  213. package/dist/esm/operations/scopingConfiguration.js.map +1 -0
  214. package/dist/esm/operations/snapshot.d.ts +59 -0
  215. package/dist/esm/operations/snapshot.d.ts.map +1 -0
  216. package/dist/esm/operations/snapshot.js +261 -0
  217. package/dist/esm/operations/snapshot.js.map +1 -0
  218. package/dist/esm/operations/webhook.d.ts +65 -0
  219. package/dist/esm/operations/webhook.d.ts.map +1 -0
  220. package/dist/esm/operations/webhook.js +269 -0
  221. package/dist/esm/operations/webhook.js.map +1 -0
  222. package/dist/esm/operationsInterfaces/evidence.d.ts +42 -0
  223. package/dist/esm/operationsInterfaces/evidence.d.ts.map +1 -0
  224. package/dist/esm/operationsInterfaces/evidence.js +9 -0
  225. package/dist/esm/operationsInterfaces/evidence.js.map +1 -0
  226. package/dist/esm/operationsInterfaces/index.d.ts +8 -0
  227. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  228. package/dist/esm/operationsInterfaces/index.js +15 -0
  229. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  230. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  231. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  232. package/dist/esm/operationsInterfaces/operations.js +9 -0
  233. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  234. package/dist/esm/operationsInterfaces/providerActions.d.ts +54 -0
  235. package/dist/esm/operationsInterfaces/providerActions.d.ts.map +1 -0
  236. package/dist/esm/operationsInterfaces/providerActions.js +9 -0
  237. package/dist/esm/operationsInterfaces/providerActions.js.map +1 -0
  238. package/dist/esm/operationsInterfaces/report.d.ts +112 -0
  239. package/dist/esm/operationsInterfaces/report.d.ts.map +1 -0
  240. package/dist/esm/operationsInterfaces/report.js +9 -0
  241. package/dist/esm/operationsInterfaces/report.js.map +1 -0
  242. package/dist/esm/operationsInterfaces/scopingConfiguration.d.ts +35 -0
  243. package/dist/esm/operationsInterfaces/scopingConfiguration.d.ts.map +1 -0
  244. package/dist/esm/operationsInterfaces/scopingConfiguration.js +9 -0
  245. package/dist/esm/operationsInterfaces/scopingConfiguration.js.map +1 -0
  246. package/dist/esm/operationsInterfaces/snapshot.d.ts +36 -0
  247. package/dist/esm/operationsInterfaces/snapshot.d.ts.map +1 -0
  248. package/dist/esm/operationsInterfaces/snapshot.js +9 -0
  249. package/dist/esm/operationsInterfaces/snapshot.js.map +1 -0
  250. package/dist/esm/operationsInterfaces/webhook.d.ts +42 -0
  251. package/dist/esm/operationsInterfaces/webhook.d.ts.map +1 -0
  252. package/dist/esm/operationsInterfaces/webhook.js +9 -0
  253. package/dist/esm/operationsInterfaces/webhook.js.map +1 -0
  254. package/dist/esm/package.json +3 -0
  255. package/dist/esm/pagingHelper.d.ts +13 -0
  256. package/dist/esm/pagingHelper.d.ts.map +1 -0
  257. package/dist/esm/pagingHelper.js +32 -0
  258. package/dist/esm/pagingHelper.js.map +1 -0
  259. package/dist/react-native/appComplianceAutomationToolForMicrosoft365.d.ts +24 -0
  260. package/dist/react-native/appComplianceAutomationToolForMicrosoft365.d.ts.map +1 -0
  261. package/dist/react-native/appComplianceAutomationToolForMicrosoft365.js +97 -0
  262. package/dist/react-native/appComplianceAutomationToolForMicrosoft365.js.map +1 -0
  263. package/dist/react-native/index.d.ts +5 -0
  264. package/dist/react-native/index.d.ts.map +1 -0
  265. package/dist/react-native/index.js +13 -0
  266. package/dist/react-native/index.js.map +1 -0
  267. package/dist/react-native/lroImpl.d.ts +11 -0
  268. package/dist/react-native/lroImpl.d.ts.map +1 -0
  269. package/dist/react-native/lroImpl.js +21 -0
  270. package/dist/react-native/lroImpl.js.map +1 -0
  271. package/dist/react-native/models/index.d.ts +2108 -0
  272. package/dist/react-native/models/index.d.ts.map +1 -0
  273. package/dist/react-native/models/index.js +354 -0
  274. package/dist/react-native/models/index.js.map +1 -0
  275. package/dist/react-native/models/mappers.d.ts +83 -0
  276. package/dist/react-native/models/mappers.d.ts.map +1 -0
  277. package/dist/react-native/models/mappers.js +2597 -0
  278. package/dist/react-native/models/mappers.js.map +1 -0
  279. package/dist/react-native/models/parameters.d.ts +34 -0
  280. package/dist/react-native/models/parameters.d.ts.map +1 -0
  281. package/dist/react-native/models/parameters.js +271 -0
  282. package/dist/react-native/models/parameters.js.map +1 -0
  283. package/dist/react-native/operations/evidence.d.ts +65 -0
  284. package/dist/react-native/operations/evidence.d.ts.map +1 -0
  285. package/dist/react-native/operations/evidence.js +273 -0
  286. package/dist/react-native/operations/evidence.js.map +1 -0
  287. package/dist/react-native/operations/index.d.ts +8 -0
  288. package/dist/react-native/operations/index.d.ts.map +1 -0
  289. package/dist/react-native/operations/index.js +15 -0
  290. package/dist/react-native/operations/index.js.map +1 -0
  291. package/dist/react-native/operations/operations.d.ts +32 -0
  292. package/dist/react-native/operations/operations.d.ts.map +1 -0
  293. package/dist/react-native/operations/operations.js +133 -0
  294. package/dist/react-native/operations/operations.js.map +1 -0
  295. package/dist/react-native/operations/providerActions.d.ts +62 -0
  296. package/dist/react-native/operations/providerActions.d.ts.map +1 -0
  297. package/dist/react-native/operations/providerActions.js +283 -0
  298. package/dist/react-native/operations/providerActions.js.map +1 -0
  299. package/dist/react-native/operations/report.d.ts +133 -0
  300. package/dist/react-native/operations/report.d.ts.map +1 -0
  301. package/dist/react-native/operations/report.js +684 -0
  302. package/dist/react-native/operations/report.js.map +1 -0
  303. package/dist/react-native/operations/scopingConfiguration.d.ts +58 -0
  304. package/dist/react-native/operations/scopingConfiguration.d.ts.map +1 -0
  305. package/dist/react-native/operations/scopingConfiguration.js +229 -0
  306. package/dist/react-native/operations/scopingConfiguration.js.map +1 -0
  307. package/dist/react-native/operations/snapshot.d.ts +59 -0
  308. package/dist/react-native/operations/snapshot.d.ts.map +1 -0
  309. package/dist/react-native/operations/snapshot.js +261 -0
  310. package/dist/react-native/operations/snapshot.js.map +1 -0
  311. package/dist/react-native/operations/webhook.d.ts +65 -0
  312. package/dist/react-native/operations/webhook.d.ts.map +1 -0
  313. package/dist/react-native/operations/webhook.js +269 -0
  314. package/dist/react-native/operations/webhook.js.map +1 -0
  315. package/dist/react-native/operationsInterfaces/evidence.d.ts +42 -0
  316. package/dist/react-native/operationsInterfaces/evidence.d.ts.map +1 -0
  317. package/dist/react-native/operationsInterfaces/evidence.js +9 -0
  318. package/dist/react-native/operationsInterfaces/evidence.js.map +1 -0
  319. package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
  320. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  321. package/dist/react-native/operationsInterfaces/index.js +15 -0
  322. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  323. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  324. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  325. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  326. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  327. package/dist/react-native/operationsInterfaces/providerActions.d.ts +54 -0
  328. package/dist/react-native/operationsInterfaces/providerActions.d.ts.map +1 -0
  329. package/dist/react-native/operationsInterfaces/providerActions.js +9 -0
  330. package/dist/react-native/operationsInterfaces/providerActions.js.map +1 -0
  331. package/dist/react-native/operationsInterfaces/report.d.ts +112 -0
  332. package/dist/react-native/operationsInterfaces/report.d.ts.map +1 -0
  333. package/dist/react-native/operationsInterfaces/report.js +9 -0
  334. package/dist/react-native/operationsInterfaces/report.js.map +1 -0
  335. package/dist/react-native/operationsInterfaces/scopingConfiguration.d.ts +35 -0
  336. package/dist/react-native/operationsInterfaces/scopingConfiguration.d.ts.map +1 -0
  337. package/dist/react-native/operationsInterfaces/scopingConfiguration.js +9 -0
  338. package/dist/react-native/operationsInterfaces/scopingConfiguration.js.map +1 -0
  339. package/dist/react-native/operationsInterfaces/snapshot.d.ts +36 -0
  340. package/dist/react-native/operationsInterfaces/snapshot.d.ts.map +1 -0
  341. package/dist/react-native/operationsInterfaces/snapshot.js +9 -0
  342. package/dist/react-native/operationsInterfaces/snapshot.js.map +1 -0
  343. package/dist/react-native/operationsInterfaces/webhook.d.ts +42 -0
  344. package/dist/react-native/operationsInterfaces/webhook.d.ts.map +1 -0
  345. package/dist/react-native/operationsInterfaces/webhook.js +9 -0
  346. package/dist/react-native/operationsInterfaces/webhook.js.map +1 -0
  347. package/dist/react-native/package.json +3 -0
  348. package/dist/react-native/pagingHelper.d.ts +13 -0
  349. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  350. package/dist/react-native/pagingHelper.js +32 -0
  351. package/dist/react-native/pagingHelper.js.map +1 -0
  352. package/package.json +58 -28
  353. package/dist/index.js +0 -5615
  354. package/dist/index.js.map +0 -1
  355. package/dist/index.min.js +0 -1
  356. package/dist/index.min.js.map +0 -1
  357. package/dist-esm/samples-dev/evidenceCreateOrUpdateSample.d.ts +0 -2
  358. package/dist-esm/samples-dev/evidenceCreateOrUpdateSample.d.ts.map +0 -1
  359. package/dist-esm/samples-dev/evidenceCreateOrUpdateSample.js +0 -44
  360. package/dist-esm/samples-dev/evidenceCreateOrUpdateSample.js.map +0 -1
  361. package/dist-esm/samples-dev/evidenceDeleteSample.d.ts +0 -2
  362. package/dist-esm/samples-dev/evidenceDeleteSample.d.ts.map +0 -1
  363. package/dist-esm/samples-dev/evidenceDeleteSample.js +0 -37
  364. package/dist-esm/samples-dev/evidenceDeleteSample.js.map +0 -1
  365. package/dist-esm/samples-dev/evidenceDownloadSample.d.ts +0 -2
  366. package/dist-esm/samples-dev/evidenceDownloadSample.d.ts.map +0 -1
  367. package/dist-esm/samples-dev/evidenceDownloadSample.js +0 -40
  368. package/dist-esm/samples-dev/evidenceDownloadSample.js.map +0 -1
  369. package/dist-esm/samples-dev/evidenceGetSample.d.ts +0 -2
  370. package/dist-esm/samples-dev/evidenceGetSample.d.ts.map +0 -1
  371. package/dist-esm/samples-dev/evidenceGetSample.js +0 -37
  372. package/dist-esm/samples-dev/evidenceGetSample.js.map +0 -1
  373. package/dist-esm/samples-dev/evidenceListByReportSample.d.ts +0 -2
  374. package/dist-esm/samples-dev/evidenceListByReportSample.d.ts.map +0 -1
  375. package/dist-esm/samples-dev/evidenceListByReportSample.js +0 -52
  376. package/dist-esm/samples-dev/evidenceListByReportSample.js.map +0 -1
  377. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  378. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  379. package/dist-esm/samples-dev/operationsListSample.js +0 -51
  380. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  381. package/dist-esm/samples-dev/providerActionsCheckNameAvailabilitySample.d.ts +0 -2
  382. package/dist-esm/samples-dev/providerActionsCheckNameAvailabilitySample.d.ts.map +0 -1
  383. package/dist-esm/samples-dev/providerActionsCheckNameAvailabilitySample.js +0 -38
  384. package/dist-esm/samples-dev/providerActionsCheckNameAvailabilitySample.js.map +0 -1
  385. package/dist-esm/samples-dev/providerActionsGetCollectionCountSample.d.ts +0 -2
  386. package/dist-esm/samples-dev/providerActionsGetCollectionCountSample.d.ts.map +0 -1
  387. package/dist-esm/samples-dev/providerActionsGetCollectionCountSample.js +0 -37
  388. package/dist-esm/samples-dev/providerActionsGetCollectionCountSample.js.map +0 -1
  389. package/dist-esm/samples-dev/providerActionsGetOverviewStatusSample.d.ts +0 -2
  390. package/dist-esm/samples-dev/providerActionsGetOverviewStatusSample.d.ts.map +0 -1
  391. package/dist-esm/samples-dev/providerActionsGetOverviewStatusSample.js +0 -37
  392. package/dist-esm/samples-dev/providerActionsGetOverviewStatusSample.js.map +0 -1
  393. package/dist-esm/samples-dev/providerActionsListInUseStorageAccountsSample.d.ts +0 -2
  394. package/dist-esm/samples-dev/providerActionsListInUseStorageAccountsSample.d.ts.map +0 -1
  395. package/dist-esm/samples-dev/providerActionsListInUseStorageAccountsSample.js +0 -55
  396. package/dist-esm/samples-dev/providerActionsListInUseStorageAccountsSample.js.map +0 -1
  397. package/dist-esm/samples-dev/providerActionsOnboardSample.d.ts +0 -2
  398. package/dist-esm/samples-dev/providerActionsOnboardSample.d.ts.map +0 -1
  399. package/dist-esm/samples-dev/providerActionsOnboardSample.js +0 -40
  400. package/dist-esm/samples-dev/providerActionsOnboardSample.js.map +0 -1
  401. package/dist-esm/samples-dev/providerActionsTriggerEvaluationSample.d.ts +0 -2
  402. package/dist-esm/samples-dev/providerActionsTriggerEvaluationSample.d.ts.map +0 -1
  403. package/dist-esm/samples-dev/providerActionsTriggerEvaluationSample.js +0 -39
  404. package/dist-esm/samples-dev/providerActionsTriggerEvaluationSample.js.map +0 -1
  405. package/dist-esm/samples-dev/reportCreateOrUpdateSample.d.ts +0 -2
  406. package/dist-esm/samples-dev/reportCreateOrUpdateSample.d.ts.map +0 -1
  407. package/dist-esm/samples-dev/reportCreateOrUpdateSample.js +0 -55
  408. package/dist-esm/samples-dev/reportCreateOrUpdateSample.js.map +0 -1
  409. package/dist-esm/samples-dev/reportDeleteSample.d.ts +0 -2
  410. package/dist-esm/samples-dev/reportDeleteSample.d.ts.map +0 -1
  411. package/dist-esm/samples-dev/reportDeleteSample.js +0 -36
  412. package/dist-esm/samples-dev/reportDeleteSample.js.map +0 -1
  413. package/dist-esm/samples-dev/reportFixSample.d.ts +0 -2
  414. package/dist-esm/samples-dev/reportFixSample.d.ts.map +0 -1
  415. package/dist-esm/samples-dev/reportFixSample.js +0 -36
  416. package/dist-esm/samples-dev/reportFixSample.js.map +0 -1
  417. package/dist-esm/samples-dev/reportGetSample.d.ts +0 -2
  418. package/dist-esm/samples-dev/reportGetSample.d.ts.map +0 -1
  419. package/dist-esm/samples-dev/reportGetSample.js +0 -36
  420. package/dist-esm/samples-dev/reportGetSample.js.map +0 -1
  421. package/dist-esm/samples-dev/reportGetScopingQuestionsSample.d.ts +0 -2
  422. package/dist-esm/samples-dev/reportGetScopingQuestionsSample.d.ts.map +0 -1
  423. package/dist-esm/samples-dev/reportGetScopingQuestionsSample.js +0 -36
  424. package/dist-esm/samples-dev/reportGetScopingQuestionsSample.js.map +0 -1
  425. package/dist-esm/samples-dev/reportListSample.d.ts +0 -2
  426. package/dist-esm/samples-dev/reportListSample.d.ts.map +0 -1
  427. package/dist-esm/samples-dev/reportListSample.js +0 -61
  428. package/dist-esm/samples-dev/reportListSample.js.map +0 -1
  429. package/dist-esm/samples-dev/reportNestedResourceCheckNameAvailabilitySample.d.ts +0 -2
  430. package/dist-esm/samples-dev/reportNestedResourceCheckNameAvailabilitySample.d.ts.map +0 -1
  431. package/dist-esm/samples-dev/reportNestedResourceCheckNameAvailabilitySample.js +0 -77
  432. package/dist-esm/samples-dev/reportNestedResourceCheckNameAvailabilitySample.js.map +0 -1
  433. package/dist-esm/samples-dev/reportSyncCertRecordSample.d.ts +0 -2
  434. package/dist-esm/samples-dev/reportSyncCertRecordSample.d.ts.map +0 -1
  435. package/dist-esm/samples-dev/reportSyncCertRecordSample.js +0 -48
  436. package/dist-esm/samples-dev/reportSyncCertRecordSample.js.map +0 -1
  437. package/dist-esm/samples-dev/reportUpdateSample.d.ts +0 -2
  438. package/dist-esm/samples-dev/reportUpdateSample.d.ts.map +0 -1
  439. package/dist-esm/samples-dev/reportUpdateSample.js +0 -61
  440. package/dist-esm/samples-dev/reportUpdateSample.js.map +0 -1
  441. package/dist-esm/samples-dev/reportVerifySample.d.ts +0 -2
  442. package/dist-esm/samples-dev/reportVerifySample.d.ts.map +0 -1
  443. package/dist-esm/samples-dev/reportVerifySample.js +0 -36
  444. package/dist-esm/samples-dev/reportVerifySample.js.map +0 -1
  445. package/dist-esm/samples-dev/scopingConfigurationCreateOrUpdateSample.d.ts +0 -2
  446. package/dist-esm/samples-dev/scopingConfigurationCreateOrUpdateSample.d.ts.map +0 -1
  447. package/dist-esm/samples-dev/scopingConfigurationCreateOrUpdateSample.js +0 -56
  448. package/dist-esm/samples-dev/scopingConfigurationCreateOrUpdateSample.js.map +0 -1
  449. package/dist-esm/samples-dev/scopingConfigurationDeleteSample.d.ts +0 -2
  450. package/dist-esm/samples-dev/scopingConfigurationDeleteSample.d.ts.map +0 -1
  451. package/dist-esm/samples-dev/scopingConfigurationDeleteSample.js +0 -37
  452. package/dist-esm/samples-dev/scopingConfigurationDeleteSample.js.map +0 -1
  453. package/dist-esm/samples-dev/scopingConfigurationGetSample.d.ts +0 -2
  454. package/dist-esm/samples-dev/scopingConfigurationGetSample.d.ts.map +0 -1
  455. package/dist-esm/samples-dev/scopingConfigurationGetSample.js +0 -37
  456. package/dist-esm/samples-dev/scopingConfigurationGetSample.js.map +0 -1
  457. package/dist-esm/samples-dev/scopingConfigurationListSample.d.ts +0 -2
  458. package/dist-esm/samples-dev/scopingConfigurationListSample.d.ts.map +0 -1
  459. package/dist-esm/samples-dev/scopingConfigurationListSample.js +0 -52
  460. package/dist-esm/samples-dev/scopingConfigurationListSample.js.map +0 -1
  461. package/dist-esm/samples-dev/snapshotDownloadSample.d.ts +0 -2
  462. package/dist-esm/samples-dev/snapshotDownloadSample.d.ts.map +0 -1
  463. package/dist-esm/samples-dev/snapshotDownloadSample.js +0 -104
  464. package/dist-esm/samples-dev/snapshotDownloadSample.js.map +0 -1
  465. package/dist-esm/samples-dev/snapshotGetSample.d.ts +0 -2
  466. package/dist-esm/samples-dev/snapshotGetSample.d.ts.map +0 -1
  467. package/dist-esm/samples-dev/snapshotGetSample.js +0 -37
  468. package/dist-esm/samples-dev/snapshotGetSample.js.map +0 -1
  469. package/dist-esm/samples-dev/snapshotListSample.d.ts +0 -2
  470. package/dist-esm/samples-dev/snapshotListSample.d.ts.map +0 -1
  471. package/dist-esm/samples-dev/snapshotListSample.js +0 -62
  472. package/dist-esm/samples-dev/snapshotListSample.js.map +0 -1
  473. package/dist-esm/samples-dev/webhookCreateOrUpdateSample.d.ts +0 -2
  474. package/dist-esm/samples-dev/webhookCreateOrUpdateSample.d.ts.map +0 -1
  475. package/dist-esm/samples-dev/webhookCreateOrUpdateSample.js +0 -50
  476. package/dist-esm/samples-dev/webhookCreateOrUpdateSample.js.map +0 -1
  477. package/dist-esm/samples-dev/webhookDeleteSample.d.ts +0 -2
  478. package/dist-esm/samples-dev/webhookDeleteSample.d.ts.map +0 -1
  479. package/dist-esm/samples-dev/webhookDeleteSample.js +0 -37
  480. package/dist-esm/samples-dev/webhookDeleteSample.js.map +0 -1
  481. package/dist-esm/samples-dev/webhookGetSample.d.ts +0 -2
  482. package/dist-esm/samples-dev/webhookGetSample.d.ts.map +0 -1
  483. package/dist-esm/samples-dev/webhookGetSample.js +0 -37
  484. package/dist-esm/samples-dev/webhookGetSample.js.map +0 -1
  485. package/dist-esm/samples-dev/webhookListSample.d.ts +0 -2
  486. package/dist-esm/samples-dev/webhookListSample.d.ts.map +0 -1
  487. package/dist-esm/samples-dev/webhookListSample.js +0 -55
  488. package/dist-esm/samples-dev/webhookListSample.js.map +0 -1
  489. package/dist-esm/samples-dev/webhookUpdateSample.d.ts +0 -2
  490. package/dist-esm/samples-dev/webhookUpdateSample.d.ts.map +0 -1
  491. package/dist-esm/samples-dev/webhookUpdateSample.js +0 -50
  492. package/dist-esm/samples-dev/webhookUpdateSample.js.map +0 -1
  493. package/dist-esm/src/appComplianceAutomationToolForMicrosoft365.d.ts.map +0 -1
  494. package/dist-esm/src/appComplianceAutomationToolForMicrosoft365.js.map +0 -1
  495. package/dist-esm/src/index.d.ts +0 -5
  496. package/dist-esm/src/index.js.map +0 -1
  497. package/dist-esm/src/lroImpl.js.map +0 -1
  498. package/dist-esm/src/models/index.js.map +0 -1
  499. package/dist-esm/src/models/mappers.js.map +0 -1
  500. package/dist-esm/src/models/parameters.js.map +0 -1
  501. package/dist-esm/src/operations/evidence.d.ts.map +0 -1
  502. package/dist-esm/src/operations/evidence.js.map +0 -1
  503. package/dist-esm/src/operations/index.d.ts +0 -8
  504. package/dist-esm/src/operations/index.d.ts.map +0 -1
  505. package/dist-esm/src/operations/index.js +0 -15
  506. package/dist-esm/src/operations/index.js.map +0 -1
  507. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  508. package/dist-esm/src/operations/operations.js.map +0 -1
  509. package/dist-esm/src/operations/providerActions.d.ts.map +0 -1
  510. package/dist-esm/src/operations/providerActions.js.map +0 -1
  511. package/dist-esm/src/operations/report.d.ts.map +0 -1
  512. package/dist-esm/src/operations/report.js.map +0 -1
  513. package/dist-esm/src/operations/scopingConfiguration.d.ts.map +0 -1
  514. package/dist-esm/src/operations/scopingConfiguration.js.map +0 -1
  515. package/dist-esm/src/operations/snapshot.d.ts.map +0 -1
  516. package/dist-esm/src/operations/snapshot.js.map +0 -1
  517. package/dist-esm/src/operations/webhook.d.ts.map +0 -1
  518. package/dist-esm/src/operations/webhook.js.map +0 -1
  519. package/dist-esm/src/operationsInterfaces/evidence.d.ts.map +0 -1
  520. package/dist-esm/src/operationsInterfaces/evidence.js.map +0 -1
  521. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
  522. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  523. package/dist-esm/src/operationsInterfaces/index.js +0 -15
  524. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  525. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  526. package/dist-esm/src/operationsInterfaces/providerActions.d.ts.map +0 -1
  527. package/dist-esm/src/operationsInterfaces/providerActions.js.map +0 -1
  528. package/dist-esm/src/operationsInterfaces/report.d.ts.map +0 -1
  529. package/dist-esm/src/operationsInterfaces/report.js.map +0 -1
  530. package/dist-esm/src/operationsInterfaces/scopingConfiguration.d.ts.map +0 -1
  531. package/dist-esm/src/operationsInterfaces/scopingConfiguration.js.map +0 -1
  532. package/dist-esm/src/operationsInterfaces/snapshot.d.ts.map +0 -1
  533. package/dist-esm/src/operationsInterfaces/snapshot.js.map +0 -1
  534. package/dist-esm/src/operationsInterfaces/webhook.d.ts.map +0 -1
  535. package/dist-esm/src/operationsInterfaces/webhook.js.map +0 -1
  536. package/dist-esm/src/pagingHelper.js.map +0 -1
  537. package/dist-esm/test/appcomplianceautomation_operations_test.spec.d.ts +0 -4
  538. package/dist-esm/test/appcomplianceautomation_operations_test.spec.d.ts.map +0 -1
  539. package/dist-esm/test/appcomplianceautomation_operations_test.spec.js +0 -74
  540. package/dist-esm/test/appcomplianceautomation_operations_test.spec.js.map +0 -1
  541. package/src/appComplianceAutomationToolForMicrosoft365.ts +0 -161
  542. package/src/lroImpl.ts +0 -42
  543. package/src/models/index.ts +0 -2350
  544. package/src/models/mappers.ts +0 -2700
  545. package/src/models/parameters.ts +0 -324
  546. package/src/operations/evidence.ts +0 -343
  547. package/src/operations/index.ts +0 -15
  548. package/src/operations/operations.ts +0 -149
  549. package/src/operations/providerActions.ts +0 -405
  550. package/src/operations/report.ts +0 -938
  551. package/src/operations/scopingConfiguration.ts +0 -283
  552. package/src/operations/snapshot.ts +0 -343
  553. package/src/operations/webhook.ts +0 -335
  554. package/src/operationsInterfaces/evidence.ts +0 -83
  555. package/src/operationsInterfaces/index.ts +0 -15
  556. package/src/operationsInterfaces/operations.ts +0 -22
  557. package/src/operationsInterfaces/providerActions.ts +0 -115
  558. package/src/operationsInterfaces/report.ts +0 -217
  559. package/src/operationsInterfaces/scopingConfiguration.ts +0 -68
  560. package/src/operationsInterfaces/snapshot.ts +0 -75
  561. package/src/operationsInterfaces/webhook.ts +0 -83
  562. package/src/pagingHelper.ts +0 -39
  563. package/tsconfig.json +0 -33
  564. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  565. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  566. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  567. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  568. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  569. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  570. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  571. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  572. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  573. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  574. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  575. /package/{dist-esm/src → dist/browser}/operationsInterfaces/evidence.js +0 -0
  576. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  577. /package/{dist-esm/src → dist/browser}/operationsInterfaces/providerActions.js +0 -0
  578. /package/{dist-esm/src → dist/browser}/operationsInterfaces/report.js +0 -0
  579. /package/{dist-esm/src → dist/browser}/operationsInterfaces/scopingConfiguration.js +0 -0
  580. /package/{dist-esm/src → dist/browser}/operationsInterfaces/snapshot.js +0 -0
  581. /package/{dist-esm/src → dist/browser}/operationsInterfaces/webhook.js +0 -0
  582. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  583. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  584. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  585. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -1,283 +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
-
9
- import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
- import { setContinuationToken } from "../pagingHelper";
11
- import { ScopingConfiguration } from "../operationsInterfaces";
12
- import * as coreClient from "@azure/core-client";
13
- import * as Mappers from "../models/mappers";
14
- import * as Parameters from "../models/parameters";
15
- import { AppComplianceAutomationToolForMicrosoft365 } from "../appComplianceAutomationToolForMicrosoft365";
16
- import {
17
- ScopingConfigurationResource,
18
- ScopingConfigurationListNextOptionalParams,
19
- ScopingConfigurationListOptionalParams,
20
- ScopingConfigurationListResponse,
21
- ScopingConfigurationGetOptionalParams,
22
- ScopingConfigurationGetResponse,
23
- ScopingConfigurationCreateOrUpdateOptionalParams,
24
- ScopingConfigurationCreateOrUpdateResponse,
25
- ScopingConfigurationDeleteOptionalParams,
26
- ScopingConfigurationListNextResponse,
27
- } from "../models";
28
-
29
- /// <reference lib="esnext.asynciterable" />
30
- /** Class containing ScopingConfiguration operations. */
31
- export class ScopingConfigurationImpl implements ScopingConfiguration {
32
- private readonly client: AppComplianceAutomationToolForMicrosoft365;
33
-
34
- /**
35
- * Initialize a new instance of the class ScopingConfiguration class.
36
- * @param client Reference to the service client
37
- */
38
- constructor(client: AppComplianceAutomationToolForMicrosoft365) {
39
- this.client = client;
40
- }
41
-
42
- /**
43
- * Returns a list format of the singleton scopingConfiguration for a specified report.
44
- * @param reportName Report Name.
45
- * @param options The options parameters.
46
- */
47
- public list(
48
- reportName: string,
49
- options?: ScopingConfigurationListOptionalParams,
50
- ): PagedAsyncIterableIterator<ScopingConfigurationResource> {
51
- const iter = this.listPagingAll(reportName, options);
52
- return {
53
- next() {
54
- return iter.next();
55
- },
56
- [Symbol.asyncIterator]() {
57
- return this;
58
- },
59
- byPage: (settings?: PageSettings) => {
60
- if (settings?.maxPageSize) {
61
- throw new Error("maxPageSize is not supported by this operation.");
62
- }
63
- return this.listPagingPage(reportName, options, settings);
64
- },
65
- };
66
- }
67
-
68
- private async *listPagingPage(
69
- reportName: string,
70
- options?: ScopingConfigurationListOptionalParams,
71
- settings?: PageSettings,
72
- ): AsyncIterableIterator<ScopingConfigurationResource[]> {
73
- let result: ScopingConfigurationListResponse;
74
- let continuationToken = settings?.continuationToken;
75
- if (!continuationToken) {
76
- result = await this._list(reportName, options);
77
- let page = result.value || [];
78
- continuationToken = result.nextLink;
79
- setContinuationToken(page, continuationToken);
80
- yield page;
81
- }
82
- while (continuationToken) {
83
- result = await this._listNext(reportName, continuationToken, options);
84
- continuationToken = result.nextLink;
85
- let page = result.value || [];
86
- setContinuationToken(page, continuationToken);
87
- yield page;
88
- }
89
- }
90
-
91
- private async *listPagingAll(
92
- reportName: string,
93
- options?: ScopingConfigurationListOptionalParams,
94
- ): AsyncIterableIterator<ScopingConfigurationResource> {
95
- for await (const page of this.listPagingPage(reportName, options)) {
96
- yield* page;
97
- }
98
- }
99
-
100
- /**
101
- * Returns a list format of the singleton scopingConfiguration for a specified report.
102
- * @param reportName Report Name.
103
- * @param options The options parameters.
104
- */
105
- private _list(
106
- reportName: string,
107
- options?: ScopingConfigurationListOptionalParams,
108
- ): Promise<ScopingConfigurationListResponse> {
109
- return this.client.sendOperationRequest(
110
- { reportName, options },
111
- listOperationSpec,
112
- );
113
- }
114
-
115
- /**
116
- * Get the AppComplianceAutomation scoping configuration of the specific report.
117
- * @param reportName Report Name.
118
- * @param scopingConfigurationName The scoping configuration of the specific report.
119
- * @param options The options parameters.
120
- */
121
- get(
122
- reportName: string,
123
- scopingConfigurationName: string,
124
- options?: ScopingConfigurationGetOptionalParams,
125
- ): Promise<ScopingConfigurationGetResponse> {
126
- return this.client.sendOperationRequest(
127
- { reportName, scopingConfigurationName, options },
128
- getOperationSpec,
129
- );
130
- }
131
-
132
- /**
133
- * Get the AppComplianceAutomation scoping configuration of the specific report.
134
- * @param reportName Report Name.
135
- * @param scopingConfigurationName The scoping configuration of the specific report.
136
- * @param properties Parameters for the create or update operation, this is a singleton resource, so
137
- * please make sure you're using 'default' as the name.
138
- * @param options The options parameters.
139
- */
140
- createOrUpdate(
141
- reportName: string,
142
- scopingConfigurationName: string,
143
- properties: ScopingConfigurationResource,
144
- options?: ScopingConfigurationCreateOrUpdateOptionalParams,
145
- ): Promise<ScopingConfigurationCreateOrUpdateResponse> {
146
- return this.client.sendOperationRequest(
147
- { reportName, scopingConfigurationName, properties, options },
148
- createOrUpdateOperationSpec,
149
- );
150
- }
151
-
152
- /**
153
- * Clean the AppComplianceAutomation scoping configuration of the specific report.
154
- * @param reportName Report Name.
155
- * @param scopingConfigurationName The scoping configuration of the specific report.
156
- * @param options The options parameters.
157
- */
158
- delete(
159
- reportName: string,
160
- scopingConfigurationName: string,
161
- options?: ScopingConfigurationDeleteOptionalParams,
162
- ): Promise<void> {
163
- return this.client.sendOperationRequest(
164
- { reportName, scopingConfigurationName, options },
165
- deleteOperationSpec,
166
- );
167
- }
168
-
169
- /**
170
- * ListNext
171
- * @param reportName Report Name.
172
- * @param nextLink The nextLink from the previous successful call to the List method.
173
- * @param options The options parameters.
174
- */
175
- private _listNext(
176
- reportName: string,
177
- nextLink: string,
178
- options?: ScopingConfigurationListNextOptionalParams,
179
- ): Promise<ScopingConfigurationListNextResponse> {
180
- return this.client.sendOperationRequest(
181
- { reportName, nextLink, options },
182
- listNextOperationSpec,
183
- );
184
- }
185
- }
186
- // Operation Specifications
187
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
188
-
189
- const listOperationSpec: coreClient.OperationSpec = {
190
- path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations",
191
- httpMethod: "GET",
192
- responses: {
193
- 200: {
194
- bodyMapper: Mappers.ScopingConfigurationResourceListResult,
195
- },
196
- default: {
197
- bodyMapper: Mappers.ErrorResponse,
198
- },
199
- },
200
- queryParameters: [Parameters.apiVersion],
201
- urlParameters: [Parameters.$host, Parameters.reportName],
202
- headerParameters: [Parameters.accept],
203
- serializer,
204
- };
205
- const getOperationSpec: coreClient.OperationSpec = {
206
- path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations/{scopingConfigurationName}",
207
- httpMethod: "GET",
208
- responses: {
209
- 200: {
210
- bodyMapper: Mappers.ScopingConfigurationResource,
211
- },
212
- default: {
213
- bodyMapper: Mappers.ErrorResponse,
214
- },
215
- },
216
- queryParameters: [Parameters.apiVersion],
217
- urlParameters: [
218
- Parameters.$host,
219
- Parameters.reportName,
220
- Parameters.scopingConfigurationName,
221
- ],
222
- headerParameters: [Parameters.accept],
223
- serializer,
224
- };
225
- const createOrUpdateOperationSpec: coreClient.OperationSpec = {
226
- path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations/{scopingConfigurationName}",
227
- httpMethod: "PUT",
228
- responses: {
229
- 200: {
230
- bodyMapper: Mappers.ScopingConfigurationResource,
231
- },
232
- 201: {
233
- bodyMapper: Mappers.ScopingConfigurationResource,
234
- },
235
- default: {
236
- bodyMapper: Mappers.ErrorResponse,
237
- },
238
- },
239
- requestBody: Parameters.properties3,
240
- queryParameters: [Parameters.apiVersion],
241
- urlParameters: [
242
- Parameters.$host,
243
- Parameters.reportName,
244
- Parameters.scopingConfigurationName,
245
- ],
246
- headerParameters: [Parameters.contentType, Parameters.accept],
247
- mediaType: "json",
248
- serializer,
249
- };
250
- const deleteOperationSpec: coreClient.OperationSpec = {
251
- path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations/{scopingConfigurationName}",
252
- httpMethod: "DELETE",
253
- responses: {
254
- 200: {},
255
- 204: {},
256
- default: {
257
- bodyMapper: Mappers.ErrorResponse,
258
- },
259
- },
260
- queryParameters: [Parameters.apiVersion],
261
- urlParameters: [
262
- Parameters.$host,
263
- Parameters.reportName,
264
- Parameters.scopingConfigurationName,
265
- ],
266
- headerParameters: [Parameters.accept],
267
- serializer,
268
- };
269
- const listNextOperationSpec: coreClient.OperationSpec = {
270
- path: "{nextLink}",
271
- httpMethod: "GET",
272
- responses: {
273
- 200: {
274
- bodyMapper: Mappers.ScopingConfigurationResourceListResult,
275
- },
276
- default: {
277
- bodyMapper: Mappers.ErrorResponse,
278
- },
279
- },
280
- urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.reportName],
281
- headerParameters: [Parameters.accept],
282
- serializer,
283
- };
@@ -1,343 +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
-
9
- import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
- import { setContinuationToken } from "../pagingHelper";
11
- import { Snapshot } from "../operationsInterfaces";
12
- import * as coreClient from "@azure/core-client";
13
- import * as Mappers from "../models/mappers";
14
- import * as Parameters from "../models/parameters";
15
- import { AppComplianceAutomationToolForMicrosoft365 } from "../appComplianceAutomationToolForMicrosoft365";
16
- import {
17
- SimplePollerLike,
18
- OperationState,
19
- createHttpPoller,
20
- } from "@azure/core-lro";
21
- import { createLroSpec } from "../lroImpl";
22
- import {
23
- SnapshotResource,
24
- SnapshotListNextOptionalParams,
25
- SnapshotListOptionalParams,
26
- SnapshotListResponse,
27
- SnapshotGetOptionalParams,
28
- SnapshotGetResponse,
29
- SnapshotDownloadRequest,
30
- SnapshotDownloadOptionalParams,
31
- SnapshotDownloadResponse,
32
- SnapshotListNextResponse,
33
- } from "../models";
34
-
35
- /// <reference lib="esnext.asynciterable" />
36
- /** Class containing Snapshot operations. */
37
- export class SnapshotImpl implements Snapshot {
38
- private readonly client: AppComplianceAutomationToolForMicrosoft365;
39
-
40
- /**
41
- * Initialize a new instance of the class Snapshot class.
42
- * @param client Reference to the service client
43
- */
44
- constructor(client: AppComplianceAutomationToolForMicrosoft365) {
45
- this.client = client;
46
- }
47
-
48
- /**
49
- * Get the AppComplianceAutomation snapshot list.
50
- * @param reportName Report Name.
51
- * @param options The options parameters.
52
- */
53
- public list(
54
- reportName: string,
55
- options?: SnapshotListOptionalParams,
56
- ): PagedAsyncIterableIterator<SnapshotResource> {
57
- const iter = this.listPagingAll(reportName, options);
58
- return {
59
- next() {
60
- return iter.next();
61
- },
62
- [Symbol.asyncIterator]() {
63
- return this;
64
- },
65
- byPage: (settings?: PageSettings) => {
66
- if (settings?.maxPageSize) {
67
- throw new Error("maxPageSize is not supported by this operation.");
68
- }
69
- return this.listPagingPage(reportName, options, settings);
70
- },
71
- };
72
- }
73
-
74
- private async *listPagingPage(
75
- reportName: string,
76
- options?: SnapshotListOptionalParams,
77
- settings?: PageSettings,
78
- ): AsyncIterableIterator<SnapshotResource[]> {
79
- let result: SnapshotListResponse;
80
- let continuationToken = settings?.continuationToken;
81
- if (!continuationToken) {
82
- result = await this._list(reportName, options);
83
- let page = result.value || [];
84
- continuationToken = result.nextLink;
85
- setContinuationToken(page, continuationToken);
86
- yield page;
87
- }
88
- while (continuationToken) {
89
- result = await this._listNext(reportName, continuationToken, options);
90
- continuationToken = result.nextLink;
91
- let page = result.value || [];
92
- setContinuationToken(page, continuationToken);
93
- yield page;
94
- }
95
- }
96
-
97
- private async *listPagingAll(
98
- reportName: string,
99
- options?: SnapshotListOptionalParams,
100
- ): AsyncIterableIterator<SnapshotResource> {
101
- for await (const page of this.listPagingPage(reportName, options)) {
102
- yield* page;
103
- }
104
- }
105
-
106
- /**
107
- * Get the AppComplianceAutomation snapshot list.
108
- * @param reportName Report Name.
109
- * @param options The options parameters.
110
- */
111
- private _list(
112
- reportName: string,
113
- options?: SnapshotListOptionalParams,
114
- ): Promise<SnapshotListResponse> {
115
- return this.client.sendOperationRequest(
116
- { reportName, options },
117
- listOperationSpec,
118
- );
119
- }
120
-
121
- /**
122
- * Get the AppComplianceAutomation snapshot and its properties.
123
- * @param reportName Report Name.
124
- * @param snapshotName Snapshot Name.
125
- * @param options The options parameters.
126
- */
127
- get(
128
- reportName: string,
129
- snapshotName: string,
130
- options?: SnapshotGetOptionalParams,
131
- ): Promise<SnapshotGetResponse> {
132
- return this.client.sendOperationRequest(
133
- { reportName, snapshotName, options },
134
- getOperationSpec,
135
- );
136
- }
137
-
138
- /**
139
- * Download compliance needs from snapshot, like: Compliance Report, Resource List.
140
- * @param reportName Report Name.
141
- * @param snapshotName Snapshot Name.
142
- * @param body Parameters for the query operation
143
- * @param options The options parameters.
144
- */
145
- async beginDownload(
146
- reportName: string,
147
- snapshotName: string,
148
- body: SnapshotDownloadRequest,
149
- options?: SnapshotDownloadOptionalParams,
150
- ): Promise<
151
- SimplePollerLike<
152
- OperationState<SnapshotDownloadResponse>,
153
- SnapshotDownloadResponse
154
- >
155
- > {
156
- const directSendOperation = async (
157
- args: coreClient.OperationArguments,
158
- spec: coreClient.OperationSpec,
159
- ): Promise<SnapshotDownloadResponse> => {
160
- return this.client.sendOperationRequest(args, spec);
161
- };
162
- const sendOperationFn = async (
163
- args: coreClient.OperationArguments,
164
- spec: coreClient.OperationSpec,
165
- ) => {
166
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
167
- undefined;
168
- const providedCallback = args.options?.onResponse;
169
- const callback: coreClient.RawResponseCallback = (
170
- rawResponse: coreClient.FullOperationResponse,
171
- flatResponse: unknown,
172
- ) => {
173
- currentRawResponse = rawResponse;
174
- providedCallback?.(rawResponse, flatResponse);
175
- };
176
- const updatedArgs = {
177
- ...args,
178
- options: {
179
- ...args.options,
180
- onResponse: callback,
181
- },
182
- };
183
- const flatResponse = await directSendOperation(updatedArgs, spec);
184
- return {
185
- flatResponse,
186
- rawResponse: {
187
- statusCode: currentRawResponse!.status,
188
- body: currentRawResponse!.parsedBody,
189
- headers: currentRawResponse!.headers.toJSON(),
190
- },
191
- };
192
- };
193
-
194
- const lro = createLroSpec({
195
- sendOperationFn,
196
- args: { reportName, snapshotName, body, options },
197
- spec: downloadOperationSpec,
198
- });
199
- const poller = await createHttpPoller<
200
- SnapshotDownloadResponse,
201
- OperationState<SnapshotDownloadResponse>
202
- >(lro, {
203
- restoreFrom: options?.resumeFrom,
204
- intervalInMs: options?.updateIntervalInMs,
205
- resourceLocationConfig: "location",
206
- });
207
- await poller.poll();
208
- return poller;
209
- }
210
-
211
- /**
212
- * Download compliance needs from snapshot, like: Compliance Report, Resource List.
213
- * @param reportName Report Name.
214
- * @param snapshotName Snapshot Name.
215
- * @param body Parameters for the query operation
216
- * @param options The options parameters.
217
- */
218
- async beginDownloadAndWait(
219
- reportName: string,
220
- snapshotName: string,
221
- body: SnapshotDownloadRequest,
222
- options?: SnapshotDownloadOptionalParams,
223
- ): Promise<SnapshotDownloadResponse> {
224
- const poller = await this.beginDownload(
225
- reportName,
226
- snapshotName,
227
- body,
228
- options,
229
- );
230
- return poller.pollUntilDone();
231
- }
232
-
233
- /**
234
- * ListNext
235
- * @param reportName Report Name.
236
- * @param nextLink The nextLink from the previous successful call to the List method.
237
- * @param options The options parameters.
238
- */
239
- private _listNext(
240
- reportName: string,
241
- nextLink: string,
242
- options?: SnapshotListNextOptionalParams,
243
- ): Promise<SnapshotListNextResponse> {
244
- return this.client.sendOperationRequest(
245
- { reportName, nextLink, options },
246
- listNextOperationSpec,
247
- );
248
- }
249
- }
250
- // Operation Specifications
251
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
252
-
253
- const listOperationSpec: coreClient.OperationSpec = {
254
- path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots",
255
- httpMethod: "GET",
256
- responses: {
257
- 200: {
258
- bodyMapper: Mappers.SnapshotResourceListResult,
259
- },
260
- default: {
261
- bodyMapper: Mappers.ErrorResponse,
262
- },
263
- },
264
- queryParameters: [
265
- Parameters.apiVersion,
266
- Parameters.skipToken,
267
- Parameters.top,
268
- Parameters.select,
269
- Parameters.filter,
270
- Parameters.orderby,
271
- Parameters.offerGuid,
272
- Parameters.reportCreatorTenantId,
273
- ],
274
- urlParameters: [Parameters.$host, Parameters.reportName],
275
- headerParameters: [Parameters.accept],
276
- serializer,
277
- };
278
- const getOperationSpec: coreClient.OperationSpec = {
279
- path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}",
280
- httpMethod: "GET",
281
- responses: {
282
- 200: {
283
- bodyMapper: Mappers.SnapshotResource,
284
- },
285
- default: {
286
- bodyMapper: Mappers.ErrorResponse,
287
- },
288
- },
289
- queryParameters: [Parameters.apiVersion],
290
- urlParameters: [
291
- Parameters.$host,
292
- Parameters.reportName,
293
- Parameters.snapshotName,
294
- ],
295
- headerParameters: [Parameters.accept],
296
- serializer,
297
- };
298
- const downloadOperationSpec: coreClient.OperationSpec = {
299
- path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}/download",
300
- httpMethod: "POST",
301
- responses: {
302
- 200: {
303
- bodyMapper: Mappers.DownloadResponse,
304
- },
305
- 201: {
306
- bodyMapper: Mappers.DownloadResponse,
307
- },
308
- 202: {
309
- bodyMapper: Mappers.DownloadResponse,
310
- },
311
- 204: {
312
- bodyMapper: Mappers.DownloadResponse,
313
- },
314
- default: {
315
- bodyMapper: Mappers.ErrorResponse,
316
- },
317
- },
318
- requestBody: Parameters.body8,
319
- queryParameters: [Parameters.apiVersion],
320
- urlParameters: [
321
- Parameters.$host,
322
- Parameters.reportName,
323
- Parameters.snapshotName,
324
- ],
325
- headerParameters: [Parameters.contentType, Parameters.accept],
326
- mediaType: "json",
327
- serializer,
328
- };
329
- const listNextOperationSpec: coreClient.OperationSpec = {
330
- path: "{nextLink}",
331
- httpMethod: "GET",
332
- responses: {
333
- 200: {
334
- bodyMapper: Mappers.SnapshotResourceListResult,
335
- },
336
- default: {
337
- bodyMapper: Mappers.ErrorResponse,
338
- },
339
- },
340
- urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.reportName],
341
- headerParameters: [Parameters.accept],
342
- serializer,
343
- };