@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
@@ -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",