@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
@@ -1,149 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
- import { setContinuationToken } from "../pagingHelper";
11
- import { Operations } from "../operationsInterfaces";
12
- import * as coreClient from "@azure/core-client";
13
- import * as Mappers from "../models/mappers";
14
- import * as Parameters from "../models/parameters";
15
- import { PowerBIDedicated } from "../powerBIDedicated";
16
- import {
17
- Operation,
18
- OperationsListNextOptionalParams,
19
- OperationsListOptionalParams,
20
- OperationsListResponse,
21
- OperationsListNextResponse
22
- } from "../models";
23
-
24
- /// <reference lib="esnext.asynciterable" />
25
- /** Class containing Operations operations. */
26
- export class OperationsImpl implements Operations {
27
- private readonly client: PowerBIDedicated;
28
-
29
- /**
30
- * Initialize a new instance of the class Operations class.
31
- * @param client Reference to the service client
32
- */
33
- constructor(client: PowerBIDedicated) {
34
- this.client = client;
35
- }
36
-
37
- /**
38
- * Lists all of the available PowerBIDedicated REST API operations.
39
- * @param options The options parameters.
40
- */
41
- public list(
42
- options?: OperationsListOptionalParams
43
- ): PagedAsyncIterableIterator<Operation> {
44
- const iter = this.listPagingAll(options);
45
- return {
46
- next() {
47
- return iter.next();
48
- },
49
- [Symbol.asyncIterator]() {
50
- return this;
51
- },
52
- byPage: (settings?: PageSettings) => {
53
- if (settings?.maxPageSize) {
54
- throw new Error("maxPageSize is not supported by this operation.");
55
- }
56
- return this.listPagingPage(options, settings);
57
- }
58
- };
59
- }
60
-
61
- private async *listPagingPage(
62
- options?: OperationsListOptionalParams,
63
- settings?: PageSettings
64
- ): AsyncIterableIterator<Operation[]> {
65
- let result: OperationsListResponse;
66
- let continuationToken = settings?.continuationToken;
67
- if (!continuationToken) {
68
- result = await this._list(options);
69
- let page = result.value || [];
70
- continuationToken = result.nextLink;
71
- setContinuationToken(page, continuationToken);
72
- yield page;
73
- }
74
- while (continuationToken) {
75
- result = await this._listNext(continuationToken, options);
76
- continuationToken = result.nextLink;
77
- let page = result.value || [];
78
- setContinuationToken(page, continuationToken);
79
- yield page;
80
- }
81
- }
82
-
83
- private async *listPagingAll(
84
- options?: OperationsListOptionalParams
85
- ): AsyncIterableIterator<Operation> {
86
- for await (const page of this.listPagingPage(options)) {
87
- yield* page;
88
- }
89
- }
90
-
91
- /**
92
- * Lists all of the available PowerBIDedicated REST API operations.
93
- * @param options The options parameters.
94
- */
95
- private _list(
96
- options?: OperationsListOptionalParams
97
- ): Promise<OperationsListResponse> {
98
- return this.client.sendOperationRequest({ options }, listOperationSpec);
99
- }
100
-
101
- /**
102
- * ListNext
103
- * @param nextLink The nextLink from the previous successful call to the List method.
104
- * @param options The options parameters.
105
- */
106
- private _listNext(
107
- nextLink: string,
108
- options?: OperationsListNextOptionalParams
109
- ): Promise<OperationsListNextResponse> {
110
- return this.client.sendOperationRequest(
111
- { nextLink, options },
112
- listNextOperationSpec
113
- );
114
- }
115
- }
116
- // Operation Specifications
117
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
118
-
119
- const listOperationSpec: coreClient.OperationSpec = {
120
- path: "/providers/Microsoft.PowerBIDedicated/operations",
121
- httpMethod: "GET",
122
- responses: {
123
- 200: {
124
- bodyMapper: Mappers.OperationListResult
125
- },
126
- default: {
127
- bodyMapper: Mappers.ErrorResponse
128
- }
129
- },
130
- queryParameters: [Parameters.apiVersion],
131
- urlParameters: [Parameters.$host],
132
- headerParameters: [Parameters.accept],
133
- serializer
134
- };
135
- const listNextOperationSpec: coreClient.OperationSpec = {
136
- path: "{nextLink}",
137
- httpMethod: "GET",
138
- responses: {
139
- 200: {
140
- bodyMapper: Mappers.OperationListResult
141
- },
142
- default: {
143
- bodyMapper: Mappers.ErrorResponse
144
- }
145
- },
146
- urlParameters: [Parameters.$host, Parameters.nextLink],
147
- headerParameters: [Parameters.accept],
148
- serializer
149
- };
@@ -1,101 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
- import {
11
- AutoScaleVCore,
12
- AutoScaleVCoresListByResourceGroupOptionalParams,
13
- AutoScaleVCoresListBySubscriptionOptionalParams,
14
- AutoScaleVCoresGetOptionalParams,
15
- AutoScaleVCoresGetResponse,
16
- AutoScaleVCoresCreateOptionalParams,
17
- AutoScaleVCoresCreateResponse,
18
- AutoScaleVCoresDeleteOptionalParams,
19
- AutoScaleVCoreUpdateParameters,
20
- AutoScaleVCoresUpdateOptionalParams,
21
- AutoScaleVCoresUpdateResponse
22
- } from "../models";
23
-
24
- /// <reference lib="esnext.asynciterable" />
25
- /** Interface representing a AutoScaleVCores. */
26
- export interface AutoScaleVCores {
27
- /**
28
- * Gets all the auto scale v-cores for the given resource group.
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 options The options parameters.
32
- */
33
- listByResourceGroup(
34
- resourceGroupName: string,
35
- options?: AutoScaleVCoresListByResourceGroupOptionalParams
36
- ): PagedAsyncIterableIterator<AutoScaleVCore>;
37
- /**
38
- * Lists all the auto scale v-cores for the given subscription.
39
- * @param options The options parameters.
40
- */
41
- listBySubscription(
42
- options?: AutoScaleVCoresListBySubscriptionOptionalParams
43
- ): PagedAsyncIterableIterator<AutoScaleVCore>;
44
- /**
45
- * Gets details about the specified auto scale v-core.
46
- * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
47
- * capacity is part. This name must be at least 1 character in length, and no more than 90.
48
- * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
49
- * maximum of 63.
50
- * @param options The options parameters.
51
- */
52
- get(
53
- resourceGroupName: string,
54
- vcoreName: string,
55
- options?: AutoScaleVCoresGetOptionalParams
56
- ): Promise<AutoScaleVCoresGetResponse>;
57
- /**
58
- * Provisions the specified auto scale v-core based on the configuration specified in the request.
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 vCoreParameters Contains the information used to provision the auto scale v-core.
64
- * @param options The options parameters.
65
- */
66
- create(
67
- resourceGroupName: string,
68
- vcoreName: string,
69
- vCoreParameters: AutoScaleVCore,
70
- options?: AutoScaleVCoresCreateOptionalParams
71
- ): Promise<AutoScaleVCoresCreateResponse>;
72
- /**
73
- * Deletes the specified auto scale v-core.
74
- * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
75
- * capacity is part. This name must be at least 1 character in length, and no more than 90.
76
- * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
77
- * maximum of 63.
78
- * @param options The options parameters.
79
- */
80
- delete(
81
- resourceGroupName: string,
82
- vcoreName: string,
83
- options?: AutoScaleVCoresDeleteOptionalParams
84
- ): Promise<void>;
85
- /**
86
- * Updates the current state of the specified auto scale v-core.
87
- * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
88
- * capacity is part. This name must be at least 1 character in length, and no more than 90.
89
- * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
90
- * maximum of 63.
91
- * @param vCoreUpdateParameters Request object that contains the updated information for the auto scale
92
- * v-core.
93
- * @param options The options parameters.
94
- */
95
- update(
96
- resourceGroupName: string,
97
- vcoreName: string,
98
- vCoreUpdateParameters: AutoScaleVCoreUpdateParameters,
99
- options?: AutoScaleVCoresUpdateOptionalParams
100
- ): Promise<AutoScaleVCoresUpdateResponse>;
101
- }
@@ -1,248 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
- import { PollerLike, PollOperationState } from "@azure/core-lro";
11
- import {
12
- DedicatedCapacity,
13
- CapacitiesListByResourceGroupOptionalParams,
14
- CapacitiesListOptionalParams,
15
- CapacitiesGetDetailsOptionalParams,
16
- CapacitiesGetDetailsResponse,
17
- CapacitiesCreateOptionalParams,
18
- CapacitiesCreateResponse,
19
- CapacitiesDeleteOptionalParams,
20
- DedicatedCapacityUpdateParameters,
21
- CapacitiesUpdateOptionalParams,
22
- CapacitiesUpdateResponse,
23
- CapacitiesSuspendOptionalParams,
24
- CapacitiesResumeOptionalParams,
25
- CapacitiesListSkusOptionalParams,
26
- CapacitiesListSkusResponse,
27
- CapacitiesListSkusForCapacityOptionalParams,
28
- CapacitiesListSkusForCapacityResponse,
29
- CheckCapacityNameAvailabilityParameters,
30
- CapacitiesCheckNameAvailabilityOptionalParams,
31
- CapacitiesCheckNameAvailabilityResponse
32
- } from "../models";
33
-
34
- /// <reference lib="esnext.asynciterable" />
35
- /** Interface representing a Capacities. */
36
- export interface Capacities {
37
- /**
38
- * Gets all the Dedicated capacities for the given resource group.
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 options The options parameters.
42
- */
43
- listByResourceGroup(
44
- resourceGroupName: string,
45
- options?: CapacitiesListByResourceGroupOptionalParams
46
- ): PagedAsyncIterableIterator<DedicatedCapacity>;
47
- /**
48
- * Lists all the Dedicated capacities for the given subscription.
49
- * @param options The options parameters.
50
- */
51
- list(
52
- options?: CapacitiesListOptionalParams
53
- ): PagedAsyncIterableIterator<DedicatedCapacity>;
54
- /**
55
- * Gets details about the specified dedicated capacity.
56
- * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
57
- * capacity is part. This name must be at least 1 character in length, and no more than 90.
58
- * @param dedicatedCapacityName The name of the dedicated capacity. It must be a minimum of 3
59
- * characters, and a maximum of 63.
60
- * @param options The options parameters.
61
- */
62
- getDetails(
63
- resourceGroupName: string,
64
- dedicatedCapacityName: string,
65
- options?: CapacitiesGetDetailsOptionalParams
66
- ): Promise<CapacitiesGetDetailsResponse>;
67
- /**
68
- * Provisions the specified Dedicated capacity based on the configuration specified in the request.
69
- * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
70
- * capacity is part. This name must be at least 1 character in length, and no more than 90.
71
- * @param dedicatedCapacityName The name of the Dedicated capacity. It must be a minimum of 3
72
- * characters, and a maximum of 63.
73
- * @param capacityParameters Contains the information used to provision the Dedicated capacity.
74
- * @param options The options parameters.
75
- */
76
- beginCreate(
77
- resourceGroupName: string,
78
- dedicatedCapacityName: string,
79
- capacityParameters: DedicatedCapacity,
80
- options?: CapacitiesCreateOptionalParams
81
- ): Promise<
82
- PollerLike<
83
- PollOperationState<CapacitiesCreateResponse>,
84
- CapacitiesCreateResponse
85
- >
86
- >;
87
- /**
88
- * Provisions the specified Dedicated capacity based on the configuration specified in the request.
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 a minimum of 3
92
- * characters, and a maximum of 63.
93
- * @param capacityParameters Contains the information used to provision the Dedicated capacity.
94
- * @param options The options parameters.
95
- */
96
- beginCreateAndWait(
97
- resourceGroupName: string,
98
- dedicatedCapacityName: string,
99
- capacityParameters: DedicatedCapacity,
100
- options?: CapacitiesCreateOptionalParams
101
- ): Promise<CapacitiesCreateResponse>;
102
- /**
103
- * Deletes the specified Dedicated capacity.
104
- * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
105
- * capacity is part. This name must be at least 1 character in length, and no more than 90.
106
- * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
107
- * length, and no more than 63.
108
- * @param options The options parameters.
109
- */
110
- beginDelete(
111
- resourceGroupName: string,
112
- dedicatedCapacityName: string,
113
- options?: CapacitiesDeleteOptionalParams
114
- ): Promise<PollerLike<PollOperationState<void>, void>>;
115
- /**
116
- * Deletes the specified Dedicated capacity.
117
- * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
118
- * capacity is part. This name must be at least 1 character in length, and no more than 90.
119
- * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
120
- * length, and no more than 63.
121
- * @param options The options parameters.
122
- */
123
- beginDeleteAndWait(
124
- resourceGroupName: string,
125
- dedicatedCapacityName: string,
126
- options?: CapacitiesDeleteOptionalParams
127
- ): Promise<void>;
128
- /**
129
- * Updates the current state of the specified Dedicated capacity.
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 capacityUpdateParameters Request object that contains the updated information for the
135
- * capacity.
136
- * @param options The options parameters.
137
- */
138
- beginUpdate(
139
- resourceGroupName: string,
140
- dedicatedCapacityName: string,
141
- capacityUpdateParameters: DedicatedCapacityUpdateParameters,
142
- options?: CapacitiesUpdateOptionalParams
143
- ): Promise<
144
- PollerLike<
145
- PollOperationState<CapacitiesUpdateResponse>,
146
- CapacitiesUpdateResponse
147
- >
148
- >;
149
- /**
150
- * Updates the current state of the specified Dedicated capacity.
151
- * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
152
- * capacity is part. This name must be at least 1 character in length, and no more than 90.
153
- * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
154
- * length, and no more than 63.
155
- * @param capacityUpdateParameters Request object that contains the updated information for the
156
- * capacity.
157
- * @param options The options parameters.
158
- */
159
- beginUpdateAndWait(
160
- resourceGroupName: string,
161
- dedicatedCapacityName: string,
162
- capacityUpdateParameters: DedicatedCapacityUpdateParameters,
163
- options?: CapacitiesUpdateOptionalParams
164
- ): Promise<CapacitiesUpdateResponse>;
165
- /**
166
- * Suspends operation of the specified dedicated capacity instance.
167
- * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
168
- * capacity is part. This name must be at least 1 character in length, and no more than 90.
169
- * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
170
- * length, and no more than 63.
171
- * @param options The options parameters.
172
- */
173
- beginSuspend(
174
- resourceGroupName: string,
175
- dedicatedCapacityName: string,
176
- options?: CapacitiesSuspendOptionalParams
177
- ): Promise<PollerLike<PollOperationState<void>, void>>;
178
- /**
179
- * Suspends operation of the specified dedicated capacity instance.
180
- * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
181
- * capacity is part. This name must be at least 1 character in length, and no more than 90.
182
- * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
183
- * length, and no more than 63.
184
- * @param options The options parameters.
185
- */
186
- beginSuspendAndWait(
187
- resourceGroupName: string,
188
- dedicatedCapacityName: string,
189
- options?: CapacitiesSuspendOptionalParams
190
- ): Promise<void>;
191
- /**
192
- * Resumes operation of the specified Dedicated capacity instance.
193
- * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
194
- * capacity is part. This name must be at least 1 character in length, and no more than 90.
195
- * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
196
- * length, and no more than 63.
197
- * @param options The options parameters.
198
- */
199
- beginResume(
200
- resourceGroupName: string,
201
- dedicatedCapacityName: string,
202
- options?: CapacitiesResumeOptionalParams
203
- ): Promise<PollerLike<PollOperationState<void>, void>>;
204
- /**
205
- * Resumes operation of the specified Dedicated capacity instance.
206
- * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
207
- * capacity is part. This name must be at least 1 character in length, and no more than 90.
208
- * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
209
- * length, and no more than 63.
210
- * @param options The options parameters.
211
- */
212
- beginResumeAndWait(
213
- resourceGroupName: string,
214
- dedicatedCapacityName: string,
215
- options?: CapacitiesResumeOptionalParams
216
- ): Promise<void>;
217
- /**
218
- * Lists eligible SKUs for PowerBI Dedicated resource provider.
219
- * @param options The options parameters.
220
- */
221
- listSkus(
222
- options?: CapacitiesListSkusOptionalParams
223
- ): Promise<CapacitiesListSkusResponse>;
224
- /**
225
- * Lists eligible SKUs for a PowerBI Dedicated resource.
226
- * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
227
- * capacity is part. This name must be at least 1 character in length, and no more than 90.
228
- * @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
229
- * length, and no more than 63.
230
- * @param options The options parameters.
231
- */
232
- listSkusForCapacity(
233
- resourceGroupName: string,
234
- dedicatedCapacityName: string,
235
- options?: CapacitiesListSkusForCapacityOptionalParams
236
- ): Promise<CapacitiesListSkusForCapacityResponse>;
237
- /**
238
- * Check the name availability in the target location.
239
- * @param location The region name which the operation will lookup into.
240
- * @param capacityParameters The name of the capacity.
241
- * @param options The options parameters.
242
- */
243
- checkNameAvailability(
244
- location: string,
245
- capacityParameters: CheckCapacityNameAvailabilityParameters,
246
- options?: CapacitiesCheckNameAvailabilityOptionalParams
247
- ): Promise<CapacitiesCheckNameAvailabilityResponse>;
248
- }
@@ -1,11 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export * from "./capacities";
10
- export * from "./operations";
11
- export * from "./autoScaleVCores";
@@ -1,22 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
- import { Operation, OperationsListOptionalParams } from "../models";
11
-
12
- /// <reference lib="esnext.asynciterable" />
13
- /** Interface representing a Operations. */
14
- export interface Operations {
15
- /**
16
- * Lists all of the available PowerBIDedicated REST API operations.
17
- * @param options The options parameters.
18
- */
19
- list(
20
- options?: OperationsListOptionalParams
21
- ): PagedAsyncIterableIterator<Operation>;
22
- }
@@ -1,39 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export interface PageInfo {
10
- continuationToken?: string;
11
- }
12
-
13
- const pageMap = new WeakMap<object, PageInfo>();
14
-
15
- /**
16
- * Given the last `.value` produced by the `byPage` iterator,
17
- * returns a continuation token that can be used to begin paging from
18
- * that point later.
19
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
20
- * @returns The continuation token that can be passed into byPage() during future calls.
21
- */
22
- export function getContinuationToken(page: unknown): string | undefined {
23
- if (typeof page !== "object" || page === null) {
24
- return undefined;
25
- }
26
- return pageMap.get(page)?.continuationToken;
27
- }
28
-
29
- export function setContinuationToken(
30
- page: unknown,
31
- continuationToken: string | undefined
32
- ): void {
33
- if (typeof page !== "object" || page === null || !continuationToken) {
34
- return;
35
- }
36
- const pageInfo = pageMap.get(page) ?? {};
37
- pageInfo.continuationToken = continuationToken;
38
- pageMap.set(page, pageInfo);
39
- }