@azure/arm-cosmosdb 16.3.0-beta.1 → 16.3.0

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 (530) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/LICENSE +3 -3
  3. package/README.md +22 -15
  4. package/dist/browser/cosmosDBManagementClient.d.ts +2 -10
  5. package/dist/browser/cosmosDBManagementClient.d.ts.map +1 -1
  6. package/dist/browser/cosmosDBManagementClient.js +4 -13
  7. package/dist/browser/cosmosDBManagementClient.js.map +1 -1
  8. package/dist/browser/lroImpl.d.ts.map +1 -1
  9. package/dist/browser/lroImpl.js.map +1 -1
  10. package/dist/browser/models/index.d.ts +285 -2015
  11. package/dist/browser/models/index.d.ts.map +1 -1
  12. package/dist/browser/models/index.js +12 -196
  13. package/dist/browser/models/index.js.map +1 -1
  14. package/dist/browser/models/mappers.d.ts +29 -131
  15. package/dist/browser/models/mappers.d.ts.map +1 -1
  16. package/dist/browser/models/mappers.js +1733 -4254
  17. package/dist/browser/models/mappers.js.map +1 -1
  18. package/dist/browser/models/parameters.d.ts +6 -28
  19. package/dist/browser/models/parameters.d.ts.map +1 -1
  20. package/dist/browser/models/parameters.js +45 -206
  21. package/dist/browser/models/parameters.js.map +1 -1
  22. package/dist/browser/operations/cassandraClusters.d.ts +1 -65
  23. package/dist/browser/operations/cassandraClusters.d.ts.map +1 -1
  24. package/dist/browser/operations/cassandraClusters.js +1 -310
  25. package/dist/browser/operations/cassandraClusters.js.map +1 -1
  26. package/dist/browser/operations/cassandraDataCenters.js +2 -2
  27. package/dist/browser/operations/cassandraDataCenters.js.map +1 -1
  28. package/dist/browser/operations/cassandraResources.d.ts +1 -134
  29. package/dist/browser/operations/cassandraResources.d.ts.map +1 -1
  30. package/dist/browser/operations/cassandraResources.js +0 -579
  31. package/dist/browser/operations/cassandraResources.js.map +1 -1
  32. package/dist/browser/operations/gremlinResources.js +8 -8
  33. package/dist/browser/operations/gremlinResources.js.map +1 -1
  34. package/dist/browser/operations/index.d.ts +0 -8
  35. package/dist/browser/operations/index.d.ts.map +1 -1
  36. package/dist/browser/operations/index.js +0 -8
  37. package/dist/browser/operations/index.js.map +1 -1
  38. package/dist/browser/operations/mongoDBResources.d.ts +1 -123
  39. package/dist/browser/operations/mongoDBResources.d.ts.map +1 -1
  40. package/dist/browser/operations/mongoDBResources.js +0 -590
  41. package/dist/browser/operations/mongoDBResources.js.map +1 -1
  42. package/dist/browser/operations/sqlResources.d.ts +26 -148
  43. package/dist/browser/operations/sqlResources.d.ts.map +1 -1
  44. package/dist/browser/operations/sqlResources.js +92 -682
  45. package/dist/browser/operations/sqlResources.js.map +1 -1
  46. package/dist/browser/operations/tableResources.d.ts +1 -121
  47. package/dist/browser/operations/tableResources.d.ts.map +1 -1
  48. package/dist/browser/operations/tableResources.js +0 -568
  49. package/dist/browser/operations/tableResources.js.map +1 -1
  50. package/dist/browser/operationsInterfaces/cassandraClusters.d.ts +1 -47
  51. package/dist/browser/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
  52. package/dist/browser/operationsInterfaces/cassandraClusters.js.map +1 -1
  53. package/dist/browser/operationsInterfaces/cassandraResources.d.ts +1 -124
  54. package/dist/browser/operationsInterfaces/cassandraResources.d.ts.map +1 -1
  55. package/dist/browser/operationsInterfaces/cassandraResources.js.map +1 -1
  56. package/dist/browser/operationsInterfaces/collectionRegion.d.ts.map +1 -1
  57. package/dist/browser/operationsInterfaces/collectionRegion.js.map +1 -1
  58. package/dist/browser/operationsInterfaces/index.d.ts +0 -8
  59. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  60. package/dist/browser/operationsInterfaces/index.js +0 -8
  61. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  62. package/dist/browser/operationsInterfaces/mongoDBResources.d.ts +1 -123
  63. package/dist/browser/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
  64. package/dist/browser/operationsInterfaces/mongoDBResources.js.map +1 -1
  65. package/dist/browser/operationsInterfaces/sqlResources.d.ts +20 -142
  66. package/dist/browser/operationsInterfaces/sqlResources.d.ts.map +1 -1
  67. package/dist/browser/operationsInterfaces/sqlResources.js.map +1 -1
  68. package/dist/browser/operationsInterfaces/tableResources.d.ts +1 -103
  69. package/dist/browser/operationsInterfaces/tableResources.d.ts.map +1 -1
  70. package/dist/browser/operationsInterfaces/tableResources.js.map +1 -1
  71. package/dist/commonjs/cosmosDBManagementClient.d.ts +2 -10
  72. package/dist/commonjs/cosmosDBManagementClient.d.ts.map +1 -1
  73. package/dist/commonjs/cosmosDBManagementClient.js +3 -12
  74. package/dist/commonjs/cosmosDBManagementClient.js.map +1 -1
  75. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  76. package/dist/commonjs/lroImpl.js.map +1 -1
  77. package/dist/commonjs/models/index.d.ts +285 -2015
  78. package/dist/commonjs/models/index.d.ts.map +1 -1
  79. package/dist/commonjs/models/index.js +13 -198
  80. package/dist/commonjs/models/index.js.map +1 -1
  81. package/dist/commonjs/models/mappers.d.ts +29 -131
  82. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  83. package/dist/commonjs/models/mappers.js +1740 -4263
  84. package/dist/commonjs/models/mappers.js.map +1 -1
  85. package/dist/commonjs/models/parameters.d.ts +6 -28
  86. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  87. package/dist/commonjs/models/parameters.js +46 -207
  88. package/dist/commonjs/models/parameters.js.map +1 -1
  89. package/dist/commonjs/operations/cassandraClusters.d.ts +1 -65
  90. package/dist/commonjs/operations/cassandraClusters.d.ts.map +1 -1
  91. package/dist/commonjs/operations/cassandraClusters.js +1 -310
  92. package/dist/commonjs/operations/cassandraClusters.js.map +1 -1
  93. package/dist/commonjs/operations/cassandraDataCenters.js +2 -2
  94. package/dist/commonjs/operations/cassandraDataCenters.js.map +1 -1
  95. package/dist/commonjs/operations/cassandraResources.d.ts +1 -134
  96. package/dist/commonjs/operations/cassandraResources.d.ts.map +1 -1
  97. package/dist/commonjs/operations/cassandraResources.js +0 -579
  98. package/dist/commonjs/operations/cassandraResources.js.map +1 -1
  99. package/dist/commonjs/operations/gremlinResources.js +8 -8
  100. package/dist/commonjs/operations/gremlinResources.js.map +1 -1
  101. package/dist/commonjs/operations/index.d.ts +0 -8
  102. package/dist/commonjs/operations/index.d.ts.map +1 -1
  103. package/dist/commonjs/operations/index.js +0 -8
  104. package/dist/commonjs/operations/index.js.map +1 -1
  105. package/dist/commonjs/operations/mongoDBResources.d.ts +1 -123
  106. package/dist/commonjs/operations/mongoDBResources.d.ts.map +1 -1
  107. package/dist/commonjs/operations/mongoDBResources.js +0 -590
  108. package/dist/commonjs/operations/mongoDBResources.js.map +1 -1
  109. package/dist/commonjs/operations/sqlResources.d.ts +26 -148
  110. package/dist/commonjs/operations/sqlResources.d.ts.map +1 -1
  111. package/dist/commonjs/operations/sqlResources.js +92 -682
  112. package/dist/commonjs/operations/sqlResources.js.map +1 -1
  113. package/dist/commonjs/operations/tableResources.d.ts +1 -121
  114. package/dist/commonjs/operations/tableResources.d.ts.map +1 -1
  115. package/dist/commonjs/operations/tableResources.js +0 -568
  116. package/dist/commonjs/operations/tableResources.js.map +1 -1
  117. package/dist/commonjs/operationsInterfaces/cassandraClusters.d.ts +1 -47
  118. package/dist/commonjs/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
  119. package/dist/commonjs/operationsInterfaces/cassandraClusters.js.map +1 -1
  120. package/dist/commonjs/operationsInterfaces/cassandraResources.d.ts +1 -124
  121. package/dist/commonjs/operationsInterfaces/cassandraResources.d.ts.map +1 -1
  122. package/dist/commonjs/operationsInterfaces/cassandraResources.js.map +1 -1
  123. package/dist/commonjs/operationsInterfaces/collectionRegion.d.ts.map +1 -1
  124. package/dist/commonjs/operationsInterfaces/collectionRegion.js.map +1 -1
  125. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -8
  126. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  127. package/dist/commonjs/operationsInterfaces/index.js +0 -8
  128. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  129. package/dist/commonjs/operationsInterfaces/mongoDBResources.d.ts +1 -123
  130. package/dist/commonjs/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
  131. package/dist/commonjs/operationsInterfaces/mongoDBResources.js.map +1 -1
  132. package/dist/commonjs/operationsInterfaces/sqlResources.d.ts +20 -142
  133. package/dist/commonjs/operationsInterfaces/sqlResources.d.ts.map +1 -1
  134. package/dist/commonjs/operationsInterfaces/sqlResources.js.map +1 -1
  135. package/dist/commonjs/operationsInterfaces/tableResources.d.ts +1 -103
  136. package/dist/commonjs/operationsInterfaces/tableResources.d.ts.map +1 -1
  137. package/dist/commonjs/operationsInterfaces/tableResources.js.map +1 -1
  138. package/dist/commonjs/tsdoc-metadata.json +1 -1
  139. package/dist/esm/cosmosDBManagementClient.d.ts +2 -10
  140. package/dist/esm/cosmosDBManagementClient.d.ts.map +1 -1
  141. package/dist/esm/cosmosDBManagementClient.js +4 -13
  142. package/dist/esm/cosmosDBManagementClient.js.map +1 -1
  143. package/dist/esm/lroImpl.d.ts.map +1 -1
  144. package/dist/esm/lroImpl.js.map +1 -1
  145. package/dist/esm/models/index.d.ts +285 -2015
  146. package/dist/esm/models/index.d.ts.map +1 -1
  147. package/dist/esm/models/index.js +12 -196
  148. package/dist/esm/models/index.js.map +1 -1
  149. package/dist/esm/models/mappers.d.ts +29 -131
  150. package/dist/esm/models/mappers.d.ts.map +1 -1
  151. package/dist/esm/models/mappers.js +1733 -4254
  152. package/dist/esm/models/mappers.js.map +1 -1
  153. package/dist/esm/models/parameters.d.ts +6 -28
  154. package/dist/esm/models/parameters.d.ts.map +1 -1
  155. package/dist/esm/models/parameters.js +45 -206
  156. package/dist/esm/models/parameters.js.map +1 -1
  157. package/dist/esm/operations/cassandraClusters.d.ts +1 -65
  158. package/dist/esm/operations/cassandraClusters.d.ts.map +1 -1
  159. package/dist/esm/operations/cassandraClusters.js +1 -310
  160. package/dist/esm/operations/cassandraClusters.js.map +1 -1
  161. package/dist/esm/operations/cassandraDataCenters.js +2 -2
  162. package/dist/esm/operations/cassandraDataCenters.js.map +1 -1
  163. package/dist/esm/operations/cassandraResources.d.ts +1 -134
  164. package/dist/esm/operations/cassandraResources.d.ts.map +1 -1
  165. package/dist/esm/operations/cassandraResources.js +0 -579
  166. package/dist/esm/operations/cassandraResources.js.map +1 -1
  167. package/dist/esm/operations/gremlinResources.js +8 -8
  168. package/dist/esm/operations/gremlinResources.js.map +1 -1
  169. package/dist/esm/operations/index.d.ts +0 -8
  170. package/dist/esm/operations/index.d.ts.map +1 -1
  171. package/dist/esm/operations/index.js +0 -8
  172. package/dist/esm/operations/index.js.map +1 -1
  173. package/dist/esm/operations/mongoDBResources.d.ts +1 -123
  174. package/dist/esm/operations/mongoDBResources.d.ts.map +1 -1
  175. package/dist/esm/operations/mongoDBResources.js +0 -590
  176. package/dist/esm/operations/mongoDBResources.js.map +1 -1
  177. package/dist/esm/operations/sqlResources.d.ts +26 -148
  178. package/dist/esm/operations/sqlResources.d.ts.map +1 -1
  179. package/dist/esm/operations/sqlResources.js +92 -682
  180. package/dist/esm/operations/sqlResources.js.map +1 -1
  181. package/dist/esm/operations/tableResources.d.ts +1 -121
  182. package/dist/esm/operations/tableResources.d.ts.map +1 -1
  183. package/dist/esm/operations/tableResources.js +0 -568
  184. package/dist/esm/operations/tableResources.js.map +1 -1
  185. package/dist/esm/operationsInterfaces/cassandraClusters.d.ts +1 -47
  186. package/dist/esm/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
  187. package/dist/esm/operationsInterfaces/cassandraClusters.js.map +1 -1
  188. package/dist/esm/operationsInterfaces/cassandraResources.d.ts +1 -124
  189. package/dist/esm/operationsInterfaces/cassandraResources.d.ts.map +1 -1
  190. package/dist/esm/operationsInterfaces/cassandraResources.js.map +1 -1
  191. package/dist/esm/operationsInterfaces/collectionRegion.d.ts.map +1 -1
  192. package/dist/esm/operationsInterfaces/collectionRegion.js.map +1 -1
  193. package/dist/esm/operationsInterfaces/index.d.ts +0 -8
  194. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  195. package/dist/esm/operationsInterfaces/index.js +0 -8
  196. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  197. package/dist/esm/operationsInterfaces/mongoDBResources.d.ts +1 -123
  198. package/dist/esm/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
  199. package/dist/esm/operationsInterfaces/mongoDBResources.js.map +1 -1
  200. package/dist/esm/operationsInterfaces/sqlResources.d.ts +20 -142
  201. package/dist/esm/operationsInterfaces/sqlResources.d.ts.map +1 -1
  202. package/dist/esm/operationsInterfaces/sqlResources.js.map +1 -1
  203. package/dist/esm/operationsInterfaces/tableResources.d.ts +1 -103
  204. package/dist/esm/operationsInterfaces/tableResources.d.ts.map +1 -1
  205. package/dist/esm/operationsInterfaces/tableResources.js.map +1 -1
  206. package/dist/react-native/cosmosDBManagementClient.d.ts +2 -10
  207. package/dist/react-native/cosmosDBManagementClient.d.ts.map +1 -1
  208. package/dist/react-native/cosmosDBManagementClient.js +4 -13
  209. package/dist/react-native/cosmosDBManagementClient.js.map +1 -1
  210. package/dist/react-native/lroImpl.d.ts.map +1 -1
  211. package/dist/react-native/lroImpl.js.map +1 -1
  212. package/dist/react-native/models/index.d.ts +285 -2015
  213. package/dist/react-native/models/index.d.ts.map +1 -1
  214. package/dist/react-native/models/index.js +12 -196
  215. package/dist/react-native/models/index.js.map +1 -1
  216. package/dist/react-native/models/mappers.d.ts +29 -131
  217. package/dist/react-native/models/mappers.d.ts.map +1 -1
  218. package/dist/react-native/models/mappers.js +1733 -4254
  219. package/dist/react-native/models/mappers.js.map +1 -1
  220. package/dist/react-native/models/parameters.d.ts +6 -28
  221. package/dist/react-native/models/parameters.d.ts.map +1 -1
  222. package/dist/react-native/models/parameters.js +45 -206
  223. package/dist/react-native/models/parameters.js.map +1 -1
  224. package/dist/react-native/operations/cassandraClusters.d.ts +1 -65
  225. package/dist/react-native/operations/cassandraClusters.d.ts.map +1 -1
  226. package/dist/react-native/operations/cassandraClusters.js +1 -310
  227. package/dist/react-native/operations/cassandraClusters.js.map +1 -1
  228. package/dist/react-native/operations/cassandraDataCenters.js +2 -2
  229. package/dist/react-native/operations/cassandraDataCenters.js.map +1 -1
  230. package/dist/react-native/operations/cassandraResources.d.ts +1 -134
  231. package/dist/react-native/operations/cassandraResources.d.ts.map +1 -1
  232. package/dist/react-native/operations/cassandraResources.js +0 -579
  233. package/dist/react-native/operations/cassandraResources.js.map +1 -1
  234. package/dist/react-native/operations/gremlinResources.js +8 -8
  235. package/dist/react-native/operations/gremlinResources.js.map +1 -1
  236. package/dist/react-native/operations/index.d.ts +0 -8
  237. package/dist/react-native/operations/index.d.ts.map +1 -1
  238. package/dist/react-native/operations/index.js +0 -8
  239. package/dist/react-native/operations/index.js.map +1 -1
  240. package/dist/react-native/operations/mongoDBResources.d.ts +1 -123
  241. package/dist/react-native/operations/mongoDBResources.d.ts.map +1 -1
  242. package/dist/react-native/operations/mongoDBResources.js +0 -590
  243. package/dist/react-native/operations/mongoDBResources.js.map +1 -1
  244. package/dist/react-native/operations/sqlResources.d.ts +26 -148
  245. package/dist/react-native/operations/sqlResources.d.ts.map +1 -1
  246. package/dist/react-native/operations/sqlResources.js +92 -682
  247. package/dist/react-native/operations/sqlResources.js.map +1 -1
  248. package/dist/react-native/operations/tableResources.d.ts +1 -121
  249. package/dist/react-native/operations/tableResources.d.ts.map +1 -1
  250. package/dist/react-native/operations/tableResources.js +0 -568
  251. package/dist/react-native/operations/tableResources.js.map +1 -1
  252. package/dist/react-native/operationsInterfaces/cassandraClusters.d.ts +1 -47
  253. package/dist/react-native/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
  254. package/dist/react-native/operationsInterfaces/cassandraClusters.js.map +1 -1
  255. package/dist/react-native/operationsInterfaces/cassandraResources.d.ts +1 -124
  256. package/dist/react-native/operationsInterfaces/cassandraResources.d.ts.map +1 -1
  257. package/dist/react-native/operationsInterfaces/cassandraResources.js.map +1 -1
  258. package/dist/react-native/operationsInterfaces/collectionRegion.d.ts.map +1 -1
  259. package/dist/react-native/operationsInterfaces/collectionRegion.js.map +1 -1
  260. package/dist/react-native/operationsInterfaces/index.d.ts +0 -8
  261. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  262. package/dist/react-native/operationsInterfaces/index.js +0 -8
  263. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  264. package/dist/react-native/operationsInterfaces/mongoDBResources.d.ts +1 -123
  265. package/dist/react-native/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
  266. package/dist/react-native/operationsInterfaces/mongoDBResources.js.map +1 -1
  267. package/dist/react-native/operationsInterfaces/sqlResources.d.ts +20 -142
  268. package/dist/react-native/operationsInterfaces/sqlResources.d.ts.map +1 -1
  269. package/dist/react-native/operationsInterfaces/sqlResources.js.map +1 -1
  270. package/dist/react-native/operationsInterfaces/tableResources.d.ts +1 -103
  271. package/dist/react-native/operationsInterfaces/tableResources.d.ts.map +1 -1
  272. package/dist/react-native/operationsInterfaces/tableResources.js.map +1 -1
  273. package/package.json +37 -48
  274. package/review/arm-cosmosdb.api.md +39 -1537
  275. package/dist/browser/operations/chaosFault.d.ts +0 -65
  276. package/dist/browser/operations/chaosFault.d.ts.map +0 -1
  277. package/dist/browser/operations/chaosFault.js +0 -279
  278. package/dist/browser/operations/chaosFault.js.map +0 -1
  279. package/dist/browser/operations/dataTransferJobs.d.ts +0 -87
  280. package/dist/browser/operations/dataTransferJobs.d.ts.map +0 -1
  281. package/dist/browser/operations/dataTransferJobs.js +0 -345
  282. package/dist/browser/operations/dataTransferJobs.js.map +0 -1
  283. package/dist/browser/operations/graphResources.d.ts +0 -73
  284. package/dist/browser/operations/graphResources.d.ts.map +0 -1
  285. package/dist/browser/operations/graphResources.js +0 -291
  286. package/dist/browser/operations/graphResources.js.map +0 -1
  287. package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
  288. package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  289. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js +0 -282
  290. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
  291. package/dist/browser/operations/throughputPool.d.ts +0 -67
  292. package/dist/browser/operations/throughputPool.d.ts.map +0 -1
  293. package/dist/browser/operations/throughputPool.js +0 -308
  294. package/dist/browser/operations/throughputPool.js.map +0 -1
  295. package/dist/browser/operations/throughputPoolAccount.d.ts +0 -58
  296. package/dist/browser/operations/throughputPoolAccount.d.ts.map +0 -1
  297. package/dist/browser/operations/throughputPoolAccount.js +0 -248
  298. package/dist/browser/operations/throughputPoolAccount.js.map +0 -1
  299. package/dist/browser/operations/throughputPoolAccounts.d.ts +0 -38
  300. package/dist/browser/operations/throughputPoolAccounts.d.ts.map +0 -1
  301. package/dist/browser/operations/throughputPoolAccounts.js +0 -150
  302. package/dist/browser/operations/throughputPoolAccounts.js.map +0 -1
  303. package/dist/browser/operations/throughputPools.d.ts +0 -53
  304. package/dist/browser/operations/throughputPools.d.ts.map +0 -1
  305. package/dist/browser/operations/throughputPools.js +0 -256
  306. package/dist/browser/operations/throughputPools.js.map +0 -1
  307. package/dist/browser/operationsInterfaces/chaosFault.d.ts +0 -40
  308. package/dist/browser/operationsInterfaces/chaosFault.d.ts.map +0 -1
  309. package/dist/browser/operationsInterfaces/chaosFault.js +0 -9
  310. package/dist/browser/operationsInterfaces/chaosFault.js.map +0 -1
  311. package/dist/browser/operationsInterfaces/dataTransferJobs.d.ts +0 -62
  312. package/dist/browser/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
  313. package/dist/browser/operationsInterfaces/dataTransferJobs.js +0 -9
  314. package/dist/browser/operationsInterfaces/dataTransferJobs.js.map +0 -1
  315. package/dist/browser/operationsInterfaces/graphResources.d.ts +0 -56
  316. package/dist/browser/operationsInterfaces/graphResources.d.ts.map +0 -1
  317. package/dist/browser/operationsInterfaces/graphResources.js +0 -9
  318. package/dist/browser/operationsInterfaces/graphResources.js.map +0 -1
  319. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
  320. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  321. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -9
  322. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
  323. package/dist/browser/operationsInterfaces/throughputPool.d.ts +0 -59
  324. package/dist/browser/operationsInterfaces/throughputPool.d.ts.map +0 -1
  325. package/dist/browser/operationsInterfaces/throughputPool.js +0 -9
  326. package/dist/browser/operationsInterfaces/throughputPool.js.map +0 -1
  327. package/dist/browser/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
  328. package/dist/browser/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
  329. package/dist/browser/operationsInterfaces/throughputPoolAccount.js +0 -9
  330. package/dist/browser/operationsInterfaces/throughputPoolAccount.js.map +0 -1
  331. package/dist/browser/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
  332. package/dist/browser/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
  333. package/dist/browser/operationsInterfaces/throughputPoolAccounts.js +0 -9
  334. package/dist/browser/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
  335. package/dist/browser/operationsInterfaces/throughputPools.d.ts +0 -17
  336. package/dist/browser/operationsInterfaces/throughputPools.d.ts.map +0 -1
  337. package/dist/browser/operationsInterfaces/throughputPools.js +0 -9
  338. package/dist/browser/operationsInterfaces/throughputPools.js.map +0 -1
  339. package/dist/commonjs/operations/chaosFault.d.ts +0 -65
  340. package/dist/commonjs/operations/chaosFault.d.ts.map +0 -1
  341. package/dist/commonjs/operations/chaosFault.js +0 -283
  342. package/dist/commonjs/operations/chaosFault.js.map +0 -1
  343. package/dist/commonjs/operations/dataTransferJobs.d.ts +0 -87
  344. package/dist/commonjs/operations/dataTransferJobs.d.ts.map +0 -1
  345. package/dist/commonjs/operations/dataTransferJobs.js +0 -349
  346. package/dist/commonjs/operations/dataTransferJobs.js.map +0 -1
  347. package/dist/commonjs/operations/graphResources.d.ts +0 -73
  348. package/dist/commonjs/operations/graphResources.d.ts.map +0 -1
  349. package/dist/commonjs/operations/graphResources.js +0 -295
  350. package/dist/commonjs/operations/graphResources.js.map +0 -1
  351. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
  352. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  353. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +0 -286
  354. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
  355. package/dist/commonjs/operations/throughputPool.d.ts +0 -67
  356. package/dist/commonjs/operations/throughputPool.d.ts.map +0 -1
  357. package/dist/commonjs/operations/throughputPool.js +0 -313
  358. package/dist/commonjs/operations/throughputPool.js.map +0 -1
  359. package/dist/commonjs/operations/throughputPoolAccount.d.ts +0 -58
  360. package/dist/commonjs/operations/throughputPoolAccount.d.ts.map +0 -1
  361. package/dist/commonjs/operations/throughputPoolAccount.js +0 -253
  362. package/dist/commonjs/operations/throughputPoolAccount.js.map +0 -1
  363. package/dist/commonjs/operations/throughputPoolAccounts.d.ts +0 -38
  364. package/dist/commonjs/operations/throughputPoolAccounts.d.ts.map +0 -1
  365. package/dist/commonjs/operations/throughputPoolAccounts.js +0 -154
  366. package/dist/commonjs/operations/throughputPoolAccounts.js.map +0 -1
  367. package/dist/commonjs/operations/throughputPools.d.ts +0 -53
  368. package/dist/commonjs/operations/throughputPools.d.ts.map +0 -1
  369. package/dist/commonjs/operations/throughputPools.js +0 -260
  370. package/dist/commonjs/operations/throughputPools.js.map +0 -1
  371. package/dist/commonjs/operationsInterfaces/chaosFault.d.ts +0 -40
  372. package/dist/commonjs/operationsInterfaces/chaosFault.d.ts.map +0 -1
  373. package/dist/commonjs/operationsInterfaces/chaosFault.js +0 -10
  374. package/dist/commonjs/operationsInterfaces/chaosFault.js.map +0 -1
  375. package/dist/commonjs/operationsInterfaces/dataTransferJobs.d.ts +0 -62
  376. package/dist/commonjs/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
  377. package/dist/commonjs/operationsInterfaces/dataTransferJobs.js +0 -10
  378. package/dist/commonjs/operationsInterfaces/dataTransferJobs.js.map +0 -1
  379. package/dist/commonjs/operationsInterfaces/graphResources.d.ts +0 -56
  380. package/dist/commonjs/operationsInterfaces/graphResources.d.ts.map +0 -1
  381. package/dist/commonjs/operationsInterfaces/graphResources.js +0 -10
  382. package/dist/commonjs/operationsInterfaces/graphResources.js.map +0 -1
  383. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
  384. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  385. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -10
  386. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
  387. package/dist/commonjs/operationsInterfaces/throughputPool.d.ts +0 -59
  388. package/dist/commonjs/operationsInterfaces/throughputPool.d.ts.map +0 -1
  389. package/dist/commonjs/operationsInterfaces/throughputPool.js +0 -10
  390. package/dist/commonjs/operationsInterfaces/throughputPool.js.map +0 -1
  391. package/dist/commonjs/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
  392. package/dist/commonjs/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
  393. package/dist/commonjs/operationsInterfaces/throughputPoolAccount.js +0 -10
  394. package/dist/commonjs/operationsInterfaces/throughputPoolAccount.js.map +0 -1
  395. package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
  396. package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
  397. package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.js +0 -10
  398. package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
  399. package/dist/commonjs/operationsInterfaces/throughputPools.d.ts +0 -17
  400. package/dist/commonjs/operationsInterfaces/throughputPools.d.ts.map +0 -1
  401. package/dist/commonjs/operationsInterfaces/throughputPools.js +0 -10
  402. package/dist/commonjs/operationsInterfaces/throughputPools.js.map +0 -1
  403. package/dist/esm/operations/chaosFault.d.ts +0 -65
  404. package/dist/esm/operations/chaosFault.d.ts.map +0 -1
  405. package/dist/esm/operations/chaosFault.js +0 -279
  406. package/dist/esm/operations/chaosFault.js.map +0 -1
  407. package/dist/esm/operations/dataTransferJobs.d.ts +0 -87
  408. package/dist/esm/operations/dataTransferJobs.d.ts.map +0 -1
  409. package/dist/esm/operations/dataTransferJobs.js +0 -345
  410. package/dist/esm/operations/dataTransferJobs.js.map +0 -1
  411. package/dist/esm/operations/graphResources.d.ts +0 -73
  412. package/dist/esm/operations/graphResources.d.ts.map +0 -1
  413. package/dist/esm/operations/graphResources.js +0 -291
  414. package/dist/esm/operations/graphResources.js.map +0 -1
  415. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
  416. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  417. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +0 -282
  418. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
  419. package/dist/esm/operations/throughputPool.d.ts +0 -67
  420. package/dist/esm/operations/throughputPool.d.ts.map +0 -1
  421. package/dist/esm/operations/throughputPool.js +0 -308
  422. package/dist/esm/operations/throughputPool.js.map +0 -1
  423. package/dist/esm/operations/throughputPoolAccount.d.ts +0 -58
  424. package/dist/esm/operations/throughputPoolAccount.d.ts.map +0 -1
  425. package/dist/esm/operations/throughputPoolAccount.js +0 -248
  426. package/dist/esm/operations/throughputPoolAccount.js.map +0 -1
  427. package/dist/esm/operations/throughputPoolAccounts.d.ts +0 -38
  428. package/dist/esm/operations/throughputPoolAccounts.d.ts.map +0 -1
  429. package/dist/esm/operations/throughputPoolAccounts.js +0 -150
  430. package/dist/esm/operations/throughputPoolAccounts.js.map +0 -1
  431. package/dist/esm/operations/throughputPools.d.ts +0 -53
  432. package/dist/esm/operations/throughputPools.d.ts.map +0 -1
  433. package/dist/esm/operations/throughputPools.js +0 -256
  434. package/dist/esm/operations/throughputPools.js.map +0 -1
  435. package/dist/esm/operationsInterfaces/chaosFault.d.ts +0 -40
  436. package/dist/esm/operationsInterfaces/chaosFault.d.ts.map +0 -1
  437. package/dist/esm/operationsInterfaces/chaosFault.js +0 -9
  438. package/dist/esm/operationsInterfaces/chaosFault.js.map +0 -1
  439. package/dist/esm/operationsInterfaces/dataTransferJobs.d.ts +0 -62
  440. package/dist/esm/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
  441. package/dist/esm/operationsInterfaces/dataTransferJobs.js +0 -9
  442. package/dist/esm/operationsInterfaces/dataTransferJobs.js.map +0 -1
  443. package/dist/esm/operationsInterfaces/graphResources.d.ts +0 -56
  444. package/dist/esm/operationsInterfaces/graphResources.d.ts.map +0 -1
  445. package/dist/esm/operationsInterfaces/graphResources.js +0 -9
  446. package/dist/esm/operationsInterfaces/graphResources.js.map +0 -1
  447. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
  448. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  449. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -9
  450. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
  451. package/dist/esm/operationsInterfaces/throughputPool.d.ts +0 -59
  452. package/dist/esm/operationsInterfaces/throughputPool.d.ts.map +0 -1
  453. package/dist/esm/operationsInterfaces/throughputPool.js +0 -9
  454. package/dist/esm/operationsInterfaces/throughputPool.js.map +0 -1
  455. package/dist/esm/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
  456. package/dist/esm/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
  457. package/dist/esm/operationsInterfaces/throughputPoolAccount.js +0 -9
  458. package/dist/esm/operationsInterfaces/throughputPoolAccount.js.map +0 -1
  459. package/dist/esm/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
  460. package/dist/esm/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
  461. package/dist/esm/operationsInterfaces/throughputPoolAccounts.js +0 -9
  462. package/dist/esm/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
  463. package/dist/esm/operationsInterfaces/throughputPools.d.ts +0 -17
  464. package/dist/esm/operationsInterfaces/throughputPools.d.ts.map +0 -1
  465. package/dist/esm/operationsInterfaces/throughputPools.js +0 -9
  466. package/dist/esm/operationsInterfaces/throughputPools.js.map +0 -1
  467. package/dist/react-native/operations/chaosFault.d.ts +0 -65
  468. package/dist/react-native/operations/chaosFault.d.ts.map +0 -1
  469. package/dist/react-native/operations/chaosFault.js +0 -279
  470. package/dist/react-native/operations/chaosFault.js.map +0 -1
  471. package/dist/react-native/operations/dataTransferJobs.d.ts +0 -87
  472. package/dist/react-native/operations/dataTransferJobs.d.ts.map +0 -1
  473. package/dist/react-native/operations/dataTransferJobs.js +0 -345
  474. package/dist/react-native/operations/dataTransferJobs.js.map +0 -1
  475. package/dist/react-native/operations/graphResources.d.ts +0 -73
  476. package/dist/react-native/operations/graphResources.d.ts.map +0 -1
  477. package/dist/react-native/operations/graphResources.js +0 -291
  478. package/dist/react-native/operations/graphResources.js.map +0 -1
  479. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
  480. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  481. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +0 -282
  482. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
  483. package/dist/react-native/operations/throughputPool.d.ts +0 -67
  484. package/dist/react-native/operations/throughputPool.d.ts.map +0 -1
  485. package/dist/react-native/operations/throughputPool.js +0 -308
  486. package/dist/react-native/operations/throughputPool.js.map +0 -1
  487. package/dist/react-native/operations/throughputPoolAccount.d.ts +0 -58
  488. package/dist/react-native/operations/throughputPoolAccount.d.ts.map +0 -1
  489. package/dist/react-native/operations/throughputPoolAccount.js +0 -248
  490. package/dist/react-native/operations/throughputPoolAccount.js.map +0 -1
  491. package/dist/react-native/operations/throughputPoolAccounts.d.ts +0 -38
  492. package/dist/react-native/operations/throughputPoolAccounts.d.ts.map +0 -1
  493. package/dist/react-native/operations/throughputPoolAccounts.js +0 -150
  494. package/dist/react-native/operations/throughputPoolAccounts.js.map +0 -1
  495. package/dist/react-native/operations/throughputPools.d.ts +0 -53
  496. package/dist/react-native/operations/throughputPools.d.ts.map +0 -1
  497. package/dist/react-native/operations/throughputPools.js +0 -256
  498. package/dist/react-native/operations/throughputPools.js.map +0 -1
  499. package/dist/react-native/operationsInterfaces/chaosFault.d.ts +0 -40
  500. package/dist/react-native/operationsInterfaces/chaosFault.d.ts.map +0 -1
  501. package/dist/react-native/operationsInterfaces/chaosFault.js +0 -9
  502. package/dist/react-native/operationsInterfaces/chaosFault.js.map +0 -1
  503. package/dist/react-native/operationsInterfaces/dataTransferJobs.d.ts +0 -62
  504. package/dist/react-native/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
  505. package/dist/react-native/operationsInterfaces/dataTransferJobs.js +0 -9
  506. package/dist/react-native/operationsInterfaces/dataTransferJobs.js.map +0 -1
  507. package/dist/react-native/operationsInterfaces/graphResources.d.ts +0 -56
  508. package/dist/react-native/operationsInterfaces/graphResources.d.ts.map +0 -1
  509. package/dist/react-native/operationsInterfaces/graphResources.js +0 -9
  510. package/dist/react-native/operationsInterfaces/graphResources.js.map +0 -1
  511. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
  512. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  513. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -9
  514. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
  515. package/dist/react-native/operationsInterfaces/throughputPool.d.ts +0 -59
  516. package/dist/react-native/operationsInterfaces/throughputPool.d.ts.map +0 -1
  517. package/dist/react-native/operationsInterfaces/throughputPool.js +0 -9
  518. package/dist/react-native/operationsInterfaces/throughputPool.js.map +0 -1
  519. package/dist/react-native/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
  520. package/dist/react-native/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
  521. package/dist/react-native/operationsInterfaces/throughputPoolAccount.js +0 -9
  522. package/dist/react-native/operationsInterfaces/throughputPoolAccount.js.map +0 -1
  523. package/dist/react-native/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
  524. package/dist/react-native/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
  525. package/dist/react-native/operationsInterfaces/throughputPoolAccounts.js +0 -9
  526. package/dist/react-native/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
  527. package/dist/react-native/operationsInterfaces/throughputPools.d.ts +0 -17
  528. package/dist/react-native/operationsInterfaces/throughputPools.d.ts.map +0 -1
  529. package/dist/react-native/operationsInterfaces/throughputPools.js +0 -9
  530. package/dist/react-native/operationsInterfaces/throughputPools.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"throughputPoolAccount.js","sourceRoot":"","sources":["../../../src/operations/throughputPoolAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAW9C,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IAGpC;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,GAAG,CACD,iBAAy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ChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,yBAAyB;KACrC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,2LAA2L;IACjM,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,kCAAkC;SAC1D;QACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,kCAAkC;SAC1D;QACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,kCAAkC;SAC1D;QACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,kCAAkC;SAC1D;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,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,yBAAyB;KACrC;IACD,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 { ThroughputPoolAccount } 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 { CosmosDBManagementClient } from \"../cosmosDBManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ThroughputPoolAccountGetOptionalParams,\n ThroughputPoolAccountGetResponse,\n ThroughputPoolAccountResource,\n ThroughputPoolAccountCreateOptionalParams,\n ThroughputPoolAccountCreateResponse,\n ThroughputPoolAccountDeleteOptionalParams,\n ThroughputPoolAccountDeleteResponse,\n} from \"../models/index.js\";\n\n/** Class containing ThroughputPoolAccount operations. */\nexport class ThroughputPoolAccountImpl implements ThroughputPoolAccount {\n private readonly client: CosmosDBManagementClient;\n\n /**\n * Initialize a new instance of the class ThroughputPoolAccount class.\n * @param client Reference to the service client\n */\n constructor(client: CosmosDBManagementClient) {\n this.client = client;\n }\n\n /**\n * Retrieves the properties of an existing Azure Cosmos DB Throughput Pool\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param throughputPoolAccountName Cosmos DB global database account in a Throughput Pool\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n throughputPoolName: string,\n throughputPoolAccountName: string,\n options?: ThroughputPoolAccountGetOptionalParams,\n ): Promise<ThroughputPoolAccountGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n throughputPoolName,\n throughputPoolAccountName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates an Azure Cosmos DB ThroughputPool account. The \"Update\" method is preferred when\n * performing updates on an account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param throughputPoolAccountName Cosmos DB global database account in a Throughput Pool\n * @param body The parameters to provide for the current ThroughputPoolAccount.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n throughputPoolName: string,\n throughputPoolAccountName: string,\n body: ThroughputPoolAccountResource,\n options?: ThroughputPoolAccountCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ThroughputPoolAccountCreateResponse>,\n ThroughputPoolAccountCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ThroughputPoolAccountCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n throughputPoolName,\n throughputPoolAccountName,\n body,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n ThroughputPoolAccountCreateResponse,\n OperationState<ThroughputPoolAccountCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates an Azure Cosmos DB ThroughputPool account. The \"Update\" method is preferred when\n * performing updates on an account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param throughputPoolAccountName Cosmos DB global database account in a Throughput Pool\n * @param body The parameters to provide for the current ThroughputPoolAccount.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n throughputPoolName: string,\n throughputPoolAccountName: string,\n body: ThroughputPoolAccountResource,\n options?: ThroughputPoolAccountCreateOptionalParams,\n ): Promise<ThroughputPoolAccountCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n throughputPoolName,\n throughputPoolAccountName,\n body,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Removes an existing Azure Cosmos DB database account from a throughput pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param throughputPoolAccountName Cosmos DB global database account in a Throughput Pool\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n throughputPoolName: string,\n throughputPoolAccountName: string,\n options?: ThroughputPoolAccountDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ThroughputPoolAccountDeleteResponse>,\n ThroughputPoolAccountDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ThroughputPoolAccountDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n throughputPoolName,\n throughputPoolAccountName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n ThroughputPoolAccountDeleteResponse,\n OperationState<ThroughputPoolAccountDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Removes an existing Azure Cosmos DB database account from a throughput pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param throughputPoolAccountName Cosmos DB global database account in a Throughput Pool\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n throughputPoolName: string,\n throughputPoolAccountName: string,\n options?: ThroughputPoolAccountDeleteOptionalParams,\n ): Promise<ThroughputPoolAccountDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n throughputPoolName,\n throughputPoolAccountName,\n options,\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools/{throughputPoolName}/throughputPoolAccounts/{throughputPoolAccountName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolAccountResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.throughputPoolName,\n Parameters.throughputPoolAccountName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools/{throughputPoolName}/throughputPoolAccounts/{throughputPoolAccountName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolAccountResource,\n },\n 201: {\n bodyMapper: Mappers.ThroughputPoolAccountResource,\n },\n 202: {\n bodyMapper: Mappers.ThroughputPoolAccountResource,\n },\n 204: {\n bodyMapper: Mappers.ThroughputPoolAccountResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.body6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.throughputPoolName,\n Parameters.throughputPoolAccountName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools/{throughputPoolName}/throughputPoolAccounts/{throughputPoolAccountName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ThroughputPoolAccountDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.ThroughputPoolAccountDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.ThroughputPoolAccountDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.ThroughputPoolAccountDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.throughputPoolName,\n Parameters.throughputPoolAccountName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,38 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { ThroughputPoolAccounts } from "../operationsInterfaces/index.js";
3
- import { CosmosDBManagementClient } from "../cosmosDBManagementClient.js";
4
- import { ThroughputPoolAccountResource, ThroughputPoolAccountsListOptionalParams } from "../models/index.js";
5
- /** Class containing ThroughputPoolAccounts operations. */
6
- export declare class ThroughputPoolAccountsImpl implements ThroughputPoolAccounts {
7
- private readonly client;
8
- /**
9
- * Initialize a new instance of the class ThroughputPoolAccounts class.
10
- * @param client Reference to the service client
11
- */
12
- constructor(client: CosmosDBManagementClient);
13
- /**
14
- * Lists all the Azure Cosmos DB accounts available under the subscription.
15
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
- * @param throughputPoolName Cosmos DB Throughput Pool name.
17
- * @param options The options parameters.
18
- */
19
- list(resourceGroupName: string, throughputPoolName: string, options?: ThroughputPoolAccountsListOptionalParams): PagedAsyncIterableIterator<ThroughputPoolAccountResource>;
20
- private listPagingPage;
21
- private listPagingAll;
22
- /**
23
- * Lists all the Azure Cosmos DB accounts available under the subscription.
24
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
- * @param throughputPoolName Cosmos DB Throughput Pool name.
26
- * @param options The options parameters.
27
- */
28
- private _list;
29
- /**
30
- * ListNext
31
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
- * @param throughputPoolName Cosmos DB Throughput Pool name.
33
- * @param nextLink The nextLink from the previous successful call to the List method.
34
- * @param options The options parameters.
35
- */
36
- private _listNext;
37
- }
38
- //# sourceMappingURL=throughputPoolAccounts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"throughputPoolAccounts.d.ts","sourceRoot":"","sources":["../../../src/operations/throughputPoolAccounts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAI1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,6BAA6B,EAE7B,wCAAwC,EAGzC,MAAM,oBAAoB,CAAC;AAG5B,0DAA0D;AAC1D,qBAAa,0BAA2B,YAAW,sBAAsB;IACvE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,6BAA6B,CAAC;YA2B7C,cAAc;YA6Bd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
@@ -1,150 +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
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper.js";
10
- import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers.js";
12
- import * as Parameters from "../models/parameters.js";
13
- /// <reference lib="esnext.asynciterable" />
14
- /** Class containing ThroughputPoolAccounts operations. */
15
- export class ThroughputPoolAccountsImpl {
16
- /**
17
- * Initialize a new instance of the class ThroughputPoolAccounts class.
18
- * @param client Reference to the service client
19
- */
20
- constructor(client) {
21
- this.client = client;
22
- }
23
- /**
24
- * Lists all the Azure Cosmos DB accounts available under the subscription.
25
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
- * @param throughputPoolName Cosmos DB Throughput Pool name.
27
- * @param options The options parameters.
28
- */
29
- list(resourceGroupName, throughputPoolName, options) {
30
- const iter = this.listPagingAll(resourceGroupName, throughputPoolName, options);
31
- return {
32
- next() {
33
- return iter.next();
34
- },
35
- [Symbol.asyncIterator]() {
36
- return this;
37
- },
38
- byPage: (settings) => {
39
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
- throw new Error("maxPageSize is not supported by this operation.");
41
- }
42
- return this.listPagingPage(resourceGroupName, throughputPoolName, options, settings);
43
- },
44
- };
45
- }
46
- listPagingPage(resourceGroupName, throughputPoolName, options, settings) {
47
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
48
- let result;
49
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
50
- if (!continuationToken) {
51
- result = yield __await(this._list(resourceGroupName, throughputPoolName, options));
52
- let page = result.value || [];
53
- continuationToken = result.nextLink;
54
- setContinuationToken(page, continuationToken);
55
- yield yield __await(page);
56
- }
57
- while (continuationToken) {
58
- result = yield __await(this._listNext(resourceGroupName, throughputPoolName, continuationToken, options));
59
- continuationToken = result.nextLink;
60
- let page = result.value || [];
61
- setContinuationToken(page, continuationToken);
62
- yield yield __await(page);
63
- }
64
- });
65
- }
66
- listPagingAll(resourceGroupName, throughputPoolName, options) {
67
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
68
- var _a, e_1, _b, _c;
69
- try {
70
- for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, throughputPoolName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
71
- _c = _f.value;
72
- _d = false;
73
- const page = _c;
74
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
75
- }
76
- }
77
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
78
- finally {
79
- try {
80
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
81
- }
82
- finally { if (e_1) throw e_1.error; }
83
- }
84
- });
85
- }
86
- /**
87
- * Lists all the Azure Cosmos DB accounts available under the subscription.
88
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
89
- * @param throughputPoolName Cosmos DB Throughput Pool name.
90
- * @param options The options parameters.
91
- */
92
- _list(resourceGroupName, throughputPoolName, options) {
93
- return this.client.sendOperationRequest({ resourceGroupName, throughputPoolName, options }, listOperationSpec);
94
- }
95
- /**
96
- * ListNext
97
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
98
- * @param throughputPoolName Cosmos DB Throughput Pool name.
99
- * @param nextLink The nextLink from the previous successful call to the List method.
100
- * @param options The options parameters.
101
- */
102
- _listNext(resourceGroupName, throughputPoolName, nextLink, options) {
103
- return this.client.sendOperationRequest({ resourceGroupName, throughputPoolName, nextLink, options }, listNextOperationSpec);
104
- }
105
- }
106
- // Operation Specifications
107
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
108
- const listOperationSpec = {
109
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools/{throughputPoolName}/throughputPoolAccounts",
110
- httpMethod: "GET",
111
- responses: {
112
- 200: {
113
- bodyMapper: Mappers.ThroughputPoolAccountsListResult,
114
- },
115
- default: {
116
- bodyMapper: Mappers.ErrorResponse,
117
- },
118
- },
119
- queryParameters: [Parameters.apiVersion],
120
- urlParameters: [
121
- Parameters.$host,
122
- Parameters.subscriptionId,
123
- Parameters.resourceGroupName,
124
- Parameters.throughputPoolName,
125
- ],
126
- headerParameters: [Parameters.accept],
127
- serializer,
128
- };
129
- const listNextOperationSpec = {
130
- path: "{nextLink}",
131
- httpMethod: "GET",
132
- responses: {
133
- 200: {
134
- bodyMapper: Mappers.ThroughputPoolAccountsListResult,
135
- },
136
- default: {
137
- bodyMapper: Mappers.ErrorResponse,
138
- },
139
- },
140
- urlParameters: [
141
- Parameters.$host,
142
- Parameters.subscriptionId,
143
- Parameters.resourceGroupName,
144
- Parameters.nextLink,
145
- Parameters.throughputPoolName,
146
- ],
147
- headerParameters: [Parameters.accept],
148
- serializer,
149
- };
150
- //# sourceMappingURL=throughputPoolAccounts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"throughputPoolAccounts.js","sourceRoot":"","sources":["../../../src/operations/throughputPoolAccounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,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MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,+JAA+J;IACrK,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;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,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ThroughputPoolAccounts } 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 { CosmosDBManagementClient } from \"../cosmosDBManagementClient.js\";\nimport {\n ThroughputPoolAccountResource,\n ThroughputPoolAccountsListNextOptionalParams,\n ThroughputPoolAccountsListOptionalParams,\n ThroughputPoolAccountsListResponse,\n ThroughputPoolAccountsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ThroughputPoolAccounts operations. */\nexport class ThroughputPoolAccountsImpl implements ThroughputPoolAccounts {\n private readonly client: CosmosDBManagementClient;\n\n /**\n * Initialize a new instance of the class ThroughputPoolAccounts class.\n * @param client Reference to the service client\n */\n constructor(client: CosmosDBManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the Azure Cosmos DB accounts available under the subscription.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n throughputPoolName: string,\n options?: ThroughputPoolAccountsListOptionalParams,\n ): PagedAsyncIterableIterator<ThroughputPoolAccountResource> {\n const iter = this.listPagingAll(\n resourceGroupName,\n throughputPoolName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n throughputPoolName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n throughputPoolName: string,\n options?: ThroughputPoolAccountsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ThroughputPoolAccountResource[]> {\n let result: ThroughputPoolAccountsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, throughputPoolName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n throughputPoolName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n throughputPoolName: string,\n options?: ThroughputPoolAccountsListOptionalParams,\n ): AsyncIterableIterator<ThroughputPoolAccountResource> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n throughputPoolName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the Azure Cosmos DB accounts available under the subscription.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n throughputPoolName: string,\n options?: ThroughputPoolAccountsListOptionalParams,\n ): Promise<ThroughputPoolAccountsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, throughputPoolName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n throughputPoolName: string,\n nextLink: string,\n options?: ThroughputPoolAccountsListNextOptionalParams,\n ): Promise<ThroughputPoolAccountsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, throughputPoolName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools/{throughputPoolName}/throughputPoolAccounts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolAccountsListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.throughputPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolAccountsListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.throughputPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,53 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { ThroughputPools } from "../operationsInterfaces/index.js";
3
- import { CosmosDBManagementClient } from "../cosmosDBManagementClient.js";
4
- import { ThroughputPoolResource, ThroughputPoolsListOptionalParams, ThroughputPoolsListByResourceGroupOptionalParams } from "../models/index.js";
5
- /** Class containing ThroughputPools operations. */
6
- export declare class ThroughputPoolsImpl implements ThroughputPools {
7
- private readonly client;
8
- /**
9
- * Initialize a new instance of the class ThroughputPools class.
10
- * @param client Reference to the service client
11
- */
12
- constructor(client: CosmosDBManagementClient);
13
- /**
14
- * Lists all the Azure Cosmos DB Throughput Pools available under the subscription.
15
- * @param options The options parameters.
16
- */
17
- list(options?: ThroughputPoolsListOptionalParams): PagedAsyncIterableIterator<ThroughputPoolResource>;
18
- private listPagingPage;
19
- private listPagingAll;
20
- /**
21
- * List all the ThroughputPools in a given resource group.
22
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
- * @param options The options parameters.
24
- */
25
- listByResourceGroup(resourceGroupName: string, options?: ThroughputPoolsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ThroughputPoolResource>;
26
- private listByResourceGroupPagingPage;
27
- private listByResourceGroupPagingAll;
28
- /**
29
- * Lists all the Azure Cosmos DB Throughput Pools available under the subscription.
30
- * @param options The options parameters.
31
- */
32
- private _list;
33
- /**
34
- * List all the ThroughputPools in a given resource group.
35
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
36
- * @param options The options parameters.
37
- */
38
- private _listByResourceGroup;
39
- /**
40
- * ListNext
41
- * @param nextLink The nextLink from the previous successful call to the List method.
42
- * @param options The options parameters.
43
- */
44
- private _listNext;
45
- /**
46
- * ListByResourceGroupNext
47
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
48
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
49
- * @param options The options parameters.
50
- */
51
- private _listByResourceGroupNext;
52
- }
53
- //# sourceMappingURL=throughputPools.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"throughputPools.d.ts","sourceRoot":"","sources":["../../../src/operations/throughputPools.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,sBAAsB,EAEtB,iCAAiC,EAGjC,gDAAgD,EAIjD,MAAM,oBAAoB,CAAC;AAG5B,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,iCAAiC,GAC1C,0BAA0B,CAAC,sBAAsB,CAAC;YAkBtC,cAAc;YAsBd,aAAa;IAQ5B;;;;OAIG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,gDAAgD,GACzD,0BAA0B,CAAC,sBAAsB,CAAC;YAsBtC,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAUjB;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
@@ -1,256 +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
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper.js";
10
- import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers.js";
12
- import * as Parameters from "../models/parameters.js";
13
- /// <reference lib="esnext.asynciterable" />
14
- /** Class containing ThroughputPools operations. */
15
- export class ThroughputPoolsImpl {
16
- /**
17
- * Initialize a new instance of the class ThroughputPools class.
18
- * @param client Reference to the service client
19
- */
20
- constructor(client) {
21
- this.client = client;
22
- }
23
- /**
24
- * Lists all the Azure Cosmos DB Throughput Pools available under the subscription.
25
- * @param options The options parameters.
26
- */
27
- list(options) {
28
- const iter = this.listPagingAll(options);
29
- return {
30
- next() {
31
- return iter.next();
32
- },
33
- [Symbol.asyncIterator]() {
34
- return this;
35
- },
36
- byPage: (settings) => {
37
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
38
- throw new Error("maxPageSize is not supported by this operation.");
39
- }
40
- return this.listPagingPage(options, settings);
41
- },
42
- };
43
- }
44
- listPagingPage(options, settings) {
45
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
46
- let result;
47
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
48
- if (!continuationToken) {
49
- result = yield __await(this._list(options));
50
- let page = result.value || [];
51
- continuationToken = result.nextLink;
52
- setContinuationToken(page, continuationToken);
53
- yield yield __await(page);
54
- }
55
- while (continuationToken) {
56
- result = yield __await(this._listNext(continuationToken, options));
57
- continuationToken = result.nextLink;
58
- let page = result.value || [];
59
- setContinuationToken(page, continuationToken);
60
- yield yield __await(page);
61
- }
62
- });
63
- }
64
- listPagingAll(options) {
65
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
66
- var _a, e_1, _b, _c;
67
- try {
68
- for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
69
- _c = _f.value;
70
- _d = false;
71
- const page = _c;
72
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
73
- }
74
- }
75
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
76
- finally {
77
- try {
78
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
79
- }
80
- finally { if (e_1) throw e_1.error; }
81
- }
82
- });
83
- }
84
- /**
85
- * List all the ThroughputPools in a given resource group.
86
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
87
- * @param options The options parameters.
88
- */
89
- listByResourceGroup(resourceGroupName, options) {
90
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
91
- return {
92
- next() {
93
- return iter.next();
94
- },
95
- [Symbol.asyncIterator]() {
96
- return this;
97
- },
98
- byPage: (settings) => {
99
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
100
- throw new Error("maxPageSize is not supported by this operation.");
101
- }
102
- return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
103
- },
104
- };
105
- }
106
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
107
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
108
- let result;
109
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
110
- if (!continuationToken) {
111
- result = yield __await(this._listByResourceGroup(resourceGroupName, options));
112
- let page = result.value || [];
113
- continuationToken = result.nextLink;
114
- setContinuationToken(page, continuationToken);
115
- yield yield __await(page);
116
- }
117
- while (continuationToken) {
118
- result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
119
- continuationToken = result.nextLink;
120
- let page = result.value || [];
121
- setContinuationToken(page, continuationToken);
122
- yield yield __await(page);
123
- }
124
- });
125
- }
126
- listByResourceGroupPagingAll(resourceGroupName, options) {
127
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
128
- var _a, e_2, _b, _c;
129
- try {
130
- for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
131
- _c = _f.value;
132
- _d = false;
133
- const page = _c;
134
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
135
- }
136
- }
137
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
138
- finally {
139
- try {
140
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
141
- }
142
- finally { if (e_2) throw e_2.error; }
143
- }
144
- });
145
- }
146
- /**
147
- * Lists all the Azure Cosmos DB Throughput Pools available under the subscription.
148
- * @param options The options parameters.
149
- */
150
- _list(options) {
151
- return this.client.sendOperationRequest({ options }, listOperationSpec);
152
- }
153
- /**
154
- * List all the ThroughputPools in a given resource group.
155
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
156
- * @param options The options parameters.
157
- */
158
- _listByResourceGroup(resourceGroupName, options) {
159
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
160
- }
161
- /**
162
- * ListNext
163
- * @param nextLink The nextLink from the previous successful call to the List method.
164
- * @param options The options parameters.
165
- */
166
- _listNext(nextLink, options) {
167
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
168
- }
169
- /**
170
- * ListByResourceGroupNext
171
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
172
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
173
- * @param options The options parameters.
174
- */
175
- _listByResourceGroupNext(resourceGroupName, nextLink, options) {
176
- return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
177
- }
178
- }
179
- // Operation Specifications
180
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
181
- const listOperationSpec = {
182
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/throughputPools",
183
- httpMethod: "GET",
184
- responses: {
185
- 200: {
186
- bodyMapper: Mappers.ThroughputPoolsListResult,
187
- },
188
- default: {
189
- bodyMapper: Mappers.ErrorResponse,
190
- },
191
- },
192
- queryParameters: [Parameters.apiVersion],
193
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
194
- headerParameters: [Parameters.accept],
195
- serializer,
196
- };
197
- const listByResourceGroupOperationSpec = {
198
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools",
199
- httpMethod: "GET",
200
- responses: {
201
- 200: {
202
- bodyMapper: Mappers.ThroughputPoolsListResult,
203
- },
204
- default: {
205
- bodyMapper: Mappers.ErrorResponse,
206
- },
207
- },
208
- queryParameters: [Parameters.apiVersion],
209
- urlParameters: [
210
- Parameters.$host,
211
- Parameters.subscriptionId,
212
- Parameters.resourceGroupName,
213
- ],
214
- headerParameters: [Parameters.accept],
215
- serializer,
216
- };
217
- const listNextOperationSpec = {
218
- path: "{nextLink}",
219
- httpMethod: "GET",
220
- responses: {
221
- 200: {
222
- bodyMapper: Mappers.ThroughputPoolsListResult,
223
- },
224
- default: {
225
- bodyMapper: Mappers.ErrorResponse,
226
- },
227
- },
228
- urlParameters: [
229
- Parameters.$host,
230
- Parameters.subscriptionId,
231
- Parameters.nextLink,
232
- ],
233
- headerParameters: [Parameters.accept],
234
- serializer,
235
- };
236
- const listByResourceGroupNextOperationSpec = {
237
- path: "{nextLink}",
238
- httpMethod: "GET",
239
- responses: {
240
- 200: {
241
- bodyMapper: Mappers.ThroughputPoolsListResult,
242
- },
243
- default: {
244
- bodyMapper: Mappers.ErrorResponse,
245
- },
246
- },
247
- urlParameters: [
248
- Parameters.$host,
249
- Parameters.subscriptionId,
250
- Parameters.resourceGroupName,
251
- Parameters.nextLink,
252
- ],
253
- headerParameters: [Parameters.accept],
254
- serializer,
255
- };
256
- //# sourceMappingURL=throughputPools.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"throughputPools.js","sourceRoot":"","sources":["../../../src/operations/throughputPools.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AActD,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAA2C;QAE3C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,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,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAA2C,EAC3C,QAAuB;;YAEvB,IAAI,MAAmC,CAAC;YACxC,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACvB,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,OAA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ACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ThroughputPools } 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 { CosmosDBManagementClient } from \"../cosmosDBManagementClient.js\";\nimport {\n ThroughputPoolResource,\n ThroughputPoolsListNextOptionalParams,\n ThroughputPoolsListOptionalParams,\n ThroughputPoolsListResponse,\n ThroughputPoolsListByResourceGroupNextOptionalParams,\n ThroughputPoolsListByResourceGroupOptionalParams,\n ThroughputPoolsListByResourceGroupResponse,\n ThroughputPoolsListNextResponse,\n ThroughputPoolsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ThroughputPools operations. */\nexport class ThroughputPoolsImpl implements ThroughputPools {\n private readonly client: CosmosDBManagementClient;\n\n /**\n * Initialize a new instance of the class ThroughputPools class.\n * @param client Reference to the service client\n */\n constructor(client: CosmosDBManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the Azure Cosmos DB Throughput Pools available under the subscription.\n * @param options The options parameters.\n */\n public list(\n options?: ThroughputPoolsListOptionalParams,\n ): PagedAsyncIterableIterator<ThroughputPoolResource> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: ThroughputPoolsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ThroughputPoolResource[]> {\n let result: ThroughputPoolsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: ThroughputPoolsListOptionalParams,\n ): AsyncIterableIterator<ThroughputPoolResource> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List all the ThroughputPools in a given resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ThroughputPoolsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ThroughputPoolResource> {\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?: ThroughputPoolsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ThroughputPoolResource[]> {\n let result: ThroughputPoolsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ThroughputPoolsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ThroughputPoolResource> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the Azure Cosmos DB Throughput Pools available under the subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: ThroughputPoolsListOptionalParams,\n ): Promise<ThroughputPoolsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * List all the ThroughputPools in a given resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ThroughputPoolsListByResourceGroupOptionalParams,\n ): Promise<ThroughputPoolsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: ThroughputPoolsListNextOptionalParams,\n ): Promise<ThroughputPoolsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ThroughputPoolsListByResourceGroupNextOptionalParams,\n ): Promise<ThroughputPoolsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/throughputPools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolsListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolsListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolsListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolsListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,40 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
- import { ChaosFaultResource, ChaosFaultListOptionalParams, ChaosFaultEnableDisableOptionalParams, ChaosFaultEnableDisableResponse, ChaosFaultGetOptionalParams, ChaosFaultGetResponse } from "../models/index.js";
4
- /** Interface representing a ChaosFault. */
5
- export interface ChaosFault {
6
- /**
7
- * List Chaos Faults for CosmosDB account.
8
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
- * @param accountName Cosmos DB database account name.
10
- * @param options The options parameters.
11
- */
12
- list(resourceGroupName: string, accountName: string, options?: ChaosFaultListOptionalParams): PagedAsyncIterableIterator<ChaosFaultResource>;
13
- /**
14
- * Enable, disable Chaos Fault in a CosmosDB account.
15
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
- * @param accountName Cosmos DB database account name.
17
- * @param chaosFault The name of the ChaosFault.
18
- * @param chaosFaultRequest A request object to enable/disable the chaos fault.
19
- * @param options The options parameters.
20
- */
21
- beginEnableDisable(resourceGroupName: string, accountName: string, chaosFault: string, chaosFaultRequest: ChaosFaultResource, options?: ChaosFaultEnableDisableOptionalParams): Promise<SimplePollerLike<OperationState<ChaosFaultEnableDisableResponse>, ChaosFaultEnableDisableResponse>>;
22
- /**
23
- * Enable, disable Chaos Fault in a CosmosDB account.
24
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
- * @param accountName Cosmos DB database account name.
26
- * @param chaosFault The name of the ChaosFault.
27
- * @param chaosFaultRequest A request object to enable/disable the chaos fault.
28
- * @param options The options parameters.
29
- */
30
- beginEnableDisableAndWait(resourceGroupName: string, accountName: string, chaosFault: string, chaosFaultRequest: ChaosFaultResource, options?: ChaosFaultEnableDisableOptionalParams): Promise<ChaosFaultEnableDisableResponse>;
31
- /**
32
- * Get Chaos Fault for a CosmosdB account for a particular Chaos Fault.
33
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
- * @param accountName Cosmos DB database account name.
35
- * @param chaosFault The name of the ChaosFault.
36
- * @param options The options parameters.
37
- */
38
- get(resourceGroupName: string, accountName: string, chaosFault: string, options?: ChaosFaultGetOptionalParams): Promise<ChaosFaultGetResponse>;
39
- }
40
- //# sourceMappingURL=chaosFault.d.ts.map