@azure/arm-cosmosdb 16.3.0-beta.1 → 16.4.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 (1678) hide show
  1. package/LICENSE +3 -3
  2. package/README.md +23 -16
  3. package/dist/browser/cosmosDBManagementClient.d.ts +7 -12
  4. package/dist/browser/cosmosDBManagementClient.d.ts.map +1 -1
  5. package/dist/browser/cosmosDBManagementClient.js +64 -27
  6. package/dist/browser/cosmosDBManagementClient.js.map +1 -1
  7. package/dist/browser/index.d.ts.map +1 -1
  8. package/dist/browser/index.js +4 -7
  9. package/dist/browser/index.js.map +1 -1
  10. package/dist/browser/lroImpl.d.ts +1 -1
  11. package/dist/browser/lroImpl.d.ts.map +1 -1
  12. package/dist/browser/lroImpl.js +9 -10
  13. package/dist/browser/lroImpl.js.map +1 -1
  14. package/dist/browser/models/index.d.ts +524 -1877
  15. package/dist/browser/models/index.d.ts.map +1 -1
  16. package/dist/browser/models/index.js +32 -187
  17. package/dist/browser/models/index.js.map +1 -1
  18. package/dist/browser/models/mappers.d.ts +49 -133
  19. package/dist/browser/models/mappers.d.ts.map +1 -1
  20. package/dist/browser/models/mappers.js +2162 -3792
  21. package/dist/browser/models/mappers.js.map +1 -1
  22. package/dist/browser/models/parameters.d.ts +12 -26
  23. package/dist/browser/models/parameters.d.ts.map +1 -1
  24. package/dist/browser/models/parameters.js +81 -182
  25. package/dist/browser/models/parameters.js.map +1 -1
  26. package/dist/browser/operations/cassandraClusters.d.ts +5 -69
  27. package/dist/browser/operations/cassandraClusters.d.ts.map +1 -1
  28. package/dist/browser/operations/cassandraClusters.js +90 -412
  29. package/dist/browser/operations/cassandraClusters.js.map +1 -1
  30. package/dist/browser/operations/cassandraDataCenters.d.ts +5 -5
  31. package/dist/browser/operations/cassandraDataCenters.d.ts.map +1 -1
  32. package/dist/browser/operations/cassandraDataCenters.js +48 -55
  33. package/dist/browser/operations/cassandraDataCenters.js.map +1 -1
  34. package/dist/browser/operations/cassandraResources.d.ts +5 -138
  35. package/dist/browser/operations/cassandraResources.d.ts.map +1 -1
  36. package/dist/browser/operations/cassandraResources.js +132 -700
  37. package/dist/browser/operations/cassandraResources.js.map +1 -1
  38. package/dist/browser/operations/collection.d.ts +4 -4
  39. package/dist/browser/operations/collection.d.ts.map +1 -1
  40. package/dist/browser/operations/collection.js +30 -86
  41. package/dist/browser/operations/collection.js.map +1 -1
  42. package/dist/browser/operations/collectionPartition.d.ts +4 -4
  43. package/dist/browser/operations/collectionPartition.d.ts.map +1 -1
  44. package/dist/browser/operations/collectionPartition.js +21 -60
  45. package/dist/browser/operations/collectionPartition.js.map +1 -1
  46. package/dist/browser/operations/collectionPartitionRegion.d.ts +4 -4
  47. package/dist/browser/operations/collectionPartitionRegion.d.ts.map +1 -1
  48. package/dist/browser/operations/collectionPartitionRegion.js +12 -34
  49. package/dist/browser/operations/collectionPartitionRegion.js.map +1 -1
  50. package/dist/browser/operations/collectionRegion.d.ts +4 -4
  51. package/dist/browser/operations/collectionRegion.d.ts.map +1 -1
  52. package/dist/browser/operations/collectionRegion.js +12 -34
  53. package/dist/browser/operations/collectionRegion.js.map +1 -1
  54. package/dist/browser/operations/database.d.ts +4 -4
  55. package/dist/browser/operations/database.d.ts.map +1 -1
  56. package/dist/browser/operations/database.js +30 -86
  57. package/dist/browser/operations/database.js.map +1 -1
  58. package/dist/browser/operations/databaseAccountRegion.d.ts +4 -4
  59. package/dist/browser/operations/databaseAccountRegion.d.ts.map +1 -1
  60. package/dist/browser/operations/databaseAccountRegion.js +12 -34
  61. package/dist/browser/operations/databaseAccountRegion.js.map +1 -1
  62. package/dist/browser/operations/databaseAccounts.d.ts +5 -5
  63. package/dist/browser/operations/databaseAccounts.d.ts.map +1 -1
  64. package/dist/browser/operations/databaseAccounts.js +127 -186
  65. package/dist/browser/operations/databaseAccounts.js.map +1 -1
  66. package/dist/browser/operations/fleet.d.ts +90 -0
  67. package/dist/browser/operations/fleet.d.ts.map +1 -0
  68. package/dist/browser/operations/fleet.js +396 -0
  69. package/dist/browser/operations/fleet.js.map +1 -0
  70. package/dist/browser/operations/fleetspace.d.ts +97 -0
  71. package/dist/browser/operations/fleetspace.d.ts.map +1 -0
  72. package/dist/browser/operations/fleetspace.js +438 -0
  73. package/dist/browser/operations/fleetspace.js.map +1 -0
  74. package/dist/browser/operations/fleetspaceAccount.d.ts +89 -0
  75. package/dist/browser/operations/fleetspaceAccount.d.ts.map +1 -0
  76. package/dist/browser/operations/fleetspaceAccount.js +378 -0
  77. package/dist/browser/operations/fleetspaceAccount.js.map +1 -0
  78. package/dist/browser/operations/gremlinResources.d.ts +5 -5
  79. package/dist/browser/operations/gremlinResources.d.ts.map +1 -1
  80. package/dist/browser/operations/gremlinResources.js +151 -135
  81. package/dist/browser/operations/gremlinResources.js.map +1 -1
  82. package/dist/browser/operations/index.d.ts +3 -8
  83. package/dist/browser/operations/index.d.ts.map +1 -1
  84. package/dist/browser/operations/index.js +7 -15
  85. package/dist/browser/operations/index.js.map +1 -1
  86. package/dist/browser/operations/locations.d.ts +4 -4
  87. package/dist/browser/operations/locations.d.ts.map +1 -1
  88. package/dist/browser/operations/locations.js +13 -39
  89. package/dist/browser/operations/locations.js.map +1 -1
  90. package/dist/browser/operations/mongoDBResources.d.ts +5 -127
  91. package/dist/browser/operations/mongoDBResources.d.ts.map +1 -1
  92. package/dist/browser/operations/mongoDBResources.js +205 -793
  93. package/dist/browser/operations/mongoDBResources.js.map +1 -1
  94. package/dist/browser/operations/notebookWorkspaces.d.ts +5 -5
  95. package/dist/browser/operations/notebookWorkspaces.d.ts.map +1 -1
  96. package/dist/browser/operations/notebookWorkspaces.js +57 -59
  97. package/dist/browser/operations/notebookWorkspaces.js.map +1 -1
  98. package/dist/browser/operations/operations.d.ts +4 -4
  99. package/dist/browser/operations/operations.d.ts.map +1 -1
  100. package/dist/browser/operations/operations.js +25 -47
  101. package/dist/browser/operations/operations.js.map +1 -1
  102. package/dist/browser/operations/partitionKeyRangeId.d.ts +4 -4
  103. package/dist/browser/operations/partitionKeyRangeId.d.ts.map +1 -1
  104. package/dist/browser/operations/partitionKeyRangeId.js +12 -34
  105. package/dist/browser/operations/partitionKeyRangeId.js.map +1 -1
  106. package/dist/browser/operations/partitionKeyRangeIdRegion.d.ts +4 -4
  107. package/dist/browser/operations/partitionKeyRangeIdRegion.d.ts.map +1 -1
  108. package/dist/browser/operations/partitionKeyRangeIdRegion.js +12 -34
  109. package/dist/browser/operations/partitionKeyRangeIdRegion.js.map +1 -1
  110. package/dist/browser/operations/percentile.d.ts +4 -4
  111. package/dist/browser/operations/percentile.d.ts.map +1 -1
  112. package/dist/browser/operations/percentile.js +12 -34
  113. package/dist/browser/operations/percentile.js.map +1 -1
  114. package/dist/browser/operations/percentileSourceTarget.d.ts +4 -4
  115. package/dist/browser/operations/percentileSourceTarget.d.ts.map +1 -1
  116. package/dist/browser/operations/percentileSourceTarget.js +12 -34
  117. package/dist/browser/operations/percentileSourceTarget.js.map +1 -1
  118. package/dist/browser/operations/percentileTarget.d.ts +4 -4
  119. package/dist/browser/operations/percentileTarget.d.ts.map +1 -1
  120. package/dist/browser/operations/percentileTarget.js +12 -34
  121. package/dist/browser/operations/percentileTarget.js.map +1 -1
  122. package/dist/browser/operations/privateEndpointConnections.d.ts +5 -5
  123. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
  124. package/dist/browser/operations/privateEndpointConnections.js +35 -47
  125. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  126. package/dist/browser/operations/privateLinkResources.d.ts +4 -4
  127. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -1
  128. package/dist/browser/operations/privateLinkResources.js +12 -34
  129. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  130. package/dist/browser/operations/restorableDatabaseAccounts.d.ts +4 -4
  131. package/dist/browser/operations/restorableDatabaseAccounts.d.ts.map +1 -1
  132. package/dist/browser/operations/restorableDatabaseAccounts.js +22 -65
  133. package/dist/browser/operations/restorableDatabaseAccounts.js.map +1 -1
  134. package/dist/browser/operations/restorableGremlinDatabases.d.ts +4 -4
  135. package/dist/browser/operations/restorableGremlinDatabases.d.ts.map +1 -1
  136. package/dist/browser/operations/restorableGremlinDatabases.js +12 -34
  137. package/dist/browser/operations/restorableGremlinDatabases.js.map +1 -1
  138. package/dist/browser/operations/restorableGremlinGraphs.d.ts +4 -4
  139. package/dist/browser/operations/restorableGremlinGraphs.d.ts.map +1 -1
  140. package/dist/browser/operations/restorableGremlinGraphs.js +12 -34
  141. package/dist/browser/operations/restorableGremlinGraphs.js.map +1 -1
  142. package/dist/browser/operations/restorableGremlinResources.d.ts +4 -4
  143. package/dist/browser/operations/restorableGremlinResources.d.ts.map +1 -1
  144. package/dist/browser/operations/restorableGremlinResources.js +12 -34
  145. package/dist/browser/operations/restorableGremlinResources.js.map +1 -1
  146. package/dist/browser/operations/restorableMongodbCollections.d.ts +4 -4
  147. package/dist/browser/operations/restorableMongodbCollections.d.ts.map +1 -1
  148. package/dist/browser/operations/restorableMongodbCollections.js +12 -34
  149. package/dist/browser/operations/restorableMongodbCollections.js.map +1 -1
  150. package/dist/browser/operations/restorableMongodbDatabases.d.ts +4 -4
  151. package/dist/browser/operations/restorableMongodbDatabases.d.ts.map +1 -1
  152. package/dist/browser/operations/restorableMongodbDatabases.js +12 -34
  153. package/dist/browser/operations/restorableMongodbDatabases.js.map +1 -1
  154. package/dist/browser/operations/restorableMongodbResources.d.ts +4 -4
  155. package/dist/browser/operations/restorableMongodbResources.d.ts.map +1 -1
  156. package/dist/browser/operations/restorableMongodbResources.js +12 -34
  157. package/dist/browser/operations/restorableMongodbResources.js.map +1 -1
  158. package/dist/browser/operations/restorableSqlContainers.d.ts +4 -4
  159. package/dist/browser/operations/restorableSqlContainers.d.ts.map +1 -1
  160. package/dist/browser/operations/restorableSqlContainers.js +12 -34
  161. package/dist/browser/operations/restorableSqlContainers.js.map +1 -1
  162. package/dist/browser/operations/restorableSqlDatabases.d.ts +4 -4
  163. package/dist/browser/operations/restorableSqlDatabases.d.ts.map +1 -1
  164. package/dist/browser/operations/restorableSqlDatabases.js +12 -34
  165. package/dist/browser/operations/restorableSqlDatabases.js.map +1 -1
  166. package/dist/browser/operations/restorableSqlResources.d.ts +4 -4
  167. package/dist/browser/operations/restorableSqlResources.d.ts.map +1 -1
  168. package/dist/browser/operations/restorableSqlResources.js +12 -34
  169. package/dist/browser/operations/restorableSqlResources.js.map +1 -1
  170. package/dist/browser/operations/restorableTableResources.d.ts +4 -4
  171. package/dist/browser/operations/restorableTableResources.d.ts.map +1 -1
  172. package/dist/browser/operations/restorableTableResources.js +12 -34
  173. package/dist/browser/operations/restorableTableResources.js.map +1 -1
  174. package/dist/browser/operations/restorableTables.d.ts +4 -4
  175. package/dist/browser/operations/restorableTables.d.ts.map +1 -1
  176. package/dist/browser/operations/restorableTables.js +13 -39
  177. package/dist/browser/operations/restorableTables.js.map +1 -1
  178. package/dist/browser/operations/service.d.ts +5 -5
  179. package/dist/browser/operations/service.d.ts.map +1 -1
  180. package/dist/browser/operations/service.js +35 -47
  181. package/dist/browser/operations/service.js.map +1 -1
  182. package/dist/browser/operations/sqlResources.d.ts +30 -152
  183. package/dist/browser/operations/sqlResources.d.ts.map +1 -1
  184. package/dist/browser/operations/sqlResources.js +375 -996
  185. package/dist/browser/operations/sqlResources.js.map +1 -1
  186. package/dist/browser/operations/tableResources.d.ts +5 -125
  187. package/dist/browser/operations/tableResources.d.ts.map +1 -1
  188. package/dist/browser/operations/tableResources.js +79 -639
  189. package/dist/browser/operations/tableResources.js.map +1 -1
  190. package/dist/browser/operationsInterfaces/cassandraClusters.d.ts +3 -49
  191. package/dist/browser/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
  192. package/dist/browser/operationsInterfaces/cassandraClusters.js +2 -7
  193. package/dist/browser/operationsInterfaces/cassandraClusters.js.map +1 -1
  194. package/dist/browser/operationsInterfaces/cassandraDataCenters.d.ts +3 -3
  195. package/dist/browser/operationsInterfaces/cassandraDataCenters.d.ts.map +1 -1
  196. package/dist/browser/operationsInterfaces/cassandraDataCenters.js +2 -7
  197. package/dist/browser/operationsInterfaces/cassandraDataCenters.js.map +1 -1
  198. package/dist/browser/operationsInterfaces/cassandraResources.d.ts +3 -126
  199. package/dist/browser/operationsInterfaces/cassandraResources.d.ts.map +1 -1
  200. package/dist/browser/operationsInterfaces/cassandraResources.js +2 -7
  201. package/dist/browser/operationsInterfaces/cassandraResources.js.map +1 -1
  202. package/dist/browser/operationsInterfaces/collection.d.ts +2 -2
  203. package/dist/browser/operationsInterfaces/collection.d.ts.map +1 -1
  204. package/dist/browser/operationsInterfaces/collection.js +2 -7
  205. package/dist/browser/operationsInterfaces/collection.js.map +1 -1
  206. package/dist/browser/operationsInterfaces/collectionPartition.d.ts +2 -2
  207. package/dist/browser/operationsInterfaces/collectionPartition.d.ts.map +1 -1
  208. package/dist/browser/operationsInterfaces/collectionPartition.js +2 -7
  209. package/dist/browser/operationsInterfaces/collectionPartition.js.map +1 -1
  210. package/dist/browser/operationsInterfaces/collectionPartitionRegion.d.ts +2 -2
  211. package/dist/browser/operationsInterfaces/collectionPartitionRegion.d.ts.map +1 -1
  212. package/dist/browser/operationsInterfaces/collectionPartitionRegion.js +2 -7
  213. package/dist/browser/operationsInterfaces/collectionPartitionRegion.js.map +1 -1
  214. package/dist/browser/operationsInterfaces/collectionRegion.d.ts +2 -2
  215. package/dist/browser/operationsInterfaces/collectionRegion.d.ts.map +1 -1
  216. package/dist/browser/operationsInterfaces/collectionRegion.js +2 -7
  217. package/dist/browser/operationsInterfaces/collectionRegion.js.map +1 -1
  218. package/dist/browser/operationsInterfaces/database.d.ts +2 -2
  219. package/dist/browser/operationsInterfaces/database.d.ts.map +1 -1
  220. package/dist/browser/operationsInterfaces/database.js +2 -7
  221. package/dist/browser/operationsInterfaces/database.js.map +1 -1
  222. package/dist/browser/operationsInterfaces/databaseAccountRegion.d.ts +2 -2
  223. package/dist/browser/operationsInterfaces/databaseAccountRegion.d.ts.map +1 -1
  224. package/dist/browser/operationsInterfaces/databaseAccountRegion.js +2 -7
  225. package/dist/browser/operationsInterfaces/databaseAccountRegion.js.map +1 -1
  226. package/dist/browser/operationsInterfaces/databaseAccounts.d.ts +3 -3
  227. package/dist/browser/operationsInterfaces/databaseAccounts.d.ts.map +1 -1
  228. package/dist/browser/operationsInterfaces/databaseAccounts.js +2 -7
  229. package/dist/browser/operationsInterfaces/databaseAccounts.js.map +1 -1
  230. package/dist/browser/operationsInterfaces/fleet.d.ts +54 -0
  231. package/dist/browser/operationsInterfaces/fleet.d.ts.map +1 -0
  232. package/dist/browser/operationsInterfaces/fleet.js +4 -0
  233. package/dist/browser/operationsInterfaces/fleet.js.map +1 -0
  234. package/dist/browser/operationsInterfaces/fleetspace.d.ts +72 -0
  235. package/dist/browser/operationsInterfaces/fleetspace.d.ts.map +1 -0
  236. package/dist/browser/operationsInterfaces/fleetspace.js +4 -0
  237. package/dist/browser/operationsInterfaces/fleetspace.js.map +1 -0
  238. package/dist/browser/operationsInterfaces/fleetspaceAccount.d.ts +62 -0
  239. package/dist/browser/operationsInterfaces/fleetspaceAccount.d.ts.map +1 -0
  240. package/dist/browser/operationsInterfaces/fleetspaceAccount.js +4 -0
  241. package/dist/browser/operationsInterfaces/fleetspaceAccount.js.map +1 -0
  242. package/dist/browser/operationsInterfaces/gremlinResources.d.ts +3 -3
  243. package/dist/browser/operationsInterfaces/gremlinResources.d.ts.map +1 -1
  244. package/dist/browser/operationsInterfaces/gremlinResources.js +2 -7
  245. package/dist/browser/operationsInterfaces/gremlinResources.js.map +1 -1
  246. package/dist/browser/operationsInterfaces/index.d.ts +3 -8
  247. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  248. package/dist/browser/operationsInterfaces/index.js +7 -15
  249. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  250. package/dist/browser/operationsInterfaces/locations.d.ts +2 -2
  251. package/dist/browser/operationsInterfaces/locations.d.ts.map +1 -1
  252. package/dist/browser/operationsInterfaces/locations.js +2 -7
  253. package/dist/browser/operationsInterfaces/locations.js.map +1 -1
  254. package/dist/browser/operationsInterfaces/mongoDBResources.d.ts +3 -125
  255. package/dist/browser/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
  256. package/dist/browser/operationsInterfaces/mongoDBResources.js +2 -7
  257. package/dist/browser/operationsInterfaces/mongoDBResources.js.map +1 -1
  258. package/dist/browser/operationsInterfaces/notebookWorkspaces.d.ts +3 -3
  259. package/dist/browser/operationsInterfaces/notebookWorkspaces.d.ts.map +1 -1
  260. package/dist/browser/operationsInterfaces/notebookWorkspaces.js +2 -7
  261. package/dist/browser/operationsInterfaces/notebookWorkspaces.js.map +1 -1
  262. package/dist/browser/operationsInterfaces/operations.d.ts +2 -2
  263. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  264. package/dist/browser/operationsInterfaces/operations.js +2 -7
  265. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  266. package/dist/browser/operationsInterfaces/partitionKeyRangeId.d.ts +2 -2
  267. package/dist/browser/operationsInterfaces/partitionKeyRangeId.d.ts.map +1 -1
  268. package/dist/browser/operationsInterfaces/partitionKeyRangeId.js +2 -7
  269. package/dist/browser/operationsInterfaces/partitionKeyRangeId.js.map +1 -1
  270. package/dist/browser/operationsInterfaces/partitionKeyRangeIdRegion.d.ts +2 -2
  271. package/dist/browser/operationsInterfaces/partitionKeyRangeIdRegion.d.ts.map +1 -1
  272. package/dist/browser/operationsInterfaces/partitionKeyRangeIdRegion.js +2 -7
  273. package/dist/browser/operationsInterfaces/partitionKeyRangeIdRegion.js.map +1 -1
  274. package/dist/browser/operationsInterfaces/percentile.d.ts +2 -2
  275. package/dist/browser/operationsInterfaces/percentile.d.ts.map +1 -1
  276. package/dist/browser/operationsInterfaces/percentile.js +2 -7
  277. package/dist/browser/operationsInterfaces/percentile.js.map +1 -1
  278. package/dist/browser/operationsInterfaces/percentileSourceTarget.d.ts +2 -2
  279. package/dist/browser/operationsInterfaces/percentileSourceTarget.d.ts.map +1 -1
  280. package/dist/browser/operationsInterfaces/percentileSourceTarget.js +2 -7
  281. package/dist/browser/operationsInterfaces/percentileSourceTarget.js.map +1 -1
  282. package/dist/browser/operationsInterfaces/percentileTarget.d.ts +2 -2
  283. package/dist/browser/operationsInterfaces/percentileTarget.d.ts.map +1 -1
  284. package/dist/browser/operationsInterfaces/percentileTarget.js +2 -7
  285. package/dist/browser/operationsInterfaces/percentileTarget.js.map +1 -1
  286. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  287. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  288. package/dist/browser/operationsInterfaces/privateEndpointConnections.js +2 -7
  289. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  290. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +2 -2
  291. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  292. package/dist/browser/operationsInterfaces/privateLinkResources.js +2 -7
  293. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
  294. package/dist/browser/operationsInterfaces/restorableDatabaseAccounts.d.ts +2 -2
  295. package/dist/browser/operationsInterfaces/restorableDatabaseAccounts.d.ts.map +1 -1
  296. package/dist/browser/operationsInterfaces/restorableDatabaseAccounts.js +2 -7
  297. package/dist/browser/operationsInterfaces/restorableDatabaseAccounts.js.map +1 -1
  298. package/dist/browser/operationsInterfaces/restorableGremlinDatabases.d.ts +2 -2
  299. package/dist/browser/operationsInterfaces/restorableGremlinDatabases.d.ts.map +1 -1
  300. package/dist/browser/operationsInterfaces/restorableGremlinDatabases.js +2 -7
  301. package/dist/browser/operationsInterfaces/restorableGremlinDatabases.js.map +1 -1
  302. package/dist/browser/operationsInterfaces/restorableGremlinGraphs.d.ts +2 -2
  303. package/dist/browser/operationsInterfaces/restorableGremlinGraphs.d.ts.map +1 -1
  304. package/dist/browser/operationsInterfaces/restorableGremlinGraphs.js +2 -7
  305. package/dist/browser/operationsInterfaces/restorableGremlinGraphs.js.map +1 -1
  306. package/dist/browser/operationsInterfaces/restorableGremlinResources.d.ts +2 -2
  307. package/dist/browser/operationsInterfaces/restorableGremlinResources.d.ts.map +1 -1
  308. package/dist/browser/operationsInterfaces/restorableGremlinResources.js +2 -7
  309. package/dist/browser/operationsInterfaces/restorableGremlinResources.js.map +1 -1
  310. package/dist/browser/operationsInterfaces/restorableMongodbCollections.d.ts +2 -2
  311. package/dist/browser/operationsInterfaces/restorableMongodbCollections.d.ts.map +1 -1
  312. package/dist/browser/operationsInterfaces/restorableMongodbCollections.js +2 -7
  313. package/dist/browser/operationsInterfaces/restorableMongodbCollections.js.map +1 -1
  314. package/dist/browser/operationsInterfaces/restorableMongodbDatabases.d.ts +2 -2
  315. package/dist/browser/operationsInterfaces/restorableMongodbDatabases.d.ts.map +1 -1
  316. package/dist/browser/operationsInterfaces/restorableMongodbDatabases.js +2 -7
  317. package/dist/browser/operationsInterfaces/restorableMongodbDatabases.js.map +1 -1
  318. package/dist/browser/operationsInterfaces/restorableMongodbResources.d.ts +2 -2
  319. package/dist/browser/operationsInterfaces/restorableMongodbResources.d.ts.map +1 -1
  320. package/dist/browser/operationsInterfaces/restorableMongodbResources.js +2 -7
  321. package/dist/browser/operationsInterfaces/restorableMongodbResources.js.map +1 -1
  322. package/dist/browser/operationsInterfaces/restorableSqlContainers.d.ts +2 -2
  323. package/dist/browser/operationsInterfaces/restorableSqlContainers.d.ts.map +1 -1
  324. package/dist/browser/operationsInterfaces/restorableSqlContainers.js +2 -7
  325. package/dist/browser/operationsInterfaces/restorableSqlContainers.js.map +1 -1
  326. package/dist/browser/operationsInterfaces/restorableSqlDatabases.d.ts +2 -2
  327. package/dist/browser/operationsInterfaces/restorableSqlDatabases.d.ts.map +1 -1
  328. package/dist/browser/operationsInterfaces/restorableSqlDatabases.js +2 -7
  329. package/dist/browser/operationsInterfaces/restorableSqlDatabases.js.map +1 -1
  330. package/dist/browser/operationsInterfaces/restorableSqlResources.d.ts +2 -2
  331. package/dist/browser/operationsInterfaces/restorableSqlResources.d.ts.map +1 -1
  332. package/dist/browser/operationsInterfaces/restorableSqlResources.js +2 -7
  333. package/dist/browser/operationsInterfaces/restorableSqlResources.js.map +1 -1
  334. package/dist/browser/operationsInterfaces/restorableTableResources.d.ts +2 -2
  335. package/dist/browser/operationsInterfaces/restorableTableResources.d.ts.map +1 -1
  336. package/dist/browser/operationsInterfaces/restorableTableResources.js +2 -7
  337. package/dist/browser/operationsInterfaces/restorableTableResources.js.map +1 -1
  338. package/dist/browser/operationsInterfaces/restorableTables.d.ts +2 -2
  339. package/dist/browser/operationsInterfaces/restorableTables.d.ts.map +1 -1
  340. package/dist/browser/operationsInterfaces/restorableTables.js +2 -7
  341. package/dist/browser/operationsInterfaces/restorableTables.js.map +1 -1
  342. package/dist/browser/operationsInterfaces/service.d.ts +3 -3
  343. package/dist/browser/operationsInterfaces/service.d.ts.map +1 -1
  344. package/dist/browser/operationsInterfaces/service.js +2 -7
  345. package/dist/browser/operationsInterfaces/service.js.map +1 -1
  346. package/dist/browser/operationsInterfaces/sqlResources.d.ts +22 -144
  347. package/dist/browser/operationsInterfaces/sqlResources.d.ts.map +1 -1
  348. package/dist/browser/operationsInterfaces/sqlResources.js +2 -7
  349. package/dist/browser/operationsInterfaces/sqlResources.js.map +1 -1
  350. package/dist/browser/operationsInterfaces/tableResources.d.ts +3 -105
  351. package/dist/browser/operationsInterfaces/tableResources.d.ts.map +1 -1
  352. package/dist/browser/operationsInterfaces/tableResources.js +2 -7
  353. package/dist/browser/operationsInterfaces/tableResources.js.map +1 -1
  354. package/dist/browser/pagingHelper.d.ts.map +1 -1
  355. package/dist/browser/pagingHelper.js +4 -11
  356. package/dist/browser/pagingHelper.js.map +1 -1
  357. package/dist/commonjs/cosmosDBManagementClient.d.ts +7 -12
  358. package/dist/commonjs/cosmosDBManagementClient.d.ts.map +1 -1
  359. package/dist/commonjs/cosmosDBManagementClient.js +63 -26
  360. package/dist/commonjs/cosmosDBManagementClient.js.map +1 -1
  361. package/dist/commonjs/index.d.ts.map +1 -1
  362. package/dist/commonjs/index.js +4 -7
  363. package/dist/commonjs/index.js.map +1 -1
  364. package/dist/commonjs/lroImpl.d.ts +1 -1
  365. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  366. package/dist/commonjs/lroImpl.js +9 -10
  367. package/dist/commonjs/lroImpl.js.map +1 -1
  368. package/dist/commonjs/models/index.d.ts +524 -1877
  369. package/dist/commonjs/models/index.d.ts.map +1 -1
  370. package/dist/commonjs/models/index.js +33 -189
  371. package/dist/commonjs/models/index.js.map +1 -1
  372. package/dist/commonjs/models/mappers.d.ts +49 -133
  373. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  374. package/dist/commonjs/models/mappers.js +2169 -3800
  375. package/dist/commonjs/models/mappers.js.map +1 -1
  376. package/dist/commonjs/models/parameters.d.ts +12 -26
  377. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  378. package/dist/commonjs/models/parameters.js +82 -183
  379. package/dist/commonjs/models/parameters.js.map +1 -1
  380. package/dist/commonjs/operations/cassandraClusters.d.ts +5 -69
  381. package/dist/commonjs/operations/cassandraClusters.d.ts.map +1 -1
  382. package/dist/commonjs/operations/cassandraClusters.js +89 -410
  383. package/dist/commonjs/operations/cassandraClusters.js.map +1 -1
  384. package/dist/commonjs/operations/cassandraDataCenters.d.ts +5 -5
  385. package/dist/commonjs/operations/cassandraDataCenters.d.ts.map +1 -1
  386. package/dist/commonjs/operations/cassandraDataCenters.js +47 -53
  387. package/dist/commonjs/operations/cassandraDataCenters.js.map +1 -1
  388. package/dist/commonjs/operations/cassandraResources.d.ts +5 -138
  389. package/dist/commonjs/operations/cassandraResources.d.ts.map +1 -1
  390. package/dist/commonjs/operations/cassandraResources.js +131 -698
  391. package/dist/commonjs/operations/cassandraResources.js.map +1 -1
  392. package/dist/commonjs/operations/collection.d.ts +4 -4
  393. package/dist/commonjs/operations/collection.d.ts.map +1 -1
  394. package/dist/commonjs/operations/collection.js +30 -85
  395. package/dist/commonjs/operations/collection.js.map +1 -1
  396. package/dist/commonjs/operations/collectionPartition.d.ts +4 -4
  397. package/dist/commonjs/operations/collectionPartition.d.ts.map +1 -1
  398. package/dist/commonjs/operations/collectionPartition.js +21 -59
  399. package/dist/commonjs/operations/collectionPartition.js.map +1 -1
  400. package/dist/commonjs/operations/collectionPartitionRegion.d.ts +4 -4
  401. package/dist/commonjs/operations/collectionPartitionRegion.d.ts.map +1 -1
  402. package/dist/commonjs/operations/collectionPartitionRegion.js +12 -33
  403. package/dist/commonjs/operations/collectionPartitionRegion.js.map +1 -1
  404. package/dist/commonjs/operations/collectionRegion.d.ts +4 -4
  405. package/dist/commonjs/operations/collectionRegion.d.ts.map +1 -1
  406. package/dist/commonjs/operations/collectionRegion.js +12 -33
  407. package/dist/commonjs/operations/collectionRegion.js.map +1 -1
  408. package/dist/commonjs/operations/database.d.ts +4 -4
  409. package/dist/commonjs/operations/database.d.ts.map +1 -1
  410. package/dist/commonjs/operations/database.js +30 -85
  411. package/dist/commonjs/operations/database.js.map +1 -1
  412. package/dist/commonjs/operations/databaseAccountRegion.d.ts +4 -4
  413. package/dist/commonjs/operations/databaseAccountRegion.d.ts.map +1 -1
  414. package/dist/commonjs/operations/databaseAccountRegion.js +12 -33
  415. package/dist/commonjs/operations/databaseAccountRegion.js.map +1 -1
  416. package/dist/commonjs/operations/databaseAccounts.d.ts +5 -5
  417. package/dist/commonjs/operations/databaseAccounts.d.ts.map +1 -1
  418. package/dist/commonjs/operations/databaseAccounts.js +126 -184
  419. package/dist/commonjs/operations/databaseAccounts.js.map +1 -1
  420. package/dist/commonjs/operations/fleet.d.ts +90 -0
  421. package/dist/commonjs/operations/fleet.d.ts.map +1 -0
  422. package/dist/commonjs/operations/fleet.js +401 -0
  423. package/dist/commonjs/operations/fleet.js.map +1 -0
  424. package/dist/commonjs/operations/fleetspace.d.ts +97 -0
  425. package/dist/commonjs/operations/fleetspace.d.ts.map +1 -0
  426. package/dist/commonjs/operations/fleetspace.js +443 -0
  427. package/dist/commonjs/operations/fleetspace.js.map +1 -0
  428. package/dist/commonjs/operations/fleetspaceAccount.d.ts +89 -0
  429. package/dist/commonjs/operations/fleetspaceAccount.d.ts.map +1 -0
  430. package/dist/commonjs/operations/fleetspaceAccount.js +383 -0
  431. package/dist/commonjs/operations/fleetspaceAccount.js.map +1 -0
  432. package/dist/commonjs/operations/gremlinResources.d.ts +5 -5
  433. package/dist/commonjs/operations/gremlinResources.d.ts.map +1 -1
  434. package/dist/commonjs/operations/gremlinResources.js +150 -133
  435. package/dist/commonjs/operations/gremlinResources.js.map +1 -1
  436. package/dist/commonjs/operations/index.d.ts +3 -8
  437. package/dist/commonjs/operations/index.d.ts.map +1 -1
  438. package/dist/commonjs/operations/index.js +7 -15
  439. package/dist/commonjs/operations/index.js.map +1 -1
  440. package/dist/commonjs/operations/locations.d.ts +4 -4
  441. package/dist/commonjs/operations/locations.d.ts.map +1 -1
  442. package/dist/commonjs/operations/locations.js +13 -38
  443. package/dist/commonjs/operations/locations.js.map +1 -1
  444. package/dist/commonjs/operations/mongoDBResources.d.ts +5 -127
  445. package/dist/commonjs/operations/mongoDBResources.d.ts.map +1 -1
  446. package/dist/commonjs/operations/mongoDBResources.js +204 -791
  447. package/dist/commonjs/operations/mongoDBResources.js.map +1 -1
  448. package/dist/commonjs/operations/notebookWorkspaces.d.ts +5 -5
  449. package/dist/commonjs/operations/notebookWorkspaces.d.ts.map +1 -1
  450. package/dist/commonjs/operations/notebookWorkspaces.js +56 -57
  451. package/dist/commonjs/operations/notebookWorkspaces.js.map +1 -1
  452. package/dist/commonjs/operations/operations.d.ts +4 -4
  453. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  454. package/dist/commonjs/operations/operations.js +25 -46
  455. package/dist/commonjs/operations/operations.js.map +1 -1
  456. package/dist/commonjs/operations/partitionKeyRangeId.d.ts +4 -4
  457. package/dist/commonjs/operations/partitionKeyRangeId.d.ts.map +1 -1
  458. package/dist/commonjs/operations/partitionKeyRangeId.js +12 -33
  459. package/dist/commonjs/operations/partitionKeyRangeId.js.map +1 -1
  460. package/dist/commonjs/operations/partitionKeyRangeIdRegion.d.ts +4 -4
  461. package/dist/commonjs/operations/partitionKeyRangeIdRegion.d.ts.map +1 -1
  462. package/dist/commonjs/operations/partitionKeyRangeIdRegion.js +12 -33
  463. package/dist/commonjs/operations/partitionKeyRangeIdRegion.js.map +1 -1
  464. package/dist/commonjs/operations/percentile.d.ts +4 -4
  465. package/dist/commonjs/operations/percentile.d.ts.map +1 -1
  466. package/dist/commonjs/operations/percentile.js +12 -33
  467. package/dist/commonjs/operations/percentile.js.map +1 -1
  468. package/dist/commonjs/operations/percentileSourceTarget.d.ts +4 -4
  469. package/dist/commonjs/operations/percentileSourceTarget.d.ts.map +1 -1
  470. package/dist/commonjs/operations/percentileSourceTarget.js +12 -33
  471. package/dist/commonjs/operations/percentileSourceTarget.js.map +1 -1
  472. package/dist/commonjs/operations/percentileTarget.d.ts +4 -4
  473. package/dist/commonjs/operations/percentileTarget.d.ts.map +1 -1
  474. package/dist/commonjs/operations/percentileTarget.js +12 -33
  475. package/dist/commonjs/operations/percentileTarget.js.map +1 -1
  476. package/dist/commonjs/operations/privateEndpointConnections.d.ts +5 -5
  477. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
  478. package/dist/commonjs/operations/privateEndpointConnections.js +34 -45
  479. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  480. package/dist/commonjs/operations/privateLinkResources.d.ts +4 -4
  481. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -1
  482. package/dist/commonjs/operations/privateLinkResources.js +12 -33
  483. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  484. package/dist/commonjs/operations/restorableDatabaseAccounts.d.ts +4 -4
  485. package/dist/commonjs/operations/restorableDatabaseAccounts.d.ts.map +1 -1
  486. package/dist/commonjs/operations/restorableDatabaseAccounts.js +22 -64
  487. package/dist/commonjs/operations/restorableDatabaseAccounts.js.map +1 -1
  488. package/dist/commonjs/operations/restorableGremlinDatabases.d.ts +4 -4
  489. package/dist/commonjs/operations/restorableGremlinDatabases.d.ts.map +1 -1
  490. package/dist/commonjs/operations/restorableGremlinDatabases.js +12 -33
  491. package/dist/commonjs/operations/restorableGremlinDatabases.js.map +1 -1
  492. package/dist/commonjs/operations/restorableGremlinGraphs.d.ts +4 -4
  493. package/dist/commonjs/operations/restorableGremlinGraphs.d.ts.map +1 -1
  494. package/dist/commonjs/operations/restorableGremlinGraphs.js +12 -33
  495. package/dist/commonjs/operations/restorableGremlinGraphs.js.map +1 -1
  496. package/dist/commonjs/operations/restorableGremlinResources.d.ts +4 -4
  497. package/dist/commonjs/operations/restorableGremlinResources.d.ts.map +1 -1
  498. package/dist/commonjs/operations/restorableGremlinResources.js +12 -33
  499. package/dist/commonjs/operations/restorableGremlinResources.js.map +1 -1
  500. package/dist/commonjs/operations/restorableMongodbCollections.d.ts +4 -4
  501. package/dist/commonjs/operations/restorableMongodbCollections.d.ts.map +1 -1
  502. package/dist/commonjs/operations/restorableMongodbCollections.js +12 -33
  503. package/dist/commonjs/operations/restorableMongodbCollections.js.map +1 -1
  504. package/dist/commonjs/operations/restorableMongodbDatabases.d.ts +4 -4
  505. package/dist/commonjs/operations/restorableMongodbDatabases.d.ts.map +1 -1
  506. package/dist/commonjs/operations/restorableMongodbDatabases.js +12 -33
  507. package/dist/commonjs/operations/restorableMongodbDatabases.js.map +1 -1
  508. package/dist/commonjs/operations/restorableMongodbResources.d.ts +4 -4
  509. package/dist/commonjs/operations/restorableMongodbResources.d.ts.map +1 -1
  510. package/dist/commonjs/operations/restorableMongodbResources.js +12 -33
  511. package/dist/commonjs/operations/restorableMongodbResources.js.map +1 -1
  512. package/dist/commonjs/operations/restorableSqlContainers.d.ts +4 -4
  513. package/dist/commonjs/operations/restorableSqlContainers.d.ts.map +1 -1
  514. package/dist/commonjs/operations/restorableSqlContainers.js +12 -33
  515. package/dist/commonjs/operations/restorableSqlContainers.js.map +1 -1
  516. package/dist/commonjs/operations/restorableSqlDatabases.d.ts +4 -4
  517. package/dist/commonjs/operations/restorableSqlDatabases.d.ts.map +1 -1
  518. package/dist/commonjs/operations/restorableSqlDatabases.js +12 -33
  519. package/dist/commonjs/operations/restorableSqlDatabases.js.map +1 -1
  520. package/dist/commonjs/operations/restorableSqlResources.d.ts +4 -4
  521. package/dist/commonjs/operations/restorableSqlResources.d.ts.map +1 -1
  522. package/dist/commonjs/operations/restorableSqlResources.js +12 -33
  523. package/dist/commonjs/operations/restorableSqlResources.js.map +1 -1
  524. package/dist/commonjs/operations/restorableTableResources.d.ts +4 -4
  525. package/dist/commonjs/operations/restorableTableResources.d.ts.map +1 -1
  526. package/dist/commonjs/operations/restorableTableResources.js +12 -33
  527. package/dist/commonjs/operations/restorableTableResources.js.map +1 -1
  528. package/dist/commonjs/operations/restorableTables.d.ts +4 -4
  529. package/dist/commonjs/operations/restorableTables.d.ts.map +1 -1
  530. package/dist/commonjs/operations/restorableTables.js +13 -38
  531. package/dist/commonjs/operations/restorableTables.js.map +1 -1
  532. package/dist/commonjs/operations/service.d.ts +5 -5
  533. package/dist/commonjs/operations/service.d.ts.map +1 -1
  534. package/dist/commonjs/operations/service.js +34 -45
  535. package/dist/commonjs/operations/service.js.map +1 -1
  536. package/dist/commonjs/operations/sqlResources.d.ts +30 -152
  537. package/dist/commonjs/operations/sqlResources.d.ts.map +1 -1
  538. package/dist/commonjs/operations/sqlResources.js +374 -994
  539. package/dist/commonjs/operations/sqlResources.js.map +1 -1
  540. package/dist/commonjs/operations/tableResources.d.ts +5 -125
  541. package/dist/commonjs/operations/tableResources.d.ts.map +1 -1
  542. package/dist/commonjs/operations/tableResources.js +78 -637
  543. package/dist/commonjs/operations/tableResources.js.map +1 -1
  544. package/dist/commonjs/operationsInterfaces/cassandraClusters.d.ts +3 -49
  545. package/dist/commonjs/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
  546. package/dist/commonjs/operationsInterfaces/cassandraClusters.js +2 -7
  547. package/dist/commonjs/operationsInterfaces/cassandraClusters.js.map +1 -1
  548. package/dist/commonjs/operationsInterfaces/cassandraDataCenters.d.ts +3 -3
  549. package/dist/commonjs/operationsInterfaces/cassandraDataCenters.d.ts.map +1 -1
  550. package/dist/commonjs/operationsInterfaces/cassandraDataCenters.js +2 -7
  551. package/dist/commonjs/operationsInterfaces/cassandraDataCenters.js.map +1 -1
  552. package/dist/commonjs/operationsInterfaces/cassandraResources.d.ts +3 -126
  553. package/dist/commonjs/operationsInterfaces/cassandraResources.d.ts.map +1 -1
  554. package/dist/commonjs/operationsInterfaces/cassandraResources.js +2 -7
  555. package/dist/commonjs/operationsInterfaces/cassandraResources.js.map +1 -1
  556. package/dist/commonjs/operationsInterfaces/collection.d.ts +2 -2
  557. package/dist/commonjs/operationsInterfaces/collection.d.ts.map +1 -1
  558. package/dist/commonjs/operationsInterfaces/collection.js +2 -7
  559. package/dist/commonjs/operationsInterfaces/collection.js.map +1 -1
  560. package/dist/commonjs/operationsInterfaces/collectionPartition.d.ts +2 -2
  561. package/dist/commonjs/operationsInterfaces/collectionPartition.d.ts.map +1 -1
  562. package/dist/commonjs/operationsInterfaces/collectionPartition.js +2 -7
  563. package/dist/commonjs/operationsInterfaces/collectionPartition.js.map +1 -1
  564. package/dist/commonjs/operationsInterfaces/collectionPartitionRegion.d.ts +2 -2
  565. package/dist/commonjs/operationsInterfaces/collectionPartitionRegion.d.ts.map +1 -1
  566. package/dist/commonjs/operationsInterfaces/collectionPartitionRegion.js +2 -7
  567. package/dist/commonjs/operationsInterfaces/collectionPartitionRegion.js.map +1 -1
  568. package/dist/commonjs/operationsInterfaces/collectionRegion.d.ts +2 -2
  569. package/dist/commonjs/operationsInterfaces/collectionRegion.d.ts.map +1 -1
  570. package/dist/commonjs/operationsInterfaces/collectionRegion.js +2 -7
  571. package/dist/commonjs/operationsInterfaces/collectionRegion.js.map +1 -1
  572. package/dist/commonjs/operationsInterfaces/database.d.ts +2 -2
  573. package/dist/commonjs/operationsInterfaces/database.d.ts.map +1 -1
  574. package/dist/commonjs/operationsInterfaces/database.js +2 -7
  575. package/dist/commonjs/operationsInterfaces/database.js.map +1 -1
  576. package/dist/commonjs/operationsInterfaces/databaseAccountRegion.d.ts +2 -2
  577. package/dist/commonjs/operationsInterfaces/databaseAccountRegion.d.ts.map +1 -1
  578. package/dist/commonjs/operationsInterfaces/databaseAccountRegion.js +2 -7
  579. package/dist/commonjs/operationsInterfaces/databaseAccountRegion.js.map +1 -1
  580. package/dist/commonjs/operationsInterfaces/databaseAccounts.d.ts +3 -3
  581. package/dist/commonjs/operationsInterfaces/databaseAccounts.d.ts.map +1 -1
  582. package/dist/commonjs/operationsInterfaces/databaseAccounts.js +2 -7
  583. package/dist/commonjs/operationsInterfaces/databaseAccounts.js.map +1 -1
  584. package/dist/commonjs/operationsInterfaces/fleet.d.ts +54 -0
  585. package/dist/commonjs/operationsInterfaces/fleet.d.ts.map +1 -0
  586. package/dist/commonjs/operationsInterfaces/fleet.js +5 -0
  587. package/dist/commonjs/operationsInterfaces/fleet.js.map +1 -0
  588. package/dist/commonjs/operationsInterfaces/fleetspace.d.ts +72 -0
  589. package/dist/commonjs/operationsInterfaces/fleetspace.d.ts.map +1 -0
  590. package/dist/commonjs/operationsInterfaces/fleetspace.js +5 -0
  591. package/dist/commonjs/operationsInterfaces/fleetspace.js.map +1 -0
  592. package/dist/commonjs/operationsInterfaces/fleetspaceAccount.d.ts +62 -0
  593. package/dist/commonjs/operationsInterfaces/fleetspaceAccount.d.ts.map +1 -0
  594. package/dist/commonjs/operationsInterfaces/fleetspaceAccount.js +5 -0
  595. package/dist/commonjs/operationsInterfaces/fleetspaceAccount.js.map +1 -0
  596. package/dist/commonjs/operationsInterfaces/gremlinResources.d.ts +3 -3
  597. package/dist/commonjs/operationsInterfaces/gremlinResources.d.ts.map +1 -1
  598. package/dist/commonjs/operationsInterfaces/gremlinResources.js +2 -7
  599. package/dist/commonjs/operationsInterfaces/gremlinResources.js.map +1 -1
  600. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -8
  601. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  602. package/dist/commonjs/operationsInterfaces/index.js +7 -15
  603. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  604. package/dist/commonjs/operationsInterfaces/locations.d.ts +2 -2
  605. package/dist/commonjs/operationsInterfaces/locations.d.ts.map +1 -1
  606. package/dist/commonjs/operationsInterfaces/locations.js +2 -7
  607. package/dist/commonjs/operationsInterfaces/locations.js.map +1 -1
  608. package/dist/commonjs/operationsInterfaces/mongoDBResources.d.ts +3 -125
  609. package/dist/commonjs/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
  610. package/dist/commonjs/operationsInterfaces/mongoDBResources.js +2 -7
  611. package/dist/commonjs/operationsInterfaces/mongoDBResources.js.map +1 -1
  612. package/dist/commonjs/operationsInterfaces/notebookWorkspaces.d.ts +3 -3
  613. package/dist/commonjs/operationsInterfaces/notebookWorkspaces.d.ts.map +1 -1
  614. package/dist/commonjs/operationsInterfaces/notebookWorkspaces.js +2 -7
  615. package/dist/commonjs/operationsInterfaces/notebookWorkspaces.js.map +1 -1
  616. package/dist/commonjs/operationsInterfaces/operations.d.ts +2 -2
  617. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  618. package/dist/commonjs/operationsInterfaces/operations.js +2 -7
  619. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  620. package/dist/commonjs/operationsInterfaces/partitionKeyRangeId.d.ts +2 -2
  621. package/dist/commonjs/operationsInterfaces/partitionKeyRangeId.d.ts.map +1 -1
  622. package/dist/commonjs/operationsInterfaces/partitionKeyRangeId.js +2 -7
  623. package/dist/commonjs/operationsInterfaces/partitionKeyRangeId.js.map +1 -1
  624. package/dist/commonjs/operationsInterfaces/partitionKeyRangeIdRegion.d.ts +2 -2
  625. package/dist/commonjs/operationsInterfaces/partitionKeyRangeIdRegion.d.ts.map +1 -1
  626. package/dist/commonjs/operationsInterfaces/partitionKeyRangeIdRegion.js +2 -7
  627. package/dist/commonjs/operationsInterfaces/partitionKeyRangeIdRegion.js.map +1 -1
  628. package/dist/commonjs/operationsInterfaces/percentile.d.ts +2 -2
  629. package/dist/commonjs/operationsInterfaces/percentile.d.ts.map +1 -1
  630. package/dist/commonjs/operationsInterfaces/percentile.js +2 -7
  631. package/dist/commonjs/operationsInterfaces/percentile.js.map +1 -1
  632. package/dist/commonjs/operationsInterfaces/percentileSourceTarget.d.ts +2 -2
  633. package/dist/commonjs/operationsInterfaces/percentileSourceTarget.d.ts.map +1 -1
  634. package/dist/commonjs/operationsInterfaces/percentileSourceTarget.js +2 -7
  635. package/dist/commonjs/operationsInterfaces/percentileSourceTarget.js.map +1 -1
  636. package/dist/commonjs/operationsInterfaces/percentileTarget.d.ts +2 -2
  637. package/dist/commonjs/operationsInterfaces/percentileTarget.d.ts.map +1 -1
  638. package/dist/commonjs/operationsInterfaces/percentileTarget.js +2 -7
  639. package/dist/commonjs/operationsInterfaces/percentileTarget.js.map +1 -1
  640. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  641. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  642. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +2 -7
  643. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  644. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +2 -2
  645. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  646. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +2 -7
  647. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
  648. package/dist/commonjs/operationsInterfaces/restorableDatabaseAccounts.d.ts +2 -2
  649. package/dist/commonjs/operationsInterfaces/restorableDatabaseAccounts.d.ts.map +1 -1
  650. package/dist/commonjs/operationsInterfaces/restorableDatabaseAccounts.js +2 -7
  651. package/dist/commonjs/operationsInterfaces/restorableDatabaseAccounts.js.map +1 -1
  652. package/dist/commonjs/operationsInterfaces/restorableGremlinDatabases.d.ts +2 -2
  653. package/dist/commonjs/operationsInterfaces/restorableGremlinDatabases.d.ts.map +1 -1
  654. package/dist/commonjs/operationsInterfaces/restorableGremlinDatabases.js +2 -7
  655. package/dist/commonjs/operationsInterfaces/restorableGremlinDatabases.js.map +1 -1
  656. package/dist/commonjs/operationsInterfaces/restorableGremlinGraphs.d.ts +2 -2
  657. package/dist/commonjs/operationsInterfaces/restorableGremlinGraphs.d.ts.map +1 -1
  658. package/dist/commonjs/operationsInterfaces/restorableGremlinGraphs.js +2 -7
  659. package/dist/commonjs/operationsInterfaces/restorableGremlinGraphs.js.map +1 -1
  660. package/dist/commonjs/operationsInterfaces/restorableGremlinResources.d.ts +2 -2
  661. package/dist/commonjs/operationsInterfaces/restorableGremlinResources.d.ts.map +1 -1
  662. package/dist/commonjs/operationsInterfaces/restorableGremlinResources.js +2 -7
  663. package/dist/commonjs/operationsInterfaces/restorableGremlinResources.js.map +1 -1
  664. package/dist/commonjs/operationsInterfaces/restorableMongodbCollections.d.ts +2 -2
  665. package/dist/commonjs/operationsInterfaces/restorableMongodbCollections.d.ts.map +1 -1
  666. package/dist/commonjs/operationsInterfaces/restorableMongodbCollections.js +2 -7
  667. package/dist/commonjs/operationsInterfaces/restorableMongodbCollections.js.map +1 -1
  668. package/dist/commonjs/operationsInterfaces/restorableMongodbDatabases.d.ts +2 -2
  669. package/dist/commonjs/operationsInterfaces/restorableMongodbDatabases.d.ts.map +1 -1
  670. package/dist/commonjs/operationsInterfaces/restorableMongodbDatabases.js +2 -7
  671. package/dist/commonjs/operationsInterfaces/restorableMongodbDatabases.js.map +1 -1
  672. package/dist/commonjs/operationsInterfaces/restorableMongodbResources.d.ts +2 -2
  673. package/dist/commonjs/operationsInterfaces/restorableMongodbResources.d.ts.map +1 -1
  674. package/dist/commonjs/operationsInterfaces/restorableMongodbResources.js +2 -7
  675. package/dist/commonjs/operationsInterfaces/restorableMongodbResources.js.map +1 -1
  676. package/dist/commonjs/operationsInterfaces/restorableSqlContainers.d.ts +2 -2
  677. package/dist/commonjs/operationsInterfaces/restorableSqlContainers.d.ts.map +1 -1
  678. package/dist/commonjs/operationsInterfaces/restorableSqlContainers.js +2 -7
  679. package/dist/commonjs/operationsInterfaces/restorableSqlContainers.js.map +1 -1
  680. package/dist/commonjs/operationsInterfaces/restorableSqlDatabases.d.ts +2 -2
  681. package/dist/commonjs/operationsInterfaces/restorableSqlDatabases.d.ts.map +1 -1
  682. package/dist/commonjs/operationsInterfaces/restorableSqlDatabases.js +2 -7
  683. package/dist/commonjs/operationsInterfaces/restorableSqlDatabases.js.map +1 -1
  684. package/dist/commonjs/operationsInterfaces/restorableSqlResources.d.ts +2 -2
  685. package/dist/commonjs/operationsInterfaces/restorableSqlResources.d.ts.map +1 -1
  686. package/dist/commonjs/operationsInterfaces/restorableSqlResources.js +2 -7
  687. package/dist/commonjs/operationsInterfaces/restorableSqlResources.js.map +1 -1
  688. package/dist/commonjs/operationsInterfaces/restorableTableResources.d.ts +2 -2
  689. package/dist/commonjs/operationsInterfaces/restorableTableResources.d.ts.map +1 -1
  690. package/dist/commonjs/operationsInterfaces/restorableTableResources.js +2 -7
  691. package/dist/commonjs/operationsInterfaces/restorableTableResources.js.map +1 -1
  692. package/dist/commonjs/operationsInterfaces/restorableTables.d.ts +2 -2
  693. package/dist/commonjs/operationsInterfaces/restorableTables.d.ts.map +1 -1
  694. package/dist/commonjs/operationsInterfaces/restorableTables.js +2 -7
  695. package/dist/commonjs/operationsInterfaces/restorableTables.js.map +1 -1
  696. package/dist/commonjs/operationsInterfaces/service.d.ts +3 -3
  697. package/dist/commonjs/operationsInterfaces/service.d.ts.map +1 -1
  698. package/dist/commonjs/operationsInterfaces/service.js +2 -7
  699. package/dist/commonjs/operationsInterfaces/service.js.map +1 -1
  700. package/dist/commonjs/operationsInterfaces/sqlResources.d.ts +22 -144
  701. package/dist/commonjs/operationsInterfaces/sqlResources.d.ts.map +1 -1
  702. package/dist/commonjs/operationsInterfaces/sqlResources.js +2 -7
  703. package/dist/commonjs/operationsInterfaces/sqlResources.js.map +1 -1
  704. package/dist/commonjs/operationsInterfaces/tableResources.d.ts +3 -105
  705. package/dist/commonjs/operationsInterfaces/tableResources.d.ts.map +1 -1
  706. package/dist/commonjs/operationsInterfaces/tableResources.js +2 -7
  707. package/dist/commonjs/operationsInterfaces/tableResources.js.map +1 -1
  708. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  709. package/dist/commonjs/pagingHelper.js +4 -11
  710. package/dist/commonjs/pagingHelper.js.map +1 -1
  711. package/dist/commonjs/tsdoc-metadata.json +11 -11
  712. package/dist/esm/cosmosDBManagementClient.d.ts +7 -12
  713. package/dist/esm/cosmosDBManagementClient.d.ts.map +1 -1
  714. package/dist/esm/cosmosDBManagementClient.js +64 -27
  715. package/dist/esm/cosmosDBManagementClient.js.map +1 -1
  716. package/dist/esm/index.d.ts.map +1 -1
  717. package/dist/esm/index.js +4 -7
  718. package/dist/esm/index.js.map +1 -1
  719. package/dist/esm/lroImpl.d.ts +1 -1
  720. package/dist/esm/lroImpl.d.ts.map +1 -1
  721. package/dist/esm/lroImpl.js +9 -10
  722. package/dist/esm/lroImpl.js.map +1 -1
  723. package/dist/esm/models/index.d.ts +524 -1877
  724. package/dist/esm/models/index.d.ts.map +1 -1
  725. package/dist/esm/models/index.js +32 -187
  726. package/dist/esm/models/index.js.map +1 -1
  727. package/dist/esm/models/mappers.d.ts +49 -133
  728. package/dist/esm/models/mappers.d.ts.map +1 -1
  729. package/dist/esm/models/mappers.js +2162 -3792
  730. package/dist/esm/models/mappers.js.map +1 -1
  731. package/dist/esm/models/parameters.d.ts +12 -26
  732. package/dist/esm/models/parameters.d.ts.map +1 -1
  733. package/dist/esm/models/parameters.js +81 -182
  734. package/dist/esm/models/parameters.js.map +1 -1
  735. package/dist/esm/operations/cassandraClusters.d.ts +5 -69
  736. package/dist/esm/operations/cassandraClusters.d.ts.map +1 -1
  737. package/dist/esm/operations/cassandraClusters.js +90 -412
  738. package/dist/esm/operations/cassandraClusters.js.map +1 -1
  739. package/dist/esm/operations/cassandraDataCenters.d.ts +5 -5
  740. package/dist/esm/operations/cassandraDataCenters.d.ts.map +1 -1
  741. package/dist/esm/operations/cassandraDataCenters.js +48 -55
  742. package/dist/esm/operations/cassandraDataCenters.js.map +1 -1
  743. package/dist/esm/operations/cassandraResources.d.ts +5 -138
  744. package/dist/esm/operations/cassandraResources.d.ts.map +1 -1
  745. package/dist/esm/operations/cassandraResources.js +132 -700
  746. package/dist/esm/operations/cassandraResources.js.map +1 -1
  747. package/dist/esm/operations/collection.d.ts +4 -4
  748. package/dist/esm/operations/collection.d.ts.map +1 -1
  749. package/dist/esm/operations/collection.js +30 -86
  750. package/dist/esm/operations/collection.js.map +1 -1
  751. package/dist/esm/operations/collectionPartition.d.ts +4 -4
  752. package/dist/esm/operations/collectionPartition.d.ts.map +1 -1
  753. package/dist/esm/operations/collectionPartition.js +21 -60
  754. package/dist/esm/operations/collectionPartition.js.map +1 -1
  755. package/dist/esm/operations/collectionPartitionRegion.d.ts +4 -4
  756. package/dist/esm/operations/collectionPartitionRegion.d.ts.map +1 -1
  757. package/dist/esm/operations/collectionPartitionRegion.js +12 -34
  758. package/dist/esm/operations/collectionPartitionRegion.js.map +1 -1
  759. package/dist/esm/operations/collectionRegion.d.ts +4 -4
  760. package/dist/esm/operations/collectionRegion.d.ts.map +1 -1
  761. package/dist/esm/operations/collectionRegion.js +12 -34
  762. package/dist/esm/operations/collectionRegion.js.map +1 -1
  763. package/dist/esm/operations/database.d.ts +4 -4
  764. package/dist/esm/operations/database.d.ts.map +1 -1
  765. package/dist/esm/operations/database.js +30 -86
  766. package/dist/esm/operations/database.js.map +1 -1
  767. package/dist/esm/operations/databaseAccountRegion.d.ts +4 -4
  768. package/dist/esm/operations/databaseAccountRegion.d.ts.map +1 -1
  769. package/dist/esm/operations/databaseAccountRegion.js +12 -34
  770. package/dist/esm/operations/databaseAccountRegion.js.map +1 -1
  771. package/dist/esm/operations/databaseAccounts.d.ts +5 -5
  772. package/dist/esm/operations/databaseAccounts.d.ts.map +1 -1
  773. package/dist/esm/operations/databaseAccounts.js +127 -186
  774. package/dist/esm/operations/databaseAccounts.js.map +1 -1
  775. package/dist/esm/operations/fleet.d.ts +90 -0
  776. package/dist/esm/operations/fleet.d.ts.map +1 -0
  777. package/dist/esm/operations/fleet.js +396 -0
  778. package/dist/esm/operations/fleet.js.map +1 -0
  779. package/dist/esm/operations/fleetspace.d.ts +97 -0
  780. package/dist/esm/operations/fleetspace.d.ts.map +1 -0
  781. package/dist/esm/operations/fleetspace.js +438 -0
  782. package/dist/esm/operations/fleetspace.js.map +1 -0
  783. package/dist/esm/operations/fleetspaceAccount.d.ts +89 -0
  784. package/dist/esm/operations/fleetspaceAccount.d.ts.map +1 -0
  785. package/dist/esm/operations/fleetspaceAccount.js +378 -0
  786. package/dist/esm/operations/fleetspaceAccount.js.map +1 -0
  787. package/dist/esm/operations/gremlinResources.d.ts +5 -5
  788. package/dist/esm/operations/gremlinResources.d.ts.map +1 -1
  789. package/dist/esm/operations/gremlinResources.js +151 -135
  790. package/dist/esm/operations/gremlinResources.js.map +1 -1
  791. package/dist/esm/operations/index.d.ts +3 -8
  792. package/dist/esm/operations/index.d.ts.map +1 -1
  793. package/dist/esm/operations/index.js +7 -15
  794. package/dist/esm/operations/index.js.map +1 -1
  795. package/dist/esm/operations/locations.d.ts +4 -4
  796. package/dist/esm/operations/locations.d.ts.map +1 -1
  797. package/dist/esm/operations/locations.js +13 -39
  798. package/dist/esm/operations/locations.js.map +1 -1
  799. package/dist/esm/operations/mongoDBResources.d.ts +5 -127
  800. package/dist/esm/operations/mongoDBResources.d.ts.map +1 -1
  801. package/dist/esm/operations/mongoDBResources.js +205 -793
  802. package/dist/esm/operations/mongoDBResources.js.map +1 -1
  803. package/dist/esm/operations/notebookWorkspaces.d.ts +5 -5
  804. package/dist/esm/operations/notebookWorkspaces.d.ts.map +1 -1
  805. package/dist/esm/operations/notebookWorkspaces.js +57 -59
  806. package/dist/esm/operations/notebookWorkspaces.js.map +1 -1
  807. package/dist/esm/operations/operations.d.ts +4 -4
  808. package/dist/esm/operations/operations.d.ts.map +1 -1
  809. package/dist/esm/operations/operations.js +25 -47
  810. package/dist/esm/operations/operations.js.map +1 -1
  811. package/dist/esm/operations/partitionKeyRangeId.d.ts +4 -4
  812. package/dist/esm/operations/partitionKeyRangeId.d.ts.map +1 -1
  813. package/dist/esm/operations/partitionKeyRangeId.js +12 -34
  814. package/dist/esm/operations/partitionKeyRangeId.js.map +1 -1
  815. package/dist/esm/operations/partitionKeyRangeIdRegion.d.ts +4 -4
  816. package/dist/esm/operations/partitionKeyRangeIdRegion.d.ts.map +1 -1
  817. package/dist/esm/operations/partitionKeyRangeIdRegion.js +12 -34
  818. package/dist/esm/operations/partitionKeyRangeIdRegion.js.map +1 -1
  819. package/dist/esm/operations/percentile.d.ts +4 -4
  820. package/dist/esm/operations/percentile.d.ts.map +1 -1
  821. package/dist/esm/operations/percentile.js +12 -34
  822. package/dist/esm/operations/percentile.js.map +1 -1
  823. package/dist/esm/operations/percentileSourceTarget.d.ts +4 -4
  824. package/dist/esm/operations/percentileSourceTarget.d.ts.map +1 -1
  825. package/dist/esm/operations/percentileSourceTarget.js +12 -34
  826. package/dist/esm/operations/percentileSourceTarget.js.map +1 -1
  827. package/dist/esm/operations/percentileTarget.d.ts +4 -4
  828. package/dist/esm/operations/percentileTarget.d.ts.map +1 -1
  829. package/dist/esm/operations/percentileTarget.js +12 -34
  830. package/dist/esm/operations/percentileTarget.js.map +1 -1
  831. package/dist/esm/operations/privateEndpointConnections.d.ts +5 -5
  832. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  833. package/dist/esm/operations/privateEndpointConnections.js +35 -47
  834. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  835. package/dist/esm/operations/privateLinkResources.d.ts +4 -4
  836. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
  837. package/dist/esm/operations/privateLinkResources.js +12 -34
  838. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  839. package/dist/esm/operations/restorableDatabaseAccounts.d.ts +4 -4
  840. package/dist/esm/operations/restorableDatabaseAccounts.d.ts.map +1 -1
  841. package/dist/esm/operations/restorableDatabaseAccounts.js +22 -65
  842. package/dist/esm/operations/restorableDatabaseAccounts.js.map +1 -1
  843. package/dist/esm/operations/restorableGremlinDatabases.d.ts +4 -4
  844. package/dist/esm/operations/restorableGremlinDatabases.d.ts.map +1 -1
  845. package/dist/esm/operations/restorableGremlinDatabases.js +12 -34
  846. package/dist/esm/operations/restorableGremlinDatabases.js.map +1 -1
  847. package/dist/esm/operations/restorableGremlinGraphs.d.ts +4 -4
  848. package/dist/esm/operations/restorableGremlinGraphs.d.ts.map +1 -1
  849. package/dist/esm/operations/restorableGremlinGraphs.js +12 -34
  850. package/dist/esm/operations/restorableGremlinGraphs.js.map +1 -1
  851. package/dist/esm/operations/restorableGremlinResources.d.ts +4 -4
  852. package/dist/esm/operations/restorableGremlinResources.d.ts.map +1 -1
  853. package/dist/esm/operations/restorableGremlinResources.js +12 -34
  854. package/dist/esm/operations/restorableGremlinResources.js.map +1 -1
  855. package/dist/esm/operations/restorableMongodbCollections.d.ts +4 -4
  856. package/dist/esm/operations/restorableMongodbCollections.d.ts.map +1 -1
  857. package/dist/esm/operations/restorableMongodbCollections.js +12 -34
  858. package/dist/esm/operations/restorableMongodbCollections.js.map +1 -1
  859. package/dist/esm/operations/restorableMongodbDatabases.d.ts +4 -4
  860. package/dist/esm/operations/restorableMongodbDatabases.d.ts.map +1 -1
  861. package/dist/esm/operations/restorableMongodbDatabases.js +12 -34
  862. package/dist/esm/operations/restorableMongodbDatabases.js.map +1 -1
  863. package/dist/esm/operations/restorableMongodbResources.d.ts +4 -4
  864. package/dist/esm/operations/restorableMongodbResources.d.ts.map +1 -1
  865. package/dist/esm/operations/restorableMongodbResources.js +12 -34
  866. package/dist/esm/operations/restorableMongodbResources.js.map +1 -1
  867. package/dist/esm/operations/restorableSqlContainers.d.ts +4 -4
  868. package/dist/esm/operations/restorableSqlContainers.d.ts.map +1 -1
  869. package/dist/esm/operations/restorableSqlContainers.js +12 -34
  870. package/dist/esm/operations/restorableSqlContainers.js.map +1 -1
  871. package/dist/esm/operations/restorableSqlDatabases.d.ts +4 -4
  872. package/dist/esm/operations/restorableSqlDatabases.d.ts.map +1 -1
  873. package/dist/esm/operations/restorableSqlDatabases.js +12 -34
  874. package/dist/esm/operations/restorableSqlDatabases.js.map +1 -1
  875. package/dist/esm/operations/restorableSqlResources.d.ts +4 -4
  876. package/dist/esm/operations/restorableSqlResources.d.ts.map +1 -1
  877. package/dist/esm/operations/restorableSqlResources.js +12 -34
  878. package/dist/esm/operations/restorableSqlResources.js.map +1 -1
  879. package/dist/esm/operations/restorableTableResources.d.ts +4 -4
  880. package/dist/esm/operations/restorableTableResources.d.ts.map +1 -1
  881. package/dist/esm/operations/restorableTableResources.js +12 -34
  882. package/dist/esm/operations/restorableTableResources.js.map +1 -1
  883. package/dist/esm/operations/restorableTables.d.ts +4 -4
  884. package/dist/esm/operations/restorableTables.d.ts.map +1 -1
  885. package/dist/esm/operations/restorableTables.js +13 -39
  886. package/dist/esm/operations/restorableTables.js.map +1 -1
  887. package/dist/esm/operations/service.d.ts +5 -5
  888. package/dist/esm/operations/service.d.ts.map +1 -1
  889. package/dist/esm/operations/service.js +35 -47
  890. package/dist/esm/operations/service.js.map +1 -1
  891. package/dist/esm/operations/sqlResources.d.ts +30 -152
  892. package/dist/esm/operations/sqlResources.d.ts.map +1 -1
  893. package/dist/esm/operations/sqlResources.js +375 -996
  894. package/dist/esm/operations/sqlResources.js.map +1 -1
  895. package/dist/esm/operations/tableResources.d.ts +5 -125
  896. package/dist/esm/operations/tableResources.d.ts.map +1 -1
  897. package/dist/esm/operations/tableResources.js +79 -639
  898. package/dist/esm/operations/tableResources.js.map +1 -1
  899. package/dist/esm/operationsInterfaces/cassandraClusters.d.ts +3 -49
  900. package/dist/esm/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
  901. package/dist/esm/operationsInterfaces/cassandraClusters.js +2 -7
  902. package/dist/esm/operationsInterfaces/cassandraClusters.js.map +1 -1
  903. package/dist/esm/operationsInterfaces/cassandraDataCenters.d.ts +3 -3
  904. package/dist/esm/operationsInterfaces/cassandraDataCenters.d.ts.map +1 -1
  905. package/dist/esm/operationsInterfaces/cassandraDataCenters.js +2 -7
  906. package/dist/esm/operationsInterfaces/cassandraDataCenters.js.map +1 -1
  907. package/dist/esm/operationsInterfaces/cassandraResources.d.ts +3 -126
  908. package/dist/esm/operationsInterfaces/cassandraResources.d.ts.map +1 -1
  909. package/dist/esm/operationsInterfaces/cassandraResources.js +2 -7
  910. package/dist/esm/operationsInterfaces/cassandraResources.js.map +1 -1
  911. package/dist/esm/operationsInterfaces/collection.d.ts +2 -2
  912. package/dist/esm/operationsInterfaces/collection.d.ts.map +1 -1
  913. package/dist/esm/operationsInterfaces/collection.js +2 -7
  914. package/dist/esm/operationsInterfaces/collection.js.map +1 -1
  915. package/dist/esm/operationsInterfaces/collectionPartition.d.ts +2 -2
  916. package/dist/esm/operationsInterfaces/collectionPartition.d.ts.map +1 -1
  917. package/dist/esm/operationsInterfaces/collectionPartition.js +2 -7
  918. package/dist/esm/operationsInterfaces/collectionPartition.js.map +1 -1
  919. package/dist/esm/operationsInterfaces/collectionPartitionRegion.d.ts +2 -2
  920. package/dist/esm/operationsInterfaces/collectionPartitionRegion.d.ts.map +1 -1
  921. package/dist/esm/operationsInterfaces/collectionPartitionRegion.js +2 -7
  922. package/dist/esm/operationsInterfaces/collectionPartitionRegion.js.map +1 -1
  923. package/dist/esm/operationsInterfaces/collectionRegion.d.ts +2 -2
  924. package/dist/esm/operationsInterfaces/collectionRegion.d.ts.map +1 -1
  925. package/dist/esm/operationsInterfaces/collectionRegion.js +2 -7
  926. package/dist/esm/operationsInterfaces/collectionRegion.js.map +1 -1
  927. package/dist/esm/operationsInterfaces/database.d.ts +2 -2
  928. package/dist/esm/operationsInterfaces/database.d.ts.map +1 -1
  929. package/dist/esm/operationsInterfaces/database.js +2 -7
  930. package/dist/esm/operationsInterfaces/database.js.map +1 -1
  931. package/dist/esm/operationsInterfaces/databaseAccountRegion.d.ts +2 -2
  932. package/dist/esm/operationsInterfaces/databaseAccountRegion.d.ts.map +1 -1
  933. package/dist/esm/operationsInterfaces/databaseAccountRegion.js +2 -7
  934. package/dist/esm/operationsInterfaces/databaseAccountRegion.js.map +1 -1
  935. package/dist/esm/operationsInterfaces/databaseAccounts.d.ts +3 -3
  936. package/dist/esm/operationsInterfaces/databaseAccounts.d.ts.map +1 -1
  937. package/dist/esm/operationsInterfaces/databaseAccounts.js +2 -7
  938. package/dist/esm/operationsInterfaces/databaseAccounts.js.map +1 -1
  939. package/dist/esm/operationsInterfaces/fleet.d.ts +54 -0
  940. package/dist/esm/operationsInterfaces/fleet.d.ts.map +1 -0
  941. package/dist/esm/operationsInterfaces/fleet.js +4 -0
  942. package/dist/esm/operationsInterfaces/fleet.js.map +1 -0
  943. package/dist/esm/operationsInterfaces/fleetspace.d.ts +72 -0
  944. package/dist/esm/operationsInterfaces/fleetspace.d.ts.map +1 -0
  945. package/dist/esm/operationsInterfaces/fleetspace.js +4 -0
  946. package/dist/esm/operationsInterfaces/fleetspace.js.map +1 -0
  947. package/dist/esm/operationsInterfaces/fleetspaceAccount.d.ts +62 -0
  948. package/dist/esm/operationsInterfaces/fleetspaceAccount.d.ts.map +1 -0
  949. package/dist/esm/operationsInterfaces/fleetspaceAccount.js +4 -0
  950. package/dist/esm/operationsInterfaces/fleetspaceAccount.js.map +1 -0
  951. package/dist/esm/operationsInterfaces/gremlinResources.d.ts +3 -3
  952. package/dist/esm/operationsInterfaces/gremlinResources.d.ts.map +1 -1
  953. package/dist/esm/operationsInterfaces/gremlinResources.js +2 -7
  954. package/dist/esm/operationsInterfaces/gremlinResources.js.map +1 -1
  955. package/dist/esm/operationsInterfaces/index.d.ts +3 -8
  956. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  957. package/dist/esm/operationsInterfaces/index.js +7 -15
  958. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  959. package/dist/esm/operationsInterfaces/locations.d.ts +2 -2
  960. package/dist/esm/operationsInterfaces/locations.d.ts.map +1 -1
  961. package/dist/esm/operationsInterfaces/locations.js +2 -7
  962. package/dist/esm/operationsInterfaces/locations.js.map +1 -1
  963. package/dist/esm/operationsInterfaces/mongoDBResources.d.ts +3 -125
  964. package/dist/esm/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
  965. package/dist/esm/operationsInterfaces/mongoDBResources.js +2 -7
  966. package/dist/esm/operationsInterfaces/mongoDBResources.js.map +1 -1
  967. package/dist/esm/operationsInterfaces/notebookWorkspaces.d.ts +3 -3
  968. package/dist/esm/operationsInterfaces/notebookWorkspaces.d.ts.map +1 -1
  969. package/dist/esm/operationsInterfaces/notebookWorkspaces.js +2 -7
  970. package/dist/esm/operationsInterfaces/notebookWorkspaces.js.map +1 -1
  971. package/dist/esm/operationsInterfaces/operations.d.ts +2 -2
  972. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  973. package/dist/esm/operationsInterfaces/operations.js +2 -7
  974. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  975. package/dist/esm/operationsInterfaces/partitionKeyRangeId.d.ts +2 -2
  976. package/dist/esm/operationsInterfaces/partitionKeyRangeId.d.ts.map +1 -1
  977. package/dist/esm/operationsInterfaces/partitionKeyRangeId.js +2 -7
  978. package/dist/esm/operationsInterfaces/partitionKeyRangeId.js.map +1 -1
  979. package/dist/esm/operationsInterfaces/partitionKeyRangeIdRegion.d.ts +2 -2
  980. package/dist/esm/operationsInterfaces/partitionKeyRangeIdRegion.d.ts.map +1 -1
  981. package/dist/esm/operationsInterfaces/partitionKeyRangeIdRegion.js +2 -7
  982. package/dist/esm/operationsInterfaces/partitionKeyRangeIdRegion.js.map +1 -1
  983. package/dist/esm/operationsInterfaces/percentile.d.ts +2 -2
  984. package/dist/esm/operationsInterfaces/percentile.d.ts.map +1 -1
  985. package/dist/esm/operationsInterfaces/percentile.js +2 -7
  986. package/dist/esm/operationsInterfaces/percentile.js.map +1 -1
  987. package/dist/esm/operationsInterfaces/percentileSourceTarget.d.ts +2 -2
  988. package/dist/esm/operationsInterfaces/percentileSourceTarget.d.ts.map +1 -1
  989. package/dist/esm/operationsInterfaces/percentileSourceTarget.js +2 -7
  990. package/dist/esm/operationsInterfaces/percentileSourceTarget.js.map +1 -1
  991. package/dist/esm/operationsInterfaces/percentileTarget.d.ts +2 -2
  992. package/dist/esm/operationsInterfaces/percentileTarget.d.ts.map +1 -1
  993. package/dist/esm/operationsInterfaces/percentileTarget.js +2 -7
  994. package/dist/esm/operationsInterfaces/percentileTarget.js.map +1 -1
  995. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  996. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  997. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +2 -7
  998. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  999. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +2 -2
  1000. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  1001. package/dist/esm/operationsInterfaces/privateLinkResources.js +2 -7
  1002. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
  1003. package/dist/esm/operationsInterfaces/restorableDatabaseAccounts.d.ts +2 -2
  1004. package/dist/esm/operationsInterfaces/restorableDatabaseAccounts.d.ts.map +1 -1
  1005. package/dist/esm/operationsInterfaces/restorableDatabaseAccounts.js +2 -7
  1006. package/dist/esm/operationsInterfaces/restorableDatabaseAccounts.js.map +1 -1
  1007. package/dist/esm/operationsInterfaces/restorableGremlinDatabases.d.ts +2 -2
  1008. package/dist/esm/operationsInterfaces/restorableGremlinDatabases.d.ts.map +1 -1
  1009. package/dist/esm/operationsInterfaces/restorableGremlinDatabases.js +2 -7
  1010. package/dist/esm/operationsInterfaces/restorableGremlinDatabases.js.map +1 -1
  1011. package/dist/esm/operationsInterfaces/restorableGremlinGraphs.d.ts +2 -2
  1012. package/dist/esm/operationsInterfaces/restorableGremlinGraphs.d.ts.map +1 -1
  1013. package/dist/esm/operationsInterfaces/restorableGremlinGraphs.js +2 -7
  1014. package/dist/esm/operationsInterfaces/restorableGremlinGraphs.js.map +1 -1
  1015. package/dist/esm/operationsInterfaces/restorableGremlinResources.d.ts +2 -2
  1016. package/dist/esm/operationsInterfaces/restorableGremlinResources.d.ts.map +1 -1
  1017. package/dist/esm/operationsInterfaces/restorableGremlinResources.js +2 -7
  1018. package/dist/esm/operationsInterfaces/restorableGremlinResources.js.map +1 -1
  1019. package/dist/esm/operationsInterfaces/restorableMongodbCollections.d.ts +2 -2
  1020. package/dist/esm/operationsInterfaces/restorableMongodbCollections.d.ts.map +1 -1
  1021. package/dist/esm/operationsInterfaces/restorableMongodbCollections.js +2 -7
  1022. package/dist/esm/operationsInterfaces/restorableMongodbCollections.js.map +1 -1
  1023. package/dist/esm/operationsInterfaces/restorableMongodbDatabases.d.ts +2 -2
  1024. package/dist/esm/operationsInterfaces/restorableMongodbDatabases.d.ts.map +1 -1
  1025. package/dist/esm/operationsInterfaces/restorableMongodbDatabases.js +2 -7
  1026. package/dist/esm/operationsInterfaces/restorableMongodbDatabases.js.map +1 -1
  1027. package/dist/esm/operationsInterfaces/restorableMongodbResources.d.ts +2 -2
  1028. package/dist/esm/operationsInterfaces/restorableMongodbResources.d.ts.map +1 -1
  1029. package/dist/esm/operationsInterfaces/restorableMongodbResources.js +2 -7
  1030. package/dist/esm/operationsInterfaces/restorableMongodbResources.js.map +1 -1
  1031. package/dist/esm/operationsInterfaces/restorableSqlContainers.d.ts +2 -2
  1032. package/dist/esm/operationsInterfaces/restorableSqlContainers.d.ts.map +1 -1
  1033. package/dist/esm/operationsInterfaces/restorableSqlContainers.js +2 -7
  1034. package/dist/esm/operationsInterfaces/restorableSqlContainers.js.map +1 -1
  1035. package/dist/esm/operationsInterfaces/restorableSqlDatabases.d.ts +2 -2
  1036. package/dist/esm/operationsInterfaces/restorableSqlDatabases.d.ts.map +1 -1
  1037. package/dist/esm/operationsInterfaces/restorableSqlDatabases.js +2 -7
  1038. package/dist/esm/operationsInterfaces/restorableSqlDatabases.js.map +1 -1
  1039. package/dist/esm/operationsInterfaces/restorableSqlResources.d.ts +2 -2
  1040. package/dist/esm/operationsInterfaces/restorableSqlResources.d.ts.map +1 -1
  1041. package/dist/esm/operationsInterfaces/restorableSqlResources.js +2 -7
  1042. package/dist/esm/operationsInterfaces/restorableSqlResources.js.map +1 -1
  1043. package/dist/esm/operationsInterfaces/restorableTableResources.d.ts +2 -2
  1044. package/dist/esm/operationsInterfaces/restorableTableResources.d.ts.map +1 -1
  1045. package/dist/esm/operationsInterfaces/restorableTableResources.js +2 -7
  1046. package/dist/esm/operationsInterfaces/restorableTableResources.js.map +1 -1
  1047. package/dist/esm/operationsInterfaces/restorableTables.d.ts +2 -2
  1048. package/dist/esm/operationsInterfaces/restorableTables.d.ts.map +1 -1
  1049. package/dist/esm/operationsInterfaces/restorableTables.js +2 -7
  1050. package/dist/esm/operationsInterfaces/restorableTables.js.map +1 -1
  1051. package/dist/esm/operationsInterfaces/service.d.ts +3 -3
  1052. package/dist/esm/operationsInterfaces/service.d.ts.map +1 -1
  1053. package/dist/esm/operationsInterfaces/service.js +2 -7
  1054. package/dist/esm/operationsInterfaces/service.js.map +1 -1
  1055. package/dist/esm/operationsInterfaces/sqlResources.d.ts +22 -144
  1056. package/dist/esm/operationsInterfaces/sqlResources.d.ts.map +1 -1
  1057. package/dist/esm/operationsInterfaces/sqlResources.js +2 -7
  1058. package/dist/esm/operationsInterfaces/sqlResources.js.map +1 -1
  1059. package/dist/esm/operationsInterfaces/tableResources.d.ts +3 -105
  1060. package/dist/esm/operationsInterfaces/tableResources.d.ts.map +1 -1
  1061. package/dist/esm/operationsInterfaces/tableResources.js +2 -7
  1062. package/dist/esm/operationsInterfaces/tableResources.js.map +1 -1
  1063. package/dist/esm/pagingHelper.d.ts.map +1 -1
  1064. package/dist/esm/pagingHelper.js +4 -11
  1065. package/dist/esm/pagingHelper.js.map +1 -1
  1066. package/dist/react-native/cosmosDBManagementClient.d.ts +7 -12
  1067. package/dist/react-native/cosmosDBManagementClient.d.ts.map +1 -1
  1068. package/dist/react-native/cosmosDBManagementClient.js +64 -27
  1069. package/dist/react-native/cosmosDBManagementClient.js.map +1 -1
  1070. package/dist/react-native/index.d.ts.map +1 -1
  1071. package/dist/react-native/index.js +4 -7
  1072. package/dist/react-native/index.js.map +1 -1
  1073. package/dist/react-native/lroImpl.d.ts +1 -1
  1074. package/dist/react-native/lroImpl.d.ts.map +1 -1
  1075. package/dist/react-native/lroImpl.js +9 -10
  1076. package/dist/react-native/lroImpl.js.map +1 -1
  1077. package/dist/react-native/models/index.d.ts +524 -1877
  1078. package/dist/react-native/models/index.d.ts.map +1 -1
  1079. package/dist/react-native/models/index.js +32 -187
  1080. package/dist/react-native/models/index.js.map +1 -1
  1081. package/dist/react-native/models/mappers.d.ts +49 -133
  1082. package/dist/react-native/models/mappers.d.ts.map +1 -1
  1083. package/dist/react-native/models/mappers.js +2162 -3792
  1084. package/dist/react-native/models/mappers.js.map +1 -1
  1085. package/dist/react-native/models/parameters.d.ts +12 -26
  1086. package/dist/react-native/models/parameters.d.ts.map +1 -1
  1087. package/dist/react-native/models/parameters.js +81 -182
  1088. package/dist/react-native/models/parameters.js.map +1 -1
  1089. package/dist/react-native/operations/cassandraClusters.d.ts +5 -69
  1090. package/dist/react-native/operations/cassandraClusters.d.ts.map +1 -1
  1091. package/dist/react-native/operations/cassandraClusters.js +90 -412
  1092. package/dist/react-native/operations/cassandraClusters.js.map +1 -1
  1093. package/dist/react-native/operations/cassandraDataCenters.d.ts +5 -5
  1094. package/dist/react-native/operations/cassandraDataCenters.d.ts.map +1 -1
  1095. package/dist/react-native/operations/cassandraDataCenters.js +48 -55
  1096. package/dist/react-native/operations/cassandraDataCenters.js.map +1 -1
  1097. package/dist/react-native/operations/cassandraResources.d.ts +5 -138
  1098. package/dist/react-native/operations/cassandraResources.d.ts.map +1 -1
  1099. package/dist/react-native/operations/cassandraResources.js +132 -700
  1100. package/dist/react-native/operations/cassandraResources.js.map +1 -1
  1101. package/dist/react-native/operations/collection.d.ts +4 -4
  1102. package/dist/react-native/operations/collection.d.ts.map +1 -1
  1103. package/dist/react-native/operations/collection.js +30 -86
  1104. package/dist/react-native/operations/collection.js.map +1 -1
  1105. package/dist/react-native/operations/collectionPartition.d.ts +4 -4
  1106. package/dist/react-native/operations/collectionPartition.d.ts.map +1 -1
  1107. package/dist/react-native/operations/collectionPartition.js +21 -60
  1108. package/dist/react-native/operations/collectionPartition.js.map +1 -1
  1109. package/dist/react-native/operations/collectionPartitionRegion.d.ts +4 -4
  1110. package/dist/react-native/operations/collectionPartitionRegion.d.ts.map +1 -1
  1111. package/dist/react-native/operations/collectionPartitionRegion.js +12 -34
  1112. package/dist/react-native/operations/collectionPartitionRegion.js.map +1 -1
  1113. package/dist/react-native/operations/collectionRegion.d.ts +4 -4
  1114. package/dist/react-native/operations/collectionRegion.d.ts.map +1 -1
  1115. package/dist/react-native/operations/collectionRegion.js +12 -34
  1116. package/dist/react-native/operations/collectionRegion.js.map +1 -1
  1117. package/dist/react-native/operations/database.d.ts +4 -4
  1118. package/dist/react-native/operations/database.d.ts.map +1 -1
  1119. package/dist/react-native/operations/database.js +30 -86
  1120. package/dist/react-native/operations/database.js.map +1 -1
  1121. package/dist/react-native/operations/databaseAccountRegion.d.ts +4 -4
  1122. package/dist/react-native/operations/databaseAccountRegion.d.ts.map +1 -1
  1123. package/dist/react-native/operations/databaseAccountRegion.js +12 -34
  1124. package/dist/react-native/operations/databaseAccountRegion.js.map +1 -1
  1125. package/dist/react-native/operations/databaseAccounts.d.ts +5 -5
  1126. package/dist/react-native/operations/databaseAccounts.d.ts.map +1 -1
  1127. package/dist/react-native/operations/databaseAccounts.js +127 -186
  1128. package/dist/react-native/operations/databaseAccounts.js.map +1 -1
  1129. package/dist/react-native/operations/fleet.d.ts +90 -0
  1130. package/dist/react-native/operations/fleet.d.ts.map +1 -0
  1131. package/dist/react-native/operations/fleet.js +396 -0
  1132. package/dist/react-native/operations/fleet.js.map +1 -0
  1133. package/dist/react-native/operations/fleetspace.d.ts +97 -0
  1134. package/dist/react-native/operations/fleetspace.d.ts.map +1 -0
  1135. package/dist/react-native/operations/fleetspace.js +438 -0
  1136. package/dist/react-native/operations/fleetspace.js.map +1 -0
  1137. package/dist/react-native/operations/fleetspaceAccount.d.ts +89 -0
  1138. package/dist/react-native/operations/fleetspaceAccount.d.ts.map +1 -0
  1139. package/dist/react-native/operations/fleetspaceAccount.js +378 -0
  1140. package/dist/react-native/operations/fleetspaceAccount.js.map +1 -0
  1141. package/dist/react-native/operations/gremlinResources.d.ts +5 -5
  1142. package/dist/react-native/operations/gremlinResources.d.ts.map +1 -1
  1143. package/dist/react-native/operations/gremlinResources.js +151 -135
  1144. package/dist/react-native/operations/gremlinResources.js.map +1 -1
  1145. package/dist/react-native/operations/index.d.ts +3 -8
  1146. package/dist/react-native/operations/index.d.ts.map +1 -1
  1147. package/dist/react-native/operations/index.js +7 -15
  1148. package/dist/react-native/operations/index.js.map +1 -1
  1149. package/dist/react-native/operations/locations.d.ts +4 -4
  1150. package/dist/react-native/operations/locations.d.ts.map +1 -1
  1151. package/dist/react-native/operations/locations.js +13 -39
  1152. package/dist/react-native/operations/locations.js.map +1 -1
  1153. package/dist/react-native/operations/mongoDBResources.d.ts +5 -127
  1154. package/dist/react-native/operations/mongoDBResources.d.ts.map +1 -1
  1155. package/dist/react-native/operations/mongoDBResources.js +205 -793
  1156. package/dist/react-native/operations/mongoDBResources.js.map +1 -1
  1157. package/dist/react-native/operations/notebookWorkspaces.d.ts +5 -5
  1158. package/dist/react-native/operations/notebookWorkspaces.d.ts.map +1 -1
  1159. package/dist/react-native/operations/notebookWorkspaces.js +57 -59
  1160. package/dist/react-native/operations/notebookWorkspaces.js.map +1 -1
  1161. package/dist/react-native/operations/operations.d.ts +4 -4
  1162. package/dist/react-native/operations/operations.d.ts.map +1 -1
  1163. package/dist/react-native/operations/operations.js +25 -47
  1164. package/dist/react-native/operations/operations.js.map +1 -1
  1165. package/dist/react-native/operations/partitionKeyRangeId.d.ts +4 -4
  1166. package/dist/react-native/operations/partitionKeyRangeId.d.ts.map +1 -1
  1167. package/dist/react-native/operations/partitionKeyRangeId.js +12 -34
  1168. package/dist/react-native/operations/partitionKeyRangeId.js.map +1 -1
  1169. package/dist/react-native/operations/partitionKeyRangeIdRegion.d.ts +4 -4
  1170. package/dist/react-native/operations/partitionKeyRangeIdRegion.d.ts.map +1 -1
  1171. package/dist/react-native/operations/partitionKeyRangeIdRegion.js +12 -34
  1172. package/dist/react-native/operations/partitionKeyRangeIdRegion.js.map +1 -1
  1173. package/dist/react-native/operations/percentile.d.ts +4 -4
  1174. package/dist/react-native/operations/percentile.d.ts.map +1 -1
  1175. package/dist/react-native/operations/percentile.js +12 -34
  1176. package/dist/react-native/operations/percentile.js.map +1 -1
  1177. package/dist/react-native/operations/percentileSourceTarget.d.ts +4 -4
  1178. package/dist/react-native/operations/percentileSourceTarget.d.ts.map +1 -1
  1179. package/dist/react-native/operations/percentileSourceTarget.js +12 -34
  1180. package/dist/react-native/operations/percentileSourceTarget.js.map +1 -1
  1181. package/dist/react-native/operations/percentileTarget.d.ts +4 -4
  1182. package/dist/react-native/operations/percentileTarget.d.ts.map +1 -1
  1183. package/dist/react-native/operations/percentileTarget.js +12 -34
  1184. package/dist/react-native/operations/percentileTarget.js.map +1 -1
  1185. package/dist/react-native/operations/privateEndpointConnections.d.ts +5 -5
  1186. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
  1187. package/dist/react-native/operations/privateEndpointConnections.js +35 -47
  1188. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  1189. package/dist/react-native/operations/privateLinkResources.d.ts +4 -4
  1190. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
  1191. package/dist/react-native/operations/privateLinkResources.js +12 -34
  1192. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  1193. package/dist/react-native/operations/restorableDatabaseAccounts.d.ts +4 -4
  1194. package/dist/react-native/operations/restorableDatabaseAccounts.d.ts.map +1 -1
  1195. package/dist/react-native/operations/restorableDatabaseAccounts.js +22 -65
  1196. package/dist/react-native/operations/restorableDatabaseAccounts.js.map +1 -1
  1197. package/dist/react-native/operations/restorableGremlinDatabases.d.ts +4 -4
  1198. package/dist/react-native/operations/restorableGremlinDatabases.d.ts.map +1 -1
  1199. package/dist/react-native/operations/restorableGremlinDatabases.js +12 -34
  1200. package/dist/react-native/operations/restorableGremlinDatabases.js.map +1 -1
  1201. package/dist/react-native/operations/restorableGremlinGraphs.d.ts +4 -4
  1202. package/dist/react-native/operations/restorableGremlinGraphs.d.ts.map +1 -1
  1203. package/dist/react-native/operations/restorableGremlinGraphs.js +12 -34
  1204. package/dist/react-native/operations/restorableGremlinGraphs.js.map +1 -1
  1205. package/dist/react-native/operations/restorableGremlinResources.d.ts +4 -4
  1206. package/dist/react-native/operations/restorableGremlinResources.d.ts.map +1 -1
  1207. package/dist/react-native/operations/restorableGremlinResources.js +12 -34
  1208. package/dist/react-native/operations/restorableGremlinResources.js.map +1 -1
  1209. package/dist/react-native/operations/restorableMongodbCollections.d.ts +4 -4
  1210. package/dist/react-native/operations/restorableMongodbCollections.d.ts.map +1 -1
  1211. package/dist/react-native/operations/restorableMongodbCollections.js +12 -34
  1212. package/dist/react-native/operations/restorableMongodbCollections.js.map +1 -1
  1213. package/dist/react-native/operations/restorableMongodbDatabases.d.ts +4 -4
  1214. package/dist/react-native/operations/restorableMongodbDatabases.d.ts.map +1 -1
  1215. package/dist/react-native/operations/restorableMongodbDatabases.js +12 -34
  1216. package/dist/react-native/operations/restorableMongodbDatabases.js.map +1 -1
  1217. package/dist/react-native/operations/restorableMongodbResources.d.ts +4 -4
  1218. package/dist/react-native/operations/restorableMongodbResources.d.ts.map +1 -1
  1219. package/dist/react-native/operations/restorableMongodbResources.js +12 -34
  1220. package/dist/react-native/operations/restorableMongodbResources.js.map +1 -1
  1221. package/dist/react-native/operations/restorableSqlContainers.d.ts +4 -4
  1222. package/dist/react-native/operations/restorableSqlContainers.d.ts.map +1 -1
  1223. package/dist/react-native/operations/restorableSqlContainers.js +12 -34
  1224. package/dist/react-native/operations/restorableSqlContainers.js.map +1 -1
  1225. package/dist/react-native/operations/restorableSqlDatabases.d.ts +4 -4
  1226. package/dist/react-native/operations/restorableSqlDatabases.d.ts.map +1 -1
  1227. package/dist/react-native/operations/restorableSqlDatabases.js +12 -34
  1228. package/dist/react-native/operations/restorableSqlDatabases.js.map +1 -1
  1229. package/dist/react-native/operations/restorableSqlResources.d.ts +4 -4
  1230. package/dist/react-native/operations/restorableSqlResources.d.ts.map +1 -1
  1231. package/dist/react-native/operations/restorableSqlResources.js +12 -34
  1232. package/dist/react-native/operations/restorableSqlResources.js.map +1 -1
  1233. package/dist/react-native/operations/restorableTableResources.d.ts +4 -4
  1234. package/dist/react-native/operations/restorableTableResources.d.ts.map +1 -1
  1235. package/dist/react-native/operations/restorableTableResources.js +12 -34
  1236. package/dist/react-native/operations/restorableTableResources.js.map +1 -1
  1237. package/dist/react-native/operations/restorableTables.d.ts +4 -4
  1238. package/dist/react-native/operations/restorableTables.d.ts.map +1 -1
  1239. package/dist/react-native/operations/restorableTables.js +13 -39
  1240. package/dist/react-native/operations/restorableTables.js.map +1 -1
  1241. package/dist/react-native/operations/service.d.ts +5 -5
  1242. package/dist/react-native/operations/service.d.ts.map +1 -1
  1243. package/dist/react-native/operations/service.js +35 -47
  1244. package/dist/react-native/operations/service.js.map +1 -1
  1245. package/dist/react-native/operations/sqlResources.d.ts +30 -152
  1246. package/dist/react-native/operations/sqlResources.d.ts.map +1 -1
  1247. package/dist/react-native/operations/sqlResources.js +375 -996
  1248. package/dist/react-native/operations/sqlResources.js.map +1 -1
  1249. package/dist/react-native/operations/tableResources.d.ts +5 -125
  1250. package/dist/react-native/operations/tableResources.d.ts.map +1 -1
  1251. package/dist/react-native/operations/tableResources.js +79 -639
  1252. package/dist/react-native/operations/tableResources.js.map +1 -1
  1253. package/dist/react-native/operationsInterfaces/cassandraClusters.d.ts +3 -49
  1254. package/dist/react-native/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
  1255. package/dist/react-native/operationsInterfaces/cassandraClusters.js +2 -7
  1256. package/dist/react-native/operationsInterfaces/cassandraClusters.js.map +1 -1
  1257. package/dist/react-native/operationsInterfaces/cassandraDataCenters.d.ts +3 -3
  1258. package/dist/react-native/operationsInterfaces/cassandraDataCenters.d.ts.map +1 -1
  1259. package/dist/react-native/operationsInterfaces/cassandraDataCenters.js +2 -7
  1260. package/dist/react-native/operationsInterfaces/cassandraDataCenters.js.map +1 -1
  1261. package/dist/react-native/operationsInterfaces/cassandraResources.d.ts +3 -126
  1262. package/dist/react-native/operationsInterfaces/cassandraResources.d.ts.map +1 -1
  1263. package/dist/react-native/operationsInterfaces/cassandraResources.js +2 -7
  1264. package/dist/react-native/operationsInterfaces/cassandraResources.js.map +1 -1
  1265. package/dist/react-native/operationsInterfaces/collection.d.ts +2 -2
  1266. package/dist/react-native/operationsInterfaces/collection.d.ts.map +1 -1
  1267. package/dist/react-native/operationsInterfaces/collection.js +2 -7
  1268. package/dist/react-native/operationsInterfaces/collection.js.map +1 -1
  1269. package/dist/react-native/operationsInterfaces/collectionPartition.d.ts +2 -2
  1270. package/dist/react-native/operationsInterfaces/collectionPartition.d.ts.map +1 -1
  1271. package/dist/react-native/operationsInterfaces/collectionPartition.js +2 -7
  1272. package/dist/react-native/operationsInterfaces/collectionPartition.js.map +1 -1
  1273. package/dist/react-native/operationsInterfaces/collectionPartitionRegion.d.ts +2 -2
  1274. package/dist/react-native/operationsInterfaces/collectionPartitionRegion.d.ts.map +1 -1
  1275. package/dist/react-native/operationsInterfaces/collectionPartitionRegion.js +2 -7
  1276. package/dist/react-native/operationsInterfaces/collectionPartitionRegion.js.map +1 -1
  1277. package/dist/react-native/operationsInterfaces/collectionRegion.d.ts +2 -2
  1278. package/dist/react-native/operationsInterfaces/collectionRegion.d.ts.map +1 -1
  1279. package/dist/react-native/operationsInterfaces/collectionRegion.js +2 -7
  1280. package/dist/react-native/operationsInterfaces/collectionRegion.js.map +1 -1
  1281. package/dist/react-native/operationsInterfaces/database.d.ts +2 -2
  1282. package/dist/react-native/operationsInterfaces/database.d.ts.map +1 -1
  1283. package/dist/react-native/operationsInterfaces/database.js +2 -7
  1284. package/dist/react-native/operationsInterfaces/database.js.map +1 -1
  1285. package/dist/react-native/operationsInterfaces/databaseAccountRegion.d.ts +2 -2
  1286. package/dist/react-native/operationsInterfaces/databaseAccountRegion.d.ts.map +1 -1
  1287. package/dist/react-native/operationsInterfaces/databaseAccountRegion.js +2 -7
  1288. package/dist/react-native/operationsInterfaces/databaseAccountRegion.js.map +1 -1
  1289. package/dist/react-native/operationsInterfaces/databaseAccounts.d.ts +3 -3
  1290. package/dist/react-native/operationsInterfaces/databaseAccounts.d.ts.map +1 -1
  1291. package/dist/react-native/operationsInterfaces/databaseAccounts.js +2 -7
  1292. package/dist/react-native/operationsInterfaces/databaseAccounts.js.map +1 -1
  1293. package/dist/react-native/operationsInterfaces/fleet.d.ts +54 -0
  1294. package/dist/react-native/operationsInterfaces/fleet.d.ts.map +1 -0
  1295. package/dist/react-native/operationsInterfaces/fleet.js +4 -0
  1296. package/dist/react-native/operationsInterfaces/fleet.js.map +1 -0
  1297. package/dist/react-native/operationsInterfaces/fleetspace.d.ts +72 -0
  1298. package/dist/react-native/operationsInterfaces/fleetspace.d.ts.map +1 -0
  1299. package/dist/react-native/operationsInterfaces/fleetspace.js +4 -0
  1300. package/dist/react-native/operationsInterfaces/fleetspace.js.map +1 -0
  1301. package/dist/react-native/operationsInterfaces/fleetspaceAccount.d.ts +62 -0
  1302. package/dist/react-native/operationsInterfaces/fleetspaceAccount.d.ts.map +1 -0
  1303. package/dist/react-native/operationsInterfaces/fleetspaceAccount.js +4 -0
  1304. package/dist/react-native/operationsInterfaces/fleetspaceAccount.js.map +1 -0
  1305. package/dist/react-native/operationsInterfaces/gremlinResources.d.ts +3 -3
  1306. package/dist/react-native/operationsInterfaces/gremlinResources.d.ts.map +1 -1
  1307. package/dist/react-native/operationsInterfaces/gremlinResources.js +2 -7
  1308. package/dist/react-native/operationsInterfaces/gremlinResources.js.map +1 -1
  1309. package/dist/react-native/operationsInterfaces/index.d.ts +3 -8
  1310. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  1311. package/dist/react-native/operationsInterfaces/index.js +7 -15
  1312. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  1313. package/dist/react-native/operationsInterfaces/locations.d.ts +2 -2
  1314. package/dist/react-native/operationsInterfaces/locations.d.ts.map +1 -1
  1315. package/dist/react-native/operationsInterfaces/locations.js +2 -7
  1316. package/dist/react-native/operationsInterfaces/locations.js.map +1 -1
  1317. package/dist/react-native/operationsInterfaces/mongoDBResources.d.ts +3 -125
  1318. package/dist/react-native/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
  1319. package/dist/react-native/operationsInterfaces/mongoDBResources.js +2 -7
  1320. package/dist/react-native/operationsInterfaces/mongoDBResources.js.map +1 -1
  1321. package/dist/react-native/operationsInterfaces/notebookWorkspaces.d.ts +3 -3
  1322. package/dist/react-native/operationsInterfaces/notebookWorkspaces.d.ts.map +1 -1
  1323. package/dist/react-native/operationsInterfaces/notebookWorkspaces.js +2 -7
  1324. package/dist/react-native/operationsInterfaces/notebookWorkspaces.js.map +1 -1
  1325. package/dist/react-native/operationsInterfaces/operations.d.ts +2 -2
  1326. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  1327. package/dist/react-native/operationsInterfaces/operations.js +2 -7
  1328. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  1329. package/dist/react-native/operationsInterfaces/partitionKeyRangeId.d.ts +2 -2
  1330. package/dist/react-native/operationsInterfaces/partitionKeyRangeId.d.ts.map +1 -1
  1331. package/dist/react-native/operationsInterfaces/partitionKeyRangeId.js +2 -7
  1332. package/dist/react-native/operationsInterfaces/partitionKeyRangeId.js.map +1 -1
  1333. package/dist/react-native/operationsInterfaces/partitionKeyRangeIdRegion.d.ts +2 -2
  1334. package/dist/react-native/operationsInterfaces/partitionKeyRangeIdRegion.d.ts.map +1 -1
  1335. package/dist/react-native/operationsInterfaces/partitionKeyRangeIdRegion.js +2 -7
  1336. package/dist/react-native/operationsInterfaces/partitionKeyRangeIdRegion.js.map +1 -1
  1337. package/dist/react-native/operationsInterfaces/percentile.d.ts +2 -2
  1338. package/dist/react-native/operationsInterfaces/percentile.d.ts.map +1 -1
  1339. package/dist/react-native/operationsInterfaces/percentile.js +2 -7
  1340. package/dist/react-native/operationsInterfaces/percentile.js.map +1 -1
  1341. package/dist/react-native/operationsInterfaces/percentileSourceTarget.d.ts +2 -2
  1342. package/dist/react-native/operationsInterfaces/percentileSourceTarget.d.ts.map +1 -1
  1343. package/dist/react-native/operationsInterfaces/percentileSourceTarget.js +2 -7
  1344. package/dist/react-native/operationsInterfaces/percentileSourceTarget.js.map +1 -1
  1345. package/dist/react-native/operationsInterfaces/percentileTarget.d.ts +2 -2
  1346. package/dist/react-native/operationsInterfaces/percentileTarget.d.ts.map +1 -1
  1347. package/dist/react-native/operationsInterfaces/percentileTarget.js +2 -7
  1348. package/dist/react-native/operationsInterfaces/percentileTarget.js.map +1 -1
  1349. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  1350. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  1351. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +2 -7
  1352. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  1353. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +2 -2
  1354. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  1355. package/dist/react-native/operationsInterfaces/privateLinkResources.js +2 -7
  1356. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
  1357. package/dist/react-native/operationsInterfaces/restorableDatabaseAccounts.d.ts +2 -2
  1358. package/dist/react-native/operationsInterfaces/restorableDatabaseAccounts.d.ts.map +1 -1
  1359. package/dist/react-native/operationsInterfaces/restorableDatabaseAccounts.js +2 -7
  1360. package/dist/react-native/operationsInterfaces/restorableDatabaseAccounts.js.map +1 -1
  1361. package/dist/react-native/operationsInterfaces/restorableGremlinDatabases.d.ts +2 -2
  1362. package/dist/react-native/operationsInterfaces/restorableGremlinDatabases.d.ts.map +1 -1
  1363. package/dist/react-native/operationsInterfaces/restorableGremlinDatabases.js +2 -7
  1364. package/dist/react-native/operationsInterfaces/restorableGremlinDatabases.js.map +1 -1
  1365. package/dist/react-native/operationsInterfaces/restorableGremlinGraphs.d.ts +2 -2
  1366. package/dist/react-native/operationsInterfaces/restorableGremlinGraphs.d.ts.map +1 -1
  1367. package/dist/react-native/operationsInterfaces/restorableGremlinGraphs.js +2 -7
  1368. package/dist/react-native/operationsInterfaces/restorableGremlinGraphs.js.map +1 -1
  1369. package/dist/react-native/operationsInterfaces/restorableGremlinResources.d.ts +2 -2
  1370. package/dist/react-native/operationsInterfaces/restorableGremlinResources.d.ts.map +1 -1
  1371. package/dist/react-native/operationsInterfaces/restorableGremlinResources.js +2 -7
  1372. package/dist/react-native/operationsInterfaces/restorableGremlinResources.js.map +1 -1
  1373. package/dist/react-native/operationsInterfaces/restorableMongodbCollections.d.ts +2 -2
  1374. package/dist/react-native/operationsInterfaces/restorableMongodbCollections.d.ts.map +1 -1
  1375. package/dist/react-native/operationsInterfaces/restorableMongodbCollections.js +2 -7
  1376. package/dist/react-native/operationsInterfaces/restorableMongodbCollections.js.map +1 -1
  1377. package/dist/react-native/operationsInterfaces/restorableMongodbDatabases.d.ts +2 -2
  1378. package/dist/react-native/operationsInterfaces/restorableMongodbDatabases.d.ts.map +1 -1
  1379. package/dist/react-native/operationsInterfaces/restorableMongodbDatabases.js +2 -7
  1380. package/dist/react-native/operationsInterfaces/restorableMongodbDatabases.js.map +1 -1
  1381. package/dist/react-native/operationsInterfaces/restorableMongodbResources.d.ts +2 -2
  1382. package/dist/react-native/operationsInterfaces/restorableMongodbResources.d.ts.map +1 -1
  1383. package/dist/react-native/operationsInterfaces/restorableMongodbResources.js +2 -7
  1384. package/dist/react-native/operationsInterfaces/restorableMongodbResources.js.map +1 -1
  1385. package/dist/react-native/operationsInterfaces/restorableSqlContainers.d.ts +2 -2
  1386. package/dist/react-native/operationsInterfaces/restorableSqlContainers.d.ts.map +1 -1
  1387. package/dist/react-native/operationsInterfaces/restorableSqlContainers.js +2 -7
  1388. package/dist/react-native/operationsInterfaces/restorableSqlContainers.js.map +1 -1
  1389. package/dist/react-native/operationsInterfaces/restorableSqlDatabases.d.ts +2 -2
  1390. package/dist/react-native/operationsInterfaces/restorableSqlDatabases.d.ts.map +1 -1
  1391. package/dist/react-native/operationsInterfaces/restorableSqlDatabases.js +2 -7
  1392. package/dist/react-native/operationsInterfaces/restorableSqlDatabases.js.map +1 -1
  1393. package/dist/react-native/operationsInterfaces/restorableSqlResources.d.ts +2 -2
  1394. package/dist/react-native/operationsInterfaces/restorableSqlResources.d.ts.map +1 -1
  1395. package/dist/react-native/operationsInterfaces/restorableSqlResources.js +2 -7
  1396. package/dist/react-native/operationsInterfaces/restorableSqlResources.js.map +1 -1
  1397. package/dist/react-native/operationsInterfaces/restorableTableResources.d.ts +2 -2
  1398. package/dist/react-native/operationsInterfaces/restorableTableResources.d.ts.map +1 -1
  1399. package/dist/react-native/operationsInterfaces/restorableTableResources.js +2 -7
  1400. package/dist/react-native/operationsInterfaces/restorableTableResources.js.map +1 -1
  1401. package/dist/react-native/operationsInterfaces/restorableTables.d.ts +2 -2
  1402. package/dist/react-native/operationsInterfaces/restorableTables.d.ts.map +1 -1
  1403. package/dist/react-native/operationsInterfaces/restorableTables.js +2 -7
  1404. package/dist/react-native/operationsInterfaces/restorableTables.js.map +1 -1
  1405. package/dist/react-native/operationsInterfaces/service.d.ts +3 -3
  1406. package/dist/react-native/operationsInterfaces/service.d.ts.map +1 -1
  1407. package/dist/react-native/operationsInterfaces/service.js +2 -7
  1408. package/dist/react-native/operationsInterfaces/service.js.map +1 -1
  1409. package/dist/react-native/operationsInterfaces/sqlResources.d.ts +22 -144
  1410. package/dist/react-native/operationsInterfaces/sqlResources.d.ts.map +1 -1
  1411. package/dist/react-native/operationsInterfaces/sqlResources.js +2 -7
  1412. package/dist/react-native/operationsInterfaces/sqlResources.js.map +1 -1
  1413. package/dist/react-native/operationsInterfaces/tableResources.d.ts +3 -105
  1414. package/dist/react-native/operationsInterfaces/tableResources.d.ts.map +1 -1
  1415. package/dist/react-native/operationsInterfaces/tableResources.js +2 -7
  1416. package/dist/react-native/operationsInterfaces/tableResources.js.map +1 -1
  1417. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  1418. package/dist/react-native/pagingHelper.js +4 -11
  1419. package/dist/react-native/pagingHelper.js.map +1 -1
  1420. package/package.json +59 -68
  1421. package/CHANGELOG.md +0 -2155
  1422. package/dist/browser/operations/chaosFault.d.ts +0 -65
  1423. package/dist/browser/operations/chaosFault.d.ts.map +0 -1
  1424. package/dist/browser/operations/chaosFault.js +0 -279
  1425. package/dist/browser/operations/chaosFault.js.map +0 -1
  1426. package/dist/browser/operations/dataTransferJobs.d.ts +0 -87
  1427. package/dist/browser/operations/dataTransferJobs.d.ts.map +0 -1
  1428. package/dist/browser/operations/dataTransferJobs.js +0 -345
  1429. package/dist/browser/operations/dataTransferJobs.js.map +0 -1
  1430. package/dist/browser/operations/graphResources.d.ts +0 -73
  1431. package/dist/browser/operations/graphResources.d.ts.map +0 -1
  1432. package/dist/browser/operations/graphResources.js +0 -291
  1433. package/dist/browser/operations/graphResources.js.map +0 -1
  1434. package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
  1435. package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  1436. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js +0 -282
  1437. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
  1438. package/dist/browser/operations/throughputPool.d.ts +0 -67
  1439. package/dist/browser/operations/throughputPool.d.ts.map +0 -1
  1440. package/dist/browser/operations/throughputPool.js +0 -308
  1441. package/dist/browser/operations/throughputPool.js.map +0 -1
  1442. package/dist/browser/operations/throughputPoolAccount.d.ts +0 -58
  1443. package/dist/browser/operations/throughputPoolAccount.d.ts.map +0 -1
  1444. package/dist/browser/operations/throughputPoolAccount.js +0 -248
  1445. package/dist/browser/operations/throughputPoolAccount.js.map +0 -1
  1446. package/dist/browser/operations/throughputPoolAccounts.d.ts +0 -38
  1447. package/dist/browser/operations/throughputPoolAccounts.d.ts.map +0 -1
  1448. package/dist/browser/operations/throughputPoolAccounts.js +0 -150
  1449. package/dist/browser/operations/throughputPoolAccounts.js.map +0 -1
  1450. package/dist/browser/operations/throughputPools.d.ts +0 -53
  1451. package/dist/browser/operations/throughputPools.d.ts.map +0 -1
  1452. package/dist/browser/operations/throughputPools.js +0 -256
  1453. package/dist/browser/operations/throughputPools.js.map +0 -1
  1454. package/dist/browser/operationsInterfaces/chaosFault.d.ts +0 -40
  1455. package/dist/browser/operationsInterfaces/chaosFault.d.ts.map +0 -1
  1456. package/dist/browser/operationsInterfaces/chaosFault.js +0 -9
  1457. package/dist/browser/operationsInterfaces/chaosFault.js.map +0 -1
  1458. package/dist/browser/operationsInterfaces/dataTransferJobs.d.ts +0 -62
  1459. package/dist/browser/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
  1460. package/dist/browser/operationsInterfaces/dataTransferJobs.js +0 -9
  1461. package/dist/browser/operationsInterfaces/dataTransferJobs.js.map +0 -1
  1462. package/dist/browser/operationsInterfaces/graphResources.d.ts +0 -56
  1463. package/dist/browser/operationsInterfaces/graphResources.d.ts.map +0 -1
  1464. package/dist/browser/operationsInterfaces/graphResources.js +0 -9
  1465. package/dist/browser/operationsInterfaces/graphResources.js.map +0 -1
  1466. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
  1467. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  1468. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -9
  1469. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
  1470. package/dist/browser/operationsInterfaces/throughputPool.d.ts +0 -59
  1471. package/dist/browser/operationsInterfaces/throughputPool.d.ts.map +0 -1
  1472. package/dist/browser/operationsInterfaces/throughputPool.js +0 -9
  1473. package/dist/browser/operationsInterfaces/throughputPool.js.map +0 -1
  1474. package/dist/browser/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
  1475. package/dist/browser/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
  1476. package/dist/browser/operationsInterfaces/throughputPoolAccount.js +0 -9
  1477. package/dist/browser/operationsInterfaces/throughputPoolAccount.js.map +0 -1
  1478. package/dist/browser/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
  1479. package/dist/browser/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
  1480. package/dist/browser/operationsInterfaces/throughputPoolAccounts.js +0 -9
  1481. package/dist/browser/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
  1482. package/dist/browser/operationsInterfaces/throughputPools.d.ts +0 -17
  1483. package/dist/browser/operationsInterfaces/throughputPools.d.ts.map +0 -1
  1484. package/dist/browser/operationsInterfaces/throughputPools.js +0 -9
  1485. package/dist/browser/operationsInterfaces/throughputPools.js.map +0 -1
  1486. package/dist/commonjs/operations/chaosFault.d.ts +0 -65
  1487. package/dist/commonjs/operations/chaosFault.d.ts.map +0 -1
  1488. package/dist/commonjs/operations/chaosFault.js +0 -283
  1489. package/dist/commonjs/operations/chaosFault.js.map +0 -1
  1490. package/dist/commonjs/operations/dataTransferJobs.d.ts +0 -87
  1491. package/dist/commonjs/operations/dataTransferJobs.d.ts.map +0 -1
  1492. package/dist/commonjs/operations/dataTransferJobs.js +0 -349
  1493. package/dist/commonjs/operations/dataTransferJobs.js.map +0 -1
  1494. package/dist/commonjs/operations/graphResources.d.ts +0 -73
  1495. package/dist/commonjs/operations/graphResources.d.ts.map +0 -1
  1496. package/dist/commonjs/operations/graphResources.js +0 -295
  1497. package/dist/commonjs/operations/graphResources.js.map +0 -1
  1498. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
  1499. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  1500. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +0 -286
  1501. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
  1502. package/dist/commonjs/operations/throughputPool.d.ts +0 -67
  1503. package/dist/commonjs/operations/throughputPool.d.ts.map +0 -1
  1504. package/dist/commonjs/operations/throughputPool.js +0 -313
  1505. package/dist/commonjs/operations/throughputPool.js.map +0 -1
  1506. package/dist/commonjs/operations/throughputPoolAccount.d.ts +0 -58
  1507. package/dist/commonjs/operations/throughputPoolAccount.d.ts.map +0 -1
  1508. package/dist/commonjs/operations/throughputPoolAccount.js +0 -253
  1509. package/dist/commonjs/operations/throughputPoolAccount.js.map +0 -1
  1510. package/dist/commonjs/operations/throughputPoolAccounts.d.ts +0 -38
  1511. package/dist/commonjs/operations/throughputPoolAccounts.d.ts.map +0 -1
  1512. package/dist/commonjs/operations/throughputPoolAccounts.js +0 -154
  1513. package/dist/commonjs/operations/throughputPoolAccounts.js.map +0 -1
  1514. package/dist/commonjs/operations/throughputPools.d.ts +0 -53
  1515. package/dist/commonjs/operations/throughputPools.d.ts.map +0 -1
  1516. package/dist/commonjs/operations/throughputPools.js +0 -260
  1517. package/dist/commonjs/operations/throughputPools.js.map +0 -1
  1518. package/dist/commonjs/operationsInterfaces/chaosFault.d.ts +0 -40
  1519. package/dist/commonjs/operationsInterfaces/chaosFault.d.ts.map +0 -1
  1520. package/dist/commonjs/operationsInterfaces/chaosFault.js +0 -10
  1521. package/dist/commonjs/operationsInterfaces/chaosFault.js.map +0 -1
  1522. package/dist/commonjs/operationsInterfaces/dataTransferJobs.d.ts +0 -62
  1523. package/dist/commonjs/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
  1524. package/dist/commonjs/operationsInterfaces/dataTransferJobs.js +0 -10
  1525. package/dist/commonjs/operationsInterfaces/dataTransferJobs.js.map +0 -1
  1526. package/dist/commonjs/operationsInterfaces/graphResources.d.ts +0 -56
  1527. package/dist/commonjs/operationsInterfaces/graphResources.d.ts.map +0 -1
  1528. package/dist/commonjs/operationsInterfaces/graphResources.js +0 -10
  1529. package/dist/commonjs/operationsInterfaces/graphResources.js.map +0 -1
  1530. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
  1531. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  1532. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -10
  1533. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
  1534. package/dist/commonjs/operationsInterfaces/throughputPool.d.ts +0 -59
  1535. package/dist/commonjs/operationsInterfaces/throughputPool.d.ts.map +0 -1
  1536. package/dist/commonjs/operationsInterfaces/throughputPool.js +0 -10
  1537. package/dist/commonjs/operationsInterfaces/throughputPool.js.map +0 -1
  1538. package/dist/commonjs/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
  1539. package/dist/commonjs/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
  1540. package/dist/commonjs/operationsInterfaces/throughputPoolAccount.js +0 -10
  1541. package/dist/commonjs/operationsInterfaces/throughputPoolAccount.js.map +0 -1
  1542. package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
  1543. package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
  1544. package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.js +0 -10
  1545. package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
  1546. package/dist/commonjs/operationsInterfaces/throughputPools.d.ts +0 -17
  1547. package/dist/commonjs/operationsInterfaces/throughputPools.d.ts.map +0 -1
  1548. package/dist/commonjs/operationsInterfaces/throughputPools.js +0 -10
  1549. package/dist/commonjs/operationsInterfaces/throughputPools.js.map +0 -1
  1550. package/dist/esm/operations/chaosFault.d.ts +0 -65
  1551. package/dist/esm/operations/chaosFault.d.ts.map +0 -1
  1552. package/dist/esm/operations/chaosFault.js +0 -279
  1553. package/dist/esm/operations/chaosFault.js.map +0 -1
  1554. package/dist/esm/operations/dataTransferJobs.d.ts +0 -87
  1555. package/dist/esm/operations/dataTransferJobs.d.ts.map +0 -1
  1556. package/dist/esm/operations/dataTransferJobs.js +0 -345
  1557. package/dist/esm/operations/dataTransferJobs.js.map +0 -1
  1558. package/dist/esm/operations/graphResources.d.ts +0 -73
  1559. package/dist/esm/operations/graphResources.d.ts.map +0 -1
  1560. package/dist/esm/operations/graphResources.js +0 -291
  1561. package/dist/esm/operations/graphResources.js.map +0 -1
  1562. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
  1563. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  1564. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +0 -282
  1565. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
  1566. package/dist/esm/operations/throughputPool.d.ts +0 -67
  1567. package/dist/esm/operations/throughputPool.d.ts.map +0 -1
  1568. package/dist/esm/operations/throughputPool.js +0 -308
  1569. package/dist/esm/operations/throughputPool.js.map +0 -1
  1570. package/dist/esm/operations/throughputPoolAccount.d.ts +0 -58
  1571. package/dist/esm/operations/throughputPoolAccount.d.ts.map +0 -1
  1572. package/dist/esm/operations/throughputPoolAccount.js +0 -248
  1573. package/dist/esm/operations/throughputPoolAccount.js.map +0 -1
  1574. package/dist/esm/operations/throughputPoolAccounts.d.ts +0 -38
  1575. package/dist/esm/operations/throughputPoolAccounts.d.ts.map +0 -1
  1576. package/dist/esm/operations/throughputPoolAccounts.js +0 -150
  1577. package/dist/esm/operations/throughputPoolAccounts.js.map +0 -1
  1578. package/dist/esm/operations/throughputPools.d.ts +0 -53
  1579. package/dist/esm/operations/throughputPools.d.ts.map +0 -1
  1580. package/dist/esm/operations/throughputPools.js +0 -256
  1581. package/dist/esm/operations/throughputPools.js.map +0 -1
  1582. package/dist/esm/operationsInterfaces/chaosFault.d.ts +0 -40
  1583. package/dist/esm/operationsInterfaces/chaosFault.d.ts.map +0 -1
  1584. package/dist/esm/operationsInterfaces/chaosFault.js +0 -9
  1585. package/dist/esm/operationsInterfaces/chaosFault.js.map +0 -1
  1586. package/dist/esm/operationsInterfaces/dataTransferJobs.d.ts +0 -62
  1587. package/dist/esm/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
  1588. package/dist/esm/operationsInterfaces/dataTransferJobs.js +0 -9
  1589. package/dist/esm/operationsInterfaces/dataTransferJobs.js.map +0 -1
  1590. package/dist/esm/operationsInterfaces/graphResources.d.ts +0 -56
  1591. package/dist/esm/operationsInterfaces/graphResources.d.ts.map +0 -1
  1592. package/dist/esm/operationsInterfaces/graphResources.js +0 -9
  1593. package/dist/esm/operationsInterfaces/graphResources.js.map +0 -1
  1594. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
  1595. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  1596. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -9
  1597. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
  1598. package/dist/esm/operationsInterfaces/throughputPool.d.ts +0 -59
  1599. package/dist/esm/operationsInterfaces/throughputPool.d.ts.map +0 -1
  1600. package/dist/esm/operationsInterfaces/throughputPool.js +0 -9
  1601. package/dist/esm/operationsInterfaces/throughputPool.js.map +0 -1
  1602. package/dist/esm/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
  1603. package/dist/esm/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
  1604. package/dist/esm/operationsInterfaces/throughputPoolAccount.js +0 -9
  1605. package/dist/esm/operationsInterfaces/throughputPoolAccount.js.map +0 -1
  1606. package/dist/esm/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
  1607. package/dist/esm/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
  1608. package/dist/esm/operationsInterfaces/throughputPoolAccounts.js +0 -9
  1609. package/dist/esm/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
  1610. package/dist/esm/operationsInterfaces/throughputPools.d.ts +0 -17
  1611. package/dist/esm/operationsInterfaces/throughputPools.d.ts.map +0 -1
  1612. package/dist/esm/operationsInterfaces/throughputPools.js +0 -9
  1613. package/dist/esm/operationsInterfaces/throughputPools.js.map +0 -1
  1614. package/dist/react-native/operations/chaosFault.d.ts +0 -65
  1615. package/dist/react-native/operations/chaosFault.d.ts.map +0 -1
  1616. package/dist/react-native/operations/chaosFault.js +0 -279
  1617. package/dist/react-native/operations/chaosFault.js.map +0 -1
  1618. package/dist/react-native/operations/dataTransferJobs.d.ts +0 -87
  1619. package/dist/react-native/operations/dataTransferJobs.d.ts.map +0 -1
  1620. package/dist/react-native/operations/dataTransferJobs.js +0 -345
  1621. package/dist/react-native/operations/dataTransferJobs.js.map +0 -1
  1622. package/dist/react-native/operations/graphResources.d.ts +0 -73
  1623. package/dist/react-native/operations/graphResources.d.ts.map +0 -1
  1624. package/dist/react-native/operations/graphResources.js +0 -291
  1625. package/dist/react-native/operations/graphResources.js.map +0 -1
  1626. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
  1627. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  1628. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +0 -282
  1629. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
  1630. package/dist/react-native/operations/throughputPool.d.ts +0 -67
  1631. package/dist/react-native/operations/throughputPool.d.ts.map +0 -1
  1632. package/dist/react-native/operations/throughputPool.js +0 -308
  1633. package/dist/react-native/operations/throughputPool.js.map +0 -1
  1634. package/dist/react-native/operations/throughputPoolAccount.d.ts +0 -58
  1635. package/dist/react-native/operations/throughputPoolAccount.d.ts.map +0 -1
  1636. package/dist/react-native/operations/throughputPoolAccount.js +0 -248
  1637. package/dist/react-native/operations/throughputPoolAccount.js.map +0 -1
  1638. package/dist/react-native/operations/throughputPoolAccounts.d.ts +0 -38
  1639. package/dist/react-native/operations/throughputPoolAccounts.d.ts.map +0 -1
  1640. package/dist/react-native/operations/throughputPoolAccounts.js +0 -150
  1641. package/dist/react-native/operations/throughputPoolAccounts.js.map +0 -1
  1642. package/dist/react-native/operations/throughputPools.d.ts +0 -53
  1643. package/dist/react-native/operations/throughputPools.d.ts.map +0 -1
  1644. package/dist/react-native/operations/throughputPools.js +0 -256
  1645. package/dist/react-native/operations/throughputPools.js.map +0 -1
  1646. package/dist/react-native/operationsInterfaces/chaosFault.d.ts +0 -40
  1647. package/dist/react-native/operationsInterfaces/chaosFault.d.ts.map +0 -1
  1648. package/dist/react-native/operationsInterfaces/chaosFault.js +0 -9
  1649. package/dist/react-native/operationsInterfaces/chaosFault.js.map +0 -1
  1650. package/dist/react-native/operationsInterfaces/dataTransferJobs.d.ts +0 -62
  1651. package/dist/react-native/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
  1652. package/dist/react-native/operationsInterfaces/dataTransferJobs.js +0 -9
  1653. package/dist/react-native/operationsInterfaces/dataTransferJobs.js.map +0 -1
  1654. package/dist/react-native/operationsInterfaces/graphResources.d.ts +0 -56
  1655. package/dist/react-native/operationsInterfaces/graphResources.d.ts.map +0 -1
  1656. package/dist/react-native/operationsInterfaces/graphResources.js +0 -9
  1657. package/dist/react-native/operationsInterfaces/graphResources.js.map +0 -1
  1658. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
  1659. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  1660. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -9
  1661. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
  1662. package/dist/react-native/operationsInterfaces/throughputPool.d.ts +0 -59
  1663. package/dist/react-native/operationsInterfaces/throughputPool.d.ts.map +0 -1
  1664. package/dist/react-native/operationsInterfaces/throughputPool.js +0 -9
  1665. package/dist/react-native/operationsInterfaces/throughputPool.js.map +0 -1
  1666. package/dist/react-native/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
  1667. package/dist/react-native/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
  1668. package/dist/react-native/operationsInterfaces/throughputPoolAccount.js +0 -9
  1669. package/dist/react-native/operationsInterfaces/throughputPoolAccount.js.map +0 -1
  1670. package/dist/react-native/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
  1671. package/dist/react-native/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
  1672. package/dist/react-native/operationsInterfaces/throughputPoolAccounts.js +0 -9
  1673. package/dist/react-native/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
  1674. package/dist/react-native/operationsInterfaces/throughputPools.d.ts +0 -17
  1675. package/dist/react-native/operationsInterfaces/throughputPools.d.ts.map +0 -1
  1676. package/dist/react-native/operationsInterfaces/throughputPools.js +0 -9
  1677. package/dist/react-native/operationsInterfaces/throughputPools.js.map +0 -1
  1678. package/review/arm-cosmosdb.api.md +0 -6363
@@ -1,19 +1,14 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
9
3
  import * as coreClient from "@azure/core-client";
10
4
  import * as Mappers from "../models/mappers.js";
11
5
  import * as Parameters from "../models/parameters.js";
12
- import { createHttpPoller, } from "@azure/core-lro";
6
+ import { createHttpPoller } from "@azure/core-lro";
13
7
  import { createLroSpec } from "../lroImpl.js";
14
8
  /// <reference lib="esnext.asynciterable" />
15
9
  /** Class containing SqlResources operations. */
16
10
  export class SqlResourcesImpl {
11
+ client;
17
12
  /**
18
13
  * Initialize a new instance of the class SqlResources class.
19
14
  * @param client Reference to the service client
@@ -37,49 +32,32 @@ export class SqlResourcesImpl {
37
32
  return this;
38
33
  },
39
34
  byPage: (settings) => {
40
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
35
+ if (settings?.maxPageSize) {
41
36
  throw new Error("maxPageSize is not supported by this operation.");
42
37
  }
43
38
  return this.listSqlDatabasesPagingPage(resourceGroupName, accountName, options, settings);
44
39
  },
45
40
  };
46
41
  }
47
- listSqlDatabasesPagingPage(resourceGroupName, accountName, options, _settings) {
48
- return __asyncGenerator(this, arguments, function* listSqlDatabasesPagingPage_1() {
49
- let result;
50
- result = yield __await(this._listSqlDatabases(resourceGroupName, accountName, options));
51
- yield yield __await(result.value || []);
52
- });
42
+ async *listSqlDatabasesPagingPage(resourceGroupName, accountName, options, _settings) {
43
+ let result;
44
+ result = await this._listSqlDatabases(resourceGroupName, accountName, options);
45
+ yield result.value || [];
53
46
  }
54
- listSqlDatabasesPagingAll(resourceGroupName, accountName, options) {
55
- return __asyncGenerator(this, arguments, function* listSqlDatabasesPagingAll_1() {
56
- var _a, e_1, _b, _c;
57
- try {
58
- for (var _d = true, _e = __asyncValues(this.listSqlDatabasesPagingPage(resourceGroupName, accountName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
59
- _c = _f.value;
60
- _d = false;
61
- const page = _c;
62
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
63
- }
64
- }
65
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
66
- finally {
67
- try {
68
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
69
- }
70
- finally { if (e_1) throw e_1.error; }
71
- }
72
- });
47
+ async *listSqlDatabasesPagingAll(resourceGroupName, accountName, options) {
48
+ for await (const page of this.listSqlDatabasesPagingPage(resourceGroupName, accountName, options)) {
49
+ yield* page;
50
+ }
73
51
  }
74
52
  /**
75
- * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.
53
+ * Lists the SQL container under an existing Azure Cosmos DB database account.
76
54
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
77
55
  * @param accountName Cosmos DB database account name.
78
56
  * @param databaseName Cosmos DB database name.
79
57
  * @param options The options parameters.
80
58
  */
81
- listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options) {
82
- const iter = this.listClientEncryptionKeysPagingAll(resourceGroupName, accountName, databaseName, options);
59
+ listSqlContainers(resourceGroupName, accountName, databaseName, options) {
60
+ const iter = this.listSqlContainersPagingAll(resourceGroupName, accountName, databaseName, options);
83
61
  return {
84
62
  next() {
85
63
  return iter.next();
@@ -88,49 +66,32 @@ export class SqlResourcesImpl {
88
66
  return this;
89
67
  },
90
68
  byPage: (settings) => {
91
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
69
+ if (settings?.maxPageSize) {
92
70
  throw new Error("maxPageSize is not supported by this operation.");
93
71
  }
94
- return this.listClientEncryptionKeysPagingPage(resourceGroupName, accountName, databaseName, options, settings);
72
+ return this.listSqlContainersPagingPage(resourceGroupName, accountName, databaseName, options, settings);
95
73
  },
96
74
  };
97
75
  }
98
- listClientEncryptionKeysPagingPage(resourceGroupName, accountName, databaseName, options, _settings) {
99
- return __asyncGenerator(this, arguments, function* listClientEncryptionKeysPagingPage_1() {
100
- let result;
101
- result = yield __await(this._listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options));
102
- yield yield __await(result.value || []);
103
- });
76
+ async *listSqlContainersPagingPage(resourceGroupName, accountName, databaseName, options, _settings) {
77
+ let result;
78
+ result = await this._listSqlContainers(resourceGroupName, accountName, databaseName, options);
79
+ yield result.value || [];
104
80
  }
105
- listClientEncryptionKeysPagingAll(resourceGroupName, accountName, databaseName, options) {
106
- return __asyncGenerator(this, arguments, function* listClientEncryptionKeysPagingAll_1() {
107
- var _a, e_2, _b, _c;
108
- try {
109
- for (var _d = true, _e = __asyncValues(this.listClientEncryptionKeysPagingPage(resourceGroupName, accountName, databaseName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
110
- _c = _f.value;
111
- _d = false;
112
- const page = _c;
113
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
114
- }
115
- }
116
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
117
- finally {
118
- try {
119
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
120
- }
121
- finally { if (e_2) throw e_2.error; }
122
- }
123
- });
81
+ async *listSqlContainersPagingAll(resourceGroupName, accountName, databaseName, options) {
82
+ for await (const page of this.listSqlContainersPagingPage(resourceGroupName, accountName, databaseName, options)) {
83
+ yield* page;
84
+ }
124
85
  }
125
86
  /**
126
- * Lists the SQL container under an existing Azure Cosmos DB database account.
87
+ * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.
127
88
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
128
89
  * @param accountName Cosmos DB database account name.
129
90
  * @param databaseName Cosmos DB database name.
130
91
  * @param options The options parameters.
131
92
  */
132
- listSqlContainers(resourceGroupName, accountName, databaseName, options) {
133
- const iter = this.listSqlContainersPagingAll(resourceGroupName, accountName, databaseName, options);
93
+ listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options) {
94
+ const iter = this.listClientEncryptionKeysPagingAll(resourceGroupName, accountName, databaseName, options);
134
95
  return {
135
96
  next() {
136
97
  return iter.next();
@@ -139,39 +100,22 @@ export class SqlResourcesImpl {
139
100
  return this;
140
101
  },
141
102
  byPage: (settings) => {
142
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
103
+ if (settings?.maxPageSize) {
143
104
  throw new Error("maxPageSize is not supported by this operation.");
144
105
  }
145
- return this.listSqlContainersPagingPage(resourceGroupName, accountName, databaseName, options, settings);
106
+ return this.listClientEncryptionKeysPagingPage(resourceGroupName, accountName, databaseName, options, settings);
146
107
  },
147
108
  };
148
109
  }
149
- listSqlContainersPagingPage(resourceGroupName, accountName, databaseName, options, _settings) {
150
- return __asyncGenerator(this, arguments, function* listSqlContainersPagingPage_1() {
151
- let result;
152
- result = yield __await(this._listSqlContainers(resourceGroupName, accountName, databaseName, options));
153
- yield yield __await(result.value || []);
154
- });
110
+ async *listClientEncryptionKeysPagingPage(resourceGroupName, accountName, databaseName, options, _settings) {
111
+ let result;
112
+ result = await this._listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options);
113
+ yield result.value || [];
155
114
  }
156
- listSqlContainersPagingAll(resourceGroupName, accountName, databaseName, options) {
157
- return __asyncGenerator(this, arguments, function* listSqlContainersPagingAll_1() {
158
- var _a, e_3, _b, _c;
159
- try {
160
- for (var _d = true, _e = __asyncValues(this.listSqlContainersPagingPage(resourceGroupName, accountName, databaseName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
161
- _c = _f.value;
162
- _d = false;
163
- const page = _c;
164
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
165
- }
166
- }
167
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
168
- finally {
169
- try {
170
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
171
- }
172
- finally { if (e_3) throw e_3.error; }
173
- }
174
- });
115
+ async *listClientEncryptionKeysPagingAll(resourceGroupName, accountName, databaseName, options) {
116
+ for await (const page of this.listClientEncryptionKeysPagingPage(resourceGroupName, accountName, databaseName, options)) {
117
+ yield* page;
118
+ }
175
119
  }
176
120
  /**
177
121
  * Lists the SQL storedProcedure under an existing Azure Cosmos DB database account.
@@ -191,39 +135,22 @@ export class SqlResourcesImpl {
191
135
  return this;
192
136
  },
193
137
  byPage: (settings) => {
194
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
138
+ if (settings?.maxPageSize) {
195
139
  throw new Error("maxPageSize is not supported by this operation.");
196
140
  }
197
141
  return this.listSqlStoredProceduresPagingPage(resourceGroupName, accountName, databaseName, containerName, options, settings);
198
142
  },
199
143
  };
200
144
  }
201
- listSqlStoredProceduresPagingPage(resourceGroupName, accountName, databaseName, containerName, options, _settings) {
202
- return __asyncGenerator(this, arguments, function* listSqlStoredProceduresPagingPage_1() {
203
- let result;
204
- result = yield __await(this._listSqlStoredProcedures(resourceGroupName, accountName, databaseName, containerName, options));
205
- yield yield __await(result.value || []);
206
- });
145
+ async *listSqlStoredProceduresPagingPage(resourceGroupName, accountName, databaseName, containerName, options, _settings) {
146
+ let result;
147
+ result = await this._listSqlStoredProcedures(resourceGroupName, accountName, databaseName, containerName, options);
148
+ yield result.value || [];
207
149
  }
208
- listSqlStoredProceduresPagingAll(resourceGroupName, accountName, databaseName, containerName, options) {
209
- return __asyncGenerator(this, arguments, function* listSqlStoredProceduresPagingAll_1() {
210
- var _a, e_4, _b, _c;
211
- try {
212
- for (var _d = true, _e = __asyncValues(this.listSqlStoredProceduresPagingPage(resourceGroupName, accountName, databaseName, containerName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
213
- _c = _f.value;
214
- _d = false;
215
- const page = _c;
216
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
217
- }
218
- }
219
- catch (e_4_1) { e_4 = { error: e_4_1 }; }
220
- finally {
221
- try {
222
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
223
- }
224
- finally { if (e_4) throw e_4.error; }
225
- }
226
- });
150
+ async *listSqlStoredProceduresPagingAll(resourceGroupName, accountName, databaseName, containerName, options) {
151
+ for await (const page of this.listSqlStoredProceduresPagingPage(resourceGroupName, accountName, databaseName, containerName, options)) {
152
+ yield* page;
153
+ }
227
154
  }
228
155
  /**
229
156
  * Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
@@ -243,39 +170,22 @@ export class SqlResourcesImpl {
243
170
  return this;
244
171
  },
245
172
  byPage: (settings) => {
246
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
173
+ if (settings?.maxPageSize) {
247
174
  throw new Error("maxPageSize is not supported by this operation.");
248
175
  }
249
176
  return this.listSqlUserDefinedFunctionsPagingPage(resourceGroupName, accountName, databaseName, containerName, options, settings);
250
177
  },
251
178
  };
252
179
  }
253
- listSqlUserDefinedFunctionsPagingPage(resourceGroupName, accountName, databaseName, containerName, options, _settings) {
254
- return __asyncGenerator(this, arguments, function* listSqlUserDefinedFunctionsPagingPage_1() {
255
- let result;
256
- result = yield __await(this._listSqlUserDefinedFunctions(resourceGroupName, accountName, databaseName, containerName, options));
257
- yield yield __await(result.value || []);
258
- });
180
+ async *listSqlUserDefinedFunctionsPagingPage(resourceGroupName, accountName, databaseName, containerName, options, _settings) {
181
+ let result;
182
+ result = await this._listSqlUserDefinedFunctions(resourceGroupName, accountName, databaseName, containerName, options);
183
+ yield result.value || [];
259
184
  }
260
- listSqlUserDefinedFunctionsPagingAll(resourceGroupName, accountName, databaseName, containerName, options) {
261
- return __asyncGenerator(this, arguments, function* listSqlUserDefinedFunctionsPagingAll_1() {
262
- var _a, e_5, _b, _c;
263
- try {
264
- for (var _d = true, _e = __asyncValues(this.listSqlUserDefinedFunctionsPagingPage(resourceGroupName, accountName, databaseName, containerName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
265
- _c = _f.value;
266
- _d = false;
267
- const page = _c;
268
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
269
- }
270
- }
271
- catch (e_5_1) { e_5 = { error: e_5_1 }; }
272
- finally {
273
- try {
274
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
275
- }
276
- finally { if (e_5) throw e_5.error; }
277
- }
278
- });
185
+ async *listSqlUserDefinedFunctionsPagingAll(resourceGroupName, accountName, databaseName, containerName, options) {
186
+ for await (const page of this.listSqlUserDefinedFunctionsPagingPage(resourceGroupName, accountName, databaseName, containerName, options)) {
187
+ yield* page;
188
+ }
279
189
  }
280
190
  /**
281
191
  * Lists the SQL trigger under an existing Azure Cosmos DB database account.
@@ -295,39 +205,22 @@ export class SqlResourcesImpl {
295
205
  return this;
296
206
  },
297
207
  byPage: (settings) => {
298
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
208
+ if (settings?.maxPageSize) {
299
209
  throw new Error("maxPageSize is not supported by this operation.");
300
210
  }
301
211
  return this.listSqlTriggersPagingPage(resourceGroupName, accountName, databaseName, containerName, options, settings);
302
212
  },
303
213
  };
304
214
  }
305
- listSqlTriggersPagingPage(resourceGroupName, accountName, databaseName, containerName, options, _settings) {
306
- return __asyncGenerator(this, arguments, function* listSqlTriggersPagingPage_1() {
307
- let result;
308
- result = yield __await(this._listSqlTriggers(resourceGroupName, accountName, databaseName, containerName, options));
309
- yield yield __await(result.value || []);
310
- });
215
+ async *listSqlTriggersPagingPage(resourceGroupName, accountName, databaseName, containerName, options, _settings) {
216
+ let result;
217
+ result = await this._listSqlTriggers(resourceGroupName, accountName, databaseName, containerName, options);
218
+ yield result.value || [];
311
219
  }
312
- listSqlTriggersPagingAll(resourceGroupName, accountName, databaseName, containerName, options) {
313
- return __asyncGenerator(this, arguments, function* listSqlTriggersPagingAll_1() {
314
- var _a, e_6, _b, _c;
315
- try {
316
- for (var _d = true, _e = __asyncValues(this.listSqlTriggersPagingPage(resourceGroupName, accountName, databaseName, containerName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
317
- _c = _f.value;
318
- _d = false;
319
- const page = _c;
320
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
321
- }
322
- }
323
- catch (e_6_1) { e_6 = { error: e_6_1 }; }
324
- finally {
325
- try {
326
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
327
- }
328
- finally { if (e_6) throw e_6.error; }
329
- }
330
- });
220
+ async *listSqlTriggersPagingAll(resourceGroupName, accountName, databaseName, containerName, options) {
221
+ for await (const page of this.listSqlTriggersPagingPage(resourceGroupName, accountName, databaseName, containerName, options)) {
222
+ yield* page;
223
+ }
331
224
  }
332
225
  /**
333
226
  * Retrieves the list of all Azure Cosmos DB SQL Role Definitions.
@@ -345,39 +238,22 @@ export class SqlResourcesImpl {
345
238
  return this;
346
239
  },
347
240
  byPage: (settings) => {
348
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
241
+ if (settings?.maxPageSize) {
349
242
  throw new Error("maxPageSize is not supported by this operation.");
350
243
  }
351
244
  return this.listSqlRoleDefinitionsPagingPage(resourceGroupName, accountName, options, settings);
352
245
  },
353
246
  };
354
247
  }
355
- listSqlRoleDefinitionsPagingPage(resourceGroupName, accountName, options, _settings) {
356
- return __asyncGenerator(this, arguments, function* listSqlRoleDefinitionsPagingPage_1() {
357
- let result;
358
- result = yield __await(this._listSqlRoleDefinitions(resourceGroupName, accountName, options));
359
- yield yield __await(result.value || []);
360
- });
248
+ async *listSqlRoleDefinitionsPagingPage(resourceGroupName, accountName, options, _settings) {
249
+ let result;
250
+ result = await this._listSqlRoleDefinitions(resourceGroupName, accountName, options);
251
+ yield result.value || [];
361
252
  }
362
- listSqlRoleDefinitionsPagingAll(resourceGroupName, accountName, options) {
363
- return __asyncGenerator(this, arguments, function* listSqlRoleDefinitionsPagingAll_1() {
364
- var _a, e_7, _b, _c;
365
- try {
366
- for (var _d = true, _e = __asyncValues(this.listSqlRoleDefinitionsPagingPage(resourceGroupName, accountName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
367
- _c = _f.value;
368
- _d = false;
369
- const page = _c;
370
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
371
- }
372
- }
373
- catch (e_7_1) { e_7 = { error: e_7_1 }; }
374
- finally {
375
- try {
376
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
377
- }
378
- finally { if (e_7) throw e_7.error; }
379
- }
380
- });
253
+ async *listSqlRoleDefinitionsPagingAll(resourceGroupName, accountName, options) {
254
+ for await (const page of this.listSqlRoleDefinitionsPagingPage(resourceGroupName, accountName, options)) {
255
+ yield* page;
256
+ }
381
257
  }
382
258
  /**
383
259
  * Retrieves the list of all Azure Cosmos DB SQL Role Assignments.
@@ -395,39 +271,22 @@ export class SqlResourcesImpl {
395
271
  return this;
396
272
  },
397
273
  byPage: (settings) => {
398
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
274
+ if (settings?.maxPageSize) {
399
275
  throw new Error("maxPageSize is not supported by this operation.");
400
276
  }
401
277
  return this.listSqlRoleAssignmentsPagingPage(resourceGroupName, accountName, options, settings);
402
278
  },
403
279
  };
404
280
  }
405
- listSqlRoleAssignmentsPagingPage(resourceGroupName, accountName, options, _settings) {
406
- return __asyncGenerator(this, arguments, function* listSqlRoleAssignmentsPagingPage_1() {
407
- let result;
408
- result = yield __await(this._listSqlRoleAssignments(resourceGroupName, accountName, options));
409
- yield yield __await(result.value || []);
410
- });
281
+ async *listSqlRoleAssignmentsPagingPage(resourceGroupName, accountName, options, _settings) {
282
+ let result;
283
+ result = await this._listSqlRoleAssignments(resourceGroupName, accountName, options);
284
+ yield result.value || [];
411
285
  }
412
- listSqlRoleAssignmentsPagingAll(resourceGroupName, accountName, options) {
413
- return __asyncGenerator(this, arguments, function* listSqlRoleAssignmentsPagingAll_1() {
414
- var _a, e_8, _b, _c;
415
- try {
416
- for (var _d = true, _e = __asyncValues(this.listSqlRoleAssignmentsPagingPage(resourceGroupName, accountName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
417
- _c = _f.value;
418
- _d = false;
419
- const page = _c;
420
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
421
- }
422
- }
423
- catch (e_8_1) { e_8 = { error: e_8_1 }; }
424
- finally {
425
- try {
426
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
427
- }
428
- finally { if (e_8) throw e_8.error; }
429
- }
430
- });
286
+ async *listSqlRoleAssignmentsPagingAll(resourceGroupName, accountName, options) {
287
+ for await (const page of this.listSqlRoleAssignmentsPagingPage(resourceGroupName, accountName, options)) {
288
+ yield* page;
289
+ }
431
290
  }
432
291
  /**
433
292
  * Lists the SQL databases under an existing Azure Cosmos DB database account.
@@ -461,14 +320,19 @@ export class SqlResourcesImpl {
461
320
  return this.client.sendOperationRequest(args, spec);
462
321
  };
463
322
  const sendOperationFn = async (args, spec) => {
464
- var _a;
465
323
  let currentRawResponse = undefined;
466
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
324
+ const providedCallback = args.options?.onResponse;
467
325
  const callback = (rawResponse, flatResponse) => {
468
326
  currentRawResponse = rawResponse;
469
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
327
+ providedCallback?.(rawResponse, flatResponse);
328
+ };
329
+ const updatedArgs = {
330
+ ...args,
331
+ options: {
332
+ ...args.options,
333
+ onResponse: callback,
334
+ },
470
335
  };
471
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
472
336
  const flatResponse = await directSendOperation(updatedArgs, spec);
473
337
  return {
474
338
  flatResponse,
@@ -491,8 +355,8 @@ export class SqlResourcesImpl {
491
355
  spec: createUpdateSqlDatabaseOperationSpec,
492
356
  });
493
357
  const poller = await createHttpPoller(lro, {
494
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
495
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
358
+ restoreFrom: options?.resumeFrom,
359
+ intervalInMs: options?.updateIntervalInMs,
496
360
  });
497
361
  await poller.poll();
498
362
  return poller;
@@ -521,14 +385,19 @@ export class SqlResourcesImpl {
521
385
  return this.client.sendOperationRequest(args, spec);
522
386
  };
523
387
  const sendOperationFn = async (args, spec) => {
524
- var _a;
525
388
  let currentRawResponse = undefined;
526
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
389
+ const providedCallback = args.options?.onResponse;
527
390
  const callback = (rawResponse, flatResponse) => {
528
391
  currentRawResponse = rawResponse;
529
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
392
+ providedCallback?.(rawResponse, flatResponse);
393
+ };
394
+ const updatedArgs = {
395
+ ...args,
396
+ options: {
397
+ ...args.options,
398
+ onResponse: callback,
399
+ },
530
400
  };
531
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
532
401
  const flatResponse = await directSendOperation(updatedArgs, spec);
533
402
  return {
534
403
  flatResponse,
@@ -545,8 +414,8 @@ export class SqlResourcesImpl {
545
414
  spec: deleteSqlDatabaseOperationSpec,
546
415
  });
547
416
  const poller = await createHttpPoller(lro, {
548
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
549
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
417
+ restoreFrom: options?.resumeFrom,
418
+ intervalInMs: options?.updateIntervalInMs,
550
419
  });
551
420
  await poller.poll();
552
421
  return poller;
@@ -587,14 +456,19 @@ export class SqlResourcesImpl {
587
456
  return this.client.sendOperationRequest(args, spec);
588
457
  };
589
458
  const sendOperationFn = async (args, spec) => {
590
- var _a;
591
459
  let currentRawResponse = undefined;
592
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
460
+ const providedCallback = args.options?.onResponse;
593
461
  const callback = (rawResponse, flatResponse) => {
594
462
  currentRawResponse = rawResponse;
595
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
463
+ providedCallback?.(rawResponse, flatResponse);
464
+ };
465
+ const updatedArgs = {
466
+ ...args,
467
+ options: {
468
+ ...args.options,
469
+ onResponse: callback,
470
+ },
596
471
  };
597
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
598
472
  const flatResponse = await directSendOperation(updatedArgs, spec);
599
473
  return {
600
474
  flatResponse,
@@ -617,8 +491,8 @@ export class SqlResourcesImpl {
617
491
  spec: updateSqlDatabaseThroughputOperationSpec,
618
492
  });
619
493
  const poller = await createHttpPoller(lro, {
620
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
621
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
494
+ restoreFrom: options?.resumeFrom,
495
+ intervalInMs: options?.updateIntervalInMs,
622
496
  });
623
497
  await poller.poll();
624
498
  return poller;
@@ -648,14 +522,19 @@ export class SqlResourcesImpl {
648
522
  return this.client.sendOperationRequest(args, spec);
649
523
  };
650
524
  const sendOperationFn = async (args, spec) => {
651
- var _a;
652
525
  let currentRawResponse = undefined;
653
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
526
+ const providedCallback = args.options?.onResponse;
654
527
  const callback = (rawResponse, flatResponse) => {
655
528
  currentRawResponse = rawResponse;
656
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
529
+ providedCallback?.(rawResponse, flatResponse);
530
+ };
531
+ const updatedArgs = {
532
+ ...args,
533
+ options: {
534
+ ...args.options,
535
+ onResponse: callback,
536
+ },
657
537
  };
658
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
659
538
  const flatResponse = await directSendOperation(updatedArgs, spec);
660
539
  return {
661
540
  flatResponse,
@@ -672,8 +551,8 @@ export class SqlResourcesImpl {
672
551
  spec: migrateSqlDatabaseToAutoscaleOperationSpec,
673
552
  });
674
553
  const poller = await createHttpPoller(lro, {
675
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
676
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
554
+ restoreFrom: options?.resumeFrom,
555
+ intervalInMs: options?.updateIntervalInMs,
677
556
  });
678
557
  await poller.poll();
679
558
  return poller;
@@ -701,14 +580,19 @@ export class SqlResourcesImpl {
701
580
  return this.client.sendOperationRequest(args, spec);
702
581
  };
703
582
  const sendOperationFn = async (args, spec) => {
704
- var _a;
705
583
  let currentRawResponse = undefined;
706
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
584
+ const providedCallback = args.options?.onResponse;
707
585
  const callback = (rawResponse, flatResponse) => {
708
586
  currentRawResponse = rawResponse;
709
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
587
+ providedCallback?.(rawResponse, flatResponse);
588
+ };
589
+ const updatedArgs = {
590
+ ...args,
591
+ options: {
592
+ ...args.options,
593
+ onResponse: callback,
594
+ },
710
595
  };
711
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
712
596
  const flatResponse = await directSendOperation(updatedArgs, spec);
713
597
  return {
714
598
  flatResponse,
@@ -725,8 +609,8 @@ export class SqlResourcesImpl {
725
609
  spec: migrateSqlDatabaseToManualThroughputOperationSpec,
726
610
  });
727
611
  const poller = await createHttpPoller(lro, {
728
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
729
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
612
+ restoreFrom: options?.resumeFrom,
613
+ intervalInMs: options?.updateIntervalInMs,
730
614
  });
731
615
  await poller.poll();
732
616
  return poller;
@@ -742,101 +626,6 @@ export class SqlResourcesImpl {
742
626
  const poller = await this.beginMigrateSqlDatabaseToManualThroughput(resourceGroupName, accountName, databaseName, options);
743
627
  return poller.pollUntilDone();
744
628
  }
745
- /**
746
- * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.
747
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
748
- * @param accountName Cosmos DB database account name.
749
- * @param databaseName Cosmos DB database name.
750
- * @param options The options parameters.
751
- */
752
- _listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options) {
753
- return this.client.sendOperationRequest({ resourceGroupName, accountName, databaseName, options }, listClientEncryptionKeysOperationSpec);
754
- }
755
- /**
756
- * Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database.
757
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
758
- * @param accountName Cosmos DB database account name.
759
- * @param databaseName Cosmos DB database name.
760
- * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
761
- * @param options The options parameters.
762
- */
763
- getClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, options) {
764
- return this.client.sendOperationRequest({
765
- resourceGroupName,
766
- accountName,
767
- databaseName,
768
- clientEncryptionKeyName,
769
- options,
770
- }, getClientEncryptionKeyOperationSpec);
771
- }
772
- /**
773
- * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure
774
- * Powershell (instead of directly).
775
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
776
- * @param accountName Cosmos DB database account name.
777
- * @param databaseName Cosmos DB database name.
778
- * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
779
- * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption
780
- * key.
781
- * @param options The options parameters.
782
- */
783
- async beginCreateUpdateClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options) {
784
- const directSendOperation = async (args, spec) => {
785
- return this.client.sendOperationRequest(args, spec);
786
- };
787
- const sendOperationFn = async (args, spec) => {
788
- var _a;
789
- let currentRawResponse = undefined;
790
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
791
- const callback = (rawResponse, flatResponse) => {
792
- currentRawResponse = rawResponse;
793
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
794
- };
795
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
796
- const flatResponse = await directSendOperation(updatedArgs, spec);
797
- return {
798
- flatResponse,
799
- rawResponse: {
800
- statusCode: currentRawResponse.status,
801
- body: currentRawResponse.parsedBody,
802
- headers: currentRawResponse.headers.toJSON(),
803
- },
804
- };
805
- };
806
- const lro = createLroSpec({
807
- sendOperationFn,
808
- args: {
809
- resourceGroupName,
810
- accountName,
811
- databaseName,
812
- clientEncryptionKeyName,
813
- createUpdateClientEncryptionKeyParameters,
814
- options,
815
- },
816
- spec: createUpdateClientEncryptionKeyOperationSpec,
817
- });
818
- const poller = await createHttpPoller(lro, {
819
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
820
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
821
- });
822
- await poller.poll();
823
- return poller;
824
- }
825
- /**
826
- * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure
827
- * Powershell (instead of directly).
828
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
829
- * @param accountName Cosmos DB database account name.
830
- * @param databaseName Cosmos DB database name.
831
- * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
832
- * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption
833
- * key.
834
- * @param options The options parameters.
835
- */
836
- async beginCreateUpdateClientEncryptionKeyAndWait(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options) {
837
- const poller = await this.beginCreateUpdateClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options);
838
- return poller.pollUntilDone();
839
- }
840
629
  /**
841
630
  * Lists the SQL container under an existing Azure Cosmos DB database account.
842
631
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -872,14 +661,19 @@ export class SqlResourcesImpl {
872
661
  return this.client.sendOperationRequest(args, spec);
873
662
  };
874
663
  const sendOperationFn = async (args, spec) => {
875
- var _a;
876
664
  let currentRawResponse = undefined;
877
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
665
+ const providedCallback = args.options?.onResponse;
878
666
  const callback = (rawResponse, flatResponse) => {
879
667
  currentRawResponse = rawResponse;
880
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
668
+ providedCallback?.(rawResponse, flatResponse);
669
+ };
670
+ const updatedArgs = {
671
+ ...args,
672
+ options: {
673
+ ...args.options,
674
+ onResponse: callback,
675
+ },
881
676
  };
882
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
883
677
  const flatResponse = await directSendOperation(updatedArgs, spec);
884
678
  return {
885
679
  flatResponse,
@@ -903,8 +697,8 @@ export class SqlResourcesImpl {
903
697
  spec: createUpdateSqlContainerOperationSpec,
904
698
  });
905
699
  const poller = await createHttpPoller(lro, {
906
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
907
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
700
+ restoreFrom: options?.resumeFrom,
701
+ intervalInMs: options?.updateIntervalInMs,
908
702
  });
909
703
  await poller.poll();
910
704
  return poller;
@@ -935,14 +729,19 @@ export class SqlResourcesImpl {
935
729
  return this.client.sendOperationRequest(args, spec);
936
730
  };
937
731
  const sendOperationFn = async (args, spec) => {
938
- var _a;
939
732
  let currentRawResponse = undefined;
940
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
733
+ const providedCallback = args.options?.onResponse;
941
734
  const callback = (rawResponse, flatResponse) => {
942
735
  currentRawResponse = rawResponse;
943
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
736
+ providedCallback?.(rawResponse, flatResponse);
737
+ };
738
+ const updatedArgs = {
739
+ ...args,
740
+ options: {
741
+ ...args.options,
742
+ onResponse: callback,
743
+ },
944
744
  };
945
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
946
745
  const flatResponse = await directSendOperation(updatedArgs, spec);
947
746
  return {
948
747
  flatResponse,
@@ -965,8 +764,8 @@ export class SqlResourcesImpl {
965
764
  spec: deleteSqlContainerOperationSpec,
966
765
  });
967
766
  const poller = await createHttpPoller(lro, {
968
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
969
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
767
+ restoreFrom: options?.resumeFrom,
768
+ intervalInMs: options?.updateIntervalInMs,
970
769
  });
971
770
  await poller.poll();
972
771
  return poller;
@@ -983,133 +782,6 @@ export class SqlResourcesImpl {
983
782
  const poller = await this.beginDeleteSqlContainer(resourceGroupName, accountName, databaseName, containerName, options);
984
783
  return poller.pollUntilDone();
985
784
  }
986
- /**
987
- * Merges the partitions of a SQL database
988
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
989
- * @param accountName Cosmos DB database account name.
990
- * @param databaseName Cosmos DB database name.
991
- * @param mergeParameters The parameters for the merge operation.
992
- * @param options The options parameters.
993
- */
994
- async beginSqlDatabasePartitionMerge(resourceGroupName, accountName, databaseName, mergeParameters, options) {
995
- const directSendOperation = async (args, spec) => {
996
- return this.client.sendOperationRequest(args, spec);
997
- };
998
- const sendOperationFn = async (args, spec) => {
999
- var _a;
1000
- let currentRawResponse = undefined;
1001
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1002
- const callback = (rawResponse, flatResponse) => {
1003
- currentRawResponse = rawResponse;
1004
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1005
- };
1006
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1007
- const flatResponse = await directSendOperation(updatedArgs, spec);
1008
- return {
1009
- flatResponse,
1010
- rawResponse: {
1011
- statusCode: currentRawResponse.status,
1012
- body: currentRawResponse.parsedBody,
1013
- headers: currentRawResponse.headers.toJSON(),
1014
- },
1015
- };
1016
- };
1017
- const lro = createLroSpec({
1018
- sendOperationFn,
1019
- args: {
1020
- resourceGroupName,
1021
- accountName,
1022
- databaseName,
1023
- mergeParameters,
1024
- options,
1025
- },
1026
- spec: sqlDatabasePartitionMergeOperationSpec,
1027
- });
1028
- const poller = await createHttpPoller(lro, {
1029
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1030
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1031
- resourceLocationConfig: "location",
1032
- });
1033
- await poller.poll();
1034
- return poller;
1035
- }
1036
- /**
1037
- * Merges the partitions of a SQL database
1038
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1039
- * @param accountName Cosmos DB database account name.
1040
- * @param databaseName Cosmos DB database name.
1041
- * @param mergeParameters The parameters for the merge operation.
1042
- * @param options The options parameters.
1043
- */
1044
- async beginSqlDatabasePartitionMergeAndWait(resourceGroupName, accountName, databaseName, mergeParameters, options) {
1045
- const poller = await this.beginSqlDatabasePartitionMerge(resourceGroupName, accountName, databaseName, mergeParameters, options);
1046
- return poller.pollUntilDone();
1047
- }
1048
- /**
1049
- * Merges the partitions of a SQL Container
1050
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1051
- * @param accountName Cosmos DB database account name.
1052
- * @param databaseName Cosmos DB database name.
1053
- * @param containerName Cosmos DB container name.
1054
- * @param mergeParameters The parameters for the merge operation.
1055
- * @param options The options parameters.
1056
- */
1057
- async beginListSqlContainerPartitionMerge(resourceGroupName, accountName, databaseName, containerName, mergeParameters, options) {
1058
- const directSendOperation = async (args, spec) => {
1059
- return this.client.sendOperationRequest(args, spec);
1060
- };
1061
- const sendOperationFn = async (args, spec) => {
1062
- var _a;
1063
- let currentRawResponse = undefined;
1064
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1065
- const callback = (rawResponse, flatResponse) => {
1066
- currentRawResponse = rawResponse;
1067
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1068
- };
1069
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1070
- const flatResponse = await directSendOperation(updatedArgs, spec);
1071
- return {
1072
- flatResponse,
1073
- rawResponse: {
1074
- statusCode: currentRawResponse.status,
1075
- body: currentRawResponse.parsedBody,
1076
- headers: currentRawResponse.headers.toJSON(),
1077
- },
1078
- };
1079
- };
1080
- const lro = createLroSpec({
1081
- sendOperationFn,
1082
- args: {
1083
- resourceGroupName,
1084
- accountName,
1085
- databaseName,
1086
- containerName,
1087
- mergeParameters,
1088
- options,
1089
- },
1090
- spec: listSqlContainerPartitionMergeOperationSpec,
1091
- });
1092
- const poller = await createHttpPoller(lro, {
1093
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1094
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1095
- resourceLocationConfig: "location",
1096
- });
1097
- await poller.poll();
1098
- return poller;
1099
- }
1100
- /**
1101
- * Merges the partitions of a SQL Container
1102
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1103
- * @param accountName Cosmos DB database account name.
1104
- * @param databaseName Cosmos DB database name.
1105
- * @param containerName Cosmos DB container name.
1106
- * @param mergeParameters The parameters for the merge operation.
1107
- * @param options The options parameters.
1108
- */
1109
- async beginListSqlContainerPartitionMergeAndWait(resourceGroupName, accountName, databaseName, containerName, mergeParameters, options) {
1110
- const poller = await this.beginListSqlContainerPartitionMerge(resourceGroupName, accountName, databaseName, containerName, mergeParameters, options);
1111
- return poller.pollUntilDone();
1112
- }
1113
785
  /**
1114
786
  * Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
1115
787
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -1136,14 +808,19 @@ export class SqlResourcesImpl {
1136
808
  return this.client.sendOperationRequest(args, spec);
1137
809
  };
1138
810
  const sendOperationFn = async (args, spec) => {
1139
- var _a;
1140
811
  let currentRawResponse = undefined;
1141
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
812
+ const providedCallback = args.options?.onResponse;
1142
813
  const callback = (rawResponse, flatResponse) => {
1143
814
  currentRawResponse = rawResponse;
1144
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
815
+ providedCallback?.(rawResponse, flatResponse);
816
+ };
817
+ const updatedArgs = {
818
+ ...args,
819
+ options: {
820
+ ...args.options,
821
+ onResponse: callback,
822
+ },
1145
823
  };
1146
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1147
824
  const flatResponse = await directSendOperation(updatedArgs, spec);
1148
825
  return {
1149
826
  flatResponse,
@@ -1167,8 +844,8 @@ export class SqlResourcesImpl {
1167
844
  spec: updateSqlContainerThroughputOperationSpec,
1168
845
  });
1169
846
  const poller = await createHttpPoller(lro, {
1170
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1171
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
847
+ restoreFrom: options?.resumeFrom,
848
+ intervalInMs: options?.updateIntervalInMs,
1172
849
  });
1173
850
  await poller.poll();
1174
851
  return poller;
@@ -1200,14 +877,19 @@ export class SqlResourcesImpl {
1200
877
  return this.client.sendOperationRequest(args, spec);
1201
878
  };
1202
879
  const sendOperationFn = async (args, spec) => {
1203
- var _a;
1204
880
  let currentRawResponse = undefined;
1205
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
881
+ const providedCallback = args.options?.onResponse;
1206
882
  const callback = (rawResponse, flatResponse) => {
1207
883
  currentRawResponse = rawResponse;
1208
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
884
+ providedCallback?.(rawResponse, flatResponse);
885
+ };
886
+ const updatedArgs = {
887
+ ...args,
888
+ options: {
889
+ ...args.options,
890
+ onResponse: callback,
891
+ },
1209
892
  };
1210
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1211
893
  const flatResponse = await directSendOperation(updatedArgs, spec);
1212
894
  return {
1213
895
  flatResponse,
@@ -1230,8 +912,8 @@ export class SqlResourcesImpl {
1230
912
  spec: migrateSqlContainerToAutoscaleOperationSpec,
1231
913
  });
1232
914
  const poller = await createHttpPoller(lro, {
1233
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1234
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
915
+ restoreFrom: options?.resumeFrom,
916
+ intervalInMs: options?.updateIntervalInMs,
1235
917
  });
1236
918
  await poller.poll();
1237
919
  return poller;
@@ -1261,14 +943,19 @@ export class SqlResourcesImpl {
1261
943
  return this.client.sendOperationRequest(args, spec);
1262
944
  };
1263
945
  const sendOperationFn = async (args, spec) => {
1264
- var _a;
1265
946
  let currentRawResponse = undefined;
1266
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
947
+ const providedCallback = args.options?.onResponse;
1267
948
  const callback = (rawResponse, flatResponse) => {
1268
949
  currentRawResponse = rawResponse;
1269
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
950
+ providedCallback?.(rawResponse, flatResponse);
951
+ };
952
+ const updatedArgs = {
953
+ ...args,
954
+ options: {
955
+ ...args.options,
956
+ onResponse: callback,
957
+ },
1270
958
  };
1271
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1272
959
  const flatResponse = await directSendOperation(updatedArgs, spec);
1273
960
  return {
1274
961
  flatResponse,
@@ -1291,8 +978,8 @@ export class SqlResourcesImpl {
1291
978
  spec: migrateSqlContainerToManualThroughputOperationSpec,
1292
979
  });
1293
980
  const poller = await createHttpPoller(lro, {
1294
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1295
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
981
+ restoreFrom: options?.resumeFrom,
982
+ intervalInMs: options?.updateIntervalInMs,
1296
983
  });
1297
984
  await poller.poll();
1298
985
  return poller;
@@ -1310,223 +997,61 @@ export class SqlResourcesImpl {
1310
997
  return poller.pollUntilDone();
1311
998
  }
1312
999
  /**
1313
- * Retrieve throughput distribution for an Azure Cosmos DB SQL database
1314
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1315
- * @param accountName Cosmos DB database account name.
1316
- * @param databaseName Cosmos DB database name.
1317
- * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
1318
- * for the current SQL database.
1319
- * @param options The options parameters.
1320
- */
1321
- async beginSqlDatabaseRetrieveThroughputDistribution(resourceGroupName, accountName, databaseName, retrieveThroughputParameters, options) {
1322
- const directSendOperation = async (args, spec) => {
1323
- return this.client.sendOperationRequest(args, spec);
1324
- };
1325
- const sendOperationFn = async (args, spec) => {
1326
- var _a;
1327
- let currentRawResponse = undefined;
1328
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1329
- const callback = (rawResponse, flatResponse) => {
1330
- currentRawResponse = rawResponse;
1331
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1332
- };
1333
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1334
- const flatResponse = await directSendOperation(updatedArgs, spec);
1335
- return {
1336
- flatResponse,
1337
- rawResponse: {
1338
- statusCode: currentRawResponse.status,
1339
- body: currentRawResponse.parsedBody,
1340
- headers: currentRawResponse.headers.toJSON(),
1341
- },
1342
- };
1343
- };
1344
- const lro = createLroSpec({
1345
- sendOperationFn,
1346
- args: {
1347
- resourceGroupName,
1348
- accountName,
1349
- databaseName,
1350
- retrieveThroughputParameters,
1351
- options,
1352
- },
1353
- spec: sqlDatabaseRetrieveThroughputDistributionOperationSpec,
1354
- });
1355
- const poller = await createHttpPoller(lro, {
1356
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1357
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1358
- resourceLocationConfig: "location",
1359
- });
1360
- await poller.poll();
1361
- return poller;
1362
- }
1363
- /**
1364
- * Retrieve throughput distribution for an Azure Cosmos DB SQL database
1365
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1366
- * @param accountName Cosmos DB database account name.
1367
- * @param databaseName Cosmos DB database name.
1368
- * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
1369
- * for the current SQL database.
1370
- * @param options The options parameters.
1371
- */
1372
- async beginSqlDatabaseRetrieveThroughputDistributionAndWait(resourceGroupName, accountName, databaseName, retrieveThroughputParameters, options) {
1373
- const poller = await this.beginSqlDatabaseRetrieveThroughputDistribution(resourceGroupName, accountName, databaseName, retrieveThroughputParameters, options);
1374
- return poller.pollUntilDone();
1375
- }
1376
- /**
1377
- * Redistribute throughput for an Azure Cosmos DB SQL database
1378
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1379
- * @param accountName Cosmos DB database account name.
1380
- * @param databaseName Cosmos DB database name.
1381
- * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for
1382
- * the current SQL database.
1383
- * @param options The options parameters.
1384
- */
1385
- async beginSqlDatabaseRedistributeThroughput(resourceGroupName, accountName, databaseName, redistributeThroughputParameters, options) {
1386
- const directSendOperation = async (args, spec) => {
1387
- return this.client.sendOperationRequest(args, spec);
1388
- };
1389
- const sendOperationFn = async (args, spec) => {
1390
- var _a;
1391
- let currentRawResponse = undefined;
1392
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1393
- const callback = (rawResponse, flatResponse) => {
1394
- currentRawResponse = rawResponse;
1395
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1396
- };
1397
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1398
- const flatResponse = await directSendOperation(updatedArgs, spec);
1399
- return {
1400
- flatResponse,
1401
- rawResponse: {
1402
- statusCode: currentRawResponse.status,
1403
- body: currentRawResponse.parsedBody,
1404
- headers: currentRawResponse.headers.toJSON(),
1405
- },
1406
- };
1407
- };
1408
- const lro = createLroSpec({
1409
- sendOperationFn,
1410
- args: {
1411
- resourceGroupName,
1412
- accountName,
1413
- databaseName,
1414
- redistributeThroughputParameters,
1415
- options,
1416
- },
1417
- spec: sqlDatabaseRedistributeThroughputOperationSpec,
1418
- });
1419
- const poller = await createHttpPoller(lro, {
1420
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1421
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1422
- resourceLocationConfig: "location",
1423
- });
1424
- await poller.poll();
1425
- return poller;
1426
- }
1427
- /**
1428
- * Redistribute throughput for an Azure Cosmos DB SQL database
1429
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1430
- * @param accountName Cosmos DB database account name.
1431
- * @param databaseName Cosmos DB database name.
1432
- * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for
1433
- * the current SQL database.
1434
- * @param options The options parameters.
1435
- */
1436
- async beginSqlDatabaseRedistributeThroughputAndWait(resourceGroupName, accountName, databaseName, redistributeThroughputParameters, options) {
1437
- const poller = await this.beginSqlDatabaseRedistributeThroughput(resourceGroupName, accountName, databaseName, redistributeThroughputParameters, options);
1438
- return poller.pollUntilDone();
1439
- }
1440
- /**
1441
- * Retrieve throughput distribution for an Azure Cosmos DB SQL container
1000
+ * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.
1442
1001
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1443
1002
  * @param accountName Cosmos DB database account name.
1444
1003
  * @param databaseName Cosmos DB database name.
1445
- * @param containerName Cosmos DB container name.
1446
- * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
1447
- * for the current SQL container.
1448
1004
  * @param options The options parameters.
1449
1005
  */
1450
- async beginSqlContainerRetrieveThroughputDistribution(resourceGroupName, accountName, databaseName, containerName, retrieveThroughputParameters, options) {
1451
- const directSendOperation = async (args, spec) => {
1452
- return this.client.sendOperationRequest(args, spec);
1453
- };
1454
- const sendOperationFn = async (args, spec) => {
1455
- var _a;
1456
- let currentRawResponse = undefined;
1457
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1458
- const callback = (rawResponse, flatResponse) => {
1459
- currentRawResponse = rawResponse;
1460
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1461
- };
1462
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1463
- const flatResponse = await directSendOperation(updatedArgs, spec);
1464
- return {
1465
- flatResponse,
1466
- rawResponse: {
1467
- statusCode: currentRawResponse.status,
1468
- body: currentRawResponse.parsedBody,
1469
- headers: currentRawResponse.headers.toJSON(),
1470
- },
1471
- };
1472
- };
1473
- const lro = createLroSpec({
1474
- sendOperationFn,
1475
- args: {
1476
- resourceGroupName,
1477
- accountName,
1478
- databaseName,
1479
- containerName,
1480
- retrieveThroughputParameters,
1481
- options,
1482
- },
1483
- spec: sqlContainerRetrieveThroughputDistributionOperationSpec,
1484
- });
1485
- const poller = await createHttpPoller(lro, {
1486
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1487
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1488
- resourceLocationConfig: "location",
1489
- });
1490
- await poller.poll();
1491
- return poller;
1006
+ _listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options) {
1007
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, databaseName, options }, listClientEncryptionKeysOperationSpec);
1492
1008
  }
1493
1009
  /**
1494
- * Retrieve throughput distribution for an Azure Cosmos DB SQL container
1010
+ * Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database.
1495
1011
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1496
1012
  * @param accountName Cosmos DB database account name.
1497
1013
  * @param databaseName Cosmos DB database name.
1498
- * @param containerName Cosmos DB container name.
1499
- * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
1500
- * for the current SQL container.
1014
+ * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
1501
1015
  * @param options The options parameters.
1502
1016
  */
1503
- async beginSqlContainerRetrieveThroughputDistributionAndWait(resourceGroupName, accountName, databaseName, containerName, retrieveThroughputParameters, options) {
1504
- const poller = await this.beginSqlContainerRetrieveThroughputDistribution(resourceGroupName, accountName, databaseName, containerName, retrieveThroughputParameters, options);
1505
- return poller.pollUntilDone();
1017
+ getClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, options) {
1018
+ return this.client.sendOperationRequest({
1019
+ resourceGroupName,
1020
+ accountName,
1021
+ databaseName,
1022
+ clientEncryptionKeyName,
1023
+ options,
1024
+ }, getClientEncryptionKeyOperationSpec);
1506
1025
  }
1507
1026
  /**
1508
- * Redistribute throughput for an Azure Cosmos DB SQL container
1027
+ * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure
1028
+ * Powershell (instead of directly).
1509
1029
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1510
1030
  * @param accountName Cosmos DB database account name.
1511
1031
  * @param databaseName Cosmos DB database name.
1512
- * @param containerName Cosmos DB container name.
1513
- * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for
1514
- * the current SQL container.
1032
+ * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
1033
+ * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption
1034
+ * key.
1515
1035
  * @param options The options parameters.
1516
1036
  */
1517
- async beginSqlContainerRedistributeThroughput(resourceGroupName, accountName, databaseName, containerName, redistributeThroughputParameters, options) {
1037
+ async beginCreateUpdateClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options) {
1518
1038
  const directSendOperation = async (args, spec) => {
1519
1039
  return this.client.sendOperationRequest(args, spec);
1520
1040
  };
1521
1041
  const sendOperationFn = async (args, spec) => {
1522
- var _a;
1523
1042
  let currentRawResponse = undefined;
1524
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1043
+ const providedCallback = args.options?.onResponse;
1525
1044
  const callback = (rawResponse, flatResponse) => {
1526
1045
  currentRawResponse = rawResponse;
1527
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1046
+ providedCallback?.(rawResponse, flatResponse);
1047
+ };
1048
+ const updatedArgs = {
1049
+ ...args,
1050
+ options: {
1051
+ ...args.options,
1052
+ onResponse: callback,
1053
+ },
1528
1054
  };
1529
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1530
1055
  const flatResponse = await directSendOperation(updatedArgs, spec);
1531
1056
  return {
1532
1057
  flatResponse,
@@ -1543,32 +1068,32 @@ export class SqlResourcesImpl {
1543
1068
  resourceGroupName,
1544
1069
  accountName,
1545
1070
  databaseName,
1546
- containerName,
1547
- redistributeThroughputParameters,
1071
+ clientEncryptionKeyName,
1072
+ createUpdateClientEncryptionKeyParameters,
1548
1073
  options,
1549
1074
  },
1550
- spec: sqlContainerRedistributeThroughputOperationSpec,
1075
+ spec: createUpdateClientEncryptionKeyOperationSpec,
1551
1076
  });
1552
1077
  const poller = await createHttpPoller(lro, {
1553
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1554
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1555
- resourceLocationConfig: "location",
1078
+ restoreFrom: options?.resumeFrom,
1079
+ intervalInMs: options?.updateIntervalInMs,
1556
1080
  });
1557
1081
  await poller.poll();
1558
1082
  return poller;
1559
1083
  }
1560
1084
  /**
1561
- * Redistribute throughput for an Azure Cosmos DB SQL container
1085
+ * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure
1086
+ * Powershell (instead of directly).
1562
1087
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1563
1088
  * @param accountName Cosmos DB database account name.
1564
1089
  * @param databaseName Cosmos DB database name.
1565
- * @param containerName Cosmos DB container name.
1566
- * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for
1567
- * the current SQL container.
1090
+ * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
1091
+ * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption
1092
+ * key.
1568
1093
  * @param options The options parameters.
1569
1094
  */
1570
- async beginSqlContainerRedistributeThroughputAndWait(resourceGroupName, accountName, databaseName, containerName, redistributeThroughputParameters, options) {
1571
- const poller = await this.beginSqlContainerRedistributeThroughput(resourceGroupName, accountName, databaseName, containerName, redistributeThroughputParameters, options);
1095
+ async beginCreateUpdateClientEncryptionKeyAndWait(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options) {
1096
+ const poller = await this.beginCreateUpdateClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options);
1572
1097
  return poller.pollUntilDone();
1573
1098
  }
1574
1099
  /**
@@ -1617,14 +1142,19 @@ export class SqlResourcesImpl {
1617
1142
  return this.client.sendOperationRequest(args, spec);
1618
1143
  };
1619
1144
  const sendOperationFn = async (args, spec) => {
1620
- var _a;
1621
1145
  let currentRawResponse = undefined;
1622
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1146
+ const providedCallback = args.options?.onResponse;
1623
1147
  const callback = (rawResponse, flatResponse) => {
1624
1148
  currentRawResponse = rawResponse;
1625
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1149
+ providedCallback?.(rawResponse, flatResponse);
1150
+ };
1151
+ const updatedArgs = {
1152
+ ...args,
1153
+ options: {
1154
+ ...args.options,
1155
+ onResponse: callback,
1156
+ },
1626
1157
  };
1627
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1628
1158
  const flatResponse = await directSendOperation(updatedArgs, spec);
1629
1159
  return {
1630
1160
  flatResponse,
@@ -1649,8 +1179,8 @@ export class SqlResourcesImpl {
1649
1179
  spec: createUpdateSqlStoredProcedureOperationSpec,
1650
1180
  });
1651
1181
  const poller = await createHttpPoller(lro, {
1652
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1653
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1182
+ restoreFrom: options?.resumeFrom,
1183
+ intervalInMs: options?.updateIntervalInMs,
1654
1184
  });
1655
1185
  await poller.poll();
1656
1186
  return poller;
@@ -1684,14 +1214,19 @@ export class SqlResourcesImpl {
1684
1214
  return this.client.sendOperationRequest(args, spec);
1685
1215
  };
1686
1216
  const sendOperationFn = async (args, spec) => {
1687
- var _a;
1688
1217
  let currentRawResponse = undefined;
1689
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1218
+ const providedCallback = args.options?.onResponse;
1690
1219
  const callback = (rawResponse, flatResponse) => {
1691
1220
  currentRawResponse = rawResponse;
1692
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1221
+ providedCallback?.(rawResponse, flatResponse);
1222
+ };
1223
+ const updatedArgs = {
1224
+ ...args,
1225
+ options: {
1226
+ ...args.options,
1227
+ onResponse: callback,
1228
+ },
1693
1229
  };
1694
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1695
1230
  const flatResponse = await directSendOperation(updatedArgs, spec);
1696
1231
  return {
1697
1232
  flatResponse,
@@ -1715,8 +1250,8 @@ export class SqlResourcesImpl {
1715
1250
  spec: deleteSqlStoredProcedureOperationSpec,
1716
1251
  });
1717
1252
  const poller = await createHttpPoller(lro, {
1718
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1719
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1253
+ restoreFrom: options?.resumeFrom,
1254
+ intervalInMs: options?.updateIntervalInMs,
1720
1255
  });
1721
1256
  await poller.poll();
1722
1257
  return poller;
@@ -1780,14 +1315,19 @@ export class SqlResourcesImpl {
1780
1315
  return this.client.sendOperationRequest(args, spec);
1781
1316
  };
1782
1317
  const sendOperationFn = async (args, spec) => {
1783
- var _a;
1784
1318
  let currentRawResponse = undefined;
1785
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1319
+ const providedCallback = args.options?.onResponse;
1786
1320
  const callback = (rawResponse, flatResponse) => {
1787
1321
  currentRawResponse = rawResponse;
1788
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1322
+ providedCallback?.(rawResponse, flatResponse);
1323
+ };
1324
+ const updatedArgs = {
1325
+ ...args,
1326
+ options: {
1327
+ ...args.options,
1328
+ onResponse: callback,
1329
+ },
1789
1330
  };
1790
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1791
1331
  const flatResponse = await directSendOperation(updatedArgs, spec);
1792
1332
  return {
1793
1333
  flatResponse,
@@ -1812,8 +1352,8 @@ export class SqlResourcesImpl {
1812
1352
  spec: createUpdateSqlUserDefinedFunctionOperationSpec,
1813
1353
  });
1814
1354
  const poller = await createHttpPoller(lro, {
1815
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1816
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1355
+ restoreFrom: options?.resumeFrom,
1356
+ intervalInMs: options?.updateIntervalInMs,
1817
1357
  });
1818
1358
  await poller.poll();
1819
1359
  return poller;
@@ -1847,14 +1387,19 @@ export class SqlResourcesImpl {
1847
1387
  return this.client.sendOperationRequest(args, spec);
1848
1388
  };
1849
1389
  const sendOperationFn = async (args, spec) => {
1850
- var _a;
1851
1390
  let currentRawResponse = undefined;
1852
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1391
+ const providedCallback = args.options?.onResponse;
1853
1392
  const callback = (rawResponse, flatResponse) => {
1854
1393
  currentRawResponse = rawResponse;
1855
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1394
+ providedCallback?.(rawResponse, flatResponse);
1395
+ };
1396
+ const updatedArgs = {
1397
+ ...args,
1398
+ options: {
1399
+ ...args.options,
1400
+ onResponse: callback,
1401
+ },
1856
1402
  };
1857
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1858
1403
  const flatResponse = await directSendOperation(updatedArgs, spec);
1859
1404
  return {
1860
1405
  flatResponse,
@@ -1878,8 +1423,8 @@ export class SqlResourcesImpl {
1878
1423
  spec: deleteSqlUserDefinedFunctionOperationSpec,
1879
1424
  });
1880
1425
  const poller = await createHttpPoller(lro, {
1881
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1882
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1426
+ restoreFrom: options?.resumeFrom,
1427
+ intervalInMs: options?.updateIntervalInMs,
1883
1428
  });
1884
1429
  await poller.poll();
1885
1430
  return poller;
@@ -1942,14 +1487,19 @@ export class SqlResourcesImpl {
1942
1487
  return this.client.sendOperationRequest(args, spec);
1943
1488
  };
1944
1489
  const sendOperationFn = async (args, spec) => {
1945
- var _a;
1946
1490
  let currentRawResponse = undefined;
1947
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1491
+ const providedCallback = args.options?.onResponse;
1948
1492
  const callback = (rawResponse, flatResponse) => {
1949
1493
  currentRawResponse = rawResponse;
1950
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1494
+ providedCallback?.(rawResponse, flatResponse);
1495
+ };
1496
+ const updatedArgs = {
1497
+ ...args,
1498
+ options: {
1499
+ ...args.options,
1500
+ onResponse: callback,
1501
+ },
1951
1502
  };
1952
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1953
1503
  const flatResponse = await directSendOperation(updatedArgs, spec);
1954
1504
  return {
1955
1505
  flatResponse,
@@ -1974,8 +1524,8 @@ export class SqlResourcesImpl {
1974
1524
  spec: createUpdateSqlTriggerOperationSpec,
1975
1525
  });
1976
1526
  const poller = await createHttpPoller(lro, {
1977
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1978
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1527
+ restoreFrom: options?.resumeFrom,
1528
+ intervalInMs: options?.updateIntervalInMs,
1979
1529
  });
1980
1530
  await poller.poll();
1981
1531
  return poller;
@@ -2008,14 +1558,19 @@ export class SqlResourcesImpl {
2008
1558
  return this.client.sendOperationRequest(args, spec);
2009
1559
  };
2010
1560
  const sendOperationFn = async (args, spec) => {
2011
- var _a;
2012
1561
  let currentRawResponse = undefined;
2013
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1562
+ const providedCallback = args.options?.onResponse;
2014
1563
  const callback = (rawResponse, flatResponse) => {
2015
1564
  currentRawResponse = rawResponse;
2016
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1565
+ providedCallback?.(rawResponse, flatResponse);
1566
+ };
1567
+ const updatedArgs = {
1568
+ ...args,
1569
+ options: {
1570
+ ...args.options,
1571
+ onResponse: callback,
1572
+ },
2017
1573
  };
2018
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2019
1574
  const flatResponse = await directSendOperation(updatedArgs, spec);
2020
1575
  return {
2021
1576
  flatResponse,
@@ -2039,8 +1594,8 @@ export class SqlResourcesImpl {
2039
1594
  spec: deleteSqlTriggerOperationSpec,
2040
1595
  });
2041
1596
  const poller = await createHttpPoller(lro, {
2042
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2043
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1597
+ restoreFrom: options?.resumeFrom,
1598
+ intervalInMs: options?.updateIntervalInMs,
2044
1599
  });
2045
1600
  await poller.poll();
2046
1601
  return poller;
@@ -2082,14 +1637,19 @@ export class SqlResourcesImpl {
2082
1637
  return this.client.sendOperationRequest(args, spec);
2083
1638
  };
2084
1639
  const sendOperationFn = async (args, spec) => {
2085
- var _a;
2086
1640
  let currentRawResponse = undefined;
2087
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1641
+ const providedCallback = args.options?.onResponse;
2088
1642
  const callback = (rawResponse, flatResponse) => {
2089
1643
  currentRawResponse = rawResponse;
2090
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1644
+ providedCallback?.(rawResponse, flatResponse);
1645
+ };
1646
+ const updatedArgs = {
1647
+ ...args,
1648
+ options: {
1649
+ ...args.options,
1650
+ onResponse: callback,
1651
+ },
2091
1652
  };
2092
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2093
1653
  const flatResponse = await directSendOperation(updatedArgs, spec);
2094
1654
  return {
2095
1655
  flatResponse,
@@ -2112,8 +1672,8 @@ export class SqlResourcesImpl {
2112
1672
  spec: createUpdateSqlRoleDefinitionOperationSpec,
2113
1673
  });
2114
1674
  const poller = await createHttpPoller(lro, {
2115
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2116
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1675
+ restoreFrom: options?.resumeFrom,
1676
+ intervalInMs: options?.updateIntervalInMs,
2117
1677
  });
2118
1678
  await poller.poll();
2119
1679
  return poller;
@@ -2143,14 +1703,19 @@ export class SqlResourcesImpl {
2143
1703
  return this.client.sendOperationRequest(args, spec);
2144
1704
  };
2145
1705
  const sendOperationFn = async (args, spec) => {
2146
- var _a;
2147
1706
  let currentRawResponse = undefined;
2148
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1707
+ const providedCallback = args.options?.onResponse;
2149
1708
  const callback = (rawResponse, flatResponse) => {
2150
1709
  currentRawResponse = rawResponse;
2151
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1710
+ providedCallback?.(rawResponse, flatResponse);
1711
+ };
1712
+ const updatedArgs = {
1713
+ ...args,
1714
+ options: {
1715
+ ...args.options,
1716
+ onResponse: callback,
1717
+ },
2152
1718
  };
2153
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2154
1719
  const flatResponse = await directSendOperation(updatedArgs, spec);
2155
1720
  return {
2156
1721
  flatResponse,
@@ -2167,8 +1732,8 @@ export class SqlResourcesImpl {
2167
1732
  spec: deleteSqlRoleDefinitionOperationSpec,
2168
1733
  });
2169
1734
  const poller = await createHttpPoller(lro, {
2170
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2171
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1735
+ restoreFrom: options?.resumeFrom,
1736
+ intervalInMs: options?.updateIntervalInMs,
2172
1737
  });
2173
1738
  await poller.poll();
2174
1739
  return poller;
@@ -2217,14 +1782,19 @@ export class SqlResourcesImpl {
2217
1782
  return this.client.sendOperationRequest(args, spec);
2218
1783
  };
2219
1784
  const sendOperationFn = async (args, spec) => {
2220
- var _a;
2221
1785
  let currentRawResponse = undefined;
2222
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1786
+ const providedCallback = args.options?.onResponse;
2223
1787
  const callback = (rawResponse, flatResponse) => {
2224
1788
  currentRawResponse = rawResponse;
2225
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1789
+ providedCallback?.(rawResponse, flatResponse);
1790
+ };
1791
+ const updatedArgs = {
1792
+ ...args,
1793
+ options: {
1794
+ ...args.options,
1795
+ onResponse: callback,
1796
+ },
2226
1797
  };
2227
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2228
1798
  const flatResponse = await directSendOperation(updatedArgs, spec);
2229
1799
  return {
2230
1800
  flatResponse,
@@ -2247,8 +1817,8 @@ export class SqlResourcesImpl {
2247
1817
  spec: createUpdateSqlRoleAssignmentOperationSpec,
2248
1818
  });
2249
1819
  const poller = await createHttpPoller(lro, {
2250
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2251
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1820
+ restoreFrom: options?.resumeFrom,
1821
+ intervalInMs: options?.updateIntervalInMs,
2252
1822
  });
2253
1823
  await poller.poll();
2254
1824
  return poller;
@@ -2278,14 +1848,19 @@ export class SqlResourcesImpl {
2278
1848
  return this.client.sendOperationRequest(args, spec);
2279
1849
  };
2280
1850
  const sendOperationFn = async (args, spec) => {
2281
- var _a;
2282
1851
  let currentRawResponse = undefined;
2283
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1852
+ const providedCallback = args.options?.onResponse;
2284
1853
  const callback = (rawResponse, flatResponse) => {
2285
1854
  currentRawResponse = rawResponse;
2286
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1855
+ providedCallback?.(rawResponse, flatResponse);
1856
+ };
1857
+ const updatedArgs = {
1858
+ ...args,
1859
+ options: {
1860
+ ...args.options,
1861
+ onResponse: callback,
1862
+ },
2287
1863
  };
2288
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2289
1864
  const flatResponse = await directSendOperation(updatedArgs, spec);
2290
1865
  return {
2291
1866
  flatResponse,
@@ -2302,8 +1877,8 @@ export class SqlResourcesImpl {
2302
1877
  spec: deleteSqlRoleAssignmentOperationSpec,
2303
1878
  });
2304
1879
  const poller = await createHttpPoller(lro, {
2305
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2306
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1880
+ restoreFrom: options?.resumeFrom,
1881
+ intervalInMs: options?.updateIntervalInMs,
2307
1882
  });
2308
1883
  await poller.poll();
2309
1884
  return poller;
@@ -2342,14 +1917,19 @@ export class SqlResourcesImpl {
2342
1917
  return this.client.sendOperationRequest(args, spec);
2343
1918
  };
2344
1919
  const sendOperationFn = async (args, spec) => {
2345
- var _a;
2346
1920
  let currentRawResponse = undefined;
2347
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1921
+ const providedCallback = args.options?.onResponse;
2348
1922
  const callback = (rawResponse, flatResponse) => {
2349
1923
  currentRawResponse = rawResponse;
2350
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1924
+ providedCallback?.(rawResponse, flatResponse);
1925
+ };
1926
+ const updatedArgs = {
1927
+ ...args,
1928
+ options: {
1929
+ ...args.options,
1930
+ onResponse: callback,
1931
+ },
2351
1932
  };
2352
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2353
1933
  const flatResponse = await directSendOperation(updatedArgs, spec);
2354
1934
  return {
2355
1935
  flatResponse,
@@ -2373,8 +1953,8 @@ export class SqlResourcesImpl {
2373
1953
  spec: retrieveContinuousBackupInformationOperationSpec,
2374
1954
  });
2375
1955
  const poller = await createHttpPoller(lro, {
2376
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2377
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1956
+ restoreFrom: options?.resumeFrom,
1957
+ intervalInMs: options?.updateIntervalInMs,
2378
1958
  resourceLocationConfig: "location",
2379
1959
  });
2380
1960
  await poller.poll();
@@ -2601,76 +2181,6 @@ const migrateSqlDatabaseToManualThroughputOperationSpec = {
2601
2181
  headerParameters: [Parameters.accept],
2602
2182
  serializer,
2603
2183
  };
2604
- const listClientEncryptionKeysOperationSpec = {
2605
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys",
2606
- httpMethod: "GET",
2607
- responses: {
2608
- 200: {
2609
- bodyMapper: Mappers.ClientEncryptionKeysListResult,
2610
- },
2611
- },
2612
- queryParameters: [Parameters.apiVersion],
2613
- urlParameters: [
2614
- Parameters.$host,
2615
- Parameters.subscriptionId,
2616
- Parameters.resourceGroupName,
2617
- Parameters.accountName,
2618
- Parameters.databaseName,
2619
- ],
2620
- headerParameters: [Parameters.accept],
2621
- serializer,
2622
- };
2623
- const getClientEncryptionKeyOperationSpec = {
2624
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}",
2625
- httpMethod: "GET",
2626
- responses: {
2627
- 200: {
2628
- bodyMapper: Mappers.ClientEncryptionKeyGetResults,
2629
- },
2630
- },
2631
- queryParameters: [Parameters.apiVersion],
2632
- urlParameters: [
2633
- Parameters.$host,
2634
- Parameters.subscriptionId,
2635
- Parameters.resourceGroupName,
2636
- Parameters.accountName,
2637
- Parameters.databaseName,
2638
- Parameters.clientEncryptionKeyName,
2639
- ],
2640
- headerParameters: [Parameters.accept],
2641
- serializer,
2642
- };
2643
- const createUpdateClientEncryptionKeyOperationSpec = {
2644
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}",
2645
- httpMethod: "PUT",
2646
- responses: {
2647
- 200: {
2648
- bodyMapper: Mappers.ClientEncryptionKeyGetResults,
2649
- },
2650
- 201: {
2651
- bodyMapper: Mappers.ClientEncryptionKeyGetResults,
2652
- },
2653
- 202: {
2654
- bodyMapper: Mappers.ClientEncryptionKeyGetResults,
2655
- },
2656
- 204: {
2657
- bodyMapper: Mappers.ClientEncryptionKeyGetResults,
2658
- },
2659
- },
2660
- requestBody: Parameters.createUpdateClientEncryptionKeyParameters,
2661
- queryParameters: [Parameters.apiVersion],
2662
- urlParameters: [
2663
- Parameters.$host,
2664
- Parameters.subscriptionId,
2665
- Parameters.resourceGroupName,
2666
- Parameters.accountName,
2667
- Parameters.databaseName,
2668
- Parameters.clientEncryptionKeyName,
2669
- ],
2670
- headerParameters: [Parameters.accept, Parameters.contentType],
2671
- mediaType: "json",
2672
- serializer,
2673
- };
2674
2184
  const listSqlContainersOperationSpec = {
2675
2185
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers",
2676
2186
  httpMethod: "GET",
@@ -2769,73 +2279,6 @@ const deleteSqlContainerOperationSpec = {
2769
2279
  ],
2770
2280
  serializer,
2771
2281
  };
2772
- const sqlDatabasePartitionMergeOperationSpec = {
2773
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/partitionMerge",
2774
- httpMethod: "POST",
2775
- responses: {
2776
- 200: {
2777
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2778
- },
2779
- 201: {
2780
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2781
- },
2782
- 202: {
2783
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2784
- },
2785
- 204: {
2786
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2787
- },
2788
- default: {
2789
- bodyMapper: Mappers.ErrorResponse,
2790
- },
2791
- },
2792
- requestBody: Parameters.mergeParameters,
2793
- queryParameters: [Parameters.apiVersion],
2794
- urlParameters: [
2795
- Parameters.$host,
2796
- Parameters.subscriptionId,
2797
- Parameters.resourceGroupName,
2798
- Parameters.accountName,
2799
- Parameters.databaseName,
2800
- ],
2801
- headerParameters: [Parameters.accept, Parameters.contentType],
2802
- mediaType: "json",
2803
- serializer,
2804
- };
2805
- const listSqlContainerPartitionMergeOperationSpec = {
2806
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/partitionMerge",
2807
- httpMethod: "POST",
2808
- responses: {
2809
- 200: {
2810
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2811
- },
2812
- 201: {
2813
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2814
- },
2815
- 202: {
2816
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2817
- },
2818
- 204: {
2819
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2820
- },
2821
- default: {
2822
- bodyMapper: Mappers.ErrorResponse,
2823
- },
2824
- },
2825
- requestBody: Parameters.mergeParameters,
2826
- queryParameters: [Parameters.apiVersion],
2827
- urlParameters: [
2828
- Parameters.$host,
2829
- Parameters.subscriptionId,
2830
- Parameters.resourceGroupName,
2831
- Parameters.accountName,
2832
- Parameters.databaseName,
2833
- Parameters.containerName,
2834
- ],
2835
- headerParameters: [Parameters.accept, Parameters.contentType],
2836
- mediaType: "json",
2837
- serializer,
2838
- };
2839
2282
  const getSqlContainerThroughputOperationSpec = {
2840
2283
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default",
2841
2284
  httpMethod: "GET",
@@ -2951,60 +2394,14 @@ const migrateSqlContainerToManualThroughputOperationSpec = {
2951
2394
  headerParameters: [Parameters.accept],
2952
2395
  serializer,
2953
2396
  };
2954
- const sqlDatabaseRetrieveThroughputDistributionOperationSpec = {
2955
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/retrieveThroughputDistribution",
2956
- httpMethod: "POST",
2957
- responses: {
2958
- 200: {
2959
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2960
- },
2961
- 201: {
2962
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2963
- },
2964
- 202: {
2965
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2966
- },
2967
- 204: {
2968
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2969
- },
2970
- default: {
2971
- bodyMapper: Mappers.ErrorResponse,
2972
- },
2973
- },
2974
- requestBody: Parameters.retrieveThroughputParameters,
2975
- queryParameters: [Parameters.apiVersion],
2976
- urlParameters: [
2977
- Parameters.$host,
2978
- Parameters.subscriptionId,
2979
- Parameters.resourceGroupName,
2980
- Parameters.accountName,
2981
- Parameters.databaseName,
2982
- ],
2983
- headerParameters: [Parameters.accept, Parameters.contentType],
2984
- mediaType: "json",
2985
- serializer,
2986
- };
2987
- const sqlDatabaseRedistributeThroughputOperationSpec = {
2988
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/redistributeThroughput",
2989
- httpMethod: "POST",
2397
+ const listClientEncryptionKeysOperationSpec = {
2398
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys",
2399
+ httpMethod: "GET",
2990
2400
  responses: {
2991
2401
  200: {
2992
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2993
- },
2994
- 201: {
2995
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2996
- },
2997
- 202: {
2998
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2999
- },
3000
- 204: {
3001
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
3002
- },
3003
- default: {
3004
- bodyMapper: Mappers.ErrorResponse,
2402
+ bodyMapper: Mappers.ClientEncryptionKeysListResult,
3005
2403
  },
3006
2404
  },
3007
- requestBody: Parameters.redistributeThroughputParameters,
3008
2405
  queryParameters: [Parameters.apiVersion],
3009
2406
  urlParameters: [
3010
2407
  Parameters.$host,
@@ -3013,31 +2410,17 @@ const sqlDatabaseRedistributeThroughputOperationSpec = {
3013
2410
  Parameters.accountName,
3014
2411
  Parameters.databaseName,
3015
2412
  ],
3016
- headerParameters: [Parameters.accept, Parameters.contentType],
3017
- mediaType: "json",
2413
+ headerParameters: [Parameters.accept],
3018
2414
  serializer,
3019
2415
  };
3020
- const sqlContainerRetrieveThroughputDistributionOperationSpec = {
3021
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/retrieveThroughputDistribution",
3022
- httpMethod: "POST",
2416
+ const getClientEncryptionKeyOperationSpec = {
2417
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}",
2418
+ httpMethod: "GET",
3023
2419
  responses: {
3024
2420
  200: {
3025
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
3026
- },
3027
- 201: {
3028
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
3029
- },
3030
- 202: {
3031
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
3032
- },
3033
- 204: {
3034
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
3035
- },
3036
- default: {
3037
- bodyMapper: Mappers.ErrorResponse,
2421
+ bodyMapper: Mappers.ClientEncryptionKeyGetResults,
3038
2422
  },
3039
2423
  },
3040
- requestBody: Parameters.retrieveThroughputParameters,
3041
2424
  queryParameters: [Parameters.apiVersion],
3042
2425
  urlParameters: [
3043
2426
  Parameters.$host,
@@ -3045,33 +2428,29 @@ const sqlContainerRetrieveThroughputDistributionOperationSpec = {
3045
2428
  Parameters.resourceGroupName,
3046
2429
  Parameters.accountName,
3047
2430
  Parameters.databaseName,
3048
- Parameters.containerName,
2431
+ Parameters.clientEncryptionKeyName,
3049
2432
  ],
3050
- headerParameters: [Parameters.accept, Parameters.contentType],
3051
- mediaType: "json",
2433
+ headerParameters: [Parameters.accept],
3052
2434
  serializer,
3053
2435
  };
3054
- const sqlContainerRedistributeThroughputOperationSpec = {
3055
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/redistributeThroughput",
3056
- httpMethod: "POST",
2436
+ const createUpdateClientEncryptionKeyOperationSpec = {
2437
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}",
2438
+ httpMethod: "PUT",
3057
2439
  responses: {
3058
2440
  200: {
3059
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2441
+ bodyMapper: Mappers.ClientEncryptionKeyGetResults,
3060
2442
  },
3061
2443
  201: {
3062
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2444
+ bodyMapper: Mappers.ClientEncryptionKeyGetResults,
3063
2445
  },
3064
2446
  202: {
3065
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2447
+ bodyMapper: Mappers.ClientEncryptionKeyGetResults,
3066
2448
  },
3067
2449
  204: {
3068
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
3069
- },
3070
- default: {
3071
- bodyMapper: Mappers.ErrorResponse,
2450
+ bodyMapper: Mappers.ClientEncryptionKeyGetResults,
3072
2451
  },
3073
2452
  },
3074
- requestBody: Parameters.redistributeThroughputParameters,
2453
+ requestBody: Parameters.createUpdateClientEncryptionKeyParameters,
3075
2454
  queryParameters: [Parameters.apiVersion],
3076
2455
  urlParameters: [
3077
2456
  Parameters.$host,
@@ -3079,7 +2458,7 @@ const sqlContainerRedistributeThroughputOperationSpec = {
3079
2458
  Parameters.resourceGroupName,
3080
2459
  Parameters.accountName,
3081
2460
  Parameters.databaseName,
3082
- Parameters.containerName,
2461
+ Parameters.clientEncryptionKeyName,
3083
2462
  ],
3084
2463
  headerParameters: [Parameters.accept, Parameters.contentType],
3085
2464
  mediaType: "json",