@azure/arm-playwright 1.0.0-beta.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 (352) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/LICENSE +21 -0
  3. package/README.md +115 -0
  4. package/dist/browser/api/index.d.ts +2 -0
  5. package/dist/browser/api/index.js +4 -0
  6. package/dist/browser/api/index.js.map +1 -0
  7. package/dist/browser/api/operations/index.d.ts +3 -0
  8. package/dist/browser/api/operations/index.js +4 -0
  9. package/dist/browser/api/operations/index.js.map +1 -0
  10. package/dist/browser/api/operations/operations.d.ts +10 -0
  11. package/dist/browser/api/operations/operations.js +29 -0
  12. package/dist/browser/api/operations/operations.js.map +1 -0
  13. package/dist/browser/api/operations/options.d.ts +5 -0
  14. package/dist/browser/api/operations/options.js +4 -0
  15. package/dist/browser/api/operations/options.js.map +1 -0
  16. package/dist/browser/api/playwrightManagementContext.d.ts +19 -0
  17. package/dist/browser/api/playwrightManagementContext.js +36 -0
  18. package/dist/browser/api/playwrightManagementContext.js.map +1 -0
  19. package/dist/browser/api/playwrightQuotas/index.d.ts +3 -0
  20. package/dist/browser/api/playwrightQuotas/index.js +4 -0
  21. package/dist/browser/api/playwrightQuotas/index.js.map +1 -0
  22. package/dist/browser/api/playwrightQuotas/operations.d.ts +14 -0
  23. package/dist/browser/api/playwrightQuotas/operations.js +61 -0
  24. package/dist/browser/api/playwrightQuotas/operations.js.map +1 -0
  25. package/dist/browser/api/playwrightQuotas/options.d.ts +8 -0
  26. package/dist/browser/api/playwrightQuotas/options.js +4 -0
  27. package/dist/browser/api/playwrightQuotas/options.js.map +1 -0
  28. package/dist/browser/api/playwrightWorkspaceQuotas/index.d.ts +3 -0
  29. package/dist/browser/api/playwrightWorkspaceQuotas/index.js +4 -0
  30. package/dist/browser/api/playwrightWorkspaceQuotas/index.js.map +1 -0
  31. package/dist/browser/api/playwrightWorkspaceQuotas/operations.d.ts +14 -0
  32. package/dist/browser/api/playwrightWorkspaceQuotas/operations.js +63 -0
  33. package/dist/browser/api/playwrightWorkspaceQuotas/operations.js.map +1 -0
  34. package/dist/browser/api/playwrightWorkspaceQuotas/options.d.ts +8 -0
  35. package/dist/browser/api/playwrightWorkspaceQuotas/options.js +4 -0
  36. package/dist/browser/api/playwrightWorkspaceQuotas/options.js.map +1 -0
  37. package/dist/browser/api/playwrightWorkspaces/index.d.ts +3 -0
  38. package/dist/browser/api/playwrightWorkspaces/index.js +4 -0
  39. package/dist/browser/api/playwrightWorkspaces/index.js.map +1 -0
  40. package/dist/browser/api/playwrightWorkspaces/operations.d.ts +40 -0
  41. package/dist/browser/api/playwrightWorkspaces/operations.js +212 -0
  42. package/dist/browser/api/playwrightWorkspaces/operations.js.map +1 -0
  43. package/dist/browser/api/playwrightWorkspaces/options.d.ts +27 -0
  44. package/dist/browser/api/playwrightWorkspaces/options.js +4 -0
  45. package/dist/browser/api/playwrightWorkspaces/options.js.map +1 -0
  46. package/dist/browser/classic/index.d.ts +5 -0
  47. package/dist/browser/classic/index.js +4 -0
  48. package/dist/browser/classic/index.js.map +1 -0
  49. package/dist/browser/classic/operations/index.d.ts +11 -0
  50. package/dist/browser/classic/operations/index.js +12 -0
  51. package/dist/browser/classic/operations/index.js.map +1 -0
  52. package/dist/browser/classic/playwrightQuotas/index.d.ts +13 -0
  53. package/dist/browser/classic/playwrightQuotas/index.js +13 -0
  54. package/dist/browser/classic/playwrightQuotas/index.js.map +1 -0
  55. package/dist/browser/classic/playwrightWorkspaceQuotas/index.d.ts +13 -0
  56. package/dist/browser/classic/playwrightWorkspaceQuotas/index.js +13 -0
  57. package/dist/browser/classic/playwrightWorkspaceQuotas/index.js.map +1 -0
  58. package/dist/browser/classic/playwrightWorkspaces/index.d.ts +29 -0
  59. package/dist/browser/classic/playwrightWorkspaces/index.js +18 -0
  60. package/dist/browser/classic/playwrightWorkspaces/index.js.map +1 -0
  61. package/dist/browser/index.d.ts +12 -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.js +5 -0
  66. package/dist/browser/logger.js.map +1 -0
  67. package/dist/browser/models/index.d.ts +2 -0
  68. package/dist/browser/models/index.js +4 -0
  69. package/dist/browser/models/index.js.map +1 -0
  70. package/dist/browser/models/models.d.ts +391 -0
  71. package/dist/browser/models/models.js +352 -0
  72. package/dist/browser/models/models.js.map +1 -0
  73. package/dist/browser/package.json +3 -0
  74. package/dist/browser/playwrightManagementClient.d.ts +24 -0
  75. package/dist/browser/playwrightManagementClient.js +24 -0
  76. package/dist/browser/playwrightManagementClient.js.map +1 -0
  77. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  78. package/dist/browser/restorePollerHelpers.js +97 -0
  79. package/dist/browser/restorePollerHelpers.js.map +1 -0
  80. package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
  81. package/dist/browser/static-helpers/pagingHelpers.js +137 -0
  82. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  83. package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
  84. package/dist/browser/static-helpers/pollingHelpers.js +76 -0
  85. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  86. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  87. package/dist/browser/static-helpers/urlTemplate.js +169 -0
  88. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  89. package/dist/commonjs/api/index.d.ts +2 -0
  90. package/dist/commonjs/api/index.js +8 -0
  91. package/dist/commonjs/api/index.js.map +1 -0
  92. package/dist/commonjs/api/operations/index.d.ts +3 -0
  93. package/dist/commonjs/api/operations/index.js +8 -0
  94. package/dist/commonjs/api/operations/index.js.map +1 -0
  95. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  96. package/dist/commonjs/api/operations/operations.js +34 -0
  97. package/dist/commonjs/api/operations/operations.js.map +1 -0
  98. package/dist/commonjs/api/operations/options.d.ts +5 -0
  99. package/dist/commonjs/api/operations/options.js +5 -0
  100. package/dist/commonjs/api/operations/options.js.map +1 -0
  101. package/dist/commonjs/api/playwrightManagementContext.d.ts +19 -0
  102. package/dist/commonjs/api/playwrightManagementContext.js +39 -0
  103. package/dist/commonjs/api/playwrightManagementContext.js.map +1 -0
  104. package/dist/commonjs/api/playwrightQuotas/index.d.ts +3 -0
  105. package/dist/commonjs/api/playwrightQuotas/index.js +9 -0
  106. package/dist/commonjs/api/playwrightQuotas/index.js.map +1 -0
  107. package/dist/commonjs/api/playwrightQuotas/operations.d.ts +14 -0
  108. package/dist/commonjs/api/playwrightQuotas/operations.js +69 -0
  109. package/dist/commonjs/api/playwrightQuotas/operations.js.map +1 -0
  110. package/dist/commonjs/api/playwrightQuotas/options.d.ts +8 -0
  111. package/dist/commonjs/api/playwrightQuotas/options.js +5 -0
  112. package/dist/commonjs/api/playwrightQuotas/options.js.map +1 -0
  113. package/dist/commonjs/api/playwrightWorkspaceQuotas/index.d.ts +3 -0
  114. package/dist/commonjs/api/playwrightWorkspaceQuotas/index.js +9 -0
  115. package/dist/commonjs/api/playwrightWorkspaceQuotas/index.js.map +1 -0
  116. package/dist/commonjs/api/playwrightWorkspaceQuotas/operations.d.ts +14 -0
  117. package/dist/commonjs/api/playwrightWorkspaceQuotas/operations.js +71 -0
  118. package/dist/commonjs/api/playwrightWorkspaceQuotas/operations.js.map +1 -0
  119. package/dist/commonjs/api/playwrightWorkspaceQuotas/options.d.ts +8 -0
  120. package/dist/commonjs/api/playwrightWorkspaceQuotas/options.js +5 -0
  121. package/dist/commonjs/api/playwrightWorkspaceQuotas/options.js.map +1 -0
  122. package/dist/commonjs/api/playwrightWorkspaces/index.d.ts +3 -0
  123. package/dist/commonjs/api/playwrightWorkspaces/index.js +14 -0
  124. package/dist/commonjs/api/playwrightWorkspaces/index.js.map +1 -0
  125. package/dist/commonjs/api/playwrightWorkspaces/operations.d.ts +40 -0
  126. package/dist/commonjs/api/playwrightWorkspaces/operations.js +235 -0
  127. package/dist/commonjs/api/playwrightWorkspaces/operations.js.map +1 -0
  128. package/dist/commonjs/api/playwrightWorkspaces/options.d.ts +27 -0
  129. package/dist/commonjs/api/playwrightWorkspaces/options.js +5 -0
  130. package/dist/commonjs/api/playwrightWorkspaces/options.js.map +1 -0
  131. package/dist/commonjs/classic/index.d.ts +5 -0
  132. package/dist/commonjs/classic/index.js +5 -0
  133. package/dist/commonjs/classic/index.js.map +1 -0
  134. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  135. package/dist/commonjs/classic/operations/index.js +15 -0
  136. package/dist/commonjs/classic/operations/index.js.map +1 -0
  137. package/dist/commonjs/classic/playwrightQuotas/index.d.ts +13 -0
  138. package/dist/commonjs/classic/playwrightQuotas/index.js +16 -0
  139. package/dist/commonjs/classic/playwrightQuotas/index.js.map +1 -0
  140. package/dist/commonjs/classic/playwrightWorkspaceQuotas/index.d.ts +13 -0
  141. package/dist/commonjs/classic/playwrightWorkspaceQuotas/index.js +16 -0
  142. package/dist/commonjs/classic/playwrightWorkspaceQuotas/index.js.map +1 -0
  143. package/dist/commonjs/classic/playwrightWorkspaces/index.d.ts +29 -0
  144. package/dist/commonjs/classic/playwrightWorkspaces/index.js +21 -0
  145. package/dist/commonjs/classic/playwrightWorkspaces/index.js.map +1 -0
  146. package/dist/commonjs/index.d.ts +12 -0
  147. package/dist/commonjs/index.js +20 -0
  148. package/dist/commonjs/index.js.map +1 -0
  149. package/dist/commonjs/logger.d.ts +2 -0
  150. package/dist/commonjs/logger.js +8 -0
  151. package/dist/commonjs/logger.js.map +1 -0
  152. package/dist/commonjs/models/index.d.ts +2 -0
  153. package/dist/commonjs/models/index.js +16 -0
  154. package/dist/commonjs/models/index.js.map +1 -0
  155. package/dist/commonjs/models/models.d.ts +391 -0
  156. package/dist/commonjs/models/models.js +391 -0
  157. package/dist/commonjs/models/models.js.map +1 -0
  158. package/dist/commonjs/package.json +3 -0
  159. package/dist/commonjs/playwrightManagementClient.d.ts +24 -0
  160. package/dist/commonjs/playwrightManagementClient.js +28 -0
  161. package/dist/commonjs/playwrightManagementClient.js.map +1 -0
  162. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  163. package/dist/commonjs/restorePollerHelpers.js +100 -0
  164. package/dist/commonjs/restorePollerHelpers.js.map +1 -0
  165. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
  166. package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
  167. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
  168. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
  169. package/dist/commonjs/static-helpers/pollingHelpers.js +79 -0
  170. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
  171. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  172. package/dist/commonjs/static-helpers/urlTemplate.js +172 -0
  173. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
  174. package/dist/commonjs/tsdoc-metadata.json +11 -0
  175. package/dist/esm/api/index.d.ts +2 -0
  176. package/dist/esm/api/index.js +4 -0
  177. package/dist/esm/api/index.js.map +1 -0
  178. package/dist/esm/api/operations/index.d.ts +3 -0
  179. package/dist/esm/api/operations/index.js +4 -0
  180. package/dist/esm/api/operations/index.js.map +1 -0
  181. package/dist/esm/api/operations/operations.d.ts +10 -0
  182. package/dist/esm/api/operations/operations.js +29 -0
  183. package/dist/esm/api/operations/operations.js.map +1 -0
  184. package/dist/esm/api/operations/options.d.ts +5 -0
  185. package/dist/esm/api/operations/options.js +4 -0
  186. package/dist/esm/api/operations/options.js.map +1 -0
  187. package/dist/esm/api/playwrightManagementContext.d.ts +19 -0
  188. package/dist/esm/api/playwrightManagementContext.js +36 -0
  189. package/dist/esm/api/playwrightManagementContext.js.map +1 -0
  190. package/dist/esm/api/playwrightQuotas/index.d.ts +3 -0
  191. package/dist/esm/api/playwrightQuotas/index.js +4 -0
  192. package/dist/esm/api/playwrightQuotas/index.js.map +1 -0
  193. package/dist/esm/api/playwrightQuotas/operations.d.ts +14 -0
  194. package/dist/esm/api/playwrightQuotas/operations.js +61 -0
  195. package/dist/esm/api/playwrightQuotas/operations.js.map +1 -0
  196. package/dist/esm/api/playwrightQuotas/options.d.ts +8 -0
  197. package/dist/esm/api/playwrightQuotas/options.js +4 -0
  198. package/dist/esm/api/playwrightQuotas/options.js.map +1 -0
  199. package/dist/esm/api/playwrightWorkspaceQuotas/index.d.ts +3 -0
  200. package/dist/esm/api/playwrightWorkspaceQuotas/index.js +4 -0
  201. package/dist/esm/api/playwrightWorkspaceQuotas/index.js.map +1 -0
  202. package/dist/esm/api/playwrightWorkspaceQuotas/operations.d.ts +14 -0
  203. package/dist/esm/api/playwrightWorkspaceQuotas/operations.js +63 -0
  204. package/dist/esm/api/playwrightWorkspaceQuotas/operations.js.map +1 -0
  205. package/dist/esm/api/playwrightWorkspaceQuotas/options.d.ts +8 -0
  206. package/dist/esm/api/playwrightWorkspaceQuotas/options.js +4 -0
  207. package/dist/esm/api/playwrightWorkspaceQuotas/options.js.map +1 -0
  208. package/dist/esm/api/playwrightWorkspaces/index.d.ts +3 -0
  209. package/dist/esm/api/playwrightWorkspaces/index.js +4 -0
  210. package/dist/esm/api/playwrightWorkspaces/index.js.map +1 -0
  211. package/dist/esm/api/playwrightWorkspaces/operations.d.ts +40 -0
  212. package/dist/esm/api/playwrightWorkspaces/operations.js +212 -0
  213. package/dist/esm/api/playwrightWorkspaces/operations.js.map +1 -0
  214. package/dist/esm/api/playwrightWorkspaces/options.d.ts +27 -0
  215. package/dist/esm/api/playwrightWorkspaces/options.js +4 -0
  216. package/dist/esm/api/playwrightWorkspaces/options.js.map +1 -0
  217. package/dist/esm/classic/index.d.ts +5 -0
  218. package/dist/esm/classic/index.js +4 -0
  219. package/dist/esm/classic/index.js.map +1 -0
  220. package/dist/esm/classic/operations/index.d.ts +11 -0
  221. package/dist/esm/classic/operations/index.js +12 -0
  222. package/dist/esm/classic/operations/index.js.map +1 -0
  223. package/dist/esm/classic/playwrightQuotas/index.d.ts +13 -0
  224. package/dist/esm/classic/playwrightQuotas/index.js +13 -0
  225. package/dist/esm/classic/playwrightQuotas/index.js.map +1 -0
  226. package/dist/esm/classic/playwrightWorkspaceQuotas/index.d.ts +13 -0
  227. package/dist/esm/classic/playwrightWorkspaceQuotas/index.js +13 -0
  228. package/dist/esm/classic/playwrightWorkspaceQuotas/index.js.map +1 -0
  229. package/dist/esm/classic/playwrightWorkspaces/index.d.ts +29 -0
  230. package/dist/esm/classic/playwrightWorkspaces/index.js +18 -0
  231. package/dist/esm/classic/playwrightWorkspaces/index.js.map +1 -0
  232. package/dist/esm/index.d.ts +12 -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.js +5 -0
  237. package/dist/esm/logger.js.map +1 -0
  238. package/dist/esm/models/index.d.ts +2 -0
  239. package/dist/esm/models/index.js +4 -0
  240. package/dist/esm/models/index.js.map +1 -0
  241. package/dist/esm/models/models.d.ts +391 -0
  242. package/dist/esm/models/models.js +352 -0
  243. package/dist/esm/models/models.js.map +1 -0
  244. package/dist/esm/package.json +3 -0
  245. package/dist/esm/playwrightManagementClient.d.ts +24 -0
  246. package/dist/esm/playwrightManagementClient.js +24 -0
  247. package/dist/esm/playwrightManagementClient.js.map +1 -0
  248. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  249. package/dist/esm/restorePollerHelpers.js +97 -0
  250. package/dist/esm/restorePollerHelpers.js.map +1 -0
  251. package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
  252. package/dist/esm/static-helpers/pagingHelpers.js +137 -0
  253. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  254. package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
  255. package/dist/esm/static-helpers/pollingHelpers.js +76 -0
  256. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  257. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  258. package/dist/esm/static-helpers/urlTemplate.js +169 -0
  259. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  260. package/dist/react-native/api/index.d.ts +2 -0
  261. package/dist/react-native/api/index.js +4 -0
  262. package/dist/react-native/api/index.js.map +1 -0
  263. package/dist/react-native/api/operations/index.d.ts +3 -0
  264. package/dist/react-native/api/operations/index.js +4 -0
  265. package/dist/react-native/api/operations/index.js.map +1 -0
  266. package/dist/react-native/api/operations/operations.d.ts +10 -0
  267. package/dist/react-native/api/operations/operations.js +29 -0
  268. package/dist/react-native/api/operations/operations.js.map +1 -0
  269. package/dist/react-native/api/operations/options.d.ts +5 -0
  270. package/dist/react-native/api/operations/options.js +4 -0
  271. package/dist/react-native/api/operations/options.js.map +1 -0
  272. package/dist/react-native/api/playwrightManagementContext.d.ts +19 -0
  273. package/dist/react-native/api/playwrightManagementContext.js +36 -0
  274. package/dist/react-native/api/playwrightManagementContext.js.map +1 -0
  275. package/dist/react-native/api/playwrightQuotas/index.d.ts +3 -0
  276. package/dist/react-native/api/playwrightQuotas/index.js +4 -0
  277. package/dist/react-native/api/playwrightQuotas/index.js.map +1 -0
  278. package/dist/react-native/api/playwrightQuotas/operations.d.ts +14 -0
  279. package/dist/react-native/api/playwrightQuotas/operations.js +61 -0
  280. package/dist/react-native/api/playwrightQuotas/operations.js.map +1 -0
  281. package/dist/react-native/api/playwrightQuotas/options.d.ts +8 -0
  282. package/dist/react-native/api/playwrightQuotas/options.js +4 -0
  283. package/dist/react-native/api/playwrightQuotas/options.js.map +1 -0
  284. package/dist/react-native/api/playwrightWorkspaceQuotas/index.d.ts +3 -0
  285. package/dist/react-native/api/playwrightWorkspaceQuotas/index.js +4 -0
  286. package/dist/react-native/api/playwrightWorkspaceQuotas/index.js.map +1 -0
  287. package/dist/react-native/api/playwrightWorkspaceQuotas/operations.d.ts +14 -0
  288. package/dist/react-native/api/playwrightWorkspaceQuotas/operations.js +63 -0
  289. package/dist/react-native/api/playwrightWorkspaceQuotas/operations.js.map +1 -0
  290. package/dist/react-native/api/playwrightWorkspaceQuotas/options.d.ts +8 -0
  291. package/dist/react-native/api/playwrightWorkspaceQuotas/options.js +4 -0
  292. package/dist/react-native/api/playwrightWorkspaceQuotas/options.js.map +1 -0
  293. package/dist/react-native/api/playwrightWorkspaces/index.d.ts +3 -0
  294. package/dist/react-native/api/playwrightWorkspaces/index.js +4 -0
  295. package/dist/react-native/api/playwrightWorkspaces/index.js.map +1 -0
  296. package/dist/react-native/api/playwrightWorkspaces/operations.d.ts +40 -0
  297. package/dist/react-native/api/playwrightWorkspaces/operations.js +212 -0
  298. package/dist/react-native/api/playwrightWorkspaces/operations.js.map +1 -0
  299. package/dist/react-native/api/playwrightWorkspaces/options.d.ts +27 -0
  300. package/dist/react-native/api/playwrightWorkspaces/options.js +4 -0
  301. package/dist/react-native/api/playwrightWorkspaces/options.js.map +1 -0
  302. package/dist/react-native/classic/index.d.ts +5 -0
  303. package/dist/react-native/classic/index.js +4 -0
  304. package/dist/react-native/classic/index.js.map +1 -0
  305. package/dist/react-native/classic/operations/index.d.ts +11 -0
  306. package/dist/react-native/classic/operations/index.js +12 -0
  307. package/dist/react-native/classic/operations/index.js.map +1 -0
  308. package/dist/react-native/classic/playwrightQuotas/index.d.ts +13 -0
  309. package/dist/react-native/classic/playwrightQuotas/index.js +13 -0
  310. package/dist/react-native/classic/playwrightQuotas/index.js.map +1 -0
  311. package/dist/react-native/classic/playwrightWorkspaceQuotas/index.d.ts +13 -0
  312. package/dist/react-native/classic/playwrightWorkspaceQuotas/index.js +13 -0
  313. package/dist/react-native/classic/playwrightWorkspaceQuotas/index.js.map +1 -0
  314. package/dist/react-native/classic/playwrightWorkspaces/index.d.ts +29 -0
  315. package/dist/react-native/classic/playwrightWorkspaces/index.js +18 -0
  316. package/dist/react-native/classic/playwrightWorkspaces/index.js.map +1 -0
  317. package/dist/react-native/index.d.ts +12 -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.js +5 -0
  322. package/dist/react-native/logger.js.map +1 -0
  323. package/dist/react-native/models/index.d.ts +2 -0
  324. package/dist/react-native/models/index.js +4 -0
  325. package/dist/react-native/models/index.js.map +1 -0
  326. package/dist/react-native/models/models.d.ts +391 -0
  327. package/dist/react-native/models/models.js +352 -0
  328. package/dist/react-native/models/models.js.map +1 -0
  329. package/dist/react-native/package.json +3 -0
  330. package/dist/react-native/playwrightManagementClient.d.ts +24 -0
  331. package/dist/react-native/playwrightManagementClient.js +24 -0
  332. package/dist/react-native/playwrightManagementClient.js.map +1 -0
  333. package/dist/react-native/restorePollerHelpers.d.ts +21 -0
  334. package/dist/react-native/restorePollerHelpers.js +97 -0
  335. package/dist/react-native/restorePollerHelpers.js.map +1 -0
  336. package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
  337. package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
  338. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  339. package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
  340. package/dist/react-native/static-helpers/pollingHelpers.js +76 -0
  341. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
  342. package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
  343. package/dist/react-native/static-helpers/urlTemplate.js +169 -0
  344. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
  345. package/package.json +252 -0
  346. package/review/arm-playwright-api-operations.api.md +19 -0
  347. package/review/arm-playwright-api-playwrightQuotas.api.md +26 -0
  348. package/review/arm-playwright-api-playwrightWorkspaceQuotas.api.md +26 -0
  349. package/review/arm-playwright-api-playwrightWorkspaces.api.md +65 -0
  350. package/review/arm-playwright-api.api.md +27 -0
  351. package/review/arm-playwright-models.api.md +232 -0
  352. package/review/arm-playwright.api.md +361 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # Release History
2
+
3
+ ## 1.0.0-beta.1 (2025-07-14)
4
+
5
+ ### Features Added
6
+
7
+ Initial release of the @azure/arm-playwright package
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ Copyright (c) Microsoft Corporation.
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,115 @@
1
+ # Azure PlaywrightManagement client library for JavaScript
2
+
3
+ This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure PlaywrightManagement client.
4
+
5
+ Playwright service provides access to Playwright workspace resource and it's operations.
6
+
7
+ Key links:
8
+
9
+ - [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/playwright/arm-playwright)
10
+ - [Package (NPM)](https://www.npmjs.com/package/@azure/arm-playwright)
11
+ - [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-playwright?view=azure-node-preview)
12
+ - [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/playwright/arm-playwright/samples)
13
+
14
+ ## Getting started
15
+
16
+ ### Currently supported environments
17
+
18
+ - [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
19
+ - Latest versions of Safari, Chrome, Edge and Firefox.
20
+
21
+ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
22
+
23
+ ### Prerequisites
24
+
25
+ - An [Azure subscription][azure_sub].
26
+
27
+ ### Install the `@azure/arm-playwright` package
28
+
29
+ Install the Azure PlaywrightManagement client library for JavaScript with `npm`:
30
+
31
+ ```bash
32
+ npm install @azure/arm-playwright
33
+ ```
34
+
35
+ ### Create and authenticate a `PlaywrightManagementClient`
36
+
37
+ To create a client object to access the Azure PlaywrightManagement API, you will need the `endpoint` of your Azure PlaywrightManagement resource and a `credential`. The Azure PlaywrightManagement client can use Azure Active Directory credentials to authenticate.
38
+ You can find the endpoint for your Azure PlaywrightManagement resource in the [Azure Portal][azure_portal].
39
+
40
+ 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).
41
+
42
+ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
43
+
44
+ ```bash
45
+ npm install @azure/identity
46
+ ```
47
+
48
+ You will also need to **register a new AAD application and grant access to Azure PlaywrightManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
49
+
50
+ 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).
51
+
52
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
53
+
54
+ ```ts snippet:ReadmeSampleCreateClient_Node
55
+ import { PlaywrightManagementClient } from "@azure/arm-playwright";
56
+ import { DefaultAzureCredential } from "@azure/identity";
57
+
58
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
59
+ const client = new PlaywrightManagementClient(new DefaultAzureCredential(), subscriptionId);
60
+ ```
61
+
62
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
63
+
64
+ ```ts snippet:ReadmeSampleCreateClient_Browser
65
+ import { InteractiveBrowserCredential } from "@azure/identity";
66
+ import { PlaywrightManagementClient } from "@azure/arm-playwright";
67
+
68
+ const credential = new InteractiveBrowserCredential({
69
+ tenantId: "<YOUR_TENANT_ID>",
70
+ clientId: "<YOUR_CLIENT_ID>",
71
+ });
72
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
73
+ const client = new PlaywrightManagementClient(credential, subscriptionId);
74
+ ```
75
+
76
+
77
+ ### JavaScript Bundle
78
+ 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).
79
+
80
+ ## Key concepts
81
+
82
+ ### PlaywrightManagementClient
83
+
84
+ `PlaywrightManagementClient` is the primary interface for developers using the Azure PlaywrightManagement client library. Explore the methods on this client object to understand the different features of the Azure PlaywrightManagement service that you can access.
85
+
86
+ ## Troubleshooting
87
+
88
+ ### Logging
89
+
90
+ 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`:
91
+
92
+ ```ts snippet:SetLogLevel
93
+ import { setLogLevel } from "@azure/logger";
94
+
95
+ setLogLevel("info");
96
+ ```
97
+
98
+ For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).
99
+
100
+ ## Next steps
101
+
102
+ Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/playwright/arm-playwright/samples) directory for detailed examples on how to use this library.
103
+
104
+ ## Contributing
105
+
106
+ If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.
107
+
108
+ ## Related projects
109
+
110
+ - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
111
+
112
+ [azure_sub]: https://azure.microsoft.com/free/
113
+ [azure_portal]: https://portal.azure.com
114
+ [azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
115
+ [defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential
@@ -0,0 +1,2 @@
1
+ export { createPlaywrightManagement, PlaywrightManagementContext, PlaywrightManagementClientOptionalParams, } from "./playwrightManagementContext.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { createPlaywrightManagement, } from "./playwrightManagementContext.js";
4
+ //# 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,0BAA0B,GAG3B,MAAM,kCAAkC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n createPlaywrightManagement,\n PlaywrightManagementContext,\n PlaywrightManagementClientOptionalParams,\n} from \"./playwrightManagementContext.js\";\n"]}
@@ -0,0 +1,3 @@
1
+ export { list } from "./operations.js";
2
+ export { OperationsListOptionalParams } from "./options.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { list } from "./operations.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { list } from \"./operations.js\";\nexport { OperationsListOptionalParams } from \"./options.js\";\n"]}
@@ -0,0 +1,10 @@
1
+ import { PlaywrightManagementContext as Client } from "../index.js";
2
+ import { _OperationListResult, Operation } from "../../models/models.js";
3
+ import { OperationsListOptionalParams } from "./options.js";
4
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
+ export declare function _listSend(context: Client, options?: OperationsListOptionalParams): StreamableMethod;
7
+ export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_OperationListResult>;
8
+ /** List the operations for the provider */
9
+ export declare function list(context: Client, options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
10
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1,29 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { _operationListResultDeserializer, errorResponseDeserializer, } from "../../models/models.js";
4
+ import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
5
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
6
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
+ export function _listSend(context, options = { requestOptions: {} }) {
8
+ var _a, _b;
9
+ const path = expandUrlTemplate("/providers/Microsoft.LoadTestService/operations{?api%2Dversion}", {
10
+ "api%2Dversion": context.apiVersion,
11
+ }, {
12
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
13
+ });
14
+ return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
15
+ }
16
+ export async function _listDeserialize(result) {
17
+ const expectedStatuses = ["200"];
18
+ if (!expectedStatuses.includes(result.status)) {
19
+ const error = createRestError(result);
20
+ error.details = errorResponseDeserializer(result.body);
21
+ throw error;
22
+ }
23
+ return _operationListResultDeserializer(result.body);
24
+ }
25
+ /** List the operations for the provider */
26
+ export function list(context, options = { requestOptions: {} }) {
27
+ return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
28
+ }
29
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/operations/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAEL,gCAAgC,EAEhC,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,SAAS,CACvB,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;;IAE9D,MAAM,IAAI,GAAG,iBAAiB,CAC5B,iEAAiE,EACjE;QACE,eAAe,EAAE,OAAO,CAAC,UAAU;KACpC,EACD;QACE,aAAa,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,0CAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,iCACxB,mCAAmC,CAAC,OAAO,CAAC,KAC/C,OAAO,kBACL,MAAM,EAAE,kBAAkB,IACvB,MAAA,OAAO,CAAC,cAAc,0CAAE,OAAO,KAEpC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,gCAAgC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,2CAA2C;AAC3C,MAAM,UAAU,IAAI,CAClB,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,EACjC,gBAAgB,EAChB,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 { PlaywrightManagementContext as Client } from \"../index.js\";\nimport {\n _OperationListResult,\n _operationListResultDeserializer,\n Operation,\n errorResponseDeserializer,\n} from \"../../models/models.js\";\nimport { OperationsListOptionalParams } from \"./options.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.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 _listSend(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.LoadTestService/operations{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OperationListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _operationListResultDeserializer(result.body);\n}\n\n/** List the operations for the provider */\nexport function list(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Operation> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface OperationsListOptionalParams extends OperationOptions {
4
+ }
5
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/operations/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams extends OperationOptions {}\n"]}
@@ -0,0 +1,19 @@
1
+ import { Client, ClientOptions } from "@azure-rest/core-client";
2
+ import { TokenCredential } from "@azure/core-auth";
3
+ /** Playwright service provides access to Playwright workspace resource and it's operations. */
4
+ export interface PlaywrightManagementContext extends Client {
5
+ /** The API version to use for this operation. */
6
+ /** Known values of {@link KnownVersions} that the service accepts. */
7
+ apiVersion: string;
8
+ /** The ID of the target subscription. The value must be an UUID. */
9
+ subscriptionId: string;
10
+ }
11
+ /** Optional parameters for the client. */
12
+ export interface PlaywrightManagementClientOptionalParams extends ClientOptions {
13
+ /** The API version to use for this operation. */
14
+ /** Known values of {@link KnownVersions} that the service accepts. */
15
+ apiVersion?: string;
16
+ }
17
+ /** Playwright service provides access to Playwright workspace resource and it's operations. */
18
+ export declare function createPlaywrightManagement(credential: TokenCredential, subscriptionId: string, options?: PlaywrightManagementClientOptionalParams): PlaywrightManagementContext;
19
+ //# sourceMappingURL=playwrightManagementContext.d.ts.map
@@ -0,0 +1,36 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { __rest } from "tslib";
4
+ import { logger } from "../logger.js";
5
+ import { getClient } from "@azure-rest/core-client";
6
+ /** Playwright service provides access to Playwright workspace resource and it's operations. */
7
+ export function createPlaywrightManagement(credential, subscriptionId, options = {}) {
8
+ var _a, _b, _c, _d, _e, _f, _g, _h;
9
+ const endpointUrl = (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUrl) !== null && _b !== void 0 ? _b : "https://management.azure.com";
10
+ const prefixFromOptions = (_c = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _c === void 0 ? void 0 : _c.userAgentPrefix;
11
+ const userAgentInfo = `azsdk-js-arm-playwright/1.0.0-beta.1`;
12
+ const userAgentPrefix = prefixFromOptions
13
+ ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
14
+ : `azsdk-js-api ${userAgentInfo}`;
15
+ const _j = Object.assign(Object.assign({}, options), { userAgentOptions: { userAgentPrefix }, loggingOptions: { logger: (_e = (_d = options.loggingOptions) === null || _d === void 0 ? void 0 : _d.logger) !== null && _e !== void 0 ? _e : logger.info }, credentials: {
16
+ scopes: (_g = (_f = options.credentials) === null || _f === void 0 ? void 0 : _f.scopes) !== null && _g !== void 0 ? _g : [`${endpointUrl}/.default`],
17
+ } }), { apiVersion: _ } = _j, updatedOptions = __rest(_j, ["apiVersion"]);
18
+ const clientContext = getClient(endpointUrl, credential, updatedOptions);
19
+ clientContext.pipeline.removePolicy({ name: "ApiVersionPolicy" });
20
+ const apiVersion = (_h = options.apiVersion) !== null && _h !== void 0 ? _h : "2025-07-01-preview";
21
+ clientContext.pipeline.addPolicy({
22
+ name: "ClientApiVersionPolicy",
23
+ sendRequest: (req, next) => {
24
+ // Use the apiVersion defined in request url directly
25
+ // Append one if there is no apiVersion and we have one at client options
26
+ const url = new URL(req.url);
27
+ if (!url.searchParams.get("api-version")) {
28
+ req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
29
+ }
30
+ return next(req);
31
+ },
32
+ });
33
+ return Object.assign(Object.assign({}, clientContext), { apiVersion,
34
+ subscriptionId });
35
+ }
36
+ //# sourceMappingURL=playwrightManagementContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"playwrightManagementContext.js","sourceRoot":"","sources":["../../../src/api/playwrightManagementContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAmB3E,+FAA+F;AAC/F,MAAM,UAAU,0BAA0B,CACxC,UAA2B,EAC3B,cAAsB,EACtB,UAAoD,EAAE;;IAEtD,MAAM,WAAW,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,CAAC;IAC1F,MAAM,iBAAiB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,0CAAE,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,qCACD,OAAO,KACV,gBAAgB,EAAE,EAAE,eAAe,EAAE,EACrC,cA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ent":["// 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/** Playwright service provides access to Playwright workspace resource and it's operations. */\nexport interface PlaywrightManagementContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion: string;\n /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\n}\n\n/** Optional parameters for the client. */\nexport interface PlaywrightManagementClientOptionalParams 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/** Playwright service provides access to Playwright workspace resource and it's operations. */\nexport function createPlaywrightManagement(\n credential: TokenCredential,\n subscriptionId: string,\n options: PlaywrightManagementClientOptionalParams = {},\n): PlaywrightManagementContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-playwright/1.0.0-beta.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 ?? \"2025-07-01-preview\";\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 {\n ...clientContext,\n apiVersion,\n subscriptionId,\n } as PlaywrightManagementContext;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export { listBySubscription, get } from "./operations.js";
2
+ export { PlaywrightQuotasListBySubscriptionOptionalParams, PlaywrightQuotasGetOptionalParams, } from "./options.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { listBySubscription, get } from "./operations.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/playwrightQuotas/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listBySubscription, get } from \"./operations.js\";\nexport {\n PlaywrightQuotasListBySubscriptionOptionalParams,\n PlaywrightQuotasGetOptionalParams,\n} from \"./options.js\";\n"]}
@@ -0,0 +1,14 @@
1
+ import { PlaywrightManagementContext as Client } from "../index.js";
2
+ import { PlaywrightQuota, QuotaName, _PlaywrightQuotaListResult } from "../../models/models.js";
3
+ import { PlaywrightQuotasListBySubscriptionOptionalParams, PlaywrightQuotasGetOptionalParams } from "./options.js";
4
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
+ export declare function _listBySubscriptionSend(context: Client, location: string, options?: PlaywrightQuotasListBySubscriptionOptionalParams): StreamableMethod;
7
+ export declare function _listBySubscriptionDeserialize(result: PathUncheckedResponse): Promise<_PlaywrightQuotaListResult>;
8
+ /** List Playwright quota resources for a given subscription Id. */
9
+ export declare function listBySubscription(context: Client, location: string, options?: PlaywrightQuotasListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PlaywrightQuota>;
10
+ export declare function _getSend(context: Client, location: string, playwrightQuotaName: QuotaName, options?: PlaywrightQuotasGetOptionalParams): StreamableMethod;
11
+ export declare function _getDeserialize(result: PathUncheckedResponse): Promise<PlaywrightQuota>;
12
+ /** Get subscription-level location-based Playwright quota resource by name. */
13
+ export declare function get(context: Client, location: string, playwrightQuotaName: QuotaName, options?: PlaywrightQuotasGetOptionalParams): Promise<PlaywrightQuota>;
14
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1,61 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { errorResponseDeserializer, playwrightQuotaDeserializer, _playwrightQuotaListResultDeserializer, } from "../../models/models.js";
4
+ import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
5
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
6
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
+ export function _listBySubscriptionSend(context, location, options = {
8
+ requestOptions: {},
9
+ }) {
10
+ var _a, _b;
11
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/playwrightQuotas{?api%2Dversion}", {
12
+ subscriptionId: context.subscriptionId,
13
+ location: location,
14
+ "api%2Dversion": context.apiVersion,
15
+ }, {
16
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
17
+ });
18
+ return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
19
+ }
20
+ export async function _listBySubscriptionDeserialize(result) {
21
+ const expectedStatuses = ["200"];
22
+ if (!expectedStatuses.includes(result.status)) {
23
+ const error = createRestError(result);
24
+ error.details = errorResponseDeserializer(result.body);
25
+ throw error;
26
+ }
27
+ return _playwrightQuotaListResultDeserializer(result.body);
28
+ }
29
+ /** List Playwright quota resources for a given subscription Id. */
30
+ export function listBySubscription(context, location, options = {
31
+ requestOptions: {},
32
+ }) {
33
+ return buildPagedAsyncIterator(context, () => _listBySubscriptionSend(context, location, options), _listBySubscriptionDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
34
+ }
35
+ export function _getSend(context, location, playwrightQuotaName, options = { requestOptions: {} }) {
36
+ var _a, _b;
37
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/playwrightQuotas/{playwrightQuotaName}{?api%2Dversion}", {
38
+ subscriptionId: context.subscriptionId,
39
+ location: location,
40
+ playwrightQuotaName: playwrightQuotaName,
41
+ "api%2Dversion": context.apiVersion,
42
+ }, {
43
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
44
+ });
45
+ return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
46
+ }
47
+ export async function _getDeserialize(result) {
48
+ const expectedStatuses = ["200"];
49
+ if (!expectedStatuses.includes(result.status)) {
50
+ const error = createRestError(result);
51
+ error.details = errorResponseDeserializer(result.body);
52
+ throw error;
53
+ }
54
+ return playwrightQuotaDeserializer(result.body);
55
+ }
56
+ /** Get subscription-level location-based Playwright quota resource by name. */
57
+ export async function get(context, location, playwrightQuotaName, options = { requestOptions: {} }) {
58
+ const result = await _getSend(context, location, playwrightQuotaName, options);
59
+ return _getDeserialize(result);
60
+ }
61
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/playwrightQuotas/operations.ts"],"names":[],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GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,2BAA2B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAClD,CAAC;AAED,+EAA+E;AAC/E,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,QAAgB,EAChB,mBAA8B,EAC9B,UAA6C,EAAE,cAAc,EAAE,EAAE,EAAE;IAEnE,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAC;IAC/E,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { PlaywrightManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n PlaywrightQuota,\n playwrightQuotaDeserializer,\n QuotaName,\n _PlaywrightQuotaListResult,\n _playwrightQuotaListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PlaywrightQuotasListBySubscriptionOptionalParams,\n PlaywrightQuotasGetOptionalParams,\n} from \"./options.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.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 _listBySubscriptionSend(\n context: Client,\n location: string,\n options: PlaywrightQuotasListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/playwrightQuotas{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PlaywrightQuotaListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _playwrightQuotaListResultDeserializer(result.body);\n}\n\n/** List Playwright quota resources for a given subscription Id. */\nexport function listBySubscription(\n context: Client,\n location: string,\n options: PlaywrightQuotasListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PlaywrightQuota> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, location, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _getSend(\n context: Client,\n location: string,\n playwrightQuotaName: QuotaName,\n options: PlaywrightQuotasGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/playwrightQuotas/{playwrightQuotaName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n playwrightQuotaName: playwrightQuotaName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<PlaywrightQuota> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return playwrightQuotaDeserializer(result.body);\n}\n\n/** Get subscription-level location-based Playwright quota resource by name. */\nexport async function get(\n context: Client,\n location: string,\n playwrightQuotaName: QuotaName,\n options: PlaywrightQuotasGetOptionalParams = { requestOptions: {} },\n): Promise<PlaywrightQuota> {\n const result = await _getSend(context, location, playwrightQuotaName, options);\n return _getDeserialize(result);\n}\n"]}
@@ -0,0 +1,8 @@
1
+ import { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface PlaywrightQuotasListBySubscriptionOptionalParams extends OperationOptions {
4
+ }
5
+ /** Optional parameters. */
6
+ export interface PlaywrightQuotasGetOptionalParams extends OperationOptions {
7
+ }
8
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/playwrightQuotas/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface PlaywrightQuotasListBySubscriptionOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface PlaywrightQuotasGetOptionalParams extends OperationOptions {}\n"]}
@@ -0,0 +1,3 @@
1
+ export { listByPlaywrightWorkspace, get } from "./operations.js";
2
+ export { PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams, PlaywrightWorkspaceQuotasGetOptionalParams, } from "./options.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { listByPlaywrightWorkspace, get } from "./operations.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/playwrightWorkspaceQuotas/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,yBAAyB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listByPlaywrightWorkspace, get } from \"./operations.js\";\nexport {\n PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams,\n PlaywrightWorkspaceQuotasGetOptionalParams,\n} from \"./options.js\";\n"]}
@@ -0,0 +1,14 @@
1
+ import { PlaywrightManagementContext as Client } from "../index.js";
2
+ import { QuotaName, PlaywrightWorkspaceQuota, _PlaywrightWorkspaceQuotaListResult } from "../../models/models.js";
3
+ import { PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams, PlaywrightWorkspaceQuotasGetOptionalParams } from "./options.js";
4
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
+ export declare function _listByPlaywrightWorkspaceSend(context: Client, resourceGroupName: string, playwrightWorkspaceName: string, options?: PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams): StreamableMethod;
7
+ export declare function _listByPlaywrightWorkspaceDeserialize(result: PathUncheckedResponse): Promise<_PlaywrightWorkspaceQuotaListResult>;
8
+ /** List quota resources for a given Playwright workspace resource. */
9
+ export declare function listByPlaywrightWorkspace(context: Client, resourceGroupName: string, playwrightWorkspaceName: string, options?: PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams): PagedAsyncIterableIterator<PlaywrightWorkspaceQuota>;
10
+ export declare function _getSend(context: Client, resourceGroupName: string, playwrightWorkspaceName: string, quotaName: QuotaName, options?: PlaywrightWorkspaceQuotasGetOptionalParams): StreamableMethod;
11
+ export declare function _getDeserialize(result: PathUncheckedResponse): Promise<PlaywrightWorkspaceQuota>;
12
+ /** Get Playwright workspace quota resource by name. */
13
+ export declare function get(context: Client, resourceGroupName: string, playwrightWorkspaceName: string, quotaName: QuotaName, options?: PlaywrightWorkspaceQuotasGetOptionalParams): Promise<PlaywrightWorkspaceQuota>;
14
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1,63 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { errorResponseDeserializer, playwrightWorkspaceQuotaDeserializer, _playwrightWorkspaceQuotaListResultDeserializer, } from "../../models/models.js";
4
+ import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
5
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
6
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
+ export function _listByPlaywrightWorkspaceSend(context, resourceGroupName, playwrightWorkspaceName, options = {
8
+ requestOptions: {},
9
+ }) {
10
+ var _a, _b;
11
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}/quotas{?api%2Dversion}", {
12
+ subscriptionId: context.subscriptionId,
13
+ resourceGroupName: resourceGroupName,
14
+ playwrightWorkspaceName: playwrightWorkspaceName,
15
+ "api%2Dversion": context.apiVersion,
16
+ }, {
17
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
18
+ });
19
+ return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
20
+ }
21
+ export async function _listByPlaywrightWorkspaceDeserialize(result) {
22
+ const expectedStatuses = ["200"];
23
+ if (!expectedStatuses.includes(result.status)) {
24
+ const error = createRestError(result);
25
+ error.details = errorResponseDeserializer(result.body);
26
+ throw error;
27
+ }
28
+ return _playwrightWorkspaceQuotaListResultDeserializer(result.body);
29
+ }
30
+ /** List quota resources for a given Playwright workspace resource. */
31
+ export function listByPlaywrightWorkspace(context, resourceGroupName, playwrightWorkspaceName, options = {
32
+ requestOptions: {},
33
+ }) {
34
+ return buildPagedAsyncIterator(context, () => _listByPlaywrightWorkspaceSend(context, resourceGroupName, playwrightWorkspaceName, options), _listByPlaywrightWorkspaceDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
35
+ }
36
+ export function _getSend(context, resourceGroupName, playwrightWorkspaceName, quotaName, options = { requestOptions: {} }) {
37
+ var _a, _b;
38
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}/quotas/{quotaName}{?api%2Dversion}", {
39
+ subscriptionId: context.subscriptionId,
40
+ resourceGroupName: resourceGroupName,
41
+ playwrightWorkspaceName: playwrightWorkspaceName,
42
+ quotaName: quotaName,
43
+ "api%2Dversion": context.apiVersion,
44
+ }, {
45
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
46
+ });
47
+ return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
48
+ }
49
+ export async function _getDeserialize(result) {
50
+ const expectedStatuses = ["200"];
51
+ if (!expectedStatuses.includes(result.status)) {
52
+ const error = createRestError(result);
53
+ error.details = errorResponseDeserializer(result.body);
54
+ throw error;
55
+ }
56
+ return playwrightWorkspaceQuotaDeserializer(result.body);
57
+ }
58
+ /** Get Playwright workspace quota resource by name. */
59
+ export async function get(context, resourceGroupName, playwrightWorkspaceName, quotaName, options = { requestOptions: {} }) {
60
+ const result = await _getSend(context, resourceGroupName, playwrightWorkspaceName, quotaName, options);
61
+ return _getDeserialize(result);
62
+ }
63
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/playwrightWorksp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gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,oCAAoC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC3D,CAAC;AAED,uDAAuD;AACvD,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,uBAA+B,EAC/B,SAAoB,EACpB,UAAsD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE5E,MAAM,MAAM,GAAG,MAAM,QAAQ,CAC3B,OAAO,EACP,iBAAiB,EACjB,uBAAuB,EACvB,SAAS,EACT,OAAO,CACR,CAAC;IACF,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { PlaywrightManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n QuotaName,\n PlaywrightWorkspaceQuota,\n playwrightWorkspaceQuotaDeserializer,\n _PlaywrightWorkspaceQuotaListResult,\n _playwrightWorkspaceQuotaListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams,\n PlaywrightWorkspaceQuotasGetOptionalParams,\n} from \"./options.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.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 _listByPlaywrightWorkspaceSend(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options: PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}/quotas{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n playwrightWorkspaceName: playwrightWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listByPlaywrightWorkspaceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PlaywrightWorkspaceQuotaListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _playwrightWorkspaceQuotaListResultDeserializer(result.body);\n}\n\n/** List quota resources for a given Playwright workspace resource. */\nexport function listByPlaywrightWorkspace(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options: PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PlaywrightWorkspaceQuota> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _listByPlaywrightWorkspaceSend(context, resourceGroupName, playwrightWorkspaceName, options),\n _listByPlaywrightWorkspaceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n quotaName: QuotaName,\n options: PlaywrightWorkspaceQuotasGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}/quotas/{quotaName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n playwrightWorkspaceName: playwrightWorkspaceName,\n quotaName: quotaName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<PlaywrightWorkspaceQuota> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return playwrightWorkspaceQuotaDeserializer(result.body);\n}\n\n/** Get Playwright workspace quota resource by name. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n quotaName: QuotaName,\n options: PlaywrightWorkspaceQuotasGetOptionalParams = { requestOptions: {} },\n): Promise<PlaywrightWorkspaceQuota> {\n const result = await _getSend(\n context,\n resourceGroupName,\n playwrightWorkspaceName,\n quotaName,\n options,\n );\n return _getDeserialize(result);\n}\n"]}
@@ -0,0 +1,8 @@
1
+ import { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams extends OperationOptions {
4
+ }
5
+ /** Optional parameters. */
6
+ export interface PlaywrightWorkspaceQuotasGetOptionalParams extends OperationOptions {
7
+ }
8
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/playwrightWorkspaceQuotas/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams\n extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface PlaywrightWorkspaceQuotasGetOptionalParams extends OperationOptions {}\n"]}
@@ -0,0 +1,3 @@
1
+ export { checkNameAvailability, listBySubscription, listByResourceGroup, $delete, update, createOrUpdate, get, } from "./operations.js";
2
+ export { PlaywrightWorkspacesCheckNameAvailabilityOptionalParams, PlaywrightWorkspacesListBySubscriptionOptionalParams, PlaywrightWorkspacesListByResourceGroupOptionalParams, PlaywrightWorkspacesDeleteOptionalParams, PlaywrightWorkspacesUpdateOptionalParams, PlaywrightWorkspacesCreateOrUpdateOptionalParams, PlaywrightWorkspacesGetOptionalParams, } from "./options.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { checkNameAvailability, listBySubscription, listByResourceGroup, $delete, update, createOrUpdate, get, } from "./operations.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/playwrightWorkspaces/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,cAAc,EACd,GAAG,GACJ,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n checkNameAvailability,\n listBySubscription,\n listByResourceGroup,\n $delete,\n update,\n createOrUpdate,\n get,\n} from \"./operations.js\";\nexport {\n PlaywrightWorkspacesCheckNameAvailabilityOptionalParams,\n PlaywrightWorkspacesListBySubscriptionOptionalParams,\n PlaywrightWorkspacesListByResourceGroupOptionalParams,\n PlaywrightWorkspacesDeleteOptionalParams,\n PlaywrightWorkspacesUpdateOptionalParams,\n PlaywrightWorkspacesCreateOrUpdateOptionalParams,\n PlaywrightWorkspacesGetOptionalParams,\n} from \"./options.js\";\n"]}