@azure/arm-powerbidedicated 4.0.2-alpha.20250218.1 → 4.0.2-alpha.20250220.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 (363) hide show
  1. package/README.md +21 -12
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/dist/browser/lroImpl.js +25 -0
  7. package/dist/browser/lroImpl.js.map +1 -0
  8. package/dist/browser/models/index.js.map +1 -0
  9. package/dist/browser/models/mappers.js.map +1 -0
  10. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  11. package/dist/browser/models/parameters.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/operations/autoScaleVCores.d.ts +3 -3
  13. package/dist/browser/operations/autoScaleVCores.d.ts.map +1 -0
  14. package/{dist-esm/src → dist/browser}/operations/autoScaleVCores.js +2 -2
  15. package/dist/browser/operations/autoScaleVCores.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/capacities.d.ts +3 -3
  17. package/dist/browser/operations/capacities.d.ts.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/capacities.js +169 -189
  19. package/dist/browser/operations/capacities.js.map +1 -0
  20. package/dist/browser/operations/index.d.ts +4 -0
  21. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  22. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +3 -3
  23. package/dist/browser/operations/index.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  25. package/dist/browser/operations/operations.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  27. package/dist/browser/operations/operations.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operationsInterfaces/autoScaleVCores.d.ts +1 -1
  29. package/dist/browser/operationsInterfaces/autoScaleVCores.d.ts.map +1 -0
  30. package/dist/browser/operationsInterfaces/autoScaleVCores.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operationsInterfaces/capacities.d.ts +1 -1
  32. package/dist/browser/operationsInterfaces/capacities.d.ts.map +1 -0
  33. package/dist/browser/operationsInterfaces/capacities.js.map +1 -0
  34. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  35. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  36. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +3 -3
  37. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  39. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  40. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  41. package/dist/browser/package.json +3 -0
  42. package/dist/browser/pagingHelper.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/powerBIDedicated.d.ts +2 -2
  44. package/dist/browser/powerBIDedicated.d.ts.map +1 -0
  45. package/{dist-esm/src → dist/browser}/powerBIDedicated.js +15 -18
  46. package/dist/browser/powerBIDedicated.js.map +1 -0
  47. package/dist/commonjs/index.d.ts +5 -0
  48. package/dist/commonjs/index.d.ts.map +1 -0
  49. package/dist/commonjs/index.js +19 -0
  50. package/dist/commonjs/index.js.map +1 -0
  51. package/dist/commonjs/lroImpl.d.ts +16 -0
  52. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  53. package/dist/commonjs/lroImpl.js +29 -0
  54. package/dist/commonjs/lroImpl.js.map +1 -0
  55. package/dist/commonjs/models/index.d.ts +541 -0
  56. package/dist/commonjs/models/index.d.ts.map +1 -0
  57. package/dist/commonjs/models/index.js +109 -0
  58. package/dist/commonjs/models/index.js.map +1 -0
  59. package/dist/commonjs/models/mappers.d.ts +27 -0
  60. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  61. package/dist/commonjs/models/mappers.js +635 -0
  62. package/dist/commonjs/models/mappers.js.map +1 -0
  63. package/dist/commonjs/models/parameters.d.ts +17 -0
  64. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  65. package/dist/commonjs/models/parameters.js +152 -0
  66. package/dist/commonjs/models/parameters.js.map +1 -0
  67. package/dist/commonjs/operations/autoScaleVCores.d.ts +81 -0
  68. package/dist/commonjs/operations/autoScaleVCores.d.ts.map +1 -0
  69. package/dist/commonjs/operations/autoScaleVCores.js +313 -0
  70. package/dist/commonjs/operations/autoScaleVCores.js.map +1 -0
  71. package/dist/commonjs/operations/capacities.d.ts +169 -0
  72. package/dist/commonjs/operations/capacities.d.ts.map +1 -0
  73. package/dist/commonjs/operations/capacities.js +695 -0
  74. package/dist/commonjs/operations/capacities.js.map +1 -0
  75. package/dist/commonjs/operations/index.d.ts +4 -0
  76. package/dist/commonjs/operations/index.d.ts.map +1 -0
  77. package/dist/commonjs/operations/index.js +14 -0
  78. package/dist/commonjs/operations/index.js.map +1 -0
  79. package/dist/commonjs/operations/operations.d.ts +32 -0
  80. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  81. package/dist/commonjs/operations/operations.js +137 -0
  82. package/dist/commonjs/operations/operations.js.map +1 -0
  83. package/dist/commonjs/operationsInterfaces/autoScaleVCores.d.ts +57 -0
  84. package/dist/commonjs/operationsInterfaces/autoScaleVCores.d.ts.map +1 -0
  85. package/dist/commonjs/operationsInterfaces/autoScaleVCores.js +10 -0
  86. package/dist/commonjs/operationsInterfaces/autoScaleVCores.js.map +1 -0
  87. package/dist/commonjs/operationsInterfaces/capacities.d.ts +145 -0
  88. package/dist/commonjs/operationsInterfaces/capacities.d.ts.map +1 -0
  89. package/dist/commonjs/operationsInterfaces/capacities.js +10 -0
  90. package/dist/commonjs/operationsInterfaces/capacities.js.map +1 -0
  91. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
  92. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  93. package/dist/commonjs/operationsInterfaces/index.js +14 -0
  94. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  95. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  96. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  97. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  98. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  99. package/dist/commonjs/package.json +3 -0
  100. package/dist/commonjs/pagingHelper.d.ts +13 -0
  101. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  102. package/dist/commonjs/pagingHelper.js +36 -0
  103. package/dist/commonjs/pagingHelper.js.map +1 -0
  104. package/dist/commonjs/powerBIDedicated.d.ts +23 -0
  105. package/dist/commonjs/powerBIDedicated.d.ts.map +1 -0
  106. package/dist/commonjs/powerBIDedicated.js +105 -0
  107. package/dist/commonjs/powerBIDedicated.js.map +1 -0
  108. package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
  109. package/dist/esm/index.d.ts +5 -0
  110. package/dist/esm/index.d.ts.map +1 -0
  111. package/{src/index.ts → dist/esm/index.js} +5 -5
  112. package/dist/esm/index.js.map +1 -0
  113. package/dist/esm/lroImpl.d.ts +16 -0
  114. package/dist/esm/lroImpl.d.ts.map +1 -0
  115. package/dist/esm/lroImpl.js +25 -0
  116. package/dist/esm/lroImpl.js.map +1 -0
  117. package/dist/esm/models/index.d.ts +541 -0
  118. package/dist/esm/models/index.d.ts.map +1 -0
  119. package/dist/esm/models/index.js +106 -0
  120. package/dist/esm/models/index.js.map +1 -0
  121. package/dist/esm/models/mappers.d.ts +27 -0
  122. package/dist/esm/models/mappers.d.ts.map +1 -0
  123. package/dist/esm/models/mappers.js +632 -0
  124. package/dist/esm/models/mappers.js.map +1 -0
  125. package/dist/esm/models/parameters.d.ts +17 -0
  126. package/dist/esm/models/parameters.d.ts.map +1 -0
  127. package/dist/esm/models/parameters.js +149 -0
  128. package/dist/esm/models/parameters.js.map +1 -0
  129. package/dist/esm/operations/autoScaleVCores.d.ts +81 -0
  130. package/dist/esm/operations/autoScaleVCores.d.ts.map +1 -0
  131. package/dist/esm/operations/autoScaleVCores.js +309 -0
  132. package/dist/esm/operations/autoScaleVCores.js.map +1 -0
  133. package/dist/esm/operations/capacities.d.ts +169 -0
  134. package/dist/esm/operations/capacities.d.ts.map +1 -0
  135. package/dist/esm/operations/capacities.js +691 -0
  136. package/dist/esm/operations/capacities.js.map +1 -0
  137. package/dist/esm/operations/index.d.ts +4 -0
  138. package/dist/esm/operations/index.d.ts.map +1 -0
  139. package/dist/esm/operations/index.js +11 -0
  140. package/dist/esm/operations/index.js.map +1 -0
  141. package/dist/esm/operations/operations.d.ts +32 -0
  142. package/dist/esm/operations/operations.d.ts.map +1 -0
  143. package/dist/esm/operations/operations.js +133 -0
  144. package/dist/esm/operations/operations.js.map +1 -0
  145. package/dist/esm/operationsInterfaces/autoScaleVCores.d.ts +57 -0
  146. package/dist/esm/operationsInterfaces/autoScaleVCores.d.ts.map +1 -0
  147. package/{src/operations/index.ts → dist/esm/operationsInterfaces/autoScaleVCores.js} +2 -4
  148. package/dist/esm/operationsInterfaces/autoScaleVCores.js.map +1 -0
  149. package/dist/esm/operationsInterfaces/capacities.d.ts +145 -0
  150. package/dist/esm/operationsInterfaces/capacities.d.ts.map +1 -0
  151. package/dist/esm/operationsInterfaces/capacities.js +9 -0
  152. package/dist/esm/operationsInterfaces/capacities.js.map +1 -0
  153. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  154. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  155. package/dist/esm/operationsInterfaces/index.js +11 -0
  156. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  157. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  158. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  159. package/dist/esm/operationsInterfaces/operations.js +9 -0
  160. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  161. package/dist/esm/package.json +3 -0
  162. package/dist/esm/pagingHelper.d.ts +13 -0
  163. package/dist/esm/pagingHelper.d.ts.map +1 -0
  164. package/dist/esm/pagingHelper.js +32 -0
  165. package/dist/esm/pagingHelper.js.map +1 -0
  166. package/dist/esm/powerBIDedicated.d.ts +23 -0
  167. package/dist/esm/powerBIDedicated.d.ts.map +1 -0
  168. package/dist/esm/powerBIDedicated.js +100 -0
  169. package/dist/esm/powerBIDedicated.js.map +1 -0
  170. package/dist/react-native/index.d.ts +5 -0
  171. package/dist/react-native/index.d.ts.map +1 -0
  172. package/dist/react-native/index.js +13 -0
  173. package/dist/react-native/index.js.map +1 -0
  174. package/dist/react-native/lroImpl.d.ts +16 -0
  175. package/dist/react-native/lroImpl.d.ts.map +1 -0
  176. package/dist/react-native/lroImpl.js +25 -0
  177. package/dist/react-native/lroImpl.js.map +1 -0
  178. package/dist/react-native/models/index.d.ts +541 -0
  179. package/dist/react-native/models/index.d.ts.map +1 -0
  180. package/dist/react-native/models/index.js +106 -0
  181. package/dist/react-native/models/index.js.map +1 -0
  182. package/dist/react-native/models/mappers.d.ts +27 -0
  183. package/dist/react-native/models/mappers.d.ts.map +1 -0
  184. package/dist/react-native/models/mappers.js +632 -0
  185. package/dist/react-native/models/mappers.js.map +1 -0
  186. package/dist/react-native/models/parameters.d.ts +17 -0
  187. package/dist/react-native/models/parameters.d.ts.map +1 -0
  188. package/dist/react-native/models/parameters.js +149 -0
  189. package/dist/react-native/models/parameters.js.map +1 -0
  190. package/dist/react-native/operations/autoScaleVCores.d.ts +81 -0
  191. package/dist/react-native/operations/autoScaleVCores.d.ts.map +1 -0
  192. package/dist/react-native/operations/autoScaleVCores.js +309 -0
  193. package/dist/react-native/operations/autoScaleVCores.js.map +1 -0
  194. package/dist/react-native/operations/capacities.d.ts +169 -0
  195. package/dist/react-native/operations/capacities.d.ts.map +1 -0
  196. package/dist/react-native/operations/capacities.js +691 -0
  197. package/dist/react-native/operations/capacities.js.map +1 -0
  198. package/dist/react-native/operations/index.d.ts +4 -0
  199. package/dist/react-native/operations/index.d.ts.map +1 -0
  200. package/dist/react-native/operations/index.js +11 -0
  201. package/dist/react-native/operations/index.js.map +1 -0
  202. package/dist/react-native/operations/operations.d.ts +32 -0
  203. package/dist/react-native/operations/operations.d.ts.map +1 -0
  204. package/dist/react-native/operations/operations.js +133 -0
  205. package/dist/react-native/operations/operations.js.map +1 -0
  206. package/dist/react-native/operationsInterfaces/autoScaleVCores.d.ts +57 -0
  207. package/dist/react-native/operationsInterfaces/autoScaleVCores.d.ts.map +1 -0
  208. package/dist/react-native/operationsInterfaces/autoScaleVCores.js +9 -0
  209. package/dist/react-native/operationsInterfaces/autoScaleVCores.js.map +1 -0
  210. package/dist/react-native/operationsInterfaces/capacities.d.ts +145 -0
  211. package/dist/react-native/operationsInterfaces/capacities.d.ts.map +1 -0
  212. package/dist/react-native/operationsInterfaces/capacities.js +9 -0
  213. package/dist/react-native/operationsInterfaces/capacities.js.map +1 -0
  214. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  215. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  216. package/dist/react-native/operationsInterfaces/index.js +11 -0
  217. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  218. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  219. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  220. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  221. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  222. package/dist/react-native/package.json +3 -0
  223. package/dist/react-native/pagingHelper.d.ts +13 -0
  224. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  225. package/dist/react-native/pagingHelper.js +32 -0
  226. package/dist/react-native/pagingHelper.js.map +1 -0
  227. package/dist/react-native/powerBIDedicated.d.ts +23 -0
  228. package/dist/react-native/powerBIDedicated.d.ts.map +1 -0
  229. package/dist/react-native/powerBIDedicated.js +100 -0
  230. package/dist/react-native/powerBIDedicated.js.map +1 -0
  231. package/package.json +70 -41
  232. package/dist/index.js +0 -2244
  233. package/dist/index.js.map +0 -1
  234. package/dist/index.min.js +0 -1
  235. package/dist/index.min.js.map +0 -1
  236. package/dist-esm/samples-dev/autoScaleVCoresCreateSample.d.ts +0 -2
  237. package/dist-esm/samples-dev/autoScaleVCoresCreateSample.d.ts.map +0 -1
  238. package/dist-esm/samples-dev/autoScaleVCoresCreateSample.js +0 -36
  239. package/dist-esm/samples-dev/autoScaleVCoresCreateSample.js.map +0 -1
  240. package/dist-esm/samples-dev/autoScaleVCoresDeleteSample.d.ts +0 -2
  241. package/dist-esm/samples-dev/autoScaleVCoresDeleteSample.d.ts.map +0 -1
  242. package/dist-esm/samples-dev/autoScaleVCoresDeleteSample.js +0 -36
  243. package/dist-esm/samples-dev/autoScaleVCoresDeleteSample.js.map +0 -1
  244. package/dist-esm/samples-dev/autoScaleVCoresGetSample.d.ts +0 -2
  245. package/dist-esm/samples-dev/autoScaleVCoresGetSample.d.ts.map +0 -1
  246. package/dist-esm/samples-dev/autoScaleVCoresGetSample.js +0 -36
  247. package/dist-esm/samples-dev/autoScaleVCoresGetSample.js.map +0 -1
  248. package/dist-esm/samples-dev/autoScaleVCoresListByResourceGroupSample.d.ts +0 -2
  249. package/dist-esm/samples-dev/autoScaleVCoresListByResourceGroupSample.d.ts.map +0 -1
  250. package/dist-esm/samples-dev/autoScaleVCoresListByResourceGroupSample.js +0 -51
  251. package/dist-esm/samples-dev/autoScaleVCoresListByResourceGroupSample.js.map +0 -1
  252. package/dist-esm/samples-dev/autoScaleVCoresListBySubscriptionSample.d.ts +0 -2
  253. package/dist-esm/samples-dev/autoScaleVCoresListBySubscriptionSample.d.ts.map +0 -1
  254. package/dist-esm/samples-dev/autoScaleVCoresListBySubscriptionSample.js +0 -50
  255. package/dist-esm/samples-dev/autoScaleVCoresListBySubscriptionSample.js.map +0 -1
  256. package/dist-esm/samples-dev/autoScaleVCoresUpdateSample.d.ts +0 -2
  257. package/dist-esm/samples-dev/autoScaleVCoresUpdateSample.d.ts.map +0 -1
  258. package/dist-esm/samples-dev/autoScaleVCoresUpdateSample.js +0 -34
  259. package/dist-esm/samples-dev/autoScaleVCoresUpdateSample.js.map +0 -1
  260. package/dist-esm/samples-dev/capacitiesCheckNameAvailabilitySample.d.ts +0 -2
  261. package/dist-esm/samples-dev/capacitiesCheckNameAvailabilitySample.d.ts.map +0 -1
  262. package/dist-esm/samples-dev/capacitiesCheckNameAvailabilitySample.js +0 -32
  263. package/dist-esm/samples-dev/capacitiesCheckNameAvailabilitySample.js.map +0 -1
  264. package/dist-esm/samples-dev/capacitiesCreateSample.d.ts +0 -2
  265. package/dist-esm/samples-dev/capacitiesCreateSample.d.ts.map +0 -1
  266. package/dist-esm/samples-dev/capacitiesCreateSample.js +0 -37
  267. package/dist-esm/samples-dev/capacitiesCreateSample.js.map +0 -1
  268. package/dist-esm/samples-dev/capacitiesDeleteSample.d.ts +0 -2
  269. package/dist-esm/samples-dev/capacitiesDeleteSample.d.ts.map +0 -1
  270. package/dist-esm/samples-dev/capacitiesDeleteSample.js +0 -36
  271. package/dist-esm/samples-dev/capacitiesDeleteSample.js.map +0 -1
  272. package/dist-esm/samples-dev/capacitiesGetDetailsSample.d.ts +0 -2
  273. package/dist-esm/samples-dev/capacitiesGetDetailsSample.d.ts.map +0 -1
  274. package/dist-esm/samples-dev/capacitiesGetDetailsSample.js +0 -36
  275. package/dist-esm/samples-dev/capacitiesGetDetailsSample.js.map +0 -1
  276. package/dist-esm/samples-dev/capacitiesListByResourceGroupSample.d.ts +0 -2
  277. package/dist-esm/samples-dev/capacitiesListByResourceGroupSample.d.ts.map +0 -1
  278. package/dist-esm/samples-dev/capacitiesListByResourceGroupSample.js +0 -51
  279. package/dist-esm/samples-dev/capacitiesListByResourceGroupSample.js.map +0 -1
  280. package/dist-esm/samples-dev/capacitiesListSample.d.ts +0 -2
  281. package/dist-esm/samples-dev/capacitiesListSample.d.ts.map +0 -1
  282. package/dist-esm/samples-dev/capacitiesListSample.js +0 -50
  283. package/dist-esm/samples-dev/capacitiesListSample.js.map +0 -1
  284. package/dist-esm/samples-dev/capacitiesListSkusForCapacitySample.d.ts +0 -2
  285. package/dist-esm/samples-dev/capacitiesListSkusForCapacitySample.d.ts.map +0 -1
  286. package/dist-esm/samples-dev/capacitiesListSkusForCapacitySample.js +0 -36
  287. package/dist-esm/samples-dev/capacitiesListSkusForCapacitySample.js.map +0 -1
  288. package/dist-esm/samples-dev/capacitiesListSkusSample.d.ts +0 -2
  289. package/dist-esm/samples-dev/capacitiesListSkusSample.d.ts.map +0 -1
  290. package/dist-esm/samples-dev/capacitiesListSkusSample.js +0 -34
  291. package/dist-esm/samples-dev/capacitiesListSkusSample.js.map +0 -1
  292. package/dist-esm/samples-dev/capacitiesResumeSample.d.ts +0 -2
  293. package/dist-esm/samples-dev/capacitiesResumeSample.d.ts.map +0 -1
  294. package/dist-esm/samples-dev/capacitiesResumeSample.js +0 -36
  295. package/dist-esm/samples-dev/capacitiesResumeSample.js.map +0 -1
  296. package/dist-esm/samples-dev/capacitiesSuspendSample.d.ts +0 -2
  297. package/dist-esm/samples-dev/capacitiesSuspendSample.d.ts.map +0 -1
  298. package/dist-esm/samples-dev/capacitiesSuspendSample.js +0 -36
  299. package/dist-esm/samples-dev/capacitiesSuspendSample.js.map +0 -1
  300. package/dist-esm/samples-dev/capacitiesUpdateSample.d.ts +0 -2
  301. package/dist-esm/samples-dev/capacitiesUpdateSample.d.ts.map +0 -1
  302. package/dist-esm/samples-dev/capacitiesUpdateSample.js +0 -59
  303. package/dist-esm/samples-dev/capacitiesUpdateSample.js.map +0 -1
  304. package/dist-esm/src/index.d.ts +0 -5
  305. package/dist-esm/src/index.js.map +0 -1
  306. package/dist-esm/src/lroImpl.js +0 -29
  307. package/dist-esm/src/lroImpl.js.map +0 -1
  308. package/dist-esm/src/models/index.js.map +0 -1
  309. package/dist-esm/src/models/mappers.js.map +0 -1
  310. package/dist-esm/src/models/parameters.js.map +0 -1
  311. package/dist-esm/src/operations/autoScaleVCores.d.ts.map +0 -1
  312. package/dist-esm/src/operations/autoScaleVCores.js.map +0 -1
  313. package/dist-esm/src/operations/capacities.d.ts.map +0 -1
  314. package/dist-esm/src/operations/capacities.js.map +0 -1
  315. package/dist-esm/src/operations/index.d.ts +0 -4
  316. package/dist-esm/src/operations/index.js.map +0 -1
  317. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  318. package/dist-esm/src/operations/operations.js.map +0 -1
  319. package/dist-esm/src/operationsInterfaces/autoScaleVCores.d.ts.map +0 -1
  320. package/dist-esm/src/operationsInterfaces/autoScaleVCores.js.map +0 -1
  321. package/dist-esm/src/operationsInterfaces/capacities.d.ts.map +0 -1
  322. package/dist-esm/src/operationsInterfaces/capacities.js.map +0 -1
  323. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
  324. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  325. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  326. package/dist-esm/src/pagingHelper.js.map +0 -1
  327. package/dist-esm/src/powerBIDedicated.d.ts.map +0 -1
  328. package/dist-esm/src/powerBIDedicated.js.map +0 -1
  329. package/dist-esm/test/sampleTest.d.ts +0 -2
  330. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  331. package/dist-esm/test/sampleTest.js +0 -42
  332. package/dist-esm/test/sampleTest.js.map +0 -1
  333. package/src/lroImpl.ts +0 -34
  334. package/src/models/index.ts +0 -624
  335. package/src/models/mappers.ts +0 -679
  336. package/src/models/parameters.ts +0 -175
  337. package/src/operations/autoScaleVCores.ts +0 -379
  338. package/src/operations/capacities.ts +0 -956
  339. package/src/operations/operations.ts +0 -149
  340. package/src/operationsInterfaces/autoScaleVCores.ts +0 -101
  341. package/src/operationsInterfaces/capacities.ts +0 -248
  342. package/src/operationsInterfaces/index.ts +0 -11
  343. package/src/operationsInterfaces/operations.ts +0 -22
  344. package/src/pagingHelper.ts +0 -39
  345. package/src/powerBIDedicated.ts +0 -153
  346. package/tsconfig.json +0 -33
  347. package/types/arm-powerbidedicated.d.ts +0 -854
  348. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  349. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  350. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  351. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  352. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  353. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  354. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  355. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  356. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  357. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  358. /package/{dist-esm/src → dist/browser}/operationsInterfaces/autoScaleVCores.js +0 -0
  359. /package/{dist-esm/src → dist/browser}/operationsInterfaces/capacities.js +0 -0
  360. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  361. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  362. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  363. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capacities.js","sourceRoot":"","sources":["../../../src/operations/capacities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AA0BxC,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;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U,CAAC,mBAAmB;IAC3C,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { Capacities } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { PowerBIDedicated } from \"../powerBIDedicated.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n DedicatedCapacity,\n CapacitiesListByResourceGroupOptionalParams,\n CapacitiesListByResourceGroupResponse,\n CapacitiesListOptionalParams,\n CapacitiesListResponse,\n CapacitiesGetDetailsOptionalParams,\n CapacitiesGetDetailsResponse,\n CapacitiesCreateOptionalParams,\n CapacitiesCreateResponse,\n CapacitiesDeleteOptionalParams,\n DedicatedCapacityUpdateParameters,\n CapacitiesUpdateOptionalParams,\n CapacitiesUpdateResponse,\n CapacitiesSuspendOptionalParams,\n CapacitiesResumeOptionalParams,\n CapacitiesListSkusOptionalParams,\n CapacitiesListSkusResponse,\n CapacitiesListSkusForCapacityOptionalParams,\n CapacitiesListSkusForCapacityResponse,\n CheckCapacityNameAvailabilityParameters,\n CapacitiesCheckNameAvailabilityOptionalParams,\n CapacitiesCheckNameAvailabilityResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Capacities operations. */\nexport class CapacitiesImpl implements Capacities {\n private readonly client: PowerBIDedicated;\n\n /**\n * Initialize a new instance of the class Capacities class.\n * @param client Reference to the service client\n */\n constructor(client: PowerBIDedicated) {\n this.client = client;\n }\n\n /**\n * Gets all the Dedicated capacities for the given resource group.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: CapacitiesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<DedicatedCapacity> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: CapacitiesListByResourceGroupOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<DedicatedCapacity[]> {\n let result: CapacitiesListByResourceGroupResponse;\n result = await this._listByResourceGroup(resourceGroupName, options);\n yield result.value || [];\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: CapacitiesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<DedicatedCapacity> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the Dedicated capacities for the given subscription.\n * @param options The options parameters.\n */\n public list(\n options?: CapacitiesListOptionalParams\n ): PagedAsyncIterableIterator<DedicatedCapacity> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: CapacitiesListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<DedicatedCapacity[]> {\n let result: CapacitiesListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: CapacitiesListOptionalParams\n ): AsyncIterableIterator<DedicatedCapacity> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets details about the specified dedicated capacity.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the dedicated capacity. It must be a minimum of 3\n * characters, and a maximum of 63.\n * @param options The options parameters.\n */\n getDetails(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesGetDetailsOptionalParams\n ): Promise<CapacitiesGetDetailsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, dedicatedCapacityName, options },\n getDetailsOperationSpec\n );\n }\n\n /**\n * Provisions the specified Dedicated capacity based on the configuration specified in the request.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be a minimum of 3\n * characters, and a maximum of 63.\n * @param capacityParameters Contains the information used to provision the Dedicated capacity.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n capacityParameters: DedicatedCapacity,\n options?: CapacitiesCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CapacitiesCreateResponse>,\n CapacitiesCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<CapacitiesCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, dedicatedCapacityName, capacityParameters, options },\n createOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Provisions the specified Dedicated capacity based on the configuration specified in the request.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be a minimum of 3\n * characters, and a maximum of 63.\n * @param capacityParameters Contains the information used to provision the Dedicated capacity.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n capacityParameters: DedicatedCapacity,\n options?: CapacitiesCreateOptionalParams\n ): Promise<CapacitiesCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n dedicatedCapacityName,\n capacityParameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified Dedicated capacity.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, dedicatedCapacityName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified Dedicated capacity.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n dedicatedCapacityName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates the current state of the specified Dedicated capacity.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param capacityUpdateParameters Request object that contains the updated information for the\n * capacity.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n capacityUpdateParameters: DedicatedCapacityUpdateParameters,\n options?: CapacitiesUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CapacitiesUpdateResponse>,\n CapacitiesUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<CapacitiesUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n dedicatedCapacityName,\n capacityUpdateParameters,\n options\n },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates the current state of the specified Dedicated capacity.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param capacityUpdateParameters Request object that contains the updated information for the\n * capacity.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n capacityUpdateParameters: DedicatedCapacityUpdateParameters,\n options?: CapacitiesUpdateOptionalParams\n ): Promise<CapacitiesUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n dedicatedCapacityName,\n capacityUpdateParameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Suspends operation of the specified dedicated capacity instance.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param options The options parameters.\n */\n async beginSuspend(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesSuspendOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, dedicatedCapacityName, options },\n suspendOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Suspends operation of the specified dedicated capacity instance.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param options The options parameters.\n */\n async beginSuspendAndWait(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesSuspendOptionalParams\n ): Promise<void> {\n const poller = await this.beginSuspend(\n resourceGroupName,\n dedicatedCapacityName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Resumes operation of the specified Dedicated capacity instance.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param options The options parameters.\n */\n async beginResume(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesResumeOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, dedicatedCapacityName, options },\n resumeOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Resumes operation of the specified Dedicated capacity instance.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param options The options parameters.\n */\n async beginResumeAndWait(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesResumeOptionalParams\n ): Promise<void> {\n const poller = await this.beginResume(\n resourceGroupName,\n dedicatedCapacityName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets all the Dedicated capacities for the given resource group.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: CapacitiesListByResourceGroupOptionalParams\n ): Promise<CapacitiesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Lists all the Dedicated capacities for the given subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: CapacitiesListOptionalParams\n ): Promise<CapacitiesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Lists eligible SKUs for PowerBI Dedicated resource provider.\n * @param options The options parameters.\n */\n listSkus(\n options?: CapacitiesListSkusOptionalParams\n ): Promise<CapacitiesListSkusResponse> {\n return this.client.sendOperationRequest({ options }, listSkusOperationSpec);\n }\n\n /**\n * Lists eligible SKUs for a PowerBI Dedicated resource.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param options The options parameters.\n */\n listSkusForCapacity(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesListSkusForCapacityOptionalParams\n ): Promise<CapacitiesListSkusForCapacityResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, dedicatedCapacityName, options },\n listSkusForCapacityOperationSpec\n );\n }\n\n /**\n * Check the name availability in the target location.\n * @param location The region name which the operation will lookup into.\n * @param capacityParameters The name of the capacity.\n * @param options The options parameters.\n */\n checkNameAvailability(\n location: string,\n capacityParameters: CheckCapacityNameAvailabilityParameters,\n options?: CapacitiesCheckNameAvailabilityOptionalParams\n ): Promise<CapacitiesCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { location, capacityParameters, options },\n checkNameAvailabilityOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getDetailsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DedicatedCapacity\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.dedicatedCapacityName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DedicatedCapacity\n },\n 201: {\n bodyMapper: Mappers.DedicatedCapacity\n },\n 202: {\n bodyMapper: Mappers.DedicatedCapacity\n },\n 204: {\n bodyMapper: Mappers.DedicatedCapacity\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.capacityParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.dedicatedCapacityName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.dedicatedCapacityName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.DedicatedCapacity\n },\n 201: {\n bodyMapper: Mappers.DedicatedCapacity\n },\n 202: {\n bodyMapper: Mappers.DedicatedCapacity\n },\n 204: {\n bodyMapper: Mappers.DedicatedCapacity\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.capacityUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.dedicatedCapacityName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst suspendOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}/suspend\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.dedicatedCapacityName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst resumeOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}/resume\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.dedicatedCapacityName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DedicatedCapacities\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/capacities\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DedicatedCapacities\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listSkusOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/skus\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SkuEnumerationForNewResourceResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listSkusForCapacityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}/skus\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SkuEnumerationForExistingResourceResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.dedicatedCapacityName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/locations/{location}/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckCapacityNameAvailabilityResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.capacityParameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
@@ -0,0 +1,4 @@
1
+ export * from "./capacities.js";
2
+ export * from "./operations.js";
3
+ export * from "./autoScaleVCores.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./capacities.js";
9
+ export * from "./operations.js";
10
+ export * from "./autoScaleVCores.js";
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./capacities.js\";\nexport * from \"./operations.js\";\nexport * from \"./autoScaleVCores.js\";\n"]}
@@ -0,0 +1,32 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operations } from "../operationsInterfaces/index.js";
3
+ import { PowerBIDedicated } from "../powerBIDedicated.js";
4
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
5
+ /** Class containing Operations operations. */
6
+ export declare class OperationsImpl implements Operations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Operations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: PowerBIDedicated);
13
+ /**
14
+ * Lists all of the available PowerBIDedicated REST API operations.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Lists all of the available PowerBIDedicated REST API operations.
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ /**
26
+ * ListNext
27
+ * @param nextLink The nextLink from the previous successful call to the List method.
28
+ * @param options The options parameters.
29
+ */
30
+ private _listNext;
31
+ }
32
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAE1C;;;OAGG;gBACS,MAAM,EAAE,gBAAgB;IAIpC;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -0,0 +1,133 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
+ /// <reference lib="esnext.asynciterable" />
14
+ /** Class containing Operations operations. */
15
+ export class OperationsImpl {
16
+ /**
17
+ * Initialize a new instance of the class Operations class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Lists all of the available PowerBIDedicated REST API operations.
25
+ * @param options The options parameters.
26
+ */
27
+ list(options) {
28
+ const iter = this.listPagingAll(options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: (settings) => {
37
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
38
+ throw new Error("maxPageSize is not supported by this operation.");
39
+ }
40
+ return this.listPagingPage(options, settings);
41
+ }
42
+ };
43
+ }
44
+ listPagingPage(options, settings) {
45
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
46
+ let result;
47
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
48
+ if (!continuationToken) {
49
+ result = yield __await(this._list(options));
50
+ let page = result.value || [];
51
+ continuationToken = result.nextLink;
52
+ setContinuationToken(page, continuationToken);
53
+ yield yield __await(page);
54
+ }
55
+ while (continuationToken) {
56
+ result = yield __await(this._listNext(continuationToken, options));
57
+ continuationToken = result.nextLink;
58
+ let page = result.value || [];
59
+ setContinuationToken(page, continuationToken);
60
+ yield yield __await(page);
61
+ }
62
+ });
63
+ }
64
+ listPagingAll(options) {
65
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
66
+ var _a, e_1, _b, _c;
67
+ try {
68
+ for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
69
+ _c = _f.value;
70
+ _d = false;
71
+ const page = _c;
72
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
73
+ }
74
+ }
75
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
76
+ finally {
77
+ try {
78
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
79
+ }
80
+ finally { if (e_1) throw e_1.error; }
81
+ }
82
+ });
83
+ }
84
+ /**
85
+ * Lists all of the available PowerBIDedicated REST API operations.
86
+ * @param options The options parameters.
87
+ */
88
+ _list(options) {
89
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
90
+ }
91
+ /**
92
+ * ListNext
93
+ * @param nextLink The nextLink from the previous successful call to the List method.
94
+ * @param options The options parameters.
95
+ */
96
+ _listNext(nextLink, options) {
97
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
98
+ }
99
+ }
100
+ // Operation Specifications
101
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
102
+ const listOperationSpec = {
103
+ path: "/providers/Microsoft.PowerBIDedicated/operations",
104
+ httpMethod: "GET",
105
+ responses: {
106
+ 200: {
107
+ bodyMapper: Mappers.OperationListResult
108
+ },
109
+ default: {
110
+ bodyMapper: Mappers.ErrorResponse
111
+ }
112
+ },
113
+ queryParameters: [Parameters.apiVersion],
114
+ urlParameters: [Parameters.$host],
115
+ headerParameters: [Parameters.accept],
116
+ serializer
117
+ };
118
+ const listNextOperationSpec = {
119
+ path: "{nextLink}",
120
+ httpMethod: "GET",
121
+ responses: {
122
+ 200: {
123
+ bodyMapper: Mappers.OperationListResult
124
+ },
125
+ default: {
126
+ bodyMapper: Mappers.ErrorResponse
127
+ }
128
+ },
129
+ urlParameters: [Parameters.$host, Parameters.nextLink],
130
+ headerParameters: [Parameters.accept],
131
+ serializer
132
+ };
133
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,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U,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { PowerBIDedicated } from \"../powerBIDedicated.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: PowerBIDedicated;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: PowerBIDedicated) {\n this.client = client;\n }\n\n /**\n * Lists all of the available PowerBIDedicated REST API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available PowerBIDedicated REST API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.PowerBIDedicated/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,57 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { AutoScaleVCore, AutoScaleVCoresListByResourceGroupOptionalParams, AutoScaleVCoresListBySubscriptionOptionalParams, AutoScaleVCoresGetOptionalParams, AutoScaleVCoresGetResponse, AutoScaleVCoresCreateOptionalParams, AutoScaleVCoresCreateResponse, AutoScaleVCoresDeleteOptionalParams, AutoScaleVCoreUpdateParameters, AutoScaleVCoresUpdateOptionalParams, AutoScaleVCoresUpdateResponse } from "../models/index.js";
3
+ /** Interface representing a AutoScaleVCores. */
4
+ export interface AutoScaleVCores {
5
+ /**
6
+ * Gets all the auto scale v-cores for the given resource group.
7
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
8
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
9
+ * @param options The options parameters.
10
+ */
11
+ listByResourceGroup(resourceGroupName: string, options?: AutoScaleVCoresListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AutoScaleVCore>;
12
+ /**
13
+ * Lists all the auto scale v-cores for the given subscription.
14
+ * @param options The options parameters.
15
+ */
16
+ listBySubscription(options?: AutoScaleVCoresListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AutoScaleVCore>;
17
+ /**
18
+ * Gets details about the specified auto scale v-core.
19
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
20
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
21
+ * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
22
+ * maximum of 63.
23
+ * @param options The options parameters.
24
+ */
25
+ get(resourceGroupName: string, vcoreName: string, options?: AutoScaleVCoresGetOptionalParams): Promise<AutoScaleVCoresGetResponse>;
26
+ /**
27
+ * Provisions the specified auto scale v-core based on the configuration specified in the request.
28
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
29
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
30
+ * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
31
+ * maximum of 63.
32
+ * @param vCoreParameters Contains the information used to provision the auto scale v-core.
33
+ * @param options The options parameters.
34
+ */
35
+ create(resourceGroupName: string, vcoreName: string, vCoreParameters: AutoScaleVCore, options?: AutoScaleVCoresCreateOptionalParams): Promise<AutoScaleVCoresCreateResponse>;
36
+ /**
37
+ * Deletes the specified auto scale v-core.
38
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
39
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
40
+ * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
41
+ * maximum of 63.
42
+ * @param options The options parameters.
43
+ */
44
+ delete(resourceGroupName: string, vcoreName: string, options?: AutoScaleVCoresDeleteOptionalParams): Promise<void>;
45
+ /**
46
+ * Updates the current state of the specified auto scale v-core.
47
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
48
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
49
+ * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
50
+ * maximum of 63.
51
+ * @param vCoreUpdateParameters Request object that contains the updated information for the auto scale
52
+ * v-core.
53
+ * @param options The options parameters.
54
+ */
55
+ update(resourceGroupName: string, vcoreName: string, vCoreUpdateParameters: AutoScaleVCoreUpdateParameters, options?: AutoScaleVCoresUpdateOptionalParams): Promise<AutoScaleVCoresUpdateResponse>;
56
+ }
57
+ //# sourceMappingURL=autoScaleVCores.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoScaleVCores.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/autoScaleVCores.ts"],"names":[],"mappings":"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right (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=autoScaleVCores.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoScaleVCores.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/autoScaleVCores.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n AutoScaleVCore,\n AutoScaleVCoresListByResourceGroupOptionalParams,\n AutoScaleVCoresListBySubscriptionOptionalParams,\n AutoScaleVCoresGetOptionalParams,\n AutoScaleVCoresGetResponse,\n AutoScaleVCoresCreateOptionalParams,\n AutoScaleVCoresCreateResponse,\n AutoScaleVCoresDeleteOptionalParams,\n AutoScaleVCoreUpdateParameters,\n AutoScaleVCoresUpdateOptionalParams,\n AutoScaleVCoresUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AutoScaleVCores. */\nexport interface AutoScaleVCores {\n /**\n * Gets all the auto scale v-cores for the given resource group.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: AutoScaleVCoresListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<AutoScaleVCore>;\n /**\n * Lists all the auto scale v-cores for the given subscription.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: AutoScaleVCoresListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<AutoScaleVCore>;\n /**\n * Gets details about the specified auto scale v-core.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a\n * maximum of 63.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n vcoreName: string,\n options?: AutoScaleVCoresGetOptionalParams\n ): Promise<AutoScaleVCoresGetResponse>;\n /**\n * Provisions the specified auto scale v-core based on the configuration specified in the request.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a\n * maximum of 63.\n * @param vCoreParameters Contains the information used to provision the auto scale v-core.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n vcoreName: string,\n vCoreParameters: AutoScaleVCore,\n options?: AutoScaleVCoresCreateOptionalParams\n ): Promise<AutoScaleVCoresCreateResponse>;\n /**\n * Deletes the specified auto scale v-core.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a\n * maximum of 63.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n vcoreName: string,\n options?: AutoScaleVCoresDeleteOptionalParams\n ): Promise<void>;\n /**\n * Updates the current state of the specified auto scale v-core.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a\n * maximum of 63.\n * @param vCoreUpdateParameters Request object that contains the updated information for the auto scale\n * v-core.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n vcoreName: string,\n vCoreUpdateParameters: AutoScaleVCoreUpdateParameters,\n options?: AutoScaleVCoresUpdateOptionalParams\n ): Promise<AutoScaleVCoresUpdateResponse>;\n}\n"]}
@@ -0,0 +1,145 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { DedicatedCapacity, CapacitiesListByResourceGroupOptionalParams, CapacitiesListOptionalParams, CapacitiesGetDetailsOptionalParams, CapacitiesGetDetailsResponse, CapacitiesCreateOptionalParams, CapacitiesCreateResponse, CapacitiesDeleteOptionalParams, DedicatedCapacityUpdateParameters, CapacitiesUpdateOptionalParams, CapacitiesUpdateResponse, CapacitiesSuspendOptionalParams, CapacitiesResumeOptionalParams, CapacitiesListSkusOptionalParams, CapacitiesListSkusResponse, CapacitiesListSkusForCapacityOptionalParams, CapacitiesListSkusForCapacityResponse, CheckCapacityNameAvailabilityParameters, CapacitiesCheckNameAvailabilityOptionalParams, CapacitiesCheckNameAvailabilityResponse } from "../models/index.js";
4
+ /** Interface representing a Capacities. */
5
+ export interface Capacities {
6
+ /**
7
+ * Gets all the Dedicated capacities for the given resource group.
8
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
9
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
10
+ * @param options The options parameters.
11
+ */
12
+ listByResourceGroup(resourceGroupName: string, options?: CapacitiesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DedicatedCapacity>;
13
+ /**
14
+ * Lists all the Dedicated capacities for the given subscription.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: CapacitiesListOptionalParams): PagedAsyncIterableIterator<DedicatedCapacity>;
18
+ /**
19
+ * Gets details about the specified dedicated capacity.
20
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
21
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
22
+ * @param dedicatedCapacityName The name of the dedicated capacity. It must be a minimum of 3
23
+ * characters, and a maximum of 63.
24
+ * @param options The options parameters.
25
+ */
26
+ getDetails(resourceGroupName: string, dedicatedCapacityName: string, options?: CapacitiesGetDetailsOptionalParams): Promise<CapacitiesGetDetailsResponse>;
27
+ /**
28
+ * Provisions the specified Dedicated capacity based on the configuration specified in the request.
29
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
30
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
31
+ * @param dedicatedCapacityName The name of the Dedicated capacity. It must be a minimum of 3
32
+ * characters, and a maximum of 63.
33
+ * @param capacityParameters Contains the information used to provision the Dedicated capacity.
34
+ * @param options The options parameters.
35
+ */
36
+ beginCreate(resourceGroupName: string, dedicatedCapacityName: string, capacityParameters: DedicatedCapacity, options?: CapacitiesCreateOptionalParams): Promise<PollerLike<PollOperationState<CapacitiesCreateResponse>, CapacitiesCreateResponse>>;
37
+ /**
38
+ * Provisions the specified Dedicated capacity based on the configuration specified in the request.
39
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
40
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
41
+ * @param dedicatedCapacityName The name of the Dedicated capacity. It must be a minimum of 3
42
+ * characters, and a maximum of 63.
43
+ * @param capacityParameters Contains the information used to provision the Dedicated capacity.
44
+ * @param options The options parameters.
45
+ */
46
+ beginCreateAndWait(resourceGroupName: string, dedicatedCapacityName: string, capacityParameters: DedicatedCapacity, options?: CapacitiesCreateOptionalParams): Promise<CapacitiesCreateResponse>;
47
+ /**
48
+ * Deletes the specified Dedicated capacity.
49
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
50
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
51
+ * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
52
+ * length, and no more than 63.
53
+ * @param options The options parameters.
54
+ */
55
+ beginDelete(resourceGroupName: string, dedicatedCapacityName: string, options?: CapacitiesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
56
+ /**
57
+ * Deletes the specified Dedicated capacity.
58
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
59
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
60
+ * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
61
+ * length, and no more than 63.
62
+ * @param options The options parameters.
63
+ */
64
+ beginDeleteAndWait(resourceGroupName: string, dedicatedCapacityName: string, options?: CapacitiesDeleteOptionalParams): Promise<void>;
65
+ /**
66
+ * Updates the current state of the specified Dedicated capacity.
67
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
68
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
69
+ * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
70
+ * length, and no more than 63.
71
+ * @param capacityUpdateParameters Request object that contains the updated information for the
72
+ * capacity.
73
+ * @param options The options parameters.
74
+ */
75
+ beginUpdate(resourceGroupName: string, dedicatedCapacityName: string, capacityUpdateParameters: DedicatedCapacityUpdateParameters, options?: CapacitiesUpdateOptionalParams): Promise<PollerLike<PollOperationState<CapacitiesUpdateResponse>, CapacitiesUpdateResponse>>;
76
+ /**
77
+ * Updates the current state of the specified Dedicated capacity.
78
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
79
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
80
+ * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
81
+ * length, and no more than 63.
82
+ * @param capacityUpdateParameters Request object that contains the updated information for the
83
+ * capacity.
84
+ * @param options The options parameters.
85
+ */
86
+ beginUpdateAndWait(resourceGroupName: string, dedicatedCapacityName: string, capacityUpdateParameters: DedicatedCapacityUpdateParameters, options?: CapacitiesUpdateOptionalParams): Promise<CapacitiesUpdateResponse>;
87
+ /**
88
+ * Suspends operation of the specified dedicated capacity instance.
89
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
90
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
91
+ * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
92
+ * length, and no more than 63.
93
+ * @param options The options parameters.
94
+ */
95
+ beginSuspend(resourceGroupName: string, dedicatedCapacityName: string, options?: CapacitiesSuspendOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
96
+ /**
97
+ * Suspends operation of the specified dedicated capacity instance.
98
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
99
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
100
+ * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
101
+ * length, and no more than 63.
102
+ * @param options The options parameters.
103
+ */
104
+ beginSuspendAndWait(resourceGroupName: string, dedicatedCapacityName: string, options?: CapacitiesSuspendOptionalParams): Promise<void>;
105
+ /**
106
+ * Resumes operation of the specified Dedicated capacity instance.
107
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
108
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
109
+ * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
110
+ * length, and no more than 63.
111
+ * @param options The options parameters.
112
+ */
113
+ beginResume(resourceGroupName: string, dedicatedCapacityName: string, options?: CapacitiesResumeOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
114
+ /**
115
+ * Resumes operation of the specified Dedicated capacity instance.
116
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
117
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
118
+ * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
119
+ * length, and no more than 63.
120
+ * @param options The options parameters.
121
+ */
122
+ beginResumeAndWait(resourceGroupName: string, dedicatedCapacityName: string, options?: CapacitiesResumeOptionalParams): Promise<void>;
123
+ /**
124
+ * Lists eligible SKUs for PowerBI Dedicated resource provider.
125
+ * @param options The options parameters.
126
+ */
127
+ listSkus(options?: CapacitiesListSkusOptionalParams): Promise<CapacitiesListSkusResponse>;
128
+ /**
129
+ * Lists eligible SKUs for a PowerBI Dedicated resource.
130
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
131
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
132
+ * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
133
+ * length, and no more than 63.
134
+ * @param options The options parameters.
135
+ */
136
+ listSkusForCapacity(resourceGroupName: string, dedicatedCapacityName: string, options?: CapacitiesListSkusForCapacityOptionalParams): Promise<CapacitiesListSkusForCapacityResponse>;
137
+ /**
138
+ * Check the name availability in the target location.
139
+ * @param location The region name which the operation will lookup into.
140
+ * @param capacityParameters The name of the capacity.
141
+ * @param options The options parameters.
142
+ */
143
+ checkNameAvailability(location: string, capacityParameters: CheckCapacityNameAvailabilityParameters, options?: CapacitiesCheckNameAvailabilityOptionalParams): Promise<CapacitiesCheckNameAvailabilityResponse>;
144
+ }
145
+ //# sourceMappingURL=capacities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capacities.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/capacities.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,iBAAiB,EACjB,2CAA2C,EAC3C,4BAA4B,EAC5B,kCAAkC,EAClC,4BAA4B,EAC5B,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,iCAAiC,EACjC,8BAA8B,EAC9B,wBAAwB,EACxB,+BAA+B,EAC/B,8BAA8B,EAC9B,gCAAgC,EAChC,0BAA0B,EAC1B,2CAA2C,EAC3C,qCAAqC,EACrC,uCAAuC,EACvC,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;IACjD;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC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,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC,CAAC;CACrD"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=capacities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capacities.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/capacities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n DedicatedCapacity,\n CapacitiesListByResourceGroupOptionalParams,\n CapacitiesListOptionalParams,\n CapacitiesGetDetailsOptionalParams,\n CapacitiesGetDetailsResponse,\n CapacitiesCreateOptionalParams,\n CapacitiesCreateResponse,\n CapacitiesDeleteOptionalParams,\n DedicatedCapacityUpdateParameters,\n CapacitiesUpdateOptionalParams,\n CapacitiesUpdateResponse,\n CapacitiesSuspendOptionalParams,\n CapacitiesResumeOptionalParams,\n CapacitiesListSkusOptionalParams,\n CapacitiesListSkusResponse,\n CapacitiesListSkusForCapacityOptionalParams,\n CapacitiesListSkusForCapacityResponse,\n CheckCapacityNameAvailabilityParameters,\n CapacitiesCheckNameAvailabilityOptionalParams,\n CapacitiesCheckNameAvailabilityResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Capacities. */\nexport interface Capacities {\n /**\n * Gets all the Dedicated capacities for the given resource group.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: CapacitiesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<DedicatedCapacity>;\n /**\n * Lists all the Dedicated capacities for the given subscription.\n * @param options The options parameters.\n */\n list(\n options?: CapacitiesListOptionalParams\n ): PagedAsyncIterableIterator<DedicatedCapacity>;\n /**\n * Gets details about the specified dedicated capacity.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the dedicated capacity. It must be a minimum of 3\n * characters, and a maximum of 63.\n * @param options The options parameters.\n */\n getDetails(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesGetDetailsOptionalParams\n ): Promise<CapacitiesGetDetailsResponse>;\n /**\n * Provisions the specified Dedicated capacity based on the configuration specified in the request.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be a minimum of 3\n * characters, and a maximum of 63.\n * @param capacityParameters Contains the information used to provision the Dedicated capacity.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n capacityParameters: DedicatedCapacity,\n options?: CapacitiesCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CapacitiesCreateResponse>,\n CapacitiesCreateResponse\n >\n >;\n /**\n * Provisions the specified Dedicated capacity based on the configuration specified in the request.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be a minimum of 3\n * characters, and a maximum of 63.\n * @param capacityParameters Contains the information used to provision the Dedicated capacity.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n capacityParameters: DedicatedCapacity,\n options?: CapacitiesCreateOptionalParams\n ): Promise<CapacitiesCreateResponse>;\n /**\n * Deletes the specified Dedicated capacity.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * Deletes the specified Dedicated capacity.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesDeleteOptionalParams\n ): Promise<void>;\n /**\n * Updates the current state of the specified Dedicated capacity.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param capacityUpdateParameters Request object that contains the updated information for the\n * capacity.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n capacityUpdateParameters: DedicatedCapacityUpdateParameters,\n options?: CapacitiesUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CapacitiesUpdateResponse>,\n CapacitiesUpdateResponse\n >\n >;\n /**\n * Updates the current state of the specified Dedicated capacity.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param capacityUpdateParameters Request object that contains the updated information for the\n * capacity.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n capacityUpdateParameters: DedicatedCapacityUpdateParameters,\n options?: CapacitiesUpdateOptionalParams\n ): Promise<CapacitiesUpdateResponse>;\n /**\n * Suspends operation of the specified dedicated capacity instance.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param options The options parameters.\n */\n beginSuspend(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesSuspendOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * Suspends operation of the specified dedicated capacity instance.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param options The options parameters.\n */\n beginSuspendAndWait(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesSuspendOptionalParams\n ): Promise<void>;\n /**\n * Resumes operation of the specified Dedicated capacity instance.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param options The options parameters.\n */\n beginResume(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesResumeOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * Resumes operation of the specified Dedicated capacity instance.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param options The options parameters.\n */\n beginResumeAndWait(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesResumeOptionalParams\n ): Promise<void>;\n /**\n * Lists eligible SKUs for PowerBI Dedicated resource provider.\n * @param options The options parameters.\n */\n listSkus(\n options?: CapacitiesListSkusOptionalParams\n ): Promise<CapacitiesListSkusResponse>;\n /**\n * Lists eligible SKUs for a PowerBI Dedicated resource.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in\n * length, and no more than 63.\n * @param options The options parameters.\n */\n listSkusForCapacity(\n resourceGroupName: string,\n dedicatedCapacityName: string,\n options?: CapacitiesListSkusForCapacityOptionalParams\n ): Promise<CapacitiesListSkusForCapacityResponse>;\n /**\n * Check the name availability in the target location.\n * @param location The region name which the operation will lookup into.\n * @param capacityParameters The name of the capacity.\n * @param options The options parameters.\n */\n checkNameAvailability(\n location: string,\n capacityParameters: CheckCapacityNameAvailabilityParameters,\n options?: CapacitiesCheckNameAvailabilityOptionalParams\n ): Promise<CapacitiesCheckNameAvailabilityResponse>;\n}\n"]}