@azure/arm-powerbidedicated 4.0.2-alpha.20250217.1 → 4.0.2-alpha.20250219.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,17 @@
1
+ import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
2
+ export declare const accept: OperationParameter;
3
+ export declare const $host: OperationURLParameter;
4
+ export declare const resourceGroupName: OperationURLParameter;
5
+ export declare const dedicatedCapacityName: OperationURLParameter;
6
+ export declare const apiVersion: OperationQueryParameter;
7
+ export declare const subscriptionId: OperationURLParameter;
8
+ export declare const contentType: OperationParameter;
9
+ export declare const capacityParameters: OperationParameter;
10
+ export declare const capacityUpdateParameters: OperationParameter;
11
+ export declare const capacityParameters1: OperationParameter;
12
+ export declare const location: OperationURLParameter;
13
+ export declare const nextLink: OperationURLParameter;
14
+ export declare const vcoreName: OperationURLParameter;
15
+ export declare const vCoreParameters: OperationParameter;
16
+ export declare const vCoreUpdateParameters: OperationParameter;
17
+ //# sourceMappingURL=parameters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAS5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAc/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,qBAcnC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,kBAGhC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,kBAGtC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,kBAGjC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAStB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAcvB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,kBAG7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,kBAGnC,CAAC"}
@@ -0,0 +1,152 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.vCoreUpdateParameters = exports.vCoreParameters = exports.vcoreName = exports.nextLink = exports.location = exports.capacityParameters1 = exports.capacityUpdateParameters = exports.capacityParameters = exports.contentType = exports.subscriptionId = exports.apiVersion = exports.dedicatedCapacityName = exports.resourceGroupName = exports.$host = exports.accept = void 0;
11
+ const mappers_js_1 = require("../models/mappers.js");
12
+ exports.accept = {
13
+ parameterPath: "accept",
14
+ mapper: {
15
+ defaultValue: "application/json",
16
+ isConstant: true,
17
+ serializedName: "Accept",
18
+ type: {
19
+ name: "String"
20
+ }
21
+ }
22
+ };
23
+ exports.$host = {
24
+ parameterPath: "$host",
25
+ mapper: {
26
+ serializedName: "$host",
27
+ required: true,
28
+ type: {
29
+ name: "String"
30
+ }
31
+ },
32
+ skipEncoding: true
33
+ };
34
+ exports.resourceGroupName = {
35
+ parameterPath: "resourceGroupName",
36
+ mapper: {
37
+ constraints: {
38
+ Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"),
39
+ MaxLength: 90,
40
+ MinLength: 1
41
+ },
42
+ serializedName: "resourceGroupName",
43
+ required: true,
44
+ type: {
45
+ name: "String"
46
+ }
47
+ }
48
+ };
49
+ exports.dedicatedCapacityName = {
50
+ parameterPath: "dedicatedCapacityName",
51
+ mapper: {
52
+ constraints: {
53
+ Pattern: new RegExp("^[a-z][a-z0-9]*$"),
54
+ MaxLength: 63,
55
+ MinLength: 3
56
+ },
57
+ serializedName: "dedicatedCapacityName",
58
+ required: true,
59
+ type: {
60
+ name: "String"
61
+ }
62
+ }
63
+ };
64
+ exports.apiVersion = {
65
+ parameterPath: "apiVersion",
66
+ mapper: {
67
+ defaultValue: "2021-01-01",
68
+ isConstant: true,
69
+ serializedName: "api-version",
70
+ type: {
71
+ name: "String"
72
+ }
73
+ }
74
+ };
75
+ exports.subscriptionId = {
76
+ parameterPath: "subscriptionId",
77
+ mapper: {
78
+ serializedName: "subscriptionId",
79
+ required: true,
80
+ type: {
81
+ name: "String"
82
+ }
83
+ }
84
+ };
85
+ exports.contentType = {
86
+ parameterPath: ["options", "contentType"],
87
+ mapper: {
88
+ defaultValue: "application/json",
89
+ isConstant: true,
90
+ serializedName: "Content-Type",
91
+ type: {
92
+ name: "String"
93
+ }
94
+ }
95
+ };
96
+ exports.capacityParameters = {
97
+ parameterPath: "capacityParameters",
98
+ mapper: mappers_js_1.DedicatedCapacity
99
+ };
100
+ exports.capacityUpdateParameters = {
101
+ parameterPath: "capacityUpdateParameters",
102
+ mapper: mappers_js_1.DedicatedCapacityUpdateParameters
103
+ };
104
+ exports.capacityParameters1 = {
105
+ parameterPath: "capacityParameters",
106
+ mapper: mappers_js_1.CheckCapacityNameAvailabilityParameters
107
+ };
108
+ exports.location = {
109
+ parameterPath: "location",
110
+ mapper: {
111
+ serializedName: "location",
112
+ required: true,
113
+ type: {
114
+ name: "String"
115
+ }
116
+ }
117
+ };
118
+ exports.nextLink = {
119
+ parameterPath: "nextLink",
120
+ mapper: {
121
+ serializedName: "nextLink",
122
+ required: true,
123
+ type: {
124
+ name: "String"
125
+ }
126
+ },
127
+ skipEncoding: true
128
+ };
129
+ exports.vcoreName = {
130
+ parameterPath: "vcoreName",
131
+ mapper: {
132
+ constraints: {
133
+ Pattern: new RegExp("^[-a-zA-Z0-9_]+$"),
134
+ MaxLength: 63,
135
+ MinLength: 3
136
+ },
137
+ serializedName: "vcoreName",
138
+ required: true,
139
+ type: {
140
+ name: "String"
141
+ }
142
+ }
143
+ };
144
+ exports.vCoreParameters = {
145
+ parameterPath: "vCoreParameters",
146
+ mapper: mappers_js_1.AutoScaleVCore
147
+ };
148
+ exports.vCoreUpdateParameters = {
149
+ parameterPath: "vCoreUpdateParameters",
150
+ mapper: mappers_js_1.AutoScaleVCoreUpdateParameters
151
+ };
152
+ //# sourceMappingURL=parameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAM8B;AAEjB,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc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F;CACF,CAAC;AAEW,QAAA,eAAe,GAAuB;IACjD,aAAa,EAAE,iBAAiB;IAChC,MAAM,EAAE,2BAAoB;CAC7B,CAAC;AAEW,QAAA,qBAAqB,GAAuB;IACvD,aAAa,EAAE,uBAAuB;IACtC,MAAM,EAAE,2CAAoC;CAC7C,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n DedicatedCapacity as DedicatedCapacityMapper,\n DedicatedCapacityUpdateParameters as DedicatedCapacityUpdateParametersMapper,\n CheckCapacityNameAvailabilityParameters as CheckCapacityNameAvailabilityParametersMapper,\n AutoScaleVCore as AutoScaleVCoreMapper,\n AutoScaleVCoreUpdateParameters as AutoScaleVCoreUpdateParametersMapper\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const dedicatedCapacityName: OperationURLParameter = {\n parameterPath: \"dedicatedCapacityName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-z][a-z0-9]*$\"),\n MaxLength: 63,\n MinLength: 3\n },\n serializedName: \"dedicatedCapacityName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-01-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const capacityParameters: OperationParameter = {\n parameterPath: \"capacityParameters\",\n mapper: DedicatedCapacityMapper\n};\n\nexport const capacityUpdateParameters: OperationParameter = {\n parameterPath: \"capacityUpdateParameters\",\n mapper: DedicatedCapacityUpdateParametersMapper\n};\n\nexport const capacityParameters1: OperationParameter = {\n parameterPath: \"capacityParameters\",\n mapper: CheckCapacityNameAvailabilityParametersMapper\n};\n\nexport const location: OperationURLParameter = {\n parameterPath: \"location\",\n mapper: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const vcoreName: OperationURLParameter = {\n parameterPath: \"vcoreName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-a-zA-Z0-9_]+$\"),\n MaxLength: 63,\n MinLength: 3\n },\n serializedName: \"vcoreName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const vCoreParameters: OperationParameter = {\n parameterPath: \"vCoreParameters\",\n mapper: AutoScaleVCoreMapper\n};\n\nexport const vCoreUpdateParameters: OperationParameter = {\n parameterPath: \"vCoreUpdateParameters\",\n mapper: AutoScaleVCoreUpdateParametersMapper\n};\n"]}
@@ -0,0 +1,81 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { AutoScaleVCores } from "../operationsInterfaces/index.js";
3
+ import { PowerBIDedicated } from "../powerBIDedicated.js";
4
+ import { AutoScaleVCore, AutoScaleVCoresListByResourceGroupOptionalParams, AutoScaleVCoresListBySubscriptionOptionalParams, AutoScaleVCoresGetOptionalParams, AutoScaleVCoresGetResponse, AutoScaleVCoresCreateOptionalParams, AutoScaleVCoresCreateResponse, AutoScaleVCoresDeleteOptionalParams, AutoScaleVCoreUpdateParameters, AutoScaleVCoresUpdateOptionalParams, AutoScaleVCoresUpdateResponse } from "../models/index.js";
5
+ /** Class containing AutoScaleVCores operations. */
6
+ export declare class AutoScaleVCoresImpl implements AutoScaleVCores {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class AutoScaleVCores class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: PowerBIDedicated);
13
+ /**
14
+ * Gets all the auto scale v-cores for the given resource group.
15
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
16
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
17
+ * @param options The options parameters.
18
+ */
19
+ listByResourceGroup(resourceGroupName: string, options?: AutoScaleVCoresListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AutoScaleVCore>;
20
+ private listByResourceGroupPagingPage;
21
+ private listByResourceGroupPagingAll;
22
+ /**
23
+ * Lists all the auto scale v-cores for the given subscription.
24
+ * @param options The options parameters.
25
+ */
26
+ listBySubscription(options?: AutoScaleVCoresListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AutoScaleVCore>;
27
+ private listBySubscriptionPagingPage;
28
+ private listBySubscriptionPagingAll;
29
+ /**
30
+ * Gets details about the specified auto scale v-core.
31
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
32
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
33
+ * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
34
+ * maximum of 63.
35
+ * @param options The options parameters.
36
+ */
37
+ get(resourceGroupName: string, vcoreName: string, options?: AutoScaleVCoresGetOptionalParams): Promise<AutoScaleVCoresGetResponse>;
38
+ /**
39
+ * Provisions the specified auto scale v-core based on the configuration specified in the request.
40
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
41
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
42
+ * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
43
+ * maximum of 63.
44
+ * @param vCoreParameters Contains the information used to provision the auto scale v-core.
45
+ * @param options The options parameters.
46
+ */
47
+ create(resourceGroupName: string, vcoreName: string, vCoreParameters: AutoScaleVCore, options?: AutoScaleVCoresCreateOptionalParams): Promise<AutoScaleVCoresCreateResponse>;
48
+ /**
49
+ * Deletes the specified auto scale v-core.
50
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
51
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
52
+ * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
53
+ * maximum of 63.
54
+ * @param options The options parameters.
55
+ */
56
+ delete(resourceGroupName: string, vcoreName: string, options?: AutoScaleVCoresDeleteOptionalParams): Promise<void>;
57
+ /**
58
+ * Updates the current state of the specified auto scale v-core.
59
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
60
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
61
+ * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
62
+ * maximum of 63.
63
+ * @param vCoreUpdateParameters Request object that contains the updated information for the auto scale
64
+ * v-core.
65
+ * @param options The options parameters.
66
+ */
67
+ update(resourceGroupName: string, vcoreName: string, vCoreUpdateParameters: AutoScaleVCoreUpdateParameters, options?: AutoScaleVCoresUpdateOptionalParams): Promise<AutoScaleVCoresUpdateResponse>;
68
+ /**
69
+ * Gets all the auto scale v-cores for the given resource group.
70
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
71
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
72
+ * @param options The options parameters.
73
+ */
74
+ private _listByResourceGroup;
75
+ /**
76
+ * Lists all the auto scale v-cores for the given subscription.
77
+ * @param options The options parameters.
78
+ */
79
+ private _listBySubscription;
80
+ }
81
+ //# sourceMappingURL=autoScaleVCores.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoScaleVCores.d.ts","sourceRoot":"","sources":["../../../src/operations/autoScaleVCores.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EACL,cAAc,EACd,gDAAgD,EAEhD,+CAA+C,EAE/C,gCAAgC,EAChC,0BAA0B,EAC1B,mCAAmC,EACnC,6BAA6B,EAC7B,mCAAmC,EACnC,8BAA8B,EAC9B,mCAAmC,EACnC,6BAA6B,EAC9B,MAAM,oBAAoB,CAAC;AAG5B,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAE1C;;;OAGG;gBACS,MAAM,EAAE,gBAAgB;IAIpC;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,gDAAgD,GACzD,0BAA0B,CAAC,cAAc,CAAC;YAsB9B,6BAA6B;YAU7B,4BAA4B;IAY3C;;;OAGG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,cAAc,CAAC;YAkB9B,4BAA4B;YAS5B,2BAA2B;IAQ1C;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,eAAe,EAAE,cAAc,EAC/B,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC;IAOzC;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,qBAAqB,EAAE,8BAA8B,EACrD,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC;IAOzC;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;CAQ5B"}
@@ -0,0 +1,313 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.AutoScaleVCoresImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Class containing AutoScaleVCores operations. */
17
+ class AutoScaleVCoresImpl {
18
+ /**
19
+ * Initialize a new instance of the class AutoScaleVCores class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * Gets all the auto scale v-cores for the given resource group.
27
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
28
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
29
+ * @param options The options parameters.
30
+ */
31
+ listByResourceGroup(resourceGroupName, options) {
32
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
33
+ return {
34
+ next() {
35
+ return iter.next();
36
+ },
37
+ [Symbol.asyncIterator]() {
38
+ return this;
39
+ },
40
+ byPage: (settings) => {
41
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
42
+ throw new Error("maxPageSize is not supported by this operation.");
43
+ }
44
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
45
+ }
46
+ };
47
+ }
48
+ listByResourceGroupPagingPage(resourceGroupName, options, _settings) {
49
+ return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
50
+ let result;
51
+ result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
52
+ yield yield tslib_1.__await(result.value || []);
53
+ });
54
+ }
55
+ listByResourceGroupPagingAll(resourceGroupName, options) {
56
+ return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
57
+ var _a, e_1, _b, _c;
58
+ try {
59
+ for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
60
+ _c = _f.value;
61
+ _d = false;
62
+ const page = _c;
63
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
64
+ }
65
+ }
66
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
67
+ finally {
68
+ try {
69
+ if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
70
+ }
71
+ finally { if (e_1) throw e_1.error; }
72
+ }
73
+ });
74
+ }
75
+ /**
76
+ * Lists all the auto scale v-cores for the given subscription.
77
+ * @param options The options parameters.
78
+ */
79
+ listBySubscription(options) {
80
+ const iter = this.listBySubscriptionPagingAll(options);
81
+ return {
82
+ next() {
83
+ return iter.next();
84
+ },
85
+ [Symbol.asyncIterator]() {
86
+ return this;
87
+ },
88
+ byPage: (settings) => {
89
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
90
+ throw new Error("maxPageSize is not supported by this operation.");
91
+ }
92
+ return this.listBySubscriptionPagingPage(options, settings);
93
+ }
94
+ };
95
+ }
96
+ listBySubscriptionPagingPage(options, _settings) {
97
+ return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
98
+ let result;
99
+ result = yield tslib_1.__await(this._listBySubscription(options));
100
+ yield yield tslib_1.__await(result.value || []);
101
+ });
102
+ }
103
+ listBySubscriptionPagingAll(options) {
104
+ return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
105
+ var _a, e_2, _b, _c;
106
+ try {
107
+ for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
108
+ _c = _f.value;
109
+ _d = false;
110
+ const page = _c;
111
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
112
+ }
113
+ }
114
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
115
+ finally {
116
+ try {
117
+ if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
118
+ }
119
+ finally { if (e_2) throw e_2.error; }
120
+ }
121
+ });
122
+ }
123
+ /**
124
+ * Gets details about the specified auto scale v-core.
125
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
126
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
127
+ * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
128
+ * maximum of 63.
129
+ * @param options The options parameters.
130
+ */
131
+ get(resourceGroupName, vcoreName, options) {
132
+ return this.client.sendOperationRequest({ resourceGroupName, vcoreName, options }, getOperationSpec);
133
+ }
134
+ /**
135
+ * Provisions the specified auto scale v-core based on the configuration specified in the request.
136
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
137
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
138
+ * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
139
+ * maximum of 63.
140
+ * @param vCoreParameters Contains the information used to provision the auto scale v-core.
141
+ * @param options The options parameters.
142
+ */
143
+ create(resourceGroupName, vcoreName, vCoreParameters, options) {
144
+ return this.client.sendOperationRequest({ resourceGroupName, vcoreName, vCoreParameters, options }, createOperationSpec);
145
+ }
146
+ /**
147
+ * Deletes the specified auto scale v-core.
148
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
149
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
150
+ * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
151
+ * maximum of 63.
152
+ * @param options The options parameters.
153
+ */
154
+ delete(resourceGroupName, vcoreName, options) {
155
+ return this.client.sendOperationRequest({ resourceGroupName, vcoreName, options }, deleteOperationSpec);
156
+ }
157
+ /**
158
+ * Updates the current state of the specified auto scale v-core.
159
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
160
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
161
+ * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
162
+ * maximum of 63.
163
+ * @param vCoreUpdateParameters Request object that contains the updated information for the auto scale
164
+ * v-core.
165
+ * @param options The options parameters.
166
+ */
167
+ update(resourceGroupName, vcoreName, vCoreUpdateParameters, options) {
168
+ return this.client.sendOperationRequest({ resourceGroupName, vcoreName, vCoreUpdateParameters, options }, updateOperationSpec);
169
+ }
170
+ /**
171
+ * Gets all the auto scale v-cores for the given resource group.
172
+ * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
173
+ * capacity is part. This name must be at least 1 character in length, and no more than 90.
174
+ * @param options The options parameters.
175
+ */
176
+ _listByResourceGroup(resourceGroupName, options) {
177
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
178
+ }
179
+ /**
180
+ * Lists all the auto scale v-cores for the given subscription.
181
+ * @param options The options parameters.
182
+ */
183
+ _listBySubscription(options) {
184
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
185
+ }
186
+ }
187
+ exports.AutoScaleVCoresImpl = AutoScaleVCoresImpl;
188
+ // Operation Specifications
189
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
190
+ const getOperationSpec = {
191
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}",
192
+ httpMethod: "GET",
193
+ responses: {
194
+ 200: {
195
+ bodyMapper: Mappers.AutoScaleVCore
196
+ },
197
+ default: {
198
+ bodyMapper: Mappers.ErrorResponse
199
+ }
200
+ },
201
+ queryParameters: [Parameters.apiVersion],
202
+ urlParameters: [
203
+ Parameters.$host,
204
+ Parameters.resourceGroupName,
205
+ Parameters.subscriptionId,
206
+ Parameters.vcoreName
207
+ ],
208
+ headerParameters: [Parameters.accept],
209
+ serializer
210
+ };
211
+ const createOperationSpec = {
212
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}",
213
+ httpMethod: "PUT",
214
+ responses: {
215
+ 200: {
216
+ bodyMapper: Mappers.AutoScaleVCore
217
+ },
218
+ default: {
219
+ bodyMapper: Mappers.ErrorResponse
220
+ }
221
+ },
222
+ requestBody: Parameters.vCoreParameters,
223
+ queryParameters: [Parameters.apiVersion],
224
+ urlParameters: [
225
+ Parameters.$host,
226
+ Parameters.resourceGroupName,
227
+ Parameters.subscriptionId,
228
+ Parameters.vcoreName
229
+ ],
230
+ headerParameters: [Parameters.accept, Parameters.contentType],
231
+ mediaType: "json",
232
+ serializer
233
+ };
234
+ const deleteOperationSpec = {
235
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}",
236
+ httpMethod: "DELETE",
237
+ responses: {
238
+ 200: {},
239
+ 204: {},
240
+ default: {
241
+ bodyMapper: Mappers.ErrorResponse
242
+ }
243
+ },
244
+ queryParameters: [Parameters.apiVersion],
245
+ urlParameters: [
246
+ Parameters.$host,
247
+ Parameters.resourceGroupName,
248
+ Parameters.subscriptionId,
249
+ Parameters.vcoreName
250
+ ],
251
+ headerParameters: [Parameters.accept],
252
+ serializer
253
+ };
254
+ const updateOperationSpec = {
255
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}",
256
+ httpMethod: "PATCH",
257
+ responses: {
258
+ 200: {
259
+ bodyMapper: Mappers.AutoScaleVCore
260
+ },
261
+ default: {
262
+ bodyMapper: Mappers.ErrorResponse
263
+ }
264
+ },
265
+ requestBody: Parameters.vCoreUpdateParameters,
266
+ queryParameters: [Parameters.apiVersion],
267
+ urlParameters: [
268
+ Parameters.$host,
269
+ Parameters.resourceGroupName,
270
+ Parameters.subscriptionId,
271
+ Parameters.vcoreName
272
+ ],
273
+ headerParameters: [Parameters.accept, Parameters.contentType],
274
+ mediaType: "json",
275
+ serializer
276
+ };
277
+ const listByResourceGroupOperationSpec = {
278
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores",
279
+ httpMethod: "GET",
280
+ responses: {
281
+ 200: {
282
+ bodyMapper: Mappers.AutoScaleVCoreListResult
283
+ },
284
+ default: {
285
+ bodyMapper: Mappers.ErrorResponse
286
+ }
287
+ },
288
+ queryParameters: [Parameters.apiVersion],
289
+ urlParameters: [
290
+ Parameters.$host,
291
+ Parameters.resourceGroupName,
292
+ Parameters.subscriptionId
293
+ ],
294
+ headerParameters: [Parameters.accept],
295
+ serializer
296
+ };
297
+ const listBySubscriptionOperationSpec = {
298
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/autoScaleVCores",
299
+ httpMethod: "GET",
300
+ responses: {
301
+ 200: {
302
+ bodyMapper: Mappers.AutoScaleVCoreListResult
303
+ },
304
+ default: {
305
+ bodyMapper: Mappers.ErrorResponse
306
+ }
307
+ },
308
+ queryParameters: [Parameters.apiVersion],
309
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
310
+ headerParameters: [Parameters.accept],
311
+ serializer
312
+ };
313
+ //# sourceMappingURL=autoScaleVCores.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoScaleVCores.js","sourceRoot":"","sources":["../../../src/operations/autoScaleVCores.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAkBtD,4CAA4C;AAC5C,mDAAmD;AACnD,MAAa,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAA0D;QAE1D,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,6BAA6B,CACvC,iBAAiB,EACjB,OAAO,EACP,QAAQ,CACT,CAA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,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EACF,yHAAyH;IAC3H,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EACF,sFAAsF;IACxF,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,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 { AutoScaleVCores } 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 AutoScaleVCore,\n AutoScaleVCoresListByResourceGroupOptionalParams,\n AutoScaleVCoresListByResourceGroupResponse,\n AutoScaleVCoresListBySubscriptionOptionalParams,\n AutoScaleVCoresListBySubscriptionResponse,\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/** Class containing AutoScaleVCores operations. */\nexport class AutoScaleVCoresImpl implements AutoScaleVCores {\n private readonly client: PowerBIDedicated;\n\n /**\n * Initialize a new instance of the class AutoScaleVCores 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 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 public listByResourceGroup(\n resourceGroupName: string,\n options?: AutoScaleVCoresListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<AutoScaleVCore> {\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?: AutoScaleVCoresListByResourceGroupOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<AutoScaleVCore[]> {\n let result: AutoScaleVCoresListByResourceGroupResponse;\n result = await this._listByResourceGroup(resourceGroupName, options);\n yield result.value || [];\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: AutoScaleVCoresListByResourceGroupOptionalParams\n ): AsyncIterableIterator<AutoScaleVCore> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the auto scale v-cores for the given subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: AutoScaleVCoresListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<AutoScaleVCore> {\n const iter = this.listBySubscriptionPagingAll(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.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: AutoScaleVCoresListBySubscriptionOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<AutoScaleVCore[]> {\n let result: AutoScaleVCoresListBySubscriptionResponse;\n result = await this._listBySubscription(options);\n yield result.value || [];\n }\n\n private async *listBySubscriptionPagingAll(\n options?: AutoScaleVCoresListBySubscriptionOptionalParams\n ): AsyncIterableIterator<AutoScaleVCore> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, vcoreName, options },\n getOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, vcoreName, vCoreParameters, options },\n createOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, vcoreName, options },\n deleteOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, vcoreName, vCoreUpdateParameters, options },\n updateOperationSpec\n );\n }\n\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 private _listByResourceGroup(\n resourceGroupName: string,\n options?: AutoScaleVCoresListByResourceGroupOptionalParams\n ): Promise<AutoScaleVCoresListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Lists all the auto scale v-cores for the given subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: AutoScaleVCoresListBySubscriptionOptionalParams\n ): Promise<AutoScaleVCoresListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AutoScaleVCore\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 Parameters.vcoreName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AutoScaleVCore\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.vCoreParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.vcoreName\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/autoScaleVCores/{vcoreName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.vcoreName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AutoScaleVCore\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.vCoreUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.vcoreName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AutoScaleVCoreListResult\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 listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/autoScaleVCores\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AutoScaleVCoreListResult\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};\n"]}