@azure/arm-cosmosdb 16.3.0-alpha.20250522.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 (533) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/LICENSE +1 -1
  3. package/README.md +2 -2
  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 +7 -0
  10. package/dist/browser/lroImpl.js.map +1 -1
  11. package/dist/browser/models/index.d.ts +285 -2015
  12. package/dist/browser/models/index.d.ts.map +1 -1
  13. package/dist/browser/models/index.js +12 -196
  14. package/dist/browser/models/index.js.map +1 -1
  15. package/dist/browser/models/mappers.d.ts +29 -131
  16. package/dist/browser/models/mappers.d.ts.map +1 -1
  17. package/dist/browser/models/mappers.js +1733 -4254
  18. package/dist/browser/models/mappers.js.map +1 -1
  19. package/dist/browser/models/parameters.d.ts +6 -28
  20. package/dist/browser/models/parameters.d.ts.map +1 -1
  21. package/dist/browser/models/parameters.js +45 -206
  22. package/dist/browser/models/parameters.js.map +1 -1
  23. package/dist/browser/operations/cassandraClusters.d.ts +1 -65
  24. package/dist/browser/operations/cassandraClusters.d.ts.map +1 -1
  25. package/dist/browser/operations/cassandraClusters.js +1 -310
  26. package/dist/browser/operations/cassandraClusters.js.map +1 -1
  27. package/dist/browser/operations/cassandraDataCenters.js +2 -2
  28. package/dist/browser/operations/cassandraDataCenters.js.map +1 -1
  29. package/dist/browser/operations/cassandraResources.d.ts +1 -134
  30. package/dist/browser/operations/cassandraResources.d.ts.map +1 -1
  31. package/dist/browser/operations/cassandraResources.js +0 -579
  32. package/dist/browser/operations/cassandraResources.js.map +1 -1
  33. package/dist/browser/operations/gremlinResources.js +8 -8
  34. package/dist/browser/operations/gremlinResources.js.map +1 -1
  35. package/dist/browser/operations/index.d.ts +0 -8
  36. package/dist/browser/operations/index.d.ts.map +1 -1
  37. package/dist/browser/operations/index.js +0 -8
  38. package/dist/browser/operations/index.js.map +1 -1
  39. package/dist/browser/operations/mongoDBResources.d.ts +1 -123
  40. package/dist/browser/operations/mongoDBResources.d.ts.map +1 -1
  41. package/dist/browser/operations/mongoDBResources.js +0 -590
  42. package/dist/browser/operations/mongoDBResources.js.map +1 -1
  43. package/dist/browser/operations/sqlResources.d.ts +26 -148
  44. package/dist/browser/operations/sqlResources.d.ts.map +1 -1
  45. package/dist/browser/operations/sqlResources.js +92 -682
  46. package/dist/browser/operations/sqlResources.js.map +1 -1
  47. package/dist/browser/operations/tableResources.d.ts +1 -121
  48. package/dist/browser/operations/tableResources.d.ts.map +1 -1
  49. package/dist/browser/operations/tableResources.js +0 -568
  50. package/dist/browser/operations/tableResources.js.map +1 -1
  51. package/dist/browser/operationsInterfaces/cassandraClusters.d.ts +1 -47
  52. package/dist/browser/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
  53. package/dist/browser/operationsInterfaces/cassandraClusters.js.map +1 -1
  54. package/dist/browser/operationsInterfaces/cassandraResources.d.ts +1 -124
  55. package/dist/browser/operationsInterfaces/cassandraResources.d.ts.map +1 -1
  56. package/dist/browser/operationsInterfaces/cassandraResources.js.map +1 -1
  57. package/dist/browser/operationsInterfaces/collectionRegion.d.ts.map +1 -1
  58. package/dist/browser/operationsInterfaces/collectionRegion.js.map +1 -1
  59. package/dist/browser/operationsInterfaces/index.d.ts +0 -8
  60. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  61. package/dist/browser/operationsInterfaces/index.js +0 -8
  62. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  63. package/dist/browser/operationsInterfaces/mongoDBResources.d.ts +1 -123
  64. package/dist/browser/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
  65. package/dist/browser/operationsInterfaces/mongoDBResources.js.map +1 -1
  66. package/dist/browser/operationsInterfaces/sqlResources.d.ts +20 -142
  67. package/dist/browser/operationsInterfaces/sqlResources.d.ts.map +1 -1
  68. package/dist/browser/operationsInterfaces/sqlResources.js.map +1 -1
  69. package/dist/browser/operationsInterfaces/tableResources.d.ts +1 -103
  70. package/dist/browser/operationsInterfaces/tableResources.d.ts.map +1 -1
  71. package/dist/browser/operationsInterfaces/tableResources.js.map +1 -1
  72. package/dist/commonjs/cosmosDBManagementClient.d.ts +2 -10
  73. package/dist/commonjs/cosmosDBManagementClient.d.ts.map +1 -1
  74. package/dist/commonjs/cosmosDBManagementClient.js +3 -12
  75. package/dist/commonjs/cosmosDBManagementClient.js.map +1 -1
  76. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  77. package/dist/commonjs/lroImpl.js +7 -0
  78. package/dist/commonjs/lroImpl.js.map +1 -1
  79. package/dist/commonjs/models/index.d.ts +285 -2015
  80. package/dist/commonjs/models/index.d.ts.map +1 -1
  81. package/dist/commonjs/models/index.js +13 -198
  82. package/dist/commonjs/models/index.js.map +1 -1
  83. package/dist/commonjs/models/mappers.d.ts +29 -131
  84. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  85. package/dist/commonjs/models/mappers.js +1740 -4263
  86. package/dist/commonjs/models/mappers.js.map +1 -1
  87. package/dist/commonjs/models/parameters.d.ts +6 -28
  88. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  89. package/dist/commonjs/models/parameters.js +46 -207
  90. package/dist/commonjs/models/parameters.js.map +1 -1
  91. package/dist/commonjs/operations/cassandraClusters.d.ts +1 -65
  92. package/dist/commonjs/operations/cassandraClusters.d.ts.map +1 -1
  93. package/dist/commonjs/operations/cassandraClusters.js +1 -310
  94. package/dist/commonjs/operations/cassandraClusters.js.map +1 -1
  95. package/dist/commonjs/operations/cassandraDataCenters.js +2 -2
  96. package/dist/commonjs/operations/cassandraDataCenters.js.map +1 -1
  97. package/dist/commonjs/operations/cassandraResources.d.ts +1 -134
  98. package/dist/commonjs/operations/cassandraResources.d.ts.map +1 -1
  99. package/dist/commonjs/operations/cassandraResources.js +0 -579
  100. package/dist/commonjs/operations/cassandraResources.js.map +1 -1
  101. package/dist/commonjs/operations/gremlinResources.js +8 -8
  102. package/dist/commonjs/operations/gremlinResources.js.map +1 -1
  103. package/dist/commonjs/operations/index.d.ts +0 -8
  104. package/dist/commonjs/operations/index.d.ts.map +1 -1
  105. package/dist/commonjs/operations/index.js +0 -8
  106. package/dist/commonjs/operations/index.js.map +1 -1
  107. package/dist/commonjs/operations/mongoDBResources.d.ts +1 -123
  108. package/dist/commonjs/operations/mongoDBResources.d.ts.map +1 -1
  109. package/dist/commonjs/operations/mongoDBResources.js +0 -590
  110. package/dist/commonjs/operations/mongoDBResources.js.map +1 -1
  111. package/dist/commonjs/operations/sqlResources.d.ts +26 -148
  112. package/dist/commonjs/operations/sqlResources.d.ts.map +1 -1
  113. package/dist/commonjs/operations/sqlResources.js +92 -682
  114. package/dist/commonjs/operations/sqlResources.js.map +1 -1
  115. package/dist/commonjs/operations/tableResources.d.ts +1 -121
  116. package/dist/commonjs/operations/tableResources.d.ts.map +1 -1
  117. package/dist/commonjs/operations/tableResources.js +0 -568
  118. package/dist/commonjs/operations/tableResources.js.map +1 -1
  119. package/dist/commonjs/operationsInterfaces/cassandraClusters.d.ts +1 -47
  120. package/dist/commonjs/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
  121. package/dist/commonjs/operationsInterfaces/cassandraClusters.js.map +1 -1
  122. package/dist/commonjs/operationsInterfaces/cassandraResources.d.ts +1 -124
  123. package/dist/commonjs/operationsInterfaces/cassandraResources.d.ts.map +1 -1
  124. package/dist/commonjs/operationsInterfaces/cassandraResources.js.map +1 -1
  125. package/dist/commonjs/operationsInterfaces/collectionRegion.d.ts.map +1 -1
  126. package/dist/commonjs/operationsInterfaces/collectionRegion.js.map +1 -1
  127. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -8
  128. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  129. package/dist/commonjs/operationsInterfaces/index.js +0 -8
  130. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  131. package/dist/commonjs/operationsInterfaces/mongoDBResources.d.ts +1 -123
  132. package/dist/commonjs/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
  133. package/dist/commonjs/operationsInterfaces/mongoDBResources.js.map +1 -1
  134. package/dist/commonjs/operationsInterfaces/sqlResources.d.ts +20 -142
  135. package/dist/commonjs/operationsInterfaces/sqlResources.d.ts.map +1 -1
  136. package/dist/commonjs/operationsInterfaces/sqlResources.js.map +1 -1
  137. package/dist/commonjs/operationsInterfaces/tableResources.d.ts +1 -103
  138. package/dist/commonjs/operationsInterfaces/tableResources.d.ts.map +1 -1
  139. package/dist/commonjs/operationsInterfaces/tableResources.js.map +1 -1
  140. package/dist/esm/cosmosDBManagementClient.d.ts +2 -10
  141. package/dist/esm/cosmosDBManagementClient.d.ts.map +1 -1
  142. package/dist/esm/cosmosDBManagementClient.js +4 -13
  143. package/dist/esm/cosmosDBManagementClient.js.map +1 -1
  144. package/dist/esm/lroImpl.d.ts.map +1 -1
  145. package/dist/esm/lroImpl.js +7 -0
  146. package/dist/esm/lroImpl.js.map +1 -1
  147. package/dist/esm/models/index.d.ts +285 -2015
  148. package/dist/esm/models/index.d.ts.map +1 -1
  149. package/dist/esm/models/index.js +12 -196
  150. package/dist/esm/models/index.js.map +1 -1
  151. package/dist/esm/models/mappers.d.ts +29 -131
  152. package/dist/esm/models/mappers.d.ts.map +1 -1
  153. package/dist/esm/models/mappers.js +1733 -4254
  154. package/dist/esm/models/mappers.js.map +1 -1
  155. package/dist/esm/models/parameters.d.ts +6 -28
  156. package/dist/esm/models/parameters.d.ts.map +1 -1
  157. package/dist/esm/models/parameters.js +45 -206
  158. package/dist/esm/models/parameters.js.map +1 -1
  159. package/dist/esm/operations/cassandraClusters.d.ts +1 -65
  160. package/dist/esm/operations/cassandraClusters.d.ts.map +1 -1
  161. package/dist/esm/operations/cassandraClusters.js +1 -310
  162. package/dist/esm/operations/cassandraClusters.js.map +1 -1
  163. package/dist/esm/operations/cassandraDataCenters.js +2 -2
  164. package/dist/esm/operations/cassandraDataCenters.js.map +1 -1
  165. package/dist/esm/operations/cassandraResources.d.ts +1 -134
  166. package/dist/esm/operations/cassandraResources.d.ts.map +1 -1
  167. package/dist/esm/operations/cassandraResources.js +0 -579
  168. package/dist/esm/operations/cassandraResources.js.map +1 -1
  169. package/dist/esm/operations/gremlinResources.js +8 -8
  170. package/dist/esm/operations/gremlinResources.js.map +1 -1
  171. package/dist/esm/operations/index.d.ts +0 -8
  172. package/dist/esm/operations/index.d.ts.map +1 -1
  173. package/dist/esm/operations/index.js +0 -8
  174. package/dist/esm/operations/index.js.map +1 -1
  175. package/dist/esm/operations/mongoDBResources.d.ts +1 -123
  176. package/dist/esm/operations/mongoDBResources.d.ts.map +1 -1
  177. package/dist/esm/operations/mongoDBResources.js +0 -590
  178. package/dist/esm/operations/mongoDBResources.js.map +1 -1
  179. package/dist/esm/operations/sqlResources.d.ts +26 -148
  180. package/dist/esm/operations/sqlResources.d.ts.map +1 -1
  181. package/dist/esm/operations/sqlResources.js +92 -682
  182. package/dist/esm/operations/sqlResources.js.map +1 -1
  183. package/dist/esm/operations/tableResources.d.ts +1 -121
  184. package/dist/esm/operations/tableResources.d.ts.map +1 -1
  185. package/dist/esm/operations/tableResources.js +0 -568
  186. package/dist/esm/operations/tableResources.js.map +1 -1
  187. package/dist/esm/operationsInterfaces/cassandraClusters.d.ts +1 -47
  188. package/dist/esm/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
  189. package/dist/esm/operationsInterfaces/cassandraClusters.js.map +1 -1
  190. package/dist/esm/operationsInterfaces/cassandraResources.d.ts +1 -124
  191. package/dist/esm/operationsInterfaces/cassandraResources.d.ts.map +1 -1
  192. package/dist/esm/operationsInterfaces/cassandraResources.js.map +1 -1
  193. package/dist/esm/operationsInterfaces/collectionRegion.d.ts.map +1 -1
  194. package/dist/esm/operationsInterfaces/collectionRegion.js.map +1 -1
  195. package/dist/esm/operationsInterfaces/index.d.ts +0 -8
  196. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  197. package/dist/esm/operationsInterfaces/index.js +0 -8
  198. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  199. package/dist/esm/operationsInterfaces/mongoDBResources.d.ts +1 -123
  200. package/dist/esm/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
  201. package/dist/esm/operationsInterfaces/mongoDBResources.js.map +1 -1
  202. package/dist/esm/operationsInterfaces/sqlResources.d.ts +20 -142
  203. package/dist/esm/operationsInterfaces/sqlResources.d.ts.map +1 -1
  204. package/dist/esm/operationsInterfaces/sqlResources.js.map +1 -1
  205. package/dist/esm/operationsInterfaces/tableResources.d.ts +1 -103
  206. package/dist/esm/operationsInterfaces/tableResources.d.ts.map +1 -1
  207. package/dist/esm/operationsInterfaces/tableResources.js.map +1 -1
  208. package/dist/react-native/cosmosDBManagementClient.d.ts +2 -10
  209. package/dist/react-native/cosmosDBManagementClient.d.ts.map +1 -1
  210. package/dist/react-native/cosmosDBManagementClient.js +4 -13
  211. package/dist/react-native/cosmosDBManagementClient.js.map +1 -1
  212. package/dist/react-native/lroImpl.d.ts.map +1 -1
  213. package/dist/react-native/lroImpl.js +7 -0
  214. package/dist/react-native/lroImpl.js.map +1 -1
  215. package/dist/react-native/models/index.d.ts +285 -2015
  216. package/dist/react-native/models/index.d.ts.map +1 -1
  217. package/dist/react-native/models/index.js +12 -196
  218. package/dist/react-native/models/index.js.map +1 -1
  219. package/dist/react-native/models/mappers.d.ts +29 -131
  220. package/dist/react-native/models/mappers.d.ts.map +1 -1
  221. package/dist/react-native/models/mappers.js +1733 -4254
  222. package/dist/react-native/models/mappers.js.map +1 -1
  223. package/dist/react-native/models/parameters.d.ts +6 -28
  224. package/dist/react-native/models/parameters.d.ts.map +1 -1
  225. package/dist/react-native/models/parameters.js +45 -206
  226. package/dist/react-native/models/parameters.js.map +1 -1
  227. package/dist/react-native/operations/cassandraClusters.d.ts +1 -65
  228. package/dist/react-native/operations/cassandraClusters.d.ts.map +1 -1
  229. package/dist/react-native/operations/cassandraClusters.js +1 -310
  230. package/dist/react-native/operations/cassandraClusters.js.map +1 -1
  231. package/dist/react-native/operations/cassandraDataCenters.js +2 -2
  232. package/dist/react-native/operations/cassandraDataCenters.js.map +1 -1
  233. package/dist/react-native/operations/cassandraResources.d.ts +1 -134
  234. package/dist/react-native/operations/cassandraResources.d.ts.map +1 -1
  235. package/dist/react-native/operations/cassandraResources.js +0 -579
  236. package/dist/react-native/operations/cassandraResources.js.map +1 -1
  237. package/dist/react-native/operations/gremlinResources.js +8 -8
  238. package/dist/react-native/operations/gremlinResources.js.map +1 -1
  239. package/dist/react-native/operations/index.d.ts +0 -8
  240. package/dist/react-native/operations/index.d.ts.map +1 -1
  241. package/dist/react-native/operations/index.js +0 -8
  242. package/dist/react-native/operations/index.js.map +1 -1
  243. package/dist/react-native/operations/mongoDBResources.d.ts +1 -123
  244. package/dist/react-native/operations/mongoDBResources.d.ts.map +1 -1
  245. package/dist/react-native/operations/mongoDBResources.js +0 -590
  246. package/dist/react-native/operations/mongoDBResources.js.map +1 -1
  247. package/dist/react-native/operations/sqlResources.d.ts +26 -148
  248. package/dist/react-native/operations/sqlResources.d.ts.map +1 -1
  249. package/dist/react-native/operations/sqlResources.js +92 -682
  250. package/dist/react-native/operations/sqlResources.js.map +1 -1
  251. package/dist/react-native/operations/tableResources.d.ts +1 -121
  252. package/dist/react-native/operations/tableResources.d.ts.map +1 -1
  253. package/dist/react-native/operations/tableResources.js +0 -568
  254. package/dist/react-native/operations/tableResources.js.map +1 -1
  255. package/dist/react-native/operationsInterfaces/cassandraClusters.d.ts +1 -47
  256. package/dist/react-native/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
  257. package/dist/react-native/operationsInterfaces/cassandraClusters.js.map +1 -1
  258. package/dist/react-native/operationsInterfaces/cassandraResources.d.ts +1 -124
  259. package/dist/react-native/operationsInterfaces/cassandraResources.d.ts.map +1 -1
  260. package/dist/react-native/operationsInterfaces/cassandraResources.js.map +1 -1
  261. package/dist/react-native/operationsInterfaces/collectionRegion.d.ts.map +1 -1
  262. package/dist/react-native/operationsInterfaces/collectionRegion.js.map +1 -1
  263. package/dist/react-native/operationsInterfaces/index.d.ts +0 -8
  264. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  265. package/dist/react-native/operationsInterfaces/index.js +0 -8
  266. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  267. package/dist/react-native/operationsInterfaces/mongoDBResources.d.ts +1 -123
  268. package/dist/react-native/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
  269. package/dist/react-native/operationsInterfaces/mongoDBResources.js.map +1 -1
  270. package/dist/react-native/operationsInterfaces/sqlResources.d.ts +20 -142
  271. package/dist/react-native/operationsInterfaces/sqlResources.d.ts.map +1 -1
  272. package/dist/react-native/operationsInterfaces/sqlResources.js.map +1 -1
  273. package/dist/react-native/operationsInterfaces/tableResources.d.ts +1 -103
  274. package/dist/react-native/operationsInterfaces/tableResources.d.ts.map +1 -1
  275. package/dist/react-native/operationsInterfaces/tableResources.js.map +1 -1
  276. package/package.json +23 -23
  277. package/review/arm-cosmosdb.api.md +39 -1537
  278. package/dist/browser/operations/chaosFault.d.ts +0 -65
  279. package/dist/browser/operations/chaosFault.d.ts.map +0 -1
  280. package/dist/browser/operations/chaosFault.js +0 -279
  281. package/dist/browser/operations/chaosFault.js.map +0 -1
  282. package/dist/browser/operations/dataTransferJobs.d.ts +0 -87
  283. package/dist/browser/operations/dataTransferJobs.d.ts.map +0 -1
  284. package/dist/browser/operations/dataTransferJobs.js +0 -345
  285. package/dist/browser/operations/dataTransferJobs.js.map +0 -1
  286. package/dist/browser/operations/graphResources.d.ts +0 -73
  287. package/dist/browser/operations/graphResources.d.ts.map +0 -1
  288. package/dist/browser/operations/graphResources.js +0 -291
  289. package/dist/browser/operations/graphResources.js.map +0 -1
  290. package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
  291. package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  292. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js +0 -282
  293. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
  294. package/dist/browser/operations/throughputPool.d.ts +0 -67
  295. package/dist/browser/operations/throughputPool.d.ts.map +0 -1
  296. package/dist/browser/operations/throughputPool.js +0 -308
  297. package/dist/browser/operations/throughputPool.js.map +0 -1
  298. package/dist/browser/operations/throughputPoolAccount.d.ts +0 -58
  299. package/dist/browser/operations/throughputPoolAccount.d.ts.map +0 -1
  300. package/dist/browser/operations/throughputPoolAccount.js +0 -248
  301. package/dist/browser/operations/throughputPoolAccount.js.map +0 -1
  302. package/dist/browser/operations/throughputPoolAccounts.d.ts +0 -38
  303. package/dist/browser/operations/throughputPoolAccounts.d.ts.map +0 -1
  304. package/dist/browser/operations/throughputPoolAccounts.js +0 -150
  305. package/dist/browser/operations/throughputPoolAccounts.js.map +0 -1
  306. package/dist/browser/operations/throughputPools.d.ts +0 -53
  307. package/dist/browser/operations/throughputPools.d.ts.map +0 -1
  308. package/dist/browser/operations/throughputPools.js +0 -256
  309. package/dist/browser/operations/throughputPools.js.map +0 -1
  310. package/dist/browser/operationsInterfaces/chaosFault.d.ts +0 -40
  311. package/dist/browser/operationsInterfaces/chaosFault.d.ts.map +0 -1
  312. package/dist/browser/operationsInterfaces/chaosFault.js +0 -9
  313. package/dist/browser/operationsInterfaces/chaosFault.js.map +0 -1
  314. package/dist/browser/operationsInterfaces/dataTransferJobs.d.ts +0 -62
  315. package/dist/browser/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
  316. package/dist/browser/operationsInterfaces/dataTransferJobs.js +0 -9
  317. package/dist/browser/operationsInterfaces/dataTransferJobs.js.map +0 -1
  318. package/dist/browser/operationsInterfaces/graphResources.d.ts +0 -56
  319. package/dist/browser/operationsInterfaces/graphResources.d.ts.map +0 -1
  320. package/dist/browser/operationsInterfaces/graphResources.js +0 -9
  321. package/dist/browser/operationsInterfaces/graphResources.js.map +0 -1
  322. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
  323. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  324. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -9
  325. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
  326. package/dist/browser/operationsInterfaces/throughputPool.d.ts +0 -59
  327. package/dist/browser/operationsInterfaces/throughputPool.d.ts.map +0 -1
  328. package/dist/browser/operationsInterfaces/throughputPool.js +0 -9
  329. package/dist/browser/operationsInterfaces/throughputPool.js.map +0 -1
  330. package/dist/browser/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
  331. package/dist/browser/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
  332. package/dist/browser/operationsInterfaces/throughputPoolAccount.js +0 -9
  333. package/dist/browser/operationsInterfaces/throughputPoolAccount.js.map +0 -1
  334. package/dist/browser/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
  335. package/dist/browser/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
  336. package/dist/browser/operationsInterfaces/throughputPoolAccounts.js +0 -9
  337. package/dist/browser/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
  338. package/dist/browser/operationsInterfaces/throughputPools.d.ts +0 -17
  339. package/dist/browser/operationsInterfaces/throughputPools.d.ts.map +0 -1
  340. package/dist/browser/operationsInterfaces/throughputPools.js +0 -9
  341. package/dist/browser/operationsInterfaces/throughputPools.js.map +0 -1
  342. package/dist/commonjs/operations/chaosFault.d.ts +0 -65
  343. package/dist/commonjs/operations/chaosFault.d.ts.map +0 -1
  344. package/dist/commonjs/operations/chaosFault.js +0 -283
  345. package/dist/commonjs/operations/chaosFault.js.map +0 -1
  346. package/dist/commonjs/operations/dataTransferJobs.d.ts +0 -87
  347. package/dist/commonjs/operations/dataTransferJobs.d.ts.map +0 -1
  348. package/dist/commonjs/operations/dataTransferJobs.js +0 -349
  349. package/dist/commonjs/operations/dataTransferJobs.js.map +0 -1
  350. package/dist/commonjs/operations/graphResources.d.ts +0 -73
  351. package/dist/commonjs/operations/graphResources.d.ts.map +0 -1
  352. package/dist/commonjs/operations/graphResources.js +0 -295
  353. package/dist/commonjs/operations/graphResources.js.map +0 -1
  354. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
  355. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  356. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +0 -286
  357. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
  358. package/dist/commonjs/operations/throughputPool.d.ts +0 -67
  359. package/dist/commonjs/operations/throughputPool.d.ts.map +0 -1
  360. package/dist/commonjs/operations/throughputPool.js +0 -313
  361. package/dist/commonjs/operations/throughputPool.js.map +0 -1
  362. package/dist/commonjs/operations/throughputPoolAccount.d.ts +0 -58
  363. package/dist/commonjs/operations/throughputPoolAccount.d.ts.map +0 -1
  364. package/dist/commonjs/operations/throughputPoolAccount.js +0 -253
  365. package/dist/commonjs/operations/throughputPoolAccount.js.map +0 -1
  366. package/dist/commonjs/operations/throughputPoolAccounts.d.ts +0 -38
  367. package/dist/commonjs/operations/throughputPoolAccounts.d.ts.map +0 -1
  368. package/dist/commonjs/operations/throughputPoolAccounts.js +0 -154
  369. package/dist/commonjs/operations/throughputPoolAccounts.js.map +0 -1
  370. package/dist/commonjs/operations/throughputPools.d.ts +0 -53
  371. package/dist/commonjs/operations/throughputPools.d.ts.map +0 -1
  372. package/dist/commonjs/operations/throughputPools.js +0 -260
  373. package/dist/commonjs/operations/throughputPools.js.map +0 -1
  374. package/dist/commonjs/operationsInterfaces/chaosFault.d.ts +0 -40
  375. package/dist/commonjs/operationsInterfaces/chaosFault.d.ts.map +0 -1
  376. package/dist/commonjs/operationsInterfaces/chaosFault.js +0 -10
  377. package/dist/commonjs/operationsInterfaces/chaosFault.js.map +0 -1
  378. package/dist/commonjs/operationsInterfaces/dataTransferJobs.d.ts +0 -62
  379. package/dist/commonjs/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
  380. package/dist/commonjs/operationsInterfaces/dataTransferJobs.js +0 -10
  381. package/dist/commonjs/operationsInterfaces/dataTransferJobs.js.map +0 -1
  382. package/dist/commonjs/operationsInterfaces/graphResources.d.ts +0 -56
  383. package/dist/commonjs/operationsInterfaces/graphResources.d.ts.map +0 -1
  384. package/dist/commonjs/operationsInterfaces/graphResources.js +0 -10
  385. package/dist/commonjs/operationsInterfaces/graphResources.js.map +0 -1
  386. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
  387. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  388. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -10
  389. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
  390. package/dist/commonjs/operationsInterfaces/throughputPool.d.ts +0 -59
  391. package/dist/commonjs/operationsInterfaces/throughputPool.d.ts.map +0 -1
  392. package/dist/commonjs/operationsInterfaces/throughputPool.js +0 -10
  393. package/dist/commonjs/operationsInterfaces/throughputPool.js.map +0 -1
  394. package/dist/commonjs/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
  395. package/dist/commonjs/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
  396. package/dist/commonjs/operationsInterfaces/throughputPoolAccount.js +0 -10
  397. package/dist/commonjs/operationsInterfaces/throughputPoolAccount.js.map +0 -1
  398. package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
  399. package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
  400. package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.js +0 -10
  401. package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
  402. package/dist/commonjs/operationsInterfaces/throughputPools.d.ts +0 -17
  403. package/dist/commonjs/operationsInterfaces/throughputPools.d.ts.map +0 -1
  404. package/dist/commonjs/operationsInterfaces/throughputPools.js +0 -10
  405. package/dist/commonjs/operationsInterfaces/throughputPools.js.map +0 -1
  406. package/dist/esm/operations/chaosFault.d.ts +0 -65
  407. package/dist/esm/operations/chaosFault.d.ts.map +0 -1
  408. package/dist/esm/operations/chaosFault.js +0 -279
  409. package/dist/esm/operations/chaosFault.js.map +0 -1
  410. package/dist/esm/operations/dataTransferJobs.d.ts +0 -87
  411. package/dist/esm/operations/dataTransferJobs.d.ts.map +0 -1
  412. package/dist/esm/operations/dataTransferJobs.js +0 -345
  413. package/dist/esm/operations/dataTransferJobs.js.map +0 -1
  414. package/dist/esm/operations/graphResources.d.ts +0 -73
  415. package/dist/esm/operations/graphResources.d.ts.map +0 -1
  416. package/dist/esm/operations/graphResources.js +0 -291
  417. package/dist/esm/operations/graphResources.js.map +0 -1
  418. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
  419. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  420. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +0 -282
  421. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
  422. package/dist/esm/operations/throughputPool.d.ts +0 -67
  423. package/dist/esm/operations/throughputPool.d.ts.map +0 -1
  424. package/dist/esm/operations/throughputPool.js +0 -308
  425. package/dist/esm/operations/throughputPool.js.map +0 -1
  426. package/dist/esm/operations/throughputPoolAccount.d.ts +0 -58
  427. package/dist/esm/operations/throughputPoolAccount.d.ts.map +0 -1
  428. package/dist/esm/operations/throughputPoolAccount.js +0 -248
  429. package/dist/esm/operations/throughputPoolAccount.js.map +0 -1
  430. package/dist/esm/operations/throughputPoolAccounts.d.ts +0 -38
  431. package/dist/esm/operations/throughputPoolAccounts.d.ts.map +0 -1
  432. package/dist/esm/operations/throughputPoolAccounts.js +0 -150
  433. package/dist/esm/operations/throughputPoolAccounts.js.map +0 -1
  434. package/dist/esm/operations/throughputPools.d.ts +0 -53
  435. package/dist/esm/operations/throughputPools.d.ts.map +0 -1
  436. package/dist/esm/operations/throughputPools.js +0 -256
  437. package/dist/esm/operations/throughputPools.js.map +0 -1
  438. package/dist/esm/operationsInterfaces/chaosFault.d.ts +0 -40
  439. package/dist/esm/operationsInterfaces/chaosFault.d.ts.map +0 -1
  440. package/dist/esm/operationsInterfaces/chaosFault.js +0 -9
  441. package/dist/esm/operationsInterfaces/chaosFault.js.map +0 -1
  442. package/dist/esm/operationsInterfaces/dataTransferJobs.d.ts +0 -62
  443. package/dist/esm/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
  444. package/dist/esm/operationsInterfaces/dataTransferJobs.js +0 -9
  445. package/dist/esm/operationsInterfaces/dataTransferJobs.js.map +0 -1
  446. package/dist/esm/operationsInterfaces/graphResources.d.ts +0 -56
  447. package/dist/esm/operationsInterfaces/graphResources.d.ts.map +0 -1
  448. package/dist/esm/operationsInterfaces/graphResources.js +0 -9
  449. package/dist/esm/operationsInterfaces/graphResources.js.map +0 -1
  450. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
  451. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  452. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -9
  453. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
  454. package/dist/esm/operationsInterfaces/throughputPool.d.ts +0 -59
  455. package/dist/esm/operationsInterfaces/throughputPool.d.ts.map +0 -1
  456. package/dist/esm/operationsInterfaces/throughputPool.js +0 -9
  457. package/dist/esm/operationsInterfaces/throughputPool.js.map +0 -1
  458. package/dist/esm/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
  459. package/dist/esm/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
  460. package/dist/esm/operationsInterfaces/throughputPoolAccount.js +0 -9
  461. package/dist/esm/operationsInterfaces/throughputPoolAccount.js.map +0 -1
  462. package/dist/esm/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
  463. package/dist/esm/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
  464. package/dist/esm/operationsInterfaces/throughputPoolAccounts.js +0 -9
  465. package/dist/esm/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
  466. package/dist/esm/operationsInterfaces/throughputPools.d.ts +0 -17
  467. package/dist/esm/operationsInterfaces/throughputPools.d.ts.map +0 -1
  468. package/dist/esm/operationsInterfaces/throughputPools.js +0 -9
  469. package/dist/esm/operationsInterfaces/throughputPools.js.map +0 -1
  470. package/dist/react-native/operations/chaosFault.d.ts +0 -65
  471. package/dist/react-native/operations/chaosFault.d.ts.map +0 -1
  472. package/dist/react-native/operations/chaosFault.js +0 -279
  473. package/dist/react-native/operations/chaosFault.js.map +0 -1
  474. package/dist/react-native/operations/dataTransferJobs.d.ts +0 -87
  475. package/dist/react-native/operations/dataTransferJobs.d.ts.map +0 -1
  476. package/dist/react-native/operations/dataTransferJobs.js +0 -345
  477. package/dist/react-native/operations/dataTransferJobs.js.map +0 -1
  478. package/dist/react-native/operations/graphResources.d.ts +0 -73
  479. package/dist/react-native/operations/graphResources.d.ts.map +0 -1
  480. package/dist/react-native/operations/graphResources.js +0 -291
  481. package/dist/react-native/operations/graphResources.js.map +0 -1
  482. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
  483. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  484. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +0 -282
  485. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
  486. package/dist/react-native/operations/throughputPool.d.ts +0 -67
  487. package/dist/react-native/operations/throughputPool.d.ts.map +0 -1
  488. package/dist/react-native/operations/throughputPool.js +0 -308
  489. package/dist/react-native/operations/throughputPool.js.map +0 -1
  490. package/dist/react-native/operations/throughputPoolAccount.d.ts +0 -58
  491. package/dist/react-native/operations/throughputPoolAccount.d.ts.map +0 -1
  492. package/dist/react-native/operations/throughputPoolAccount.js +0 -248
  493. package/dist/react-native/operations/throughputPoolAccount.js.map +0 -1
  494. package/dist/react-native/operations/throughputPoolAccounts.d.ts +0 -38
  495. package/dist/react-native/operations/throughputPoolAccounts.d.ts.map +0 -1
  496. package/dist/react-native/operations/throughputPoolAccounts.js +0 -150
  497. package/dist/react-native/operations/throughputPoolAccounts.js.map +0 -1
  498. package/dist/react-native/operations/throughputPools.d.ts +0 -53
  499. package/dist/react-native/operations/throughputPools.d.ts.map +0 -1
  500. package/dist/react-native/operations/throughputPools.js +0 -256
  501. package/dist/react-native/operations/throughputPools.js.map +0 -1
  502. package/dist/react-native/operationsInterfaces/chaosFault.d.ts +0 -40
  503. package/dist/react-native/operationsInterfaces/chaosFault.d.ts.map +0 -1
  504. package/dist/react-native/operationsInterfaces/chaosFault.js +0 -9
  505. package/dist/react-native/operationsInterfaces/chaosFault.js.map +0 -1
  506. package/dist/react-native/operationsInterfaces/dataTransferJobs.d.ts +0 -62
  507. package/dist/react-native/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
  508. package/dist/react-native/operationsInterfaces/dataTransferJobs.js +0 -9
  509. package/dist/react-native/operationsInterfaces/dataTransferJobs.js.map +0 -1
  510. package/dist/react-native/operationsInterfaces/graphResources.d.ts +0 -56
  511. package/dist/react-native/operationsInterfaces/graphResources.d.ts.map +0 -1
  512. package/dist/react-native/operationsInterfaces/graphResources.js +0 -9
  513. package/dist/react-native/operationsInterfaces/graphResources.js.map +0 -1
  514. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
  515. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  516. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -9
  517. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
  518. package/dist/react-native/operationsInterfaces/throughputPool.d.ts +0 -59
  519. package/dist/react-native/operationsInterfaces/throughputPool.d.ts.map +0 -1
  520. package/dist/react-native/operationsInterfaces/throughputPool.js +0 -9
  521. package/dist/react-native/operationsInterfaces/throughputPool.js.map +0 -1
  522. package/dist/react-native/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
  523. package/dist/react-native/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
  524. package/dist/react-native/operationsInterfaces/throughputPoolAccount.js +0 -9
  525. package/dist/react-native/operationsInterfaces/throughputPoolAccount.js.map +0 -1
  526. package/dist/react-native/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
  527. package/dist/react-native/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
  528. package/dist/react-native/operationsInterfaces/throughputPoolAccounts.js +0 -9
  529. package/dist/react-native/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
  530. package/dist/react-native/operationsInterfaces/throughputPools.d.ts +0 -17
  531. package/dist/react-native/operationsInterfaces/throughputPools.d.ts.map +0 -1
  532. package/dist/react-native/operationsInterfaces/throughputPools.js +0 -9
  533. package/dist/react-native/operationsInterfaces/throughputPools.js.map +0 -1
@@ -541,268 +541,6 @@ class MongoDBResourcesImpl {
541
541
  const poller = await this.beginMigrateMongoDBDatabaseToManualThroughput(resourceGroupName, accountName, databaseName, options);
542
542
  return poller.pollUntilDone();
543
543
  }
544
- /**
545
- * Retrieve throughput distribution for an Azure Cosmos DB MongoDB database
546
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
547
- * @param accountName Cosmos DB database account name.
548
- * @param databaseName Cosmos DB database name.
549
- * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
550
- * for the current MongoDB database.
551
- * @param options The options parameters.
552
- */
553
- async beginMongoDBDatabaseRetrieveThroughputDistribution(resourceGroupName, accountName, databaseName, retrieveThroughputParameters, options) {
554
- const directSendOperation = async (args, spec) => {
555
- return this.client.sendOperationRequest(args, spec);
556
- };
557
- const sendOperationFn = async (args, spec) => {
558
- var _a;
559
- let currentRawResponse = undefined;
560
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
561
- const callback = (rawResponse, flatResponse) => {
562
- currentRawResponse = rawResponse;
563
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
564
- };
565
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
566
- const flatResponse = await directSendOperation(updatedArgs, spec);
567
- return {
568
- flatResponse,
569
- rawResponse: {
570
- statusCode: currentRawResponse.status,
571
- body: currentRawResponse.parsedBody,
572
- headers: currentRawResponse.headers.toJSON(),
573
- },
574
- };
575
- };
576
- const lro = (0, lroImpl_js_1.createLroSpec)({
577
- sendOperationFn,
578
- args: {
579
- resourceGroupName,
580
- accountName,
581
- databaseName,
582
- retrieveThroughputParameters,
583
- options,
584
- },
585
- spec: mongoDBDatabaseRetrieveThroughputDistributionOperationSpec,
586
- });
587
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
588
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
589
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
590
- resourceLocationConfig: "location",
591
- });
592
- await poller.poll();
593
- return poller;
594
- }
595
- /**
596
- * Retrieve throughput distribution for an Azure Cosmos DB MongoDB database
597
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
598
- * @param accountName Cosmos DB database account name.
599
- * @param databaseName Cosmos DB database name.
600
- * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
601
- * for the current MongoDB database.
602
- * @param options The options parameters.
603
- */
604
- async beginMongoDBDatabaseRetrieveThroughputDistributionAndWait(resourceGroupName, accountName, databaseName, retrieveThroughputParameters, options) {
605
- const poller = await this.beginMongoDBDatabaseRetrieveThroughputDistribution(resourceGroupName, accountName, databaseName, retrieveThroughputParameters, options);
606
- return poller.pollUntilDone();
607
- }
608
- /**
609
- * Redistribute throughput for an Azure Cosmos DB MongoDB database
610
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
611
- * @param accountName Cosmos DB database account name.
612
- * @param databaseName Cosmos DB database name.
613
- * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for
614
- * the current MongoDB database.
615
- * @param options The options parameters.
616
- */
617
- async beginMongoDBDatabaseRedistributeThroughput(resourceGroupName, accountName, databaseName, redistributeThroughputParameters, options) {
618
- const directSendOperation = async (args, spec) => {
619
- return this.client.sendOperationRequest(args, spec);
620
- };
621
- const sendOperationFn = async (args, spec) => {
622
- var _a;
623
- let currentRawResponse = undefined;
624
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
625
- const callback = (rawResponse, flatResponse) => {
626
- currentRawResponse = rawResponse;
627
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
628
- };
629
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
630
- const flatResponse = await directSendOperation(updatedArgs, spec);
631
- return {
632
- flatResponse,
633
- rawResponse: {
634
- statusCode: currentRawResponse.status,
635
- body: currentRawResponse.parsedBody,
636
- headers: currentRawResponse.headers.toJSON(),
637
- },
638
- };
639
- };
640
- const lro = (0, lroImpl_js_1.createLroSpec)({
641
- sendOperationFn,
642
- args: {
643
- resourceGroupName,
644
- accountName,
645
- databaseName,
646
- redistributeThroughputParameters,
647
- options,
648
- },
649
- spec: mongoDBDatabaseRedistributeThroughputOperationSpec,
650
- });
651
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
652
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
653
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
654
- resourceLocationConfig: "location",
655
- });
656
- await poller.poll();
657
- return poller;
658
- }
659
- /**
660
- * Redistribute throughput for an Azure Cosmos DB MongoDB database
661
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
662
- * @param accountName Cosmos DB database account name.
663
- * @param databaseName Cosmos DB database name.
664
- * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for
665
- * the current MongoDB database.
666
- * @param options The options parameters.
667
- */
668
- async beginMongoDBDatabaseRedistributeThroughputAndWait(resourceGroupName, accountName, databaseName, redistributeThroughputParameters, options) {
669
- const poller = await this.beginMongoDBDatabaseRedistributeThroughput(resourceGroupName, accountName, databaseName, redistributeThroughputParameters, options);
670
- return poller.pollUntilDone();
671
- }
672
- /**
673
- * Retrieve throughput distribution for an Azure Cosmos DB MongoDB container
674
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
675
- * @param accountName Cosmos DB database account name.
676
- * @param databaseName Cosmos DB database name.
677
- * @param collectionName Cosmos DB collection name.
678
- * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
679
- * for the current MongoDB container.
680
- * @param options The options parameters.
681
- */
682
- async beginMongoDBContainerRetrieveThroughputDistribution(resourceGroupName, accountName, databaseName, collectionName, retrieveThroughputParameters, options) {
683
- const directSendOperation = async (args, spec) => {
684
- return this.client.sendOperationRequest(args, spec);
685
- };
686
- const sendOperationFn = async (args, spec) => {
687
- var _a;
688
- let currentRawResponse = undefined;
689
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
690
- const callback = (rawResponse, flatResponse) => {
691
- currentRawResponse = rawResponse;
692
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
693
- };
694
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
695
- const flatResponse = await directSendOperation(updatedArgs, spec);
696
- return {
697
- flatResponse,
698
- rawResponse: {
699
- statusCode: currentRawResponse.status,
700
- body: currentRawResponse.parsedBody,
701
- headers: currentRawResponse.headers.toJSON(),
702
- },
703
- };
704
- };
705
- const lro = (0, lroImpl_js_1.createLroSpec)({
706
- sendOperationFn,
707
- args: {
708
- resourceGroupName,
709
- accountName,
710
- databaseName,
711
- collectionName,
712
- retrieveThroughputParameters,
713
- options,
714
- },
715
- spec: mongoDBContainerRetrieveThroughputDistributionOperationSpec,
716
- });
717
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
718
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
719
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
720
- resourceLocationConfig: "location",
721
- });
722
- await poller.poll();
723
- return poller;
724
- }
725
- /**
726
- * Retrieve throughput distribution for an Azure Cosmos DB MongoDB container
727
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
728
- * @param accountName Cosmos DB database account name.
729
- * @param databaseName Cosmos DB database name.
730
- * @param collectionName Cosmos DB collection name.
731
- * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
732
- * for the current MongoDB container.
733
- * @param options The options parameters.
734
- */
735
- async beginMongoDBContainerRetrieveThroughputDistributionAndWait(resourceGroupName, accountName, databaseName, collectionName, retrieveThroughputParameters, options) {
736
- const poller = await this.beginMongoDBContainerRetrieveThroughputDistribution(resourceGroupName, accountName, databaseName, collectionName, retrieveThroughputParameters, options);
737
- return poller.pollUntilDone();
738
- }
739
- /**
740
- * Redistribute throughput for an Azure Cosmos DB MongoDB container
741
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
742
- * @param accountName Cosmos DB database account name.
743
- * @param databaseName Cosmos DB database name.
744
- * @param collectionName Cosmos DB collection name.
745
- * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for
746
- * the current MongoDB container.
747
- * @param options The options parameters.
748
- */
749
- async beginMongoDBContainerRedistributeThroughput(resourceGroupName, accountName, databaseName, collectionName, redistributeThroughputParameters, options) {
750
- const directSendOperation = async (args, spec) => {
751
- return this.client.sendOperationRequest(args, spec);
752
- };
753
- const sendOperationFn = async (args, spec) => {
754
- var _a;
755
- let currentRawResponse = undefined;
756
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
757
- const callback = (rawResponse, flatResponse) => {
758
- currentRawResponse = rawResponse;
759
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
760
- };
761
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
762
- const flatResponse = await directSendOperation(updatedArgs, spec);
763
- return {
764
- flatResponse,
765
- rawResponse: {
766
- statusCode: currentRawResponse.status,
767
- body: currentRawResponse.parsedBody,
768
- headers: currentRawResponse.headers.toJSON(),
769
- },
770
- };
771
- };
772
- const lro = (0, lroImpl_js_1.createLroSpec)({
773
- sendOperationFn,
774
- args: {
775
- resourceGroupName,
776
- accountName,
777
- databaseName,
778
- collectionName,
779
- redistributeThroughputParameters,
780
- options,
781
- },
782
- spec: mongoDBContainerRedistributeThroughputOperationSpec,
783
- });
784
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
785
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
786
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
787
- resourceLocationConfig: "location",
788
- });
789
- await poller.poll();
790
- return poller;
791
- }
792
- /**
793
- * Redistribute throughput for an Azure Cosmos DB MongoDB container
794
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
795
- * @param accountName Cosmos DB database account name.
796
- * @param databaseName Cosmos DB database name.
797
- * @param collectionName Cosmos DB collection name.
798
- * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for
799
- * the current MongoDB container.
800
- * @param options The options parameters.
801
- */
802
- async beginMongoDBContainerRedistributeThroughputAndWait(resourceGroupName, accountName, databaseName, collectionName, redistributeThroughputParameters, options) {
803
- const poller = await this.beginMongoDBContainerRedistributeThroughput(resourceGroupName, accountName, databaseName, collectionName, redistributeThroughputParameters, options);
804
- return poller.pollUntilDone();
805
- }
806
544
  /**
807
545
  * Lists the MongoDB collection under an existing Azure Cosmos DB database account.
808
546
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -951,133 +689,6 @@ class MongoDBResourcesImpl {
951
689
  const poller = await this.beginDeleteMongoDBCollection(resourceGroupName, accountName, databaseName, collectionName, options);
952
690
  return poller.pollUntilDone();
953
691
  }
954
- /**
955
- * Merges the partitions of a MongoDB database
956
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
957
- * @param accountName Cosmos DB database account name.
958
- * @param databaseName Cosmos DB database name.
959
- * @param mergeParameters The parameters for the merge operation.
960
- * @param options The options parameters.
961
- */
962
- async beginMongoDBDatabasePartitionMerge(resourceGroupName, accountName, databaseName, mergeParameters, options) {
963
- const directSendOperation = async (args, spec) => {
964
- return this.client.sendOperationRequest(args, spec);
965
- };
966
- const sendOperationFn = async (args, spec) => {
967
- var _a;
968
- let currentRawResponse = undefined;
969
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
970
- const callback = (rawResponse, flatResponse) => {
971
- currentRawResponse = rawResponse;
972
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
973
- };
974
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
975
- const flatResponse = await directSendOperation(updatedArgs, spec);
976
- return {
977
- flatResponse,
978
- rawResponse: {
979
- statusCode: currentRawResponse.status,
980
- body: currentRawResponse.parsedBody,
981
- headers: currentRawResponse.headers.toJSON(),
982
- },
983
- };
984
- };
985
- const lro = (0, lroImpl_js_1.createLroSpec)({
986
- sendOperationFn,
987
- args: {
988
- resourceGroupName,
989
- accountName,
990
- databaseName,
991
- mergeParameters,
992
- options,
993
- },
994
- spec: mongoDBDatabasePartitionMergeOperationSpec,
995
- });
996
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
997
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
998
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
999
- resourceLocationConfig: "location",
1000
- });
1001
- await poller.poll();
1002
- return poller;
1003
- }
1004
- /**
1005
- * Merges the partitions of a MongoDB database
1006
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1007
- * @param accountName Cosmos DB database account name.
1008
- * @param databaseName Cosmos DB database name.
1009
- * @param mergeParameters The parameters for the merge operation.
1010
- * @param options The options parameters.
1011
- */
1012
- async beginMongoDBDatabasePartitionMergeAndWait(resourceGroupName, accountName, databaseName, mergeParameters, options) {
1013
- const poller = await this.beginMongoDBDatabasePartitionMerge(resourceGroupName, accountName, databaseName, mergeParameters, options);
1014
- return poller.pollUntilDone();
1015
- }
1016
- /**
1017
- * Merges the partitions of a MongoDB Collection
1018
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1019
- * @param accountName Cosmos DB database account name.
1020
- * @param databaseName Cosmos DB database name.
1021
- * @param collectionName Cosmos DB collection name.
1022
- * @param mergeParameters The parameters for the merge operation.
1023
- * @param options The options parameters.
1024
- */
1025
- async beginListMongoDBCollectionPartitionMerge(resourceGroupName, accountName, databaseName, collectionName, mergeParameters, options) {
1026
- const directSendOperation = async (args, spec) => {
1027
- return this.client.sendOperationRequest(args, spec);
1028
- };
1029
- const sendOperationFn = async (args, spec) => {
1030
- var _a;
1031
- let currentRawResponse = undefined;
1032
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1033
- const callback = (rawResponse, flatResponse) => {
1034
- currentRawResponse = rawResponse;
1035
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1036
- };
1037
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1038
- const flatResponse = await directSendOperation(updatedArgs, spec);
1039
- return {
1040
- flatResponse,
1041
- rawResponse: {
1042
- statusCode: currentRawResponse.status,
1043
- body: currentRawResponse.parsedBody,
1044
- headers: currentRawResponse.headers.toJSON(),
1045
- },
1046
- };
1047
- };
1048
- const lro = (0, lroImpl_js_1.createLroSpec)({
1049
- sendOperationFn,
1050
- args: {
1051
- resourceGroupName,
1052
- accountName,
1053
- databaseName,
1054
- collectionName,
1055
- mergeParameters,
1056
- options,
1057
- },
1058
- spec: listMongoDBCollectionPartitionMergeOperationSpec,
1059
- });
1060
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
1061
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1062
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1063
- resourceLocationConfig: "location",
1064
- });
1065
- await poller.poll();
1066
- return poller;
1067
- }
1068
- /**
1069
- * Merges the partitions of a MongoDB Collection
1070
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1071
- * @param accountName Cosmos DB database account name.
1072
- * @param databaseName Cosmos DB database name.
1073
- * @param collectionName Cosmos DB collection name.
1074
- * @param mergeParameters The parameters for the merge operation.
1075
- * @param options The options parameters.
1076
- */
1077
- async beginListMongoDBCollectionPartitionMergeAndWait(resourceGroupName, accountName, databaseName, collectionName, mergeParameters, options) {
1078
- const poller = await this.beginListMongoDBCollectionPartitionMerge(resourceGroupName, accountName, databaseName, collectionName, mergeParameters, options);
1079
- return poller.pollUntilDone();
1080
- }
1081
692
  /**
1082
693
  * Gets the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account
1083
694
  * with the provided name.
@@ -1825,140 +1436,6 @@ const migrateMongoDBDatabaseToManualThroughputOperationSpec = {
1825
1436
  headerParameters: [Parameters.accept],
1826
1437
  serializer,
1827
1438
  };
1828
- const mongoDBDatabaseRetrieveThroughputDistributionOperationSpec = {
1829
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/retrieveThroughputDistribution",
1830
- httpMethod: "POST",
1831
- responses: {
1832
- 200: {
1833
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1834
- },
1835
- 201: {
1836
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1837
- },
1838
- 202: {
1839
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1840
- },
1841
- 204: {
1842
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1843
- },
1844
- default: {
1845
- bodyMapper: Mappers.ErrorResponse,
1846
- },
1847
- },
1848
- requestBody: Parameters.retrieveThroughputParameters,
1849
- queryParameters: [Parameters.apiVersion],
1850
- urlParameters: [
1851
- Parameters.$host,
1852
- Parameters.subscriptionId,
1853
- Parameters.resourceGroupName,
1854
- Parameters.accountName,
1855
- Parameters.databaseName,
1856
- ],
1857
- headerParameters: [Parameters.accept, Parameters.contentType],
1858
- mediaType: "json",
1859
- serializer,
1860
- };
1861
- const mongoDBDatabaseRedistributeThroughputOperationSpec = {
1862
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/redistributeThroughput",
1863
- httpMethod: "POST",
1864
- responses: {
1865
- 200: {
1866
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1867
- },
1868
- 201: {
1869
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1870
- },
1871
- 202: {
1872
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1873
- },
1874
- 204: {
1875
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1876
- },
1877
- default: {
1878
- bodyMapper: Mappers.ErrorResponse,
1879
- },
1880
- },
1881
- requestBody: Parameters.redistributeThroughputParameters,
1882
- queryParameters: [Parameters.apiVersion],
1883
- urlParameters: [
1884
- Parameters.$host,
1885
- Parameters.subscriptionId,
1886
- Parameters.resourceGroupName,
1887
- Parameters.accountName,
1888
- Parameters.databaseName,
1889
- ],
1890
- headerParameters: [Parameters.accept, Parameters.contentType],
1891
- mediaType: "json",
1892
- serializer,
1893
- };
1894
- const mongoDBContainerRetrieveThroughputDistributionOperationSpec = {
1895
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/retrieveThroughputDistribution",
1896
- httpMethod: "POST",
1897
- responses: {
1898
- 200: {
1899
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1900
- },
1901
- 201: {
1902
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1903
- },
1904
- 202: {
1905
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1906
- },
1907
- 204: {
1908
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1909
- },
1910
- default: {
1911
- bodyMapper: Mappers.ErrorResponse,
1912
- },
1913
- },
1914
- requestBody: Parameters.retrieveThroughputParameters,
1915
- queryParameters: [Parameters.apiVersion],
1916
- urlParameters: [
1917
- Parameters.$host,
1918
- Parameters.subscriptionId,
1919
- Parameters.resourceGroupName,
1920
- Parameters.accountName,
1921
- Parameters.databaseName,
1922
- Parameters.collectionName,
1923
- ],
1924
- headerParameters: [Parameters.accept, Parameters.contentType],
1925
- mediaType: "json",
1926
- serializer,
1927
- };
1928
- const mongoDBContainerRedistributeThroughputOperationSpec = {
1929
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/redistributeThroughput",
1930
- httpMethod: "POST",
1931
- responses: {
1932
- 200: {
1933
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1934
- },
1935
- 201: {
1936
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1937
- },
1938
- 202: {
1939
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1940
- },
1941
- 204: {
1942
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
1943
- },
1944
- default: {
1945
- bodyMapper: Mappers.ErrorResponse,
1946
- },
1947
- },
1948
- requestBody: Parameters.redistributeThroughputParameters,
1949
- queryParameters: [Parameters.apiVersion],
1950
- urlParameters: [
1951
- Parameters.$host,
1952
- Parameters.subscriptionId,
1953
- Parameters.resourceGroupName,
1954
- Parameters.accountName,
1955
- Parameters.databaseName,
1956
- Parameters.collectionName,
1957
- ],
1958
- headerParameters: [Parameters.accept, Parameters.contentType],
1959
- mediaType: "json",
1960
- serializer,
1961
- };
1962
1439
  const listMongoDBCollectionsOperationSpec = {
1963
1440
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections",
1964
1441
  httpMethod: "GET",
@@ -2057,73 +1534,6 @@ const deleteMongoDBCollectionOperationSpec = {
2057
1534
  ],
2058
1535
  serializer,
2059
1536
  };
2060
- const mongoDBDatabasePartitionMergeOperationSpec = {
2061
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/partitionMerge",
2062
- httpMethod: "POST",
2063
- responses: {
2064
- 200: {
2065
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2066
- },
2067
- 201: {
2068
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2069
- },
2070
- 202: {
2071
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2072
- },
2073
- 204: {
2074
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2075
- },
2076
- default: {
2077
- bodyMapper: Mappers.ErrorResponse,
2078
- },
2079
- },
2080
- requestBody: Parameters.mergeParameters,
2081
- queryParameters: [Parameters.apiVersion],
2082
- urlParameters: [
2083
- Parameters.$host,
2084
- Parameters.subscriptionId,
2085
- Parameters.resourceGroupName,
2086
- Parameters.accountName,
2087
- Parameters.databaseName,
2088
- ],
2089
- headerParameters: [Parameters.accept, Parameters.contentType],
2090
- mediaType: "json",
2091
- serializer,
2092
- };
2093
- const listMongoDBCollectionPartitionMergeOperationSpec = {
2094
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/partitionMerge",
2095
- httpMethod: "POST",
2096
- responses: {
2097
- 200: {
2098
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2099
- },
2100
- 201: {
2101
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2102
- },
2103
- 202: {
2104
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2105
- },
2106
- 204: {
2107
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2108
- },
2109
- default: {
2110
- bodyMapper: Mappers.ErrorResponse,
2111
- },
2112
- },
2113
- requestBody: Parameters.mergeParameters,
2114
- queryParameters: [Parameters.apiVersion],
2115
- urlParameters: [
2116
- Parameters.$host,
2117
- Parameters.subscriptionId,
2118
- Parameters.resourceGroupName,
2119
- Parameters.accountName,
2120
- Parameters.databaseName,
2121
- Parameters.collectionName,
2122
- ],
2123
- headerParameters: [Parameters.accept, Parameters.contentType],
2124
- mediaType: "json",
2125
- serializer,
2126
- };
2127
1537
  const getMongoDBCollectionThroughputOperationSpec = {
2128
1538
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default",
2129
1539
  httpMethod: "GET",