@azure/arm-playwrighttesting 1.0.0-beta.2 → 1.0.1

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 (469) hide show
  1. package/CHANGELOG.md +8 -25
  2. package/LICENSE +4 -4
  3. package/README.md +41 -31
  4. package/dist/browser/api/accountQuotas/index.d.ts +13 -0
  5. package/dist/browser/api/accountQuotas/index.d.ts.map +1 -0
  6. package/dist/browser/api/accountQuotas/index.js +39 -0
  7. package/dist/browser/api/accountQuotas/index.js.map +1 -0
  8. package/dist/browser/api/accounts/index.d.ts +34 -0
  9. package/dist/browser/api/accounts/index.d.ts.map +1 -0
  10. package/dist/browser/api/accounts/index.js +141 -0
  11. package/dist/browser/api/accounts/index.js.map +1 -0
  12. package/dist/browser/api/azurePlaywrightServiceContext.d.ts +14 -0
  13. package/dist/browser/api/azurePlaywrightServiceContext.d.ts.map +1 -0
  14. package/dist/browser/api/azurePlaywrightServiceContext.js +38 -0
  15. package/dist/browser/api/azurePlaywrightServiceContext.js.map +1 -0
  16. package/dist/browser/api/index.d.ts +7 -0
  17. package/dist/browser/api/index.d.ts.map +1 -0
  18. package/dist/browser/api/index.js +8 -0
  19. package/dist/browser/api/index.js.map +1 -0
  20. package/dist/browser/api/operations/index.d.ts +9 -0
  21. package/dist/browser/api/operations/index.d.ts.map +1 -0
  22. package/dist/browser/api/operations/index.js +22 -0
  23. package/dist/browser/api/operations/index.js.map +1 -0
  24. package/dist/browser/api/options.d.ts +42 -0
  25. package/dist/browser/api/options.d.ts.map +1 -0
  26. package/dist/browser/api/options.js +4 -0
  27. package/dist/browser/api/options.js.map +1 -0
  28. package/dist/browser/api/quotas/index.d.ts +13 -0
  29. package/dist/browser/api/quotas/index.d.ts.map +1 -0
  30. package/dist/browser/api/quotas/index.js +39 -0
  31. package/dist/browser/api/quotas/index.js.map +1 -0
  32. package/dist/browser/azurePlaywrightServiceClient.d.ts +24 -0
  33. package/dist/browser/azurePlaywrightServiceClient.d.ts.map +1 -0
  34. package/dist/browser/azurePlaywrightServiceClient.js +37 -0
  35. package/dist/browser/azurePlaywrightServiceClient.js.map +1 -0
  36. package/dist/browser/classic/accountQuotas/index.d.ts +17 -0
  37. package/dist/browser/classic/accountQuotas/index.d.ts.map +1 -0
  38. package/dist/browser/classic/accountQuotas/index.js +15 -0
  39. package/dist/browser/classic/accountQuotas/index.js.map +1 -0
  40. package/dist/browser/classic/accounts/index.d.ts +33 -0
  41. package/dist/browser/classic/accounts/index.d.ts.map +1 -0
  42. package/dist/browser/classic/accounts/index.js +20 -0
  43. package/dist/browser/classic/accounts/index.js.map +1 -0
  44. package/dist/browser/classic/index.d.ts +5 -0
  45. package/dist/browser/classic/index.d.ts.map +1 -0
  46. package/dist/browser/classic/index.js +4 -0
  47. package/dist/browser/classic/index.js.map +1 -0
  48. package/dist/browser/classic/operations/index.d.ts +14 -0
  49. package/dist/browser/classic/operations/index.d.ts.map +1 -0
  50. package/dist/browser/classic/operations/index.js +14 -0
  51. package/dist/browser/classic/operations/index.js.map +1 -0
  52. package/dist/browser/classic/quotas/index.d.ts +17 -0
  53. package/dist/browser/classic/quotas/index.d.ts.map +1 -0
  54. package/dist/browser/classic/quotas/index.js +15 -0
  55. package/dist/browser/classic/quotas/index.js.map +1 -0
  56. package/dist/browser/helpers/serializerHelpers.d.ts +3 -0
  57. package/dist/browser/helpers/serializerHelpers.d.ts.map +1 -0
  58. package/dist/browser/helpers/serializerHelpers.js +24 -0
  59. package/dist/browser/helpers/serializerHelpers.js.map +1 -0
  60. package/dist/browser/index.d.ts +8 -0
  61. package/dist/browser/index.d.ts.map +1 -0
  62. package/dist/browser/index.js +6 -0
  63. package/dist/browser/index.js.map +1 -0
  64. package/dist/browser/logger.d.ts +2 -0
  65. package/dist/browser/logger.d.ts.map +1 -0
  66. package/dist/browser/logger.js +5 -0
  67. package/dist/browser/logger.js.map +1 -0
  68. package/dist/browser/models/index.d.ts +2 -0
  69. package/dist/browser/models/index.d.ts.map +1 -0
  70. package/dist/browser/models/index.js +4 -0
  71. package/dist/browser/models/index.js.map +1 -0
  72. package/dist/browser/models/models.d.ts +399 -0
  73. package/dist/browser/models/models.d.ts.map +1 -0
  74. package/dist/browser/models/models.js +343 -0
  75. package/dist/browser/models/models.js.map +1 -0
  76. package/dist/browser/package.json +3 -0
  77. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  78. package/dist/browser/restorePollerHelpers.d.ts.map +1 -0
  79. package/dist/browser/restorePollerHelpers.js +95 -0
  80. package/dist/browser/restorePollerHelpers.js.map +1 -0
  81. package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
  82. package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
  83. package/dist/browser/static-helpers/pagingHelpers.js +118 -0
  84. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  85. package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
  86. package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -0
  87. package/dist/browser/static-helpers/pollingHelpers.js +79 -0
  88. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  89. package/dist/commonjs/api/accountQuotas/index.d.ts +13 -0
  90. package/dist/commonjs/api/accountQuotas/index.d.ts.map +1 -0
  91. package/dist/commonjs/api/accountQuotas/index.js +47 -0
  92. package/dist/commonjs/api/accountQuotas/index.js.map +1 -0
  93. package/dist/commonjs/api/accounts/index.d.ts +34 -0
  94. package/dist/commonjs/api/accounts/index.d.ts.map +1 -0
  95. package/dist/commonjs/api/accounts/index.js +164 -0
  96. package/dist/commonjs/api/accounts/index.js.map +1 -0
  97. package/dist/commonjs/api/azurePlaywrightServiceContext.d.ts +14 -0
  98. package/dist/commonjs/api/azurePlaywrightServiceContext.d.ts.map +1 -0
  99. package/dist/commonjs/api/azurePlaywrightServiceContext.js +41 -0
  100. package/dist/commonjs/api/azurePlaywrightServiceContext.js.map +1 -0
  101. package/dist/commonjs/api/index.d.ts +7 -0
  102. package/dist/commonjs/api/index.d.ts.map +1 -0
  103. package/dist/commonjs/api/index.js +24 -0
  104. package/dist/commonjs/api/index.js.map +1 -0
  105. package/dist/commonjs/api/operations/index.d.ts +9 -0
  106. package/dist/commonjs/api/operations/index.d.ts.map +1 -0
  107. package/dist/commonjs/api/operations/index.js +27 -0
  108. package/dist/commonjs/api/operations/index.js.map +1 -0
  109. package/dist/commonjs/api/options.d.ts +42 -0
  110. package/dist/commonjs/api/options.d.ts.map +1 -0
  111. package/dist/commonjs/api/options.js +5 -0
  112. package/dist/commonjs/api/options.js.map +1 -0
  113. package/dist/commonjs/api/quotas/index.d.ts +13 -0
  114. package/dist/commonjs/api/quotas/index.d.ts.map +1 -0
  115. package/dist/commonjs/api/quotas/index.js +47 -0
  116. package/dist/commonjs/api/quotas/index.js.map +1 -0
  117. package/dist/commonjs/azurePlaywrightServiceClient.d.ts +24 -0
  118. package/dist/commonjs/azurePlaywrightServiceClient.d.ts.map +1 -0
  119. package/dist/commonjs/azurePlaywrightServiceClient.js +41 -0
  120. package/dist/commonjs/azurePlaywrightServiceClient.js.map +1 -0
  121. package/dist/commonjs/classic/accountQuotas/index.d.ts +17 -0
  122. package/dist/commonjs/classic/accountQuotas/index.d.ts.map +1 -0
  123. package/dist/commonjs/classic/accountQuotas/index.js +19 -0
  124. package/dist/commonjs/classic/accountQuotas/index.js.map +1 -0
  125. package/dist/commonjs/classic/accounts/index.d.ts +33 -0
  126. package/dist/commonjs/classic/accounts/index.d.ts.map +1 -0
  127. package/dist/commonjs/classic/accounts/index.js +24 -0
  128. package/dist/commonjs/classic/accounts/index.js.map +1 -0
  129. package/dist/commonjs/classic/index.d.ts +5 -0
  130. package/dist/commonjs/classic/index.d.ts.map +1 -0
  131. package/dist/commonjs/classic/index.js +5 -0
  132. package/dist/commonjs/classic/index.js.map +1 -0
  133. package/dist/commonjs/classic/operations/index.d.ts +14 -0
  134. package/dist/commonjs/classic/operations/index.d.ts.map +1 -0
  135. package/dist/commonjs/classic/operations/index.js +18 -0
  136. package/dist/commonjs/classic/operations/index.js.map +1 -0
  137. package/dist/commonjs/classic/quotas/index.d.ts +17 -0
  138. package/dist/commonjs/classic/quotas/index.d.ts.map +1 -0
  139. package/dist/commonjs/classic/quotas/index.js +19 -0
  140. package/dist/commonjs/classic/quotas/index.js.map +1 -0
  141. package/dist/commonjs/helpers/serializerHelpers.d.ts +3 -0
  142. package/dist/commonjs/helpers/serializerHelpers.d.ts.map +1 -0
  143. package/dist/commonjs/helpers/serializerHelpers.js +27 -0
  144. package/dist/commonjs/helpers/serializerHelpers.js.map +1 -0
  145. package/dist/commonjs/index.d.ts +8 -0
  146. package/dist/commonjs/index.d.ts.map +1 -0
  147. package/dist/commonjs/index.js +21 -0
  148. package/dist/commonjs/index.js.map +1 -0
  149. package/dist/commonjs/logger.d.ts +2 -0
  150. package/dist/commonjs/logger.d.ts.map +1 -0
  151. package/dist/commonjs/logger.js +8 -0
  152. package/dist/commonjs/logger.js.map +1 -0
  153. package/dist/commonjs/models/index.d.ts +2 -0
  154. package/dist/commonjs/models/index.d.ts.map +1 -0
  155. package/dist/commonjs/models/index.js +17 -0
  156. package/dist/commonjs/models/index.js.map +1 -0
  157. package/dist/commonjs/models/models.d.ts +399 -0
  158. package/dist/commonjs/models/models.d.ts.map +1 -0
  159. package/dist/commonjs/models/models.js +377 -0
  160. package/dist/commonjs/models/models.js.map +1 -0
  161. package/dist/commonjs/package.json +3 -0
  162. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  163. package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -0
  164. package/dist/commonjs/restorePollerHelpers.js +98 -0
  165. package/dist/commonjs/restorePollerHelpers.js.map +1 -0
  166. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
  167. package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
  168. package/dist/commonjs/static-helpers/pagingHelpers.js +121 -0
  169. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
  170. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
  171. package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -0
  172. package/dist/commonjs/static-helpers/pollingHelpers.js +82 -0
  173. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
  174. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  175. package/dist/esm/api/accountQuotas/index.d.ts +13 -0
  176. package/dist/esm/api/accountQuotas/index.d.ts.map +1 -0
  177. package/dist/esm/api/accountQuotas/index.js +39 -0
  178. package/dist/esm/api/accountQuotas/index.js.map +1 -0
  179. package/dist/esm/api/accounts/index.d.ts +34 -0
  180. package/dist/esm/api/accounts/index.d.ts.map +1 -0
  181. package/dist/esm/api/accounts/index.js +141 -0
  182. package/dist/esm/api/accounts/index.js.map +1 -0
  183. package/dist/esm/api/azurePlaywrightServiceContext.d.ts +14 -0
  184. package/dist/esm/api/azurePlaywrightServiceContext.d.ts.map +1 -0
  185. package/dist/esm/api/azurePlaywrightServiceContext.js +38 -0
  186. package/dist/esm/api/azurePlaywrightServiceContext.js.map +1 -0
  187. package/dist/esm/api/index.d.ts +7 -0
  188. package/dist/esm/api/index.d.ts.map +1 -0
  189. package/dist/esm/api/index.js +8 -0
  190. package/dist/esm/api/index.js.map +1 -0
  191. package/dist/esm/api/operations/index.d.ts +9 -0
  192. package/dist/esm/api/operations/index.d.ts.map +1 -0
  193. package/dist/esm/api/operations/index.js +22 -0
  194. package/dist/esm/api/operations/index.js.map +1 -0
  195. package/dist/esm/api/options.d.ts +42 -0
  196. package/dist/esm/api/options.d.ts.map +1 -0
  197. package/dist/esm/api/options.js +4 -0
  198. package/dist/esm/api/options.js.map +1 -0
  199. package/dist/esm/api/quotas/index.d.ts +13 -0
  200. package/dist/esm/api/quotas/index.d.ts.map +1 -0
  201. package/dist/esm/api/quotas/index.js +39 -0
  202. package/dist/esm/api/quotas/index.js.map +1 -0
  203. package/dist/esm/azurePlaywrightServiceClient.d.ts +24 -0
  204. package/dist/esm/azurePlaywrightServiceClient.d.ts.map +1 -0
  205. package/dist/esm/azurePlaywrightServiceClient.js +37 -0
  206. package/dist/esm/azurePlaywrightServiceClient.js.map +1 -0
  207. package/dist/esm/classic/accountQuotas/index.d.ts +17 -0
  208. package/dist/esm/classic/accountQuotas/index.d.ts.map +1 -0
  209. package/dist/esm/classic/accountQuotas/index.js +15 -0
  210. package/dist/esm/classic/accountQuotas/index.js.map +1 -0
  211. package/dist/esm/classic/accounts/index.d.ts +33 -0
  212. package/dist/esm/classic/accounts/index.d.ts.map +1 -0
  213. package/dist/esm/classic/accounts/index.js +20 -0
  214. package/dist/esm/classic/accounts/index.js.map +1 -0
  215. package/dist/esm/classic/index.d.ts +5 -0
  216. package/dist/esm/classic/index.d.ts.map +1 -0
  217. package/dist/esm/classic/index.js +4 -0
  218. package/dist/esm/classic/index.js.map +1 -0
  219. package/dist/esm/classic/operations/index.d.ts +14 -0
  220. package/dist/esm/classic/operations/index.d.ts.map +1 -0
  221. package/dist/esm/classic/operations/index.js +14 -0
  222. package/dist/esm/classic/operations/index.js.map +1 -0
  223. package/dist/esm/classic/quotas/index.d.ts +17 -0
  224. package/dist/esm/classic/quotas/index.d.ts.map +1 -0
  225. package/dist/esm/classic/quotas/index.js +15 -0
  226. package/dist/esm/classic/quotas/index.js.map +1 -0
  227. package/dist/esm/helpers/serializerHelpers.d.ts +3 -0
  228. package/dist/esm/helpers/serializerHelpers.d.ts.map +1 -0
  229. package/dist/esm/helpers/serializerHelpers.js +24 -0
  230. package/dist/esm/helpers/serializerHelpers.js.map +1 -0
  231. package/dist/esm/index.d.ts +8 -0
  232. package/dist/esm/index.d.ts.map +1 -0
  233. package/dist/esm/index.js +6 -0
  234. package/dist/esm/index.js.map +1 -0
  235. package/dist/esm/logger.d.ts +2 -0
  236. package/dist/esm/logger.d.ts.map +1 -0
  237. package/dist/esm/logger.js +5 -0
  238. package/dist/esm/logger.js.map +1 -0
  239. package/dist/esm/models/index.d.ts +2 -0
  240. package/dist/esm/models/index.d.ts.map +1 -0
  241. package/dist/esm/models/index.js +4 -0
  242. package/dist/esm/models/index.js.map +1 -0
  243. package/dist/esm/models/models.d.ts +399 -0
  244. package/dist/esm/models/models.d.ts.map +1 -0
  245. package/dist/esm/models/models.js +343 -0
  246. package/dist/esm/models/models.js.map +1 -0
  247. package/dist/esm/package.json +3 -0
  248. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  249. package/dist/esm/restorePollerHelpers.d.ts.map +1 -0
  250. package/dist/esm/restorePollerHelpers.js +95 -0
  251. package/dist/esm/restorePollerHelpers.js.map +1 -0
  252. package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
  253. package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
  254. package/dist/esm/static-helpers/pagingHelpers.js +118 -0
  255. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  256. package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
  257. package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -0
  258. package/dist/esm/static-helpers/pollingHelpers.js +79 -0
  259. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  260. package/dist/react-native/api/accountQuotas/index.d.ts +13 -0
  261. package/dist/react-native/api/accountQuotas/index.d.ts.map +1 -0
  262. package/dist/react-native/api/accountQuotas/index.js +39 -0
  263. package/dist/react-native/api/accountQuotas/index.js.map +1 -0
  264. package/dist/react-native/api/accounts/index.d.ts +34 -0
  265. package/dist/react-native/api/accounts/index.d.ts.map +1 -0
  266. package/dist/react-native/api/accounts/index.js +141 -0
  267. package/dist/react-native/api/accounts/index.js.map +1 -0
  268. package/dist/react-native/api/azurePlaywrightServiceContext.d.ts +14 -0
  269. package/dist/react-native/api/azurePlaywrightServiceContext.d.ts.map +1 -0
  270. package/dist/react-native/api/azurePlaywrightServiceContext.js +38 -0
  271. package/dist/react-native/api/azurePlaywrightServiceContext.js.map +1 -0
  272. package/dist/react-native/api/index.d.ts +7 -0
  273. package/dist/react-native/api/index.d.ts.map +1 -0
  274. package/dist/react-native/api/index.js +8 -0
  275. package/dist/react-native/api/index.js.map +1 -0
  276. package/dist/react-native/api/operations/index.d.ts +9 -0
  277. package/dist/react-native/api/operations/index.d.ts.map +1 -0
  278. package/dist/react-native/api/operations/index.js +22 -0
  279. package/dist/react-native/api/operations/index.js.map +1 -0
  280. package/dist/react-native/api/options.d.ts +42 -0
  281. package/dist/react-native/api/options.d.ts.map +1 -0
  282. package/dist/react-native/api/options.js +4 -0
  283. package/dist/react-native/api/options.js.map +1 -0
  284. package/dist/react-native/api/quotas/index.d.ts +13 -0
  285. package/dist/react-native/api/quotas/index.d.ts.map +1 -0
  286. package/dist/react-native/api/quotas/index.js +39 -0
  287. package/dist/react-native/api/quotas/index.js.map +1 -0
  288. package/dist/react-native/azurePlaywrightServiceClient.d.ts +24 -0
  289. package/dist/react-native/azurePlaywrightServiceClient.d.ts.map +1 -0
  290. package/dist/react-native/azurePlaywrightServiceClient.js +37 -0
  291. package/dist/react-native/azurePlaywrightServiceClient.js.map +1 -0
  292. package/dist/react-native/classic/accountQuotas/index.d.ts +17 -0
  293. package/dist/react-native/classic/accountQuotas/index.d.ts.map +1 -0
  294. package/dist/react-native/classic/accountQuotas/index.js +15 -0
  295. package/dist/react-native/classic/accountQuotas/index.js.map +1 -0
  296. package/dist/react-native/classic/accounts/index.d.ts +33 -0
  297. package/dist/react-native/classic/accounts/index.d.ts.map +1 -0
  298. package/dist/react-native/classic/accounts/index.js +20 -0
  299. package/dist/react-native/classic/accounts/index.js.map +1 -0
  300. package/dist/react-native/classic/index.d.ts +5 -0
  301. package/dist/react-native/classic/index.d.ts.map +1 -0
  302. package/dist/react-native/classic/index.js +4 -0
  303. package/dist/react-native/classic/index.js.map +1 -0
  304. package/dist/react-native/classic/operations/index.d.ts +14 -0
  305. package/dist/react-native/classic/operations/index.d.ts.map +1 -0
  306. package/dist/react-native/classic/operations/index.js +14 -0
  307. package/dist/react-native/classic/operations/index.js.map +1 -0
  308. package/dist/react-native/classic/quotas/index.d.ts +17 -0
  309. package/dist/react-native/classic/quotas/index.d.ts.map +1 -0
  310. package/dist/react-native/classic/quotas/index.js +15 -0
  311. package/dist/react-native/classic/quotas/index.js.map +1 -0
  312. package/dist/react-native/helpers/serializerHelpers.d.ts +3 -0
  313. package/dist/react-native/helpers/serializerHelpers.d.ts.map +1 -0
  314. package/dist/react-native/helpers/serializerHelpers.js +24 -0
  315. package/dist/react-native/helpers/serializerHelpers.js.map +1 -0
  316. package/dist/react-native/index.d.ts +8 -0
  317. package/dist/react-native/index.d.ts.map +1 -0
  318. package/dist/react-native/index.js +6 -0
  319. package/dist/react-native/index.js.map +1 -0
  320. package/dist/react-native/logger.d.ts +2 -0
  321. package/dist/react-native/logger.d.ts.map +1 -0
  322. package/dist/react-native/logger.js +5 -0
  323. package/dist/react-native/logger.js.map +1 -0
  324. package/dist/react-native/models/index.d.ts +2 -0
  325. package/dist/react-native/models/index.d.ts.map +1 -0
  326. package/dist/react-native/models/index.js +4 -0
  327. package/dist/react-native/models/index.js.map +1 -0
  328. package/dist/react-native/models/models.d.ts +399 -0
  329. package/dist/react-native/models/models.d.ts.map +1 -0
  330. package/dist/react-native/models/models.js +343 -0
  331. package/dist/react-native/models/models.js.map +1 -0
  332. package/dist/react-native/package.json +3 -0
  333. package/dist/react-native/restorePollerHelpers.d.ts +21 -0
  334. package/dist/react-native/restorePollerHelpers.d.ts.map +1 -0
  335. package/dist/react-native/restorePollerHelpers.js +95 -0
  336. package/dist/react-native/restorePollerHelpers.js.map +1 -0
  337. package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
  338. package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
  339. package/dist/react-native/static-helpers/pagingHelpers.js +118 -0
  340. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  341. package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
  342. package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -0
  343. package/dist/react-native/static-helpers/pollingHelpers.js +79 -0
  344. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
  345. package/package.json +125 -89
  346. package/review/arm-playwrighttesting-models-node.api.md +230 -0
  347. package/review/arm-playwrighttesting-node.api.md +359 -0
  348. package/dist/index.js +0 -1798
  349. package/dist/index.js.map +0 -1
  350. package/dist/index.min.js +0 -1
  351. package/dist/index.min.js.map +0 -1
  352. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts +0 -2
  353. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts.map +0 -1
  354. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js +0 -44
  355. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js.map +0 -1
  356. package/dist-esm/samples-dev/accountsDeleteSample.d.ts +0 -2
  357. package/dist-esm/samples-dev/accountsDeleteSample.d.ts.map +0 -1
  358. package/dist-esm/samples-dev/accountsDeleteSample.js +0 -39
  359. package/dist-esm/samples-dev/accountsDeleteSample.js.map +0 -1
  360. package/dist-esm/samples-dev/accountsGetSample.d.ts +0 -2
  361. package/dist-esm/samples-dev/accountsGetSample.d.ts.map +0 -1
  362. package/dist-esm/samples-dev/accountsGetSample.js +0 -39
  363. package/dist-esm/samples-dev/accountsGetSample.js.map +0 -1
  364. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts +0 -2
  365. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts.map +0 -1
  366. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +0 -54
  367. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +0 -1
  368. package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts +0 -2
  369. package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts.map +0 -1
  370. package/dist-esm/samples-dev/accountsListBySubscriptionSample.js +0 -53
  371. package/dist-esm/samples-dev/accountsListBySubscriptionSample.js.map +0 -1
  372. package/dist-esm/samples-dev/accountsUpdateSample.d.ts +0 -2
  373. package/dist-esm/samples-dev/accountsUpdateSample.d.ts.map +0 -1
  374. package/dist-esm/samples-dev/accountsUpdateSample.js +0 -43
  375. package/dist-esm/samples-dev/accountsUpdateSample.js.map +0 -1
  376. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  377. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  378. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  379. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  380. package/dist-esm/samples-dev/quotasGetSample.d.ts +0 -2
  381. package/dist-esm/samples-dev/quotasGetSample.d.ts.map +0 -1
  382. package/dist-esm/samples-dev/quotasGetSample.js +0 -39
  383. package/dist-esm/samples-dev/quotasGetSample.js.map +0 -1
  384. package/dist-esm/samples-dev/quotasListBySubscriptionSample.d.ts +0 -2
  385. package/dist-esm/samples-dev/quotasListBySubscriptionSample.d.ts.map +0 -1
  386. package/dist-esm/samples-dev/quotasListBySubscriptionSample.js +0 -54
  387. package/dist-esm/samples-dev/quotasListBySubscriptionSample.js.map +0 -1
  388. package/dist-esm/src/index.d.ts +0 -6
  389. package/dist-esm/src/index.d.ts.map +0 -1
  390. package/dist-esm/src/index.js +0 -13
  391. package/dist-esm/src/index.js.map +0 -1
  392. package/dist-esm/src/lroImpl.d.ts +0 -11
  393. package/dist-esm/src/lroImpl.d.ts.map +0 -1
  394. package/dist-esm/src/lroImpl.js +0 -21
  395. package/dist-esm/src/lroImpl.js.map +0 -1
  396. package/dist-esm/src/models/index.d.ts +0 -484
  397. package/dist-esm/src/models/index.d.ts.map +0 -1
  398. package/dist-esm/src/models/index.js +0 -72
  399. package/dist-esm/src/models/index.js.map +0 -1
  400. package/dist-esm/src/models/mappers.d.ts +0 -23
  401. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  402. package/dist-esm/src/models/mappers.js +0 -606
  403. package/dist-esm/src/models/mappers.js.map +0 -1
  404. package/dist-esm/src/models/parameters.d.ts +0 -14
  405. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  406. package/dist-esm/src/models/parameters.js +0 -134
  407. package/dist-esm/src/models/parameters.js.map +0 -1
  408. package/dist-esm/src/operations/accounts.d.ts +0 -99
  409. package/dist-esm/src/operations/accounts.d.ts.map +0 -1
  410. package/dist-esm/src/operations/accounts.js +0 -489
  411. package/dist-esm/src/operations/accounts.js.map +0 -1
  412. package/dist-esm/src/operations/index.d.ts +0 -4
  413. package/dist-esm/src/operations/index.d.ts.map +0 -1
  414. package/dist-esm/src/operations/index.js +0 -11
  415. package/dist-esm/src/operations/index.js.map +0 -1
  416. package/dist-esm/src/operations/operations.d.ts +0 -32
  417. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  418. package/dist-esm/src/operations/operations.js +0 -133
  419. package/dist-esm/src/operations/operations.js.map +0 -1
  420. package/dist-esm/src/operations/quotas.d.ts +0 -42
  421. package/dist-esm/src/operations/quotas.d.ts.map +0 -1
  422. package/dist-esm/src/operations/quotas.js +0 -175
  423. package/dist-esm/src/operations/quotas.js.map +0 -1
  424. package/dist-esm/src/operationsInterfaces/accounts.d.ts +0 -63
  425. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +0 -1
  426. package/dist-esm/src/operationsInterfaces/accounts.js +0 -9
  427. package/dist-esm/src/operationsInterfaces/accounts.js.map +0 -1
  428. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
  429. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  430. package/dist-esm/src/operationsInterfaces/index.js +0 -11
  431. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  432. package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
  433. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  434. package/dist-esm/src/operationsInterfaces/operations.js +0 -9
  435. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  436. package/dist-esm/src/operationsInterfaces/quotas.d.ts +0 -19
  437. package/dist-esm/src/operationsInterfaces/quotas.d.ts.map +0 -1
  438. package/dist-esm/src/operationsInterfaces/quotas.js +0 -9
  439. package/dist-esm/src/operationsInterfaces/quotas.js.map +0 -1
  440. package/dist-esm/src/pagingHelper.d.ts +0 -13
  441. package/dist-esm/src/pagingHelper.d.ts.map +0 -1
  442. package/dist-esm/src/pagingHelper.js +0 -32
  443. package/dist-esm/src/pagingHelper.js.map +0 -1
  444. package/dist-esm/src/playwrightTestingClient.d.ts +0 -22
  445. package/dist-esm/src/playwrightTestingClient.d.ts.map +0 -1
  446. package/dist-esm/src/playwrightTestingClient.js +0 -102
  447. package/dist-esm/src/playwrightTestingClient.js.map +0 -1
  448. package/dist-esm/test/playwrighttesting_operations_test.spec.d.ts +0 -4
  449. package/dist-esm/test/playwrighttesting_operations_test.spec.d.ts.map +0 -1
  450. package/dist-esm/test/playwrighttesting_operations_test.spec.js +0 -71
  451. package/dist-esm/test/playwrighttesting_operations_test.spec.js.map +0 -1
  452. package/review/arm-playwrighttesting.api.md +0 -371
  453. package/src/index.ts +0 -13
  454. package/src/lroImpl.ts +0 -42
  455. package/src/models/index.ts +0 -549
  456. package/src/models/mappers.ts +0 -640
  457. package/src/models/parameters.ts +0 -154
  458. package/src/operations/accounts.ts +0 -630
  459. package/src/operations/index.ts +0 -11
  460. package/src/operations/operations.ts +0 -149
  461. package/src/operations/quotas.ts +0 -219
  462. package/src/operationsInterfaces/accounts.ts +0 -121
  463. package/src/operationsInterfaces/index.ts +0 -11
  464. package/src/operationsInterfaces/operations.ts +0 -22
  465. package/src/operationsInterfaces/quotas.ts +0 -41
  466. package/src/pagingHelper.ts +0 -39
  467. package/src/playwrightTestingClient.ts +0 -144
  468. package/tsconfig.json +0 -33
  469. package/types/arm-playwrighttesting.d.ts +0 -663
package/CHANGELOG.md CHANGED
@@ -1,30 +1,13 @@
1
1
  # Release History
2
-
3
- ## 1.0.0-beta.2 (2024-01-31)
4
-
5
- **Features**
6
2
 
7
- - Added Interface AccountProperties
8
- - Added Interface AccountUpdateProperties
9
- - Added Interface QuotaProperties
10
- - Interface Account has a new optional parameter properties
11
- - Interface AccountUpdate has a new optional parameter properties
12
- - Interface Quota has a new optional parameter properties
3
+ ## 1.0.1 (2025-09-09)
13
4
 
14
- **Breaking Changes**
5
+ ### Other Changes
15
6
 
16
- - Interface Account no longer has parameter dashboardUri
17
- - Interface Account no longer has parameter provisioningState
18
- - Interface Account no longer has parameter regionalAffinity
19
- - Interface Account no longer has parameter reporting
20
- - Interface Account no longer has parameter scalableExecution
21
- - Interface AccountUpdate no longer has parameter regionalAffinity
22
- - Interface AccountUpdate no longer has parameter reporting
23
- - Interface AccountUpdate no longer has parameter scalableExecution
24
- - Interface Quota no longer has parameter freeTrial
25
- - Interface Quota no longer has parameter provisioningState
26
-
27
-
28
- ## 1.0.0-beta.1 (2023-09-27)
7
+ Added deprecation notice: This package has been deprecated and will no longer be maintained after **March 8, 2026**. Upgrade to the replacement package, **@azure/arm-playwright**, to continue receiving updates. Refer to the [migration guide](https://aka.ms/mpt/migration-guidance) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.
29
8
 
30
- The package of @azure/arm-playwrighttesting is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
9
+ ## 1.0.0 (2024-12-13)
10
+
11
+ ### Features Added
12
+
13
+ This is the first stable version with the package of @azure/arm-playwrighttesting.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ Copyright (c) Microsoft Corporation.
2
2
 
3
- Copyright (c) 2024 Microsoft
3
+ MIT License
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
12
12
  The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,12 +1,16 @@
1
- # Azure PlaywrightTesting client library for JavaScript
1
+ # AzurePlaywrightService client library for JavaScript
2
2
 
3
- This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure PlaywrightTesting client.
3
+ **Deprecation message**
4
+
5
+ This package has been deprecated and will no longer be maintained after **March 8, 2026**. Upgrade to the replacement package, **@azure/arm-playwright**, to continue receiving updates. Refer to the [migration guide](https://aka.ms/mpt/migration-guidance) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.
4
6
 
5
- Azure Playwright testing management service
7
+ This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzurePlaywrightService client.
8
+
9
+ Microsoft.AzurePlaywrightService Resource Provider Management API.
6
10
 
7
11
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/playwrighttesting/arm-playwrighttesting) |
8
12
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-playwrighttesting) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-playwrighttesting?view=azure-node-preview) |
13
+ [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-playwrighttesting) |
10
14
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
15
 
12
16
  ## Getting started
@@ -24,16 +28,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
24
28
 
25
29
  ### Install the `@azure/arm-playwrighttesting` package
26
30
 
27
- Install the Azure PlaywrightTesting client library for JavaScript with `npm`:
31
+ Install the AzurePlaywrightService client library for JavaScript with `npm`:
28
32
 
29
33
  ```bash
30
34
  npm install @azure/arm-playwrighttesting
31
35
  ```
32
36
 
33
- ### Create and authenticate a `PlaywrightTestingClient`
37
+ ### Create and authenticate a `AzurePlaywrightServiceClient`
34
38
 
35
- To create a client object to access the Azure PlaywrightTesting API, you will need the `endpoint` of your Azure PlaywrightTesting resource and a `credential`. The Azure PlaywrightTesting client can use Azure Active Directory credentials to authenticate.
36
- You can find the endpoint for your Azure PlaywrightTesting resource in the [Azure Portal][azure_portal].
39
+ To create a client object to access the AzurePlaywrightService API, you will need the `endpoint` of your AzurePlaywrightService resource and a `credential`. The AzurePlaywrightService client can use Azure Active Directory credentials to authenticate.
40
+ You can find the endpoint for your AzurePlaywrightService resource in the [Azure Portal][azure_portal].
37
41
 
38
42
  You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
39
43
 
@@ -43,36 +47,43 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below
43
47
  npm install @azure/identity
44
48
  ```
45
49
 
46
- You will also need to **register a new AAD application and grant access to Azure PlaywrightTesting** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47
- Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
50
+ You will also need to **register a new AAD application and grant access to AzurePlaywrightService** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
51
+
52
+ For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
48
53
 
49
- For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
54
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
50
55
 
51
- ```javascript
52
- const { PlaywrightTestingClient } = require("@azure/arm-playwrighttesting");
53
- const { DefaultAzureCredential } = require("@azure/identity");
54
- // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
56
+ ```ts snippet:ReadmeSampleCreateClient_Node
57
+ import { AzurePlaywrightServiceClient } from "@azure/arm-playwrighttesting";
58
+ import { DefaultAzureCredential } from "@azure/identity";
55
59
 
56
60
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
57
- const client = new PlaywrightTestingClient(new DefaultAzureCredential(), subscriptionId);
58
-
59
- // For client-side applications running in the browser, use this code instead:
60
- // const credential = new InteractiveBrowserCredential({
61
- // tenantId: "<YOUR_TENANT_ID>",
62
- // clientId: "<YOUR_CLIENT_ID>"
63
- // });
64
- // const client = new PlaywrightTestingClient(credential, subscriptionId);
61
+ const client = new AzurePlaywrightServiceClient(new DefaultAzureCredential(), subscriptionId);
65
62
  ```
66
63
 
64
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
65
+
66
+ ```ts snippet:ReadmeSampleCreateClient_Browser
67
+ import { InteractiveBrowserCredential } from "@azure/identity";
68
+ import { AzurePlaywrightServiceClient } from "@azure/arm-playwrighttesting";
69
+
70
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
71
+ const credential = new InteractiveBrowserCredential({
72
+ tenantId: "<YOUR_TENANT_ID>",
73
+ clientId: "<YOUR_CLIENT_ID>",
74
+ });
75
+ const client = new AzurePlaywrightServiceClient(credential, subscriptionId);
76
+ ```
67
77
 
68
78
  ### JavaScript Bundle
79
+
69
80
  To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
70
81
 
71
82
  ## Key concepts
72
83
 
73
- ### PlaywrightTestingClient
84
+ ### AzurePlaywrightServiceClient
74
85
 
75
- `PlaywrightTestingClient` is the primary interface for developers using the Azure PlaywrightTesting client library. Explore the methods on this client object to understand the different features of the Azure PlaywrightTesting service that you can access.
86
+ `AzurePlaywrightServiceClient` is the primary interface for developers using the AzurePlaywrightService client library. Explore the methods on this client object to understand the different features of the AzurePlaywrightService service that you can access.
76
87
 
77
88
  ## Troubleshooting
78
89
 
@@ -80,8 +91,9 @@ To use this client library in the browser, first you need to use a bundler. For
80
91
 
81
92
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
82
93
 
83
- ```javascript
84
- const { setLogLevel } = require("@azure/logger");
94
+ ```ts snippet:SetLogLevel
95
+ import { setLogLevel } from "@azure/logger";
96
+
85
97
  setLogLevel("info");
86
98
  ```
87
99
 
@@ -89,7 +101,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
89
101
 
90
102
  ## Next steps
91
103
 
92
- Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
104
+ Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/playwrighttesting/arm-playwrighttesting/samples) directory for detailed examples on how to use this library.
93
105
 
94
106
  ## Contributing
95
107
 
@@ -99,9 +111,7 @@ If you'd like to contribute to this library, please read the [contributing guide
99
111
 
100
112
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
101
113
 
102
- ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fplaywrighttesting%2Farm-playwrighttesting%2FREADME.png)
103
-
104
- [azure_cli]: https://docs.microsoft.com/cli/azure
114
+ [azure_cli]: https://learn.microsoft.com/cli/azure
105
115
  [azure_sub]: https://azure.microsoft.com/free/
106
116
  [azure_sub]: https://azure.microsoft.com/free/
107
117
  [azure_portal]: https://portal.azure.com
@@ -0,0 +1,13 @@
1
+ import { AccountQuotasGetOptionalParams, AccountQuotasListByAccountOptionalParams, AzurePlaywrightServiceContext as Client } from "../index.js";
2
+ import { AccountQuota, QuotaNames, _AccountQuotaListResult } from "../../models/models.js";
3
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
5
+ export declare function _accountQuotasGetSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, quotaName: QuotaNames, options?: AccountQuotasGetOptionalParams): StreamableMethod;
6
+ export declare function _accountQuotasGetDeserialize(result: PathUncheckedResponse): Promise<AccountQuota>;
7
+ /** Get quota by name for an account. */
8
+ export declare function accountQuotasGet(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, quotaName: QuotaNames, options?: AccountQuotasGetOptionalParams): Promise<AccountQuota>;
9
+ export declare function _accountQuotasListByAccountSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: AccountQuotasListByAccountOptionalParams): StreamableMethod;
10
+ export declare function _accountQuotasListByAccountDeserialize(result: PathUncheckedResponse): Promise<_AccountQuotaListResult>;
11
+ /** List quotas for a given account. */
12
+ export declare function accountQuotasListByAccount(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: AccountQuotasListByAccountOptionalParams): PagedAsyncIterableIterator<AccountQuota>;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/accountQuotas/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,8BAA8B,EAC9B,wCAAwC,EACxC,6BAA6B,IAAI,MAAM,EACxC,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,YAAY,EAEZ,UAAU,EACV,uBAAuB,EAExB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,UAAU,EACrB,OAAO,GAAE,8BAAuD,GAC/D,gBAAgB,CAUlB;AAED,wBAAsB,4BAA4B,CAChD,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,YAAY,CAAC,CAOvB;AAED,wCAAwC;AACxC,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,UAAU,EACrB,OAAO,GAAE,8BAAuD,GAC/D,OAAO,CAAC,YAAY,CAAC,CAUvB;AAED,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,wCAAiE,GACzE,gBAAgB,CASlB;AAED,wBAAsB,sCAAsC,CAC1D,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,uBAAuB,CAAC,CAOlC;AAED,uCAAuC;AACvC,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,wCAAiE,GACzE,0BAA0B,CAAC,YAAY,CAAC,CAe1C"}
@@ -0,0 +1,39 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { accountQuotaDeserializer, _accountQuotaListResultDeserializer, } from "../../models/models.js";
4
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
5
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
6
+ export function _accountQuotasGetSend(context, subscriptionId, resourceGroupName, accountName, quotaName, options = { requestOptions: {} }) {
7
+ return context
8
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}/quotas/{quotaName}", subscriptionId, resourceGroupName, accountName, quotaName)
9
+ .get({ ...operationOptionsToRequestParameters(options) });
10
+ }
11
+ export async function _accountQuotasGetDeserialize(result) {
12
+ const expectedStatuses = ["200"];
13
+ if (!expectedStatuses.includes(result.status)) {
14
+ throw createRestError(result);
15
+ }
16
+ return accountQuotaDeserializer(result.body);
17
+ }
18
+ /** Get quota by name for an account. */
19
+ export async function accountQuotasGet(context, subscriptionId, resourceGroupName, accountName, quotaName, options = { requestOptions: {} }) {
20
+ const result = await _accountQuotasGetSend(context, subscriptionId, resourceGroupName, accountName, quotaName, options);
21
+ return _accountQuotasGetDeserialize(result);
22
+ }
23
+ export function _accountQuotasListByAccountSend(context, subscriptionId, resourceGroupName, accountName, options = { requestOptions: {} }) {
24
+ return context
25
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}/quotas", subscriptionId, resourceGroupName, accountName)
26
+ .get({ ...operationOptionsToRequestParameters(options) });
27
+ }
28
+ export async function _accountQuotasListByAccountDeserialize(result) {
29
+ const expectedStatuses = ["200"];
30
+ if (!expectedStatuses.includes(result.status)) {
31
+ throw createRestError(result);
32
+ }
33
+ return _accountQuotaListResultDeserializer(result.body);
34
+ }
35
+ /** List quotas for a given account. */
36
+ export function accountQuotasListByAccount(context, subscriptionId, resourceGroupName, accountName, options = { requestOptions: {} }) {
37
+ return buildPagedAsyncIterator(context, () => _accountQuotasListByAccountSend(context, subscriptionId, resourceGroupName, accountName, options), _accountQuotasListByAccountDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
38
+ }
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/accountQuotas/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAOlC,OAAO,EAEL,wBAAwB,EAGxB,mCAAmC,GACpC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,qBAAqB,CACnC,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,WAAmB,EACnB,SAAqB,EACrB,UAA0C,EAAE,cAAc,EAAE,EAAE,EAAE;IAEhE,OAAO,OAAO;SACX,IAAI,CACH,yJAAyJ,EACzJ,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,SAAS,CACV;SACA,GAAG,CAAC,EAAE,GAAG,mCAAmC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAChD,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,wBAAwB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC;AAED,wCAAwC;AACxC,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,WAAmB,EACnB,SAAqB,EACrB,UAA0C,EAAE,cAAc,EAAE,EAAE,EAAE;IAEhE,MAAM,MAAM,GAAG,MAAM,qBAAqB,CACxC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,OAAO,CACR,CAAC;IACF,OAAO,4BAA4B,CAAC,MAAM,CAAC,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,+BAA+B,CAC7C,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,WAAmB,EACnB,UAAoD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE1E,OAAO,OAAO;SACX,IAAI,CACH,6IAA6I,EAC7I,cAAc,EACd,iBAAiB,EACjB,WAAW,CACZ;SACA,GAAG,CAAC,EAAE,GAAG,mCAAmC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,sCAAsC,CAC1D,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,mCAAmC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC1D,CAAC;AAED,uCAAuC;AACvC,MAAM,UAAU,0BAA0B,CACxC,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,WAAmB,EACnB,UAAoD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE1E,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CACH,+BAA+B,CAC7B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,EACH,sCAAsC,EACtC,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n AccountQuotasGetOptionalParams,\n AccountQuotasListByAccountOptionalParams,\n AzurePlaywrightServiceContext as Client,\n} from \"../index.js\";\nimport {\n AccountQuota,\n accountQuotaDeserializer,\n QuotaNames,\n _AccountQuotaListResult,\n _accountQuotaListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _accountQuotasGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n quotaName: QuotaNames,\n options: AccountQuotasGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}/quotas/{quotaName}\",\n subscriptionId,\n resourceGroupName,\n accountName,\n quotaName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _accountQuotasGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<AccountQuota> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return accountQuotaDeserializer(result.body);\n}\n\n/** Get quota by name for an account. */\nexport async function accountQuotasGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n quotaName: QuotaNames,\n options: AccountQuotasGetOptionalParams = { requestOptions: {} },\n): Promise<AccountQuota> {\n const result = await _accountQuotasGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n accountName,\n quotaName,\n options,\n );\n return _accountQuotasGetDeserialize(result);\n}\n\nexport function _accountQuotasListByAccountSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n options: AccountQuotasListByAccountOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}/quotas\",\n subscriptionId,\n resourceGroupName,\n accountName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _accountQuotasListByAccountDeserialize(\n result: PathUncheckedResponse,\n): Promise<_AccountQuotaListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _accountQuotaListResultDeserializer(result.body);\n}\n\n/** List quotas for a given account. */\nexport function accountQuotasListByAccount(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n options: AccountQuotasListByAccountOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<AccountQuota> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _accountQuotasListByAccountSend(\n context,\n subscriptionId,\n resourceGroupName,\n accountName,\n options,\n ),\n _accountQuotasListByAccountDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
@@ -0,0 +1,34 @@
1
+ import { AccountsCheckNameAvailabilityOptionalParams, AccountsCreateOrUpdateOptionalParams, AccountsDeleteOptionalParams, AccountsGetOptionalParams, AccountsListByResourceGroupOptionalParams, AccountsListBySubscriptionOptionalParams, AccountsUpdateOptionalParams, AzurePlaywrightServiceContext as Client } from "../index.js";
2
+ import { Account, AccountUpdate, _AccountListResult, CheckNameAvailabilityRequest, CheckNameAvailabilityResponse } from "../../models/models.js";
3
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
5
+ import { PollerLike, OperationState } from "@azure/core-lro";
6
+ export declare function _accountsGetSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: AccountsGetOptionalParams): StreamableMethod;
7
+ export declare function _accountsGetDeserialize(result: PathUncheckedResponse): Promise<Account>;
8
+ /** Get a Account */
9
+ export declare function accountsGet(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: AccountsGetOptionalParams): Promise<Account>;
10
+ export declare function _accountsCreateOrUpdateSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, resource: Account, options?: AccountsCreateOrUpdateOptionalParams): StreamableMethod;
11
+ export declare function _accountsCreateOrUpdateDeserialize(result: PathUncheckedResponse): Promise<Account>;
12
+ /** Create a Account */
13
+ export declare function accountsCreateOrUpdate(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, resource: Account, options?: AccountsCreateOrUpdateOptionalParams): PollerLike<OperationState<Account>, Account>;
14
+ export declare function _accountsUpdateSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, properties: AccountUpdate, options?: AccountsUpdateOptionalParams): StreamableMethod;
15
+ export declare function _accountsUpdateDeserialize(result: PathUncheckedResponse): Promise<Account>;
16
+ /** Update a Account */
17
+ export declare function accountsUpdate(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, properties: AccountUpdate, options?: AccountsUpdateOptionalParams): Promise<Account>;
18
+ export declare function _accountsDeleteSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams): StreamableMethod;
19
+ export declare function _accountsDeleteDeserialize(result: PathUncheckedResponse): Promise<void>;
20
+ /** Delete a Account */
21
+ export declare function accountsDelete(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams): PollerLike<OperationState<void>, void>;
22
+ export declare function _accountsListByResourceGroupSend(context: Client, subscriptionId: string, resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): StreamableMethod;
23
+ export declare function _accountsListByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_AccountListResult>;
24
+ /** List Account resources by resource group */
25
+ export declare function accountsListByResourceGroup(context: Client, subscriptionId: string, resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Account>;
26
+ export declare function _accountsListBySubscriptionSend(context: Client, subscriptionId: string, options?: AccountsListBySubscriptionOptionalParams): StreamableMethod;
27
+ export declare function _accountsListBySubscriptionDeserialize(result: PathUncheckedResponse): Promise<_AccountListResult>;
28
+ /** List Account resources by subscription ID */
29
+ export declare function accountsListBySubscription(context: Client, subscriptionId: string, options?: AccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Account>;
30
+ export declare function _accountsCheckNameAvailabilitySend(context: Client, subscriptionId: string, body: CheckNameAvailabilityRequest, options?: AccountsCheckNameAvailabilityOptionalParams): StreamableMethod;
31
+ export declare function _accountsCheckNameAvailabilityDeserialize(result: PathUncheckedResponse): Promise<CheckNameAvailabilityResponse>;
32
+ /** Adds check global name availability operation, normally used if a resource name must be globally unique. */
33
+ export declare function accountsCheckNameAvailability(context: Client, subscriptionId: string, body: CheckNameAvailabilityRequest, options?: AccountsCheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResponse>;
34
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/accounts/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,2CAA2C,EAC3C,oCAAoC,EACpC,4BAA4B,EAC5B,yBAAyB,EACzB,yCAAyC,EACzC,wCAAwC,EACxC,4BAA4B,EAC5B,6BAA6B,IAAI,MAAM,EACxC,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,OAAO,EAGP,aAAa,EAEb,kBAAkB,EAElB,4BAA4B,EAE5B,6BAA6B,EAE9B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE7D,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,yBAAkD,GAC1D,gBAAgB,CASlB;AAED,wBAAsB,uBAAuB,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,OAAO,CAAC,CAO7F;AA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AC,CAQrC;AAED,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,4BAA4B,EAClC,OAAO,GAAE,2CAAoE,GAC5E,gBAAgB,CAUlB;AAED,wBAAsB,yCAAyC,CAC7D,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,6BAA6B,CAAC,CAOxC;AAED,+GAA+G;AAC/G,wBAAsB,6BAA6B,CACjD,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,4BAA4B,EAClC,OAAO,GAAE,2CAAoE,GAC5E,OAAO,CAAC,6BAA6B,CAAC,CAGxC"}
@@ -0,0 +1,141 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { accountSerializer, accountDeserializer, accountUpdateSerializer, _accountListResultDeserializer, checkNameAvailabilityRequestSerializer, checkNameAvailabilityResponseDeserializer, } from "../../models/models.js";
4
+ import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
5
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
6
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
+ export function _accountsGetSend(context, subscriptionId, resourceGroupName, accountName, options = { requestOptions: {} }) {
8
+ return context
9
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}", subscriptionId, resourceGroupName, accountName)
10
+ .get({ ...operationOptionsToRequestParameters(options) });
11
+ }
12
+ export async function _accountsGetDeserialize(result) {
13
+ const expectedStatuses = ["200"];
14
+ if (!expectedStatuses.includes(result.status)) {
15
+ throw createRestError(result);
16
+ }
17
+ return accountDeserializer(result.body);
18
+ }
19
+ /** Get a Account */
20
+ export async function accountsGet(context, subscriptionId, resourceGroupName, accountName, options = { requestOptions: {} }) {
21
+ const result = await _accountsGetSend(context, subscriptionId, resourceGroupName, accountName, options);
22
+ return _accountsGetDeserialize(result);
23
+ }
24
+ export function _accountsCreateOrUpdateSend(context, subscriptionId, resourceGroupName, accountName, resource, options = { requestOptions: {} }) {
25
+ return context
26
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}", subscriptionId, resourceGroupName, accountName)
27
+ .put({
28
+ ...operationOptionsToRequestParameters(options),
29
+ body: accountSerializer(resource),
30
+ });
31
+ }
32
+ export async function _accountsCreateOrUpdateDeserialize(result) {
33
+ const expectedStatuses = ["200", "201"];
34
+ if (!expectedStatuses.includes(result.status)) {
35
+ throw createRestError(result);
36
+ }
37
+ return accountDeserializer(result.body);
38
+ }
39
+ /** Create a Account */
40
+ export function accountsCreateOrUpdate(context, subscriptionId, resourceGroupName, accountName, resource, options = { requestOptions: {} }) {
41
+ return getLongRunningPoller(context, _accountsCreateOrUpdateDeserialize, ["200", "201"], {
42
+ updateIntervalInMs: options?.updateIntervalInMs,
43
+ abortSignal: options?.abortSignal,
44
+ getInitialResponse: () => _accountsCreateOrUpdateSend(context, subscriptionId, resourceGroupName, accountName, resource, options),
45
+ resourceLocationConfig: "azure-async-operation",
46
+ });
47
+ }
48
+ export function _accountsUpdateSend(context, subscriptionId, resourceGroupName, accountName, properties, options = { requestOptions: {} }) {
49
+ return context
50
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}", subscriptionId, resourceGroupName, accountName)
51
+ .patch({
52
+ ...operationOptionsToRequestParameters(options),
53
+ body: accountUpdateSerializer(properties),
54
+ });
55
+ }
56
+ export async function _accountsUpdateDeserialize(result) {
57
+ const expectedStatuses = ["200"];
58
+ if (!expectedStatuses.includes(result.status)) {
59
+ throw createRestError(result);
60
+ }
61
+ return accountDeserializer(result.body);
62
+ }
63
+ /** Update a Account */
64
+ export async function accountsUpdate(context, subscriptionId, resourceGroupName, accountName, properties, options = { requestOptions: {} }) {
65
+ const result = await _accountsUpdateSend(context, subscriptionId, resourceGroupName, accountName, properties, options);
66
+ return _accountsUpdateDeserialize(result);
67
+ }
68
+ export function _accountsDeleteSend(context, subscriptionId, resourceGroupName, accountName, options = { requestOptions: {} }) {
69
+ return context
70
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}", subscriptionId, resourceGroupName, accountName)
71
+ .delete({ ...operationOptionsToRequestParameters(options) });
72
+ }
73
+ export async function _accountsDeleteDeserialize(result) {
74
+ const expectedStatuses = ["202", "204", "200"];
75
+ if (!expectedStatuses.includes(result.status)) {
76
+ throw createRestError(result);
77
+ }
78
+ return;
79
+ }
80
+ /** Delete a Account */
81
+ export function accountsDelete(context, subscriptionId, resourceGroupName, accountName, options = { requestOptions: {} }) {
82
+ return getLongRunningPoller(context, _accountsDeleteDeserialize, ["202", "204", "200"], {
83
+ updateIntervalInMs: options?.updateIntervalInMs,
84
+ abortSignal: options?.abortSignal,
85
+ getInitialResponse: () => _accountsDeleteSend(context, subscriptionId, resourceGroupName, accountName, options),
86
+ resourceLocationConfig: "location",
87
+ });
88
+ }
89
+ export function _accountsListByResourceGroupSend(context, subscriptionId, resourceGroupName, options = { requestOptions: {} }) {
90
+ return context
91
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts", subscriptionId, resourceGroupName)
92
+ .get({ ...operationOptionsToRequestParameters(options) });
93
+ }
94
+ export async function _accountsListByResourceGroupDeserialize(result) {
95
+ const expectedStatuses = ["200"];
96
+ if (!expectedStatuses.includes(result.status)) {
97
+ throw createRestError(result);
98
+ }
99
+ return _accountListResultDeserializer(result.body);
100
+ }
101
+ /** List Account resources by resource group */
102
+ export function accountsListByResourceGroup(context, subscriptionId, resourceGroupName, options = { requestOptions: {} }) {
103
+ return buildPagedAsyncIterator(context, () => _accountsListByResourceGroupSend(context, subscriptionId, resourceGroupName, options), _accountsListByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
104
+ }
105
+ export function _accountsListBySubscriptionSend(context, subscriptionId, options = { requestOptions: {} }) {
106
+ return context
107
+ .path("/subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/accounts", subscriptionId)
108
+ .get({ ...operationOptionsToRequestParameters(options) });
109
+ }
110
+ export async function _accountsListBySubscriptionDeserialize(result) {
111
+ const expectedStatuses = ["200"];
112
+ if (!expectedStatuses.includes(result.status)) {
113
+ throw createRestError(result);
114
+ }
115
+ return _accountListResultDeserializer(result.body);
116
+ }
117
+ /** List Account resources by subscription ID */
118
+ export function accountsListBySubscription(context, subscriptionId, options = { requestOptions: {} }) {
119
+ return buildPagedAsyncIterator(context, () => _accountsListBySubscriptionSend(context, subscriptionId, options), _accountsListBySubscriptionDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
120
+ }
121
+ export function _accountsCheckNameAvailabilitySend(context, subscriptionId, body, options = { requestOptions: {} }) {
122
+ return context
123
+ .path("/subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/checkNameAvailability", subscriptionId)
124
+ .post({
125
+ ...operationOptionsToRequestParameters(options),
126
+ body: checkNameAvailabilityRequestSerializer(body),
127
+ });
128
+ }
129
+ export async function _accountsCheckNameAvailabilityDeserialize(result) {
130
+ const expectedStatuses = ["200"];
131
+ if (!expectedStatuses.includes(result.status)) {
132
+ throw createRestError(result);
133
+ }
134
+ return checkNameAvailabilityResponseDeserializer(result.body);
135
+ }
136
+ /** Adds check global name availability operation, normally used if a resource name must be globally unique. */
137
+ export async function accountsCheckNameAvailability(context, subscriptionId, body, options = { requestOptions: {} }) {
138
+ const result = await _accountsCheckNameAvailabilitySend(context, subscriptionId, body, options);
139
+ return _accountsCheckNameAvailabilityDeserialize(result);
140
+ }
141
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/accounts/index.ts"],"names":[],"mappings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AAE,cAAc,EAAE,OAAO,CAAC,EACvE,sCAAsC,EACtC,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kCAAkC,CAChD,OAAe,EACf,cAAsB,EACtB,IAAkC,EAClC,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,OAAO,OAAO;SACX,IAAI,CACH,kGAAkG,EAClG,cAAc,CACf;SACA,IAAI,CAAC;QACJ,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,IAAI,EAAE,sCAAsC,CAAC,IAAI,CAAC;KACnD,CAAC,CAAC;AACP,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,yCAAyC,CAC7D,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,yCAAyC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAChE,CAAC;AAED,+GAA+G;AAC/G,MAAM,CAAC,KAAK,UAAU,6BAA6B,CACjD,OAAe,EACf,cAAsB,EACtB,IAAkC,EAClC,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,MAAM,MAAM,GAAG,MAAM,kCAAkC,CAAC,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAChG,OAAO,yCAAyC,CAAC,MAAM,CAAC,CAAC;AAC3D,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n AccountsCheckNameAvailabilityOptionalParams,\n AccountsCreateOrUpdateOptionalParams,\n AccountsDeleteOptionalParams,\n AccountsGetOptionalParams,\n AccountsListByResourceGroupOptionalParams,\n AccountsListBySubscriptionOptionalParams,\n AccountsUpdateOptionalParams,\n AzurePlaywrightServiceContext as Client,\n} from \"../index.js\";\nimport {\n Account,\n accountSerializer,\n accountDeserializer,\n AccountUpdate,\n accountUpdateSerializer,\n _AccountListResult,\n _accountListResultDeserializer,\n CheckNameAvailabilityRequest,\n checkNameAvailabilityRequestSerializer,\n CheckNameAvailabilityResponse,\n checkNameAvailabilityResponseDeserializer,\n} from \"../../models/models.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _accountsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n options: AccountsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}\",\n subscriptionId,\n resourceGroupName,\n accountName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _accountsGetDeserialize(result: PathUncheckedResponse): Promise<Account> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return accountDeserializer(result.body);\n}\n\n/** Get a Account */\nexport async function accountsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n options: AccountsGetOptionalParams = { requestOptions: {} },\n): Promise<Account> {\n const result = await _accountsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n accountName,\n options,\n );\n return _accountsGetDeserialize(result);\n}\n\nexport function _accountsCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n resource: Account,\n options: AccountsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}\",\n subscriptionId,\n resourceGroupName,\n accountName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: accountSerializer(resource),\n });\n}\n\nexport async function _accountsCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<Account> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return accountDeserializer(result.body);\n}\n\n/** Create a Account */\nexport function accountsCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n resource: Account,\n options: AccountsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<Account>, Account> {\n return getLongRunningPoller(context, _accountsCreateOrUpdateDeserialize, [\"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _accountsCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n accountName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<OperationState<Account>, Account>;\n}\n\nexport function _accountsUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n properties: AccountUpdate,\n options: AccountsUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}\",\n subscriptionId,\n resourceGroupName,\n accountName,\n )\n .patch({\n ...operationOptionsToRequestParameters(options),\n body: accountUpdateSerializer(properties),\n });\n}\n\nexport async function _accountsUpdateDeserialize(result: PathUncheckedResponse): Promise<Account> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return accountDeserializer(result.body);\n}\n\n/** Update a Account */\nexport async function accountsUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n properties: AccountUpdate,\n options: AccountsUpdateOptionalParams = { requestOptions: {} },\n): Promise<Account> {\n const result = await _accountsUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n accountName,\n properties,\n options,\n );\n return _accountsUpdateDeserialize(result);\n}\n\nexport function _accountsDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n options: AccountsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}\",\n subscriptionId,\n resourceGroupName,\n accountName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _accountsDeleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete a Account */\nexport function accountsDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n options: AccountsDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _accountsDeleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _accountsDeleteSend(context, subscriptionId, resourceGroupName, accountName, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _accountsListByResourceGroupSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: AccountsListByResourceGroupOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts\",\n subscriptionId,\n resourceGroupName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _accountsListByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_AccountListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _accountListResultDeserializer(result.body);\n}\n\n/** List Account resources by resource group */\nexport function accountsListByResourceGroup(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: AccountsListByResourceGroupOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Account> {\n return buildPagedAsyncIterator(\n context,\n () => _accountsListByResourceGroupSend(context, subscriptionId, resourceGroupName, options),\n _accountsListByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _accountsListBySubscriptionSend(\n context: Client,\n subscriptionId: string,\n options: AccountsListBySubscriptionOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/accounts\",\n subscriptionId,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _accountsListBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_AccountListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _accountListResultDeserializer(result.body);\n}\n\n/** List Account resources by subscription ID */\nexport function accountsListBySubscription(\n context: Client,\n subscriptionId: string,\n options: AccountsListBySubscriptionOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Account> {\n return buildPagedAsyncIterator(\n context,\n () => _accountsListBySubscriptionSend(context, subscriptionId, options),\n _accountsListBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _accountsCheckNameAvailabilitySend(\n context: Client,\n subscriptionId: string,\n body: CheckNameAvailabilityRequest,\n options: AccountsCheckNameAvailabilityOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/checkNameAvailability\",\n subscriptionId,\n )\n .post({\n ...operationOptionsToRequestParameters(options),\n body: checkNameAvailabilityRequestSerializer(body),\n });\n}\n\nexport async function _accountsCheckNameAvailabilityDeserialize(\n result: PathUncheckedResponse,\n): Promise<CheckNameAvailabilityResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return checkNameAvailabilityResponseDeserializer(result.body);\n}\n\n/** Adds check global name availability operation, normally used if a resource name must be globally unique. */\nexport async function accountsCheckNameAvailability(\n context: Client,\n subscriptionId: string,\n body: CheckNameAvailabilityRequest,\n options: AccountsCheckNameAvailabilityOptionalParams = { requestOptions: {} },\n): Promise<CheckNameAvailabilityResponse> {\n const result = await _accountsCheckNameAvailabilitySend(context, subscriptionId, body, options);\n return _accountsCheckNameAvailabilityDeserialize(result);\n}\n"]}
@@ -0,0 +1,14 @@
1
+ import { Client, ClientOptions } from "@azure-rest/core-client";
2
+ import { TokenCredential } from "@azure/core-auth";
3
+ /** Microsoft.AzurePlaywrightService Resource Provider Management API. */
4
+ export interface AzurePlaywrightServiceContext extends Client {
5
+ }
6
+ /** Optional parameters for the client. */
7
+ export interface AzurePlaywrightServiceClientOptionalParams extends ClientOptions {
8
+ /** The API version to use for this operation. */
9
+ /** Known values of {@link KnownVersions} that the service accepts. */
10
+ apiVersion?: string;
11
+ }
12
+ /** Microsoft.AzurePlaywrightService Resource Provider Management API. */
13
+ export declare function createAzurePlaywrightService(credential: TokenCredential, options?: AzurePlaywrightServiceClientOptionalParams): AzurePlaywrightServiceContext;
14
+ //# sourceMappingURL=azurePlaywrightServiceContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azurePlaywrightServiceContext.d.ts","sourceRoot":"","sources":["../../../src/api/azurePlaywrightServiceContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAa,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,yEAAyE;AACzE,MAAM,WAAW,6BAA8B,SAAQ,MAAM;CAAG;AAEhE,0CAA0C;AAC1C,MAAM,WAAW,0CAA2C,SAAQ,aAAa;IAC/E,iDAAiD;IACjD,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,yEAAyE;AACzE,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,eAAe,EAC3B,OAAO,GAAE,0CAA+C,GACvD,6BAA6B,CAkC/B"}
@@ -0,0 +1,38 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { logger } from "../logger.js";
4
+ import { getClient } from "@azure-rest/core-client";
5
+ /** Microsoft.AzurePlaywrightService Resource Provider Management API. */
6
+ export function createAzurePlaywrightService(credential, options = {}) {
7
+ const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`;
8
+ const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
9
+ const userAgentInfo = `azsdk-js-arm-playwrighttesting/1.0.1`;
10
+ const userAgentPrefix = prefixFromOptions
11
+ ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
12
+ : `azsdk-js-api ${userAgentInfo}`;
13
+ const { apiVersion: _, ...updatedOptions } = {
14
+ ...options,
15
+ userAgentOptions: { userAgentPrefix },
16
+ loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },
17
+ credentials: {
18
+ scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`],
19
+ },
20
+ };
21
+ const clientContext = getClient(endpointUrl, credential, updatedOptions);
22
+ clientContext.pipeline.removePolicy({ name: "ApiVersionPolicy" });
23
+ const apiVersion = options.apiVersion ?? "2024-12-01";
24
+ clientContext.pipeline.addPolicy({
25
+ name: "ClientApiVersionPolicy",
26
+ sendRequest: (req, next) => {
27
+ // Use the apiVersion defined in request url directly
28
+ // Append one if there is no apiVersion and we have one at client options
29
+ const url = new URL(req.url);
30
+ if (!url.searchParams.get("api-version")) {
31
+ req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
32
+ }
33
+ return next(req);
34
+ },
35
+ });
36
+ return clientContext;
37
+ }
38
+ //# sourceMappingURL=azurePlaywrightServiceContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azurePlaywrightServiceContext.js","sourceRoot":"","sources":["../../../src/api/azurePlaywrightServiceContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAa3E,yEAAyE;AACzE,MAAM,UAAU,4BAA4B,CAC1C,UAA2B,EAC3B,UAAsD,EAAE;IAExD,MAAM,WAAW,GAAG,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,OAAO,IAAI,8BAA8B,CAAC;IAC1F,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;IACrE,MAAM,aAAa,GAAG,sCAAsC,CAAC;IAC7D,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,GAAG,iBAAiB,iBAAiB,aAAa,EAAE;QACtD,CAAC,CAAC,gBAAgB,aAAa,EAAE,CAAC;IACpC,MAAM,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,GAAG;QAC3C,GAAG,OAAO;QACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;QACrC,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,cAAc,EAAE,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE;QACzE,WAAW,EAAE;YACX,MAAM,EAAE,OAAO,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC,GAAG,WAAW,WAAW,CAAC;SACnE;KACF,CAAC;IACF,MAAM,aAAa,GAAG,SAAS,CAAC,WAAW,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACzE,aAAa,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAClE,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;IACtD,aAAa,CAAC,QAAQ,CAAC,SAAS,CAAC;QAC/B,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;YACzB,qDAAqD;YACrD,yEAAyE;YACzE,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC7B,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC;gBACzC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,GAClB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,UAAU,EAAE,CAAC;YAC9B,CAAC;YAED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IACH,OAAO,aAAa,CAAC;AACvB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\n/** Microsoft.AzurePlaywrightService Resource Provider Management API. */\nexport interface AzurePlaywrightServiceContext extends Client {}\n\n/** Optional parameters for the client. */\nexport interface AzurePlaywrightServiceClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\n/** Microsoft.AzurePlaywrightService Resource Provider Management API. */\nexport function createAzurePlaywrightService(\n credential: TokenCredential,\n options: AzurePlaywrightServiceClientOptionalParams = {},\n): AzurePlaywrightServiceContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`;\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-playwrighttesting/1.0.1`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n clientContext.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n const apiVersion = options.apiVersion ?? \"2024-12-01\";\n clientContext.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\")) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n return clientContext;\n}\n"]}
@@ -0,0 +1,7 @@
1
+ export { createAzurePlaywrightService, AzurePlaywrightServiceContext, AzurePlaywrightServiceClientOptionalParams, } from "./azurePlaywrightServiceContext.js";
2
+ export { OperationsListOptionalParams, AccountsGetOptionalParams, AccountsCreateOrUpdateOptionalParams, AccountsUpdateOptionalParams, AccountsDeleteOptionalParams, AccountsListByResourceGroupOptionalParams, AccountsListBySubscriptionOptionalParams, AccountsCheckNameAvailabilityOptionalParams, QuotasGetOptionalParams, QuotasListBySubscriptionOptionalParams, AccountQuotasGetOptionalParams, AccountQuotasListByAccountOptionalParams, } from "./options.js";
3
+ export { accountQuotasGet, accountQuotasListByAccount } from "./accountQuotas/index.js";
4
+ export { accountsGet, accountsCreateOrUpdate, accountsUpdate, accountsDelete, accountsListByResourceGroup, accountsListBySubscription, accountsCheckNameAvailability, } from "./accounts/index.js";
5
+ export { operationsList } from "./operations/index.js";
6
+ export { quotasGet, quotasListBySubscription } from "./quotas/index.js";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,0CAA0C,GAC3C,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,4BAA4B,EAC5B,yBAAyB,EACzB,oCAAoC,EACpC,4BAA4B,EAC5B,4BAA4B,EAC5B,yCAAyC,EACzC,wCAAwC,EACxC,2CAA2C,EAC3C,uBAAuB,EACvB,sCAAsC,EACtC,8BAA8B,EAC9B,wCAAwC,GACzC,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACxF,OAAO,EACL,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,cAAc,EACd,2BAA2B,EAC3B,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,8 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { createAzurePlaywrightService, } from "./azurePlaywrightServiceContext.js";
4
+ export { accountQuotasGet, accountQuotasListByAccount } from "./accountQuotas/index.js";
5
+ export { accountsGet, accountsCreateOrUpdate, accountsUpdate, accountsDelete, accountsListByResourceGroup, accountsListBySubscription, accountsCheckNameAvailability, } from "./accounts/index.js";
6
+ export { operationsList } from "./operations/index.js";
7
+ export { quotasGet, quotasListBySubscription } from "./quotas/index.js";
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,4BAA4B,GAG7B,MAAM,oCAAoC,CAAC;AAe5C,OAAO,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACxF,OAAO,EACL,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,cAAc,EACd,2BAA2B,EAC3B,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n createAzurePlaywrightService,\n AzurePlaywrightServiceContext,\n AzurePlaywrightServiceClientOptionalParams,\n} from \"./azurePlaywrightServiceContext.js\";\nexport {\n OperationsListOptionalParams,\n AccountsGetOptionalParams,\n AccountsCreateOrUpdateOptionalParams,\n AccountsUpdateOptionalParams,\n AccountsDeleteOptionalParams,\n AccountsListByResourceGroupOptionalParams,\n AccountsListBySubscriptionOptionalParams,\n AccountsCheckNameAvailabilityOptionalParams,\n QuotasGetOptionalParams,\n QuotasListBySubscriptionOptionalParams,\n AccountQuotasGetOptionalParams,\n AccountQuotasListByAccountOptionalParams,\n} from \"./options.js\";\nexport { accountQuotasGet, accountQuotasListByAccount } from \"./accountQuotas/index.js\";\nexport {\n accountsGet,\n accountsCreateOrUpdate,\n accountsUpdate,\n accountsDelete,\n accountsListByResourceGroup,\n accountsListBySubscription,\n accountsCheckNameAvailability,\n} from \"./accounts/index.js\";\nexport { operationsList } from \"./operations/index.js\";\nexport { quotasGet, quotasListBySubscription } from \"./quotas/index.js\";\n"]}