@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,11 +1,6 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  exports.SqlResourcesImpl = void 0;
11
6
  const tslib_1 = require("tslib");
@@ -17,6 +12,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
17
12
  /// <reference lib="esnext.asynciterable" />
18
13
  /** Class containing SqlResources operations. */
19
14
  class SqlResourcesImpl {
15
+ client;
20
16
  /**
21
17
  * Initialize a new instance of the class SqlResources class.
22
18
  * @param client Reference to the service client
@@ -40,49 +36,32 @@ class SqlResourcesImpl {
40
36
  return this;
41
37
  },
42
38
  byPage: (settings) => {
43
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
39
+ if (settings?.maxPageSize) {
44
40
  throw new Error("maxPageSize is not supported by this operation.");
45
41
  }
46
42
  return this.listSqlDatabasesPagingPage(resourceGroupName, accountName, options, settings);
47
43
  },
48
44
  };
49
45
  }
50
- listSqlDatabasesPagingPage(resourceGroupName, accountName, options, _settings) {
51
- return tslib_1.__asyncGenerator(this, arguments, function* listSqlDatabasesPagingPage_1() {
52
- let result;
53
- result = yield tslib_1.__await(this._listSqlDatabases(resourceGroupName, accountName, options));
54
- yield yield tslib_1.__await(result.value || []);
55
- });
46
+ async *listSqlDatabasesPagingPage(resourceGroupName, accountName, options, _settings) {
47
+ let result;
48
+ result = await this._listSqlDatabases(resourceGroupName, accountName, options);
49
+ yield result.value || [];
56
50
  }
57
- listSqlDatabasesPagingAll(resourceGroupName, accountName, options) {
58
- return tslib_1.__asyncGenerator(this, arguments, function* listSqlDatabasesPagingAll_1() {
59
- var _a, e_1, _b, _c;
60
- try {
61
- for (var _d = true, _e = tslib_1.__asyncValues(this.listSqlDatabasesPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
62
- _c = _f.value;
63
- _d = false;
64
- const page = _c;
65
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
66
- }
67
- }
68
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
69
- finally {
70
- try {
71
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
72
- }
73
- finally { if (e_1) throw e_1.error; }
74
- }
75
- });
51
+ async *listSqlDatabasesPagingAll(resourceGroupName, accountName, options) {
52
+ for await (const page of this.listSqlDatabasesPagingPage(resourceGroupName, accountName, options)) {
53
+ yield* page;
54
+ }
76
55
  }
77
56
  /**
78
- * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.
57
+ * Lists the SQL container under an existing Azure Cosmos DB database account.
79
58
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
80
59
  * @param accountName Cosmos DB database account name.
81
60
  * @param databaseName Cosmos DB database name.
82
61
  * @param options The options parameters.
83
62
  */
84
- listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options) {
85
- const iter = this.listClientEncryptionKeysPagingAll(resourceGroupName, accountName, databaseName, options);
63
+ listSqlContainers(resourceGroupName, accountName, databaseName, options) {
64
+ const iter = this.listSqlContainersPagingAll(resourceGroupName, accountName, databaseName, options);
86
65
  return {
87
66
  next() {
88
67
  return iter.next();
@@ -91,49 +70,32 @@ class SqlResourcesImpl {
91
70
  return this;
92
71
  },
93
72
  byPage: (settings) => {
94
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
73
+ if (settings?.maxPageSize) {
95
74
  throw new Error("maxPageSize is not supported by this operation.");
96
75
  }
97
- return this.listClientEncryptionKeysPagingPage(resourceGroupName, accountName, databaseName, options, settings);
76
+ return this.listSqlContainersPagingPage(resourceGroupName, accountName, databaseName, options, settings);
98
77
  },
99
78
  };
100
79
  }
101
- listClientEncryptionKeysPagingPage(resourceGroupName, accountName, databaseName, options, _settings) {
102
- return tslib_1.__asyncGenerator(this, arguments, function* listClientEncryptionKeysPagingPage_1() {
103
- let result;
104
- result = yield tslib_1.__await(this._listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options));
105
- yield yield tslib_1.__await(result.value || []);
106
- });
80
+ async *listSqlContainersPagingPage(resourceGroupName, accountName, databaseName, options, _settings) {
81
+ let result;
82
+ result = await this._listSqlContainers(resourceGroupName, accountName, databaseName, options);
83
+ yield result.value || [];
107
84
  }
108
- listClientEncryptionKeysPagingAll(resourceGroupName, accountName, databaseName, options) {
109
- return tslib_1.__asyncGenerator(this, arguments, function* listClientEncryptionKeysPagingAll_1() {
110
- var _a, e_2, _b, _c;
111
- try {
112
- for (var _d = true, _e = tslib_1.__asyncValues(this.listClientEncryptionKeysPagingPage(resourceGroupName, accountName, databaseName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
113
- _c = _f.value;
114
- _d = false;
115
- const page = _c;
116
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
117
- }
118
- }
119
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
120
- finally {
121
- try {
122
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
123
- }
124
- finally { if (e_2) throw e_2.error; }
125
- }
126
- });
85
+ async *listSqlContainersPagingAll(resourceGroupName, accountName, databaseName, options) {
86
+ for await (const page of this.listSqlContainersPagingPage(resourceGroupName, accountName, databaseName, options)) {
87
+ yield* page;
88
+ }
127
89
  }
128
90
  /**
129
- * Lists the SQL container under an existing Azure Cosmos DB database account.
91
+ * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.
130
92
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
131
93
  * @param accountName Cosmos DB database account name.
132
94
  * @param databaseName Cosmos DB database name.
133
95
  * @param options The options parameters.
134
96
  */
135
- listSqlContainers(resourceGroupName, accountName, databaseName, options) {
136
- const iter = this.listSqlContainersPagingAll(resourceGroupName, accountName, databaseName, options);
97
+ listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options) {
98
+ const iter = this.listClientEncryptionKeysPagingAll(resourceGroupName, accountName, databaseName, options);
137
99
  return {
138
100
  next() {
139
101
  return iter.next();
@@ -142,39 +104,22 @@ class SqlResourcesImpl {
142
104
  return this;
143
105
  },
144
106
  byPage: (settings) => {
145
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
107
+ if (settings?.maxPageSize) {
146
108
  throw new Error("maxPageSize is not supported by this operation.");
147
109
  }
148
- return this.listSqlContainersPagingPage(resourceGroupName, accountName, databaseName, options, settings);
110
+ return this.listClientEncryptionKeysPagingPage(resourceGroupName, accountName, databaseName, options, settings);
149
111
  },
150
112
  };
151
113
  }
152
- listSqlContainersPagingPage(resourceGroupName, accountName, databaseName, options, _settings) {
153
- return tslib_1.__asyncGenerator(this, arguments, function* listSqlContainersPagingPage_1() {
154
- let result;
155
- result = yield tslib_1.__await(this._listSqlContainers(resourceGroupName, accountName, databaseName, options));
156
- yield yield tslib_1.__await(result.value || []);
157
- });
114
+ async *listClientEncryptionKeysPagingPage(resourceGroupName, accountName, databaseName, options, _settings) {
115
+ let result;
116
+ result = await this._listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options);
117
+ yield result.value || [];
158
118
  }
159
- listSqlContainersPagingAll(resourceGroupName, accountName, databaseName, options) {
160
- return tslib_1.__asyncGenerator(this, arguments, function* listSqlContainersPagingAll_1() {
161
- var _a, e_3, _b, _c;
162
- try {
163
- for (var _d = true, _e = tslib_1.__asyncValues(this.listSqlContainersPagingPage(resourceGroupName, accountName, databaseName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
164
- _c = _f.value;
165
- _d = false;
166
- const page = _c;
167
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
168
- }
169
- }
170
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
171
- finally {
172
- try {
173
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
174
- }
175
- finally { if (e_3) throw e_3.error; }
176
- }
177
- });
119
+ async *listClientEncryptionKeysPagingAll(resourceGroupName, accountName, databaseName, options) {
120
+ for await (const page of this.listClientEncryptionKeysPagingPage(resourceGroupName, accountName, databaseName, options)) {
121
+ yield* page;
122
+ }
178
123
  }
179
124
  /**
180
125
  * Lists the SQL storedProcedure under an existing Azure Cosmos DB database account.
@@ -194,39 +139,22 @@ class SqlResourcesImpl {
194
139
  return this;
195
140
  },
196
141
  byPage: (settings) => {
197
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
142
+ if (settings?.maxPageSize) {
198
143
  throw new Error("maxPageSize is not supported by this operation.");
199
144
  }
200
145
  return this.listSqlStoredProceduresPagingPage(resourceGroupName, accountName, databaseName, containerName, options, settings);
201
146
  },
202
147
  };
203
148
  }
204
- listSqlStoredProceduresPagingPage(resourceGroupName, accountName, databaseName, containerName, options, _settings) {
205
- return tslib_1.__asyncGenerator(this, arguments, function* listSqlStoredProceduresPagingPage_1() {
206
- let result;
207
- result = yield tslib_1.__await(this._listSqlStoredProcedures(resourceGroupName, accountName, databaseName, containerName, options));
208
- yield yield tslib_1.__await(result.value || []);
209
- });
149
+ async *listSqlStoredProceduresPagingPage(resourceGroupName, accountName, databaseName, containerName, options, _settings) {
150
+ let result;
151
+ result = await this._listSqlStoredProcedures(resourceGroupName, accountName, databaseName, containerName, options);
152
+ yield result.value || [];
210
153
  }
211
- listSqlStoredProceduresPagingAll(resourceGroupName, accountName, databaseName, containerName, options) {
212
- return tslib_1.__asyncGenerator(this, arguments, function* listSqlStoredProceduresPagingAll_1() {
213
- var _a, e_4, _b, _c;
214
- try {
215
- for (var _d = true, _e = tslib_1.__asyncValues(this.listSqlStoredProceduresPagingPage(resourceGroupName, accountName, databaseName, containerName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
216
- _c = _f.value;
217
- _d = false;
218
- const page = _c;
219
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
220
- }
221
- }
222
- catch (e_4_1) { e_4 = { error: e_4_1 }; }
223
- finally {
224
- try {
225
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
226
- }
227
- finally { if (e_4) throw e_4.error; }
228
- }
229
- });
154
+ async *listSqlStoredProceduresPagingAll(resourceGroupName, accountName, databaseName, containerName, options) {
155
+ for await (const page of this.listSqlStoredProceduresPagingPage(resourceGroupName, accountName, databaseName, containerName, options)) {
156
+ yield* page;
157
+ }
230
158
  }
231
159
  /**
232
160
  * Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
@@ -246,39 +174,22 @@ class SqlResourcesImpl {
246
174
  return this;
247
175
  },
248
176
  byPage: (settings) => {
249
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
177
+ if (settings?.maxPageSize) {
250
178
  throw new Error("maxPageSize is not supported by this operation.");
251
179
  }
252
180
  return this.listSqlUserDefinedFunctionsPagingPage(resourceGroupName, accountName, databaseName, containerName, options, settings);
253
181
  },
254
182
  };
255
183
  }
256
- listSqlUserDefinedFunctionsPagingPage(resourceGroupName, accountName, databaseName, containerName, options, _settings) {
257
- return tslib_1.__asyncGenerator(this, arguments, function* listSqlUserDefinedFunctionsPagingPage_1() {
258
- let result;
259
- result = yield tslib_1.__await(this._listSqlUserDefinedFunctions(resourceGroupName, accountName, databaseName, containerName, options));
260
- yield yield tslib_1.__await(result.value || []);
261
- });
184
+ async *listSqlUserDefinedFunctionsPagingPage(resourceGroupName, accountName, databaseName, containerName, options, _settings) {
185
+ let result;
186
+ result = await this._listSqlUserDefinedFunctions(resourceGroupName, accountName, databaseName, containerName, options);
187
+ yield result.value || [];
262
188
  }
263
- listSqlUserDefinedFunctionsPagingAll(resourceGroupName, accountName, databaseName, containerName, options) {
264
- return tslib_1.__asyncGenerator(this, arguments, function* listSqlUserDefinedFunctionsPagingAll_1() {
265
- var _a, e_5, _b, _c;
266
- try {
267
- for (var _d = true, _e = tslib_1.__asyncValues(this.listSqlUserDefinedFunctionsPagingPage(resourceGroupName, accountName, databaseName, containerName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
268
- _c = _f.value;
269
- _d = false;
270
- const page = _c;
271
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
272
- }
273
- }
274
- catch (e_5_1) { e_5 = { error: e_5_1 }; }
275
- finally {
276
- try {
277
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
278
- }
279
- finally { if (e_5) throw e_5.error; }
280
- }
281
- });
189
+ async *listSqlUserDefinedFunctionsPagingAll(resourceGroupName, accountName, databaseName, containerName, options) {
190
+ for await (const page of this.listSqlUserDefinedFunctionsPagingPage(resourceGroupName, accountName, databaseName, containerName, options)) {
191
+ yield* page;
192
+ }
282
193
  }
283
194
  /**
284
195
  * Lists the SQL trigger under an existing Azure Cosmos DB database account.
@@ -298,39 +209,22 @@ class SqlResourcesImpl {
298
209
  return this;
299
210
  },
300
211
  byPage: (settings) => {
301
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
212
+ if (settings?.maxPageSize) {
302
213
  throw new Error("maxPageSize is not supported by this operation.");
303
214
  }
304
215
  return this.listSqlTriggersPagingPage(resourceGroupName, accountName, databaseName, containerName, options, settings);
305
216
  },
306
217
  };
307
218
  }
308
- listSqlTriggersPagingPage(resourceGroupName, accountName, databaseName, containerName, options, _settings) {
309
- return tslib_1.__asyncGenerator(this, arguments, function* listSqlTriggersPagingPage_1() {
310
- let result;
311
- result = yield tslib_1.__await(this._listSqlTriggers(resourceGroupName, accountName, databaseName, containerName, options));
312
- yield yield tslib_1.__await(result.value || []);
313
- });
219
+ async *listSqlTriggersPagingPage(resourceGroupName, accountName, databaseName, containerName, options, _settings) {
220
+ let result;
221
+ result = await this._listSqlTriggers(resourceGroupName, accountName, databaseName, containerName, options);
222
+ yield result.value || [];
314
223
  }
315
- listSqlTriggersPagingAll(resourceGroupName, accountName, databaseName, containerName, options) {
316
- return tslib_1.__asyncGenerator(this, arguments, function* listSqlTriggersPagingAll_1() {
317
- var _a, e_6, _b, _c;
318
- try {
319
- for (var _d = true, _e = tslib_1.__asyncValues(this.listSqlTriggersPagingPage(resourceGroupName, accountName, databaseName, containerName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
320
- _c = _f.value;
321
- _d = false;
322
- const page = _c;
323
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
324
- }
325
- }
326
- catch (e_6_1) { e_6 = { error: e_6_1 }; }
327
- finally {
328
- try {
329
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
330
- }
331
- finally { if (e_6) throw e_6.error; }
332
- }
333
- });
224
+ async *listSqlTriggersPagingAll(resourceGroupName, accountName, databaseName, containerName, options) {
225
+ for await (const page of this.listSqlTriggersPagingPage(resourceGroupName, accountName, databaseName, containerName, options)) {
226
+ yield* page;
227
+ }
334
228
  }
335
229
  /**
336
230
  * Retrieves the list of all Azure Cosmos DB SQL Role Definitions.
@@ -348,39 +242,22 @@ class SqlResourcesImpl {
348
242
  return this;
349
243
  },
350
244
  byPage: (settings) => {
351
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
245
+ if (settings?.maxPageSize) {
352
246
  throw new Error("maxPageSize is not supported by this operation.");
353
247
  }
354
248
  return this.listSqlRoleDefinitionsPagingPage(resourceGroupName, accountName, options, settings);
355
249
  },
356
250
  };
357
251
  }
358
- listSqlRoleDefinitionsPagingPage(resourceGroupName, accountName, options, _settings) {
359
- return tslib_1.__asyncGenerator(this, arguments, function* listSqlRoleDefinitionsPagingPage_1() {
360
- let result;
361
- result = yield tslib_1.__await(this._listSqlRoleDefinitions(resourceGroupName, accountName, options));
362
- yield yield tslib_1.__await(result.value || []);
363
- });
252
+ async *listSqlRoleDefinitionsPagingPage(resourceGroupName, accountName, options, _settings) {
253
+ let result;
254
+ result = await this._listSqlRoleDefinitions(resourceGroupName, accountName, options);
255
+ yield result.value || [];
364
256
  }
365
- listSqlRoleDefinitionsPagingAll(resourceGroupName, accountName, options) {
366
- return tslib_1.__asyncGenerator(this, arguments, function* listSqlRoleDefinitionsPagingAll_1() {
367
- var _a, e_7, _b, _c;
368
- try {
369
- for (var _d = true, _e = tslib_1.__asyncValues(this.listSqlRoleDefinitionsPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
370
- _c = _f.value;
371
- _d = false;
372
- const page = _c;
373
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
374
- }
375
- }
376
- catch (e_7_1) { e_7 = { error: e_7_1 }; }
377
- finally {
378
- try {
379
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
380
- }
381
- finally { if (e_7) throw e_7.error; }
382
- }
383
- });
257
+ async *listSqlRoleDefinitionsPagingAll(resourceGroupName, accountName, options) {
258
+ for await (const page of this.listSqlRoleDefinitionsPagingPage(resourceGroupName, accountName, options)) {
259
+ yield* page;
260
+ }
384
261
  }
385
262
  /**
386
263
  * Retrieves the list of all Azure Cosmos DB SQL Role Assignments.
@@ -398,39 +275,22 @@ class SqlResourcesImpl {
398
275
  return this;
399
276
  },
400
277
  byPage: (settings) => {
401
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
278
+ if (settings?.maxPageSize) {
402
279
  throw new Error("maxPageSize is not supported by this operation.");
403
280
  }
404
281
  return this.listSqlRoleAssignmentsPagingPage(resourceGroupName, accountName, options, settings);
405
282
  },
406
283
  };
407
284
  }
408
- listSqlRoleAssignmentsPagingPage(resourceGroupName, accountName, options, _settings) {
409
- return tslib_1.__asyncGenerator(this, arguments, function* listSqlRoleAssignmentsPagingPage_1() {
410
- let result;
411
- result = yield tslib_1.__await(this._listSqlRoleAssignments(resourceGroupName, accountName, options));
412
- yield yield tslib_1.__await(result.value || []);
413
- });
285
+ async *listSqlRoleAssignmentsPagingPage(resourceGroupName, accountName, options, _settings) {
286
+ let result;
287
+ result = await this._listSqlRoleAssignments(resourceGroupName, accountName, options);
288
+ yield result.value || [];
414
289
  }
415
- listSqlRoleAssignmentsPagingAll(resourceGroupName, accountName, options) {
416
- return tslib_1.__asyncGenerator(this, arguments, function* listSqlRoleAssignmentsPagingAll_1() {
417
- var _a, e_8, _b, _c;
418
- try {
419
- for (var _d = true, _e = tslib_1.__asyncValues(this.listSqlRoleAssignmentsPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
420
- _c = _f.value;
421
- _d = false;
422
- const page = _c;
423
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
424
- }
425
- }
426
- catch (e_8_1) { e_8 = { error: e_8_1 }; }
427
- finally {
428
- try {
429
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
430
- }
431
- finally { if (e_8) throw e_8.error; }
432
- }
433
- });
290
+ async *listSqlRoleAssignmentsPagingAll(resourceGroupName, accountName, options) {
291
+ for await (const page of this.listSqlRoleAssignmentsPagingPage(resourceGroupName, accountName, options)) {
292
+ yield* page;
293
+ }
434
294
  }
435
295
  /**
436
296
  * Lists the SQL databases under an existing Azure Cosmos DB database account.
@@ -464,14 +324,19 @@ class SqlResourcesImpl {
464
324
  return this.client.sendOperationRequest(args, spec);
465
325
  };
466
326
  const sendOperationFn = async (args, spec) => {
467
- var _a;
468
327
  let currentRawResponse = undefined;
469
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
328
+ const providedCallback = args.options?.onResponse;
470
329
  const callback = (rawResponse, flatResponse) => {
471
330
  currentRawResponse = rawResponse;
472
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
331
+ providedCallback?.(rawResponse, flatResponse);
332
+ };
333
+ const updatedArgs = {
334
+ ...args,
335
+ options: {
336
+ ...args.options,
337
+ onResponse: callback,
338
+ },
473
339
  };
474
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
475
340
  const flatResponse = await directSendOperation(updatedArgs, spec);
476
341
  return {
477
342
  flatResponse,
@@ -494,8 +359,8 @@ class SqlResourcesImpl {
494
359
  spec: createUpdateSqlDatabaseOperationSpec,
495
360
  });
496
361
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
497
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
498
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
362
+ restoreFrom: options?.resumeFrom,
363
+ intervalInMs: options?.updateIntervalInMs,
499
364
  });
500
365
  await poller.poll();
501
366
  return poller;
@@ -524,14 +389,19 @@ class SqlResourcesImpl {
524
389
  return this.client.sendOperationRequest(args, spec);
525
390
  };
526
391
  const sendOperationFn = async (args, spec) => {
527
- var _a;
528
392
  let currentRawResponse = undefined;
529
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
393
+ const providedCallback = args.options?.onResponse;
530
394
  const callback = (rawResponse, flatResponse) => {
531
395
  currentRawResponse = rawResponse;
532
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
396
+ providedCallback?.(rawResponse, flatResponse);
397
+ };
398
+ const updatedArgs = {
399
+ ...args,
400
+ options: {
401
+ ...args.options,
402
+ onResponse: callback,
403
+ },
533
404
  };
534
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
535
405
  const flatResponse = await directSendOperation(updatedArgs, spec);
536
406
  return {
537
407
  flatResponse,
@@ -548,8 +418,8 @@ class SqlResourcesImpl {
548
418
  spec: deleteSqlDatabaseOperationSpec,
549
419
  });
550
420
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
551
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
552
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
421
+ restoreFrom: options?.resumeFrom,
422
+ intervalInMs: options?.updateIntervalInMs,
553
423
  });
554
424
  await poller.poll();
555
425
  return poller;
@@ -590,14 +460,19 @@ class SqlResourcesImpl {
590
460
  return this.client.sendOperationRequest(args, spec);
591
461
  };
592
462
  const sendOperationFn = async (args, spec) => {
593
- var _a;
594
463
  let currentRawResponse = undefined;
595
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
464
+ const providedCallback = args.options?.onResponse;
596
465
  const callback = (rawResponse, flatResponse) => {
597
466
  currentRawResponse = rawResponse;
598
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
467
+ providedCallback?.(rawResponse, flatResponse);
468
+ };
469
+ const updatedArgs = {
470
+ ...args,
471
+ options: {
472
+ ...args.options,
473
+ onResponse: callback,
474
+ },
599
475
  };
600
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
601
476
  const flatResponse = await directSendOperation(updatedArgs, spec);
602
477
  return {
603
478
  flatResponse,
@@ -620,8 +495,8 @@ class SqlResourcesImpl {
620
495
  spec: updateSqlDatabaseThroughputOperationSpec,
621
496
  });
622
497
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
623
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
624
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
498
+ restoreFrom: options?.resumeFrom,
499
+ intervalInMs: options?.updateIntervalInMs,
625
500
  });
626
501
  await poller.poll();
627
502
  return poller;
@@ -651,14 +526,19 @@ class SqlResourcesImpl {
651
526
  return this.client.sendOperationRequest(args, spec);
652
527
  };
653
528
  const sendOperationFn = async (args, spec) => {
654
- var _a;
655
529
  let currentRawResponse = undefined;
656
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
530
+ const providedCallback = args.options?.onResponse;
657
531
  const callback = (rawResponse, flatResponse) => {
658
532
  currentRawResponse = rawResponse;
659
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
533
+ providedCallback?.(rawResponse, flatResponse);
534
+ };
535
+ const updatedArgs = {
536
+ ...args,
537
+ options: {
538
+ ...args.options,
539
+ onResponse: callback,
540
+ },
660
541
  };
661
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
662
542
  const flatResponse = await directSendOperation(updatedArgs, spec);
663
543
  return {
664
544
  flatResponse,
@@ -675,8 +555,8 @@ class SqlResourcesImpl {
675
555
  spec: migrateSqlDatabaseToAutoscaleOperationSpec,
676
556
  });
677
557
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
678
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
679
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
558
+ restoreFrom: options?.resumeFrom,
559
+ intervalInMs: options?.updateIntervalInMs,
680
560
  });
681
561
  await poller.poll();
682
562
  return poller;
@@ -704,14 +584,19 @@ class SqlResourcesImpl {
704
584
  return this.client.sendOperationRequest(args, spec);
705
585
  };
706
586
  const sendOperationFn = async (args, spec) => {
707
- var _a;
708
587
  let currentRawResponse = undefined;
709
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
588
+ const providedCallback = args.options?.onResponse;
710
589
  const callback = (rawResponse, flatResponse) => {
711
590
  currentRawResponse = rawResponse;
712
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
591
+ providedCallback?.(rawResponse, flatResponse);
592
+ };
593
+ const updatedArgs = {
594
+ ...args,
595
+ options: {
596
+ ...args.options,
597
+ onResponse: callback,
598
+ },
713
599
  };
714
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
715
600
  const flatResponse = await directSendOperation(updatedArgs, spec);
716
601
  return {
717
602
  flatResponse,
@@ -728,8 +613,8 @@ class SqlResourcesImpl {
728
613
  spec: migrateSqlDatabaseToManualThroughputOperationSpec,
729
614
  });
730
615
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
731
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
732
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
616
+ restoreFrom: options?.resumeFrom,
617
+ intervalInMs: options?.updateIntervalInMs,
733
618
  });
734
619
  await poller.poll();
735
620
  return poller;
@@ -745,101 +630,6 @@ class SqlResourcesImpl {
745
630
  const poller = await this.beginMigrateSqlDatabaseToManualThroughput(resourceGroupName, accountName, databaseName, options);
746
631
  return poller.pollUntilDone();
747
632
  }
748
- /**
749
- * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.
750
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
751
- * @param accountName Cosmos DB database account name.
752
- * @param databaseName Cosmos DB database name.
753
- * @param options The options parameters.
754
- */
755
- _listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options) {
756
- return this.client.sendOperationRequest({ resourceGroupName, accountName, databaseName, options }, listClientEncryptionKeysOperationSpec);
757
- }
758
- /**
759
- * Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database.
760
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
761
- * @param accountName Cosmos DB database account name.
762
- * @param databaseName Cosmos DB database name.
763
- * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
764
- * @param options The options parameters.
765
- */
766
- getClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, options) {
767
- return this.client.sendOperationRequest({
768
- resourceGroupName,
769
- accountName,
770
- databaseName,
771
- clientEncryptionKeyName,
772
- options,
773
- }, getClientEncryptionKeyOperationSpec);
774
- }
775
- /**
776
- * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure
777
- * Powershell (instead of directly).
778
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
779
- * @param accountName Cosmos DB database account name.
780
- * @param databaseName Cosmos DB database name.
781
- * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
782
- * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption
783
- * key.
784
- * @param options The options parameters.
785
- */
786
- async beginCreateUpdateClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options) {
787
- const directSendOperation = async (args, spec) => {
788
- return this.client.sendOperationRequest(args, spec);
789
- };
790
- const sendOperationFn = async (args, spec) => {
791
- var _a;
792
- let currentRawResponse = undefined;
793
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
794
- const callback = (rawResponse, flatResponse) => {
795
- currentRawResponse = rawResponse;
796
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
797
- };
798
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
799
- const flatResponse = await directSendOperation(updatedArgs, spec);
800
- return {
801
- flatResponse,
802
- rawResponse: {
803
- statusCode: currentRawResponse.status,
804
- body: currentRawResponse.parsedBody,
805
- headers: currentRawResponse.headers.toJSON(),
806
- },
807
- };
808
- };
809
- const lro = (0, lroImpl_js_1.createLroSpec)({
810
- sendOperationFn,
811
- args: {
812
- resourceGroupName,
813
- accountName,
814
- databaseName,
815
- clientEncryptionKeyName,
816
- createUpdateClientEncryptionKeyParameters,
817
- options,
818
- },
819
- spec: createUpdateClientEncryptionKeyOperationSpec,
820
- });
821
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
822
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
823
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
824
- });
825
- await poller.poll();
826
- return poller;
827
- }
828
- /**
829
- * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure
830
- * Powershell (instead of directly).
831
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
832
- * @param accountName Cosmos DB database account name.
833
- * @param databaseName Cosmos DB database name.
834
- * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
835
- * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption
836
- * key.
837
- * @param options The options parameters.
838
- */
839
- async beginCreateUpdateClientEncryptionKeyAndWait(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options) {
840
- const poller = await this.beginCreateUpdateClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options);
841
- return poller.pollUntilDone();
842
- }
843
633
  /**
844
634
  * Lists the SQL container under an existing Azure Cosmos DB database account.
845
635
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -875,14 +665,19 @@ class SqlResourcesImpl {
875
665
  return this.client.sendOperationRequest(args, spec);
876
666
  };
877
667
  const sendOperationFn = async (args, spec) => {
878
- var _a;
879
668
  let currentRawResponse = undefined;
880
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
669
+ const providedCallback = args.options?.onResponse;
881
670
  const callback = (rawResponse, flatResponse) => {
882
671
  currentRawResponse = rawResponse;
883
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
672
+ providedCallback?.(rawResponse, flatResponse);
673
+ };
674
+ const updatedArgs = {
675
+ ...args,
676
+ options: {
677
+ ...args.options,
678
+ onResponse: callback,
679
+ },
884
680
  };
885
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
886
681
  const flatResponse = await directSendOperation(updatedArgs, spec);
887
682
  return {
888
683
  flatResponse,
@@ -906,8 +701,8 @@ class SqlResourcesImpl {
906
701
  spec: createUpdateSqlContainerOperationSpec,
907
702
  });
908
703
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
909
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
910
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
704
+ restoreFrom: options?.resumeFrom,
705
+ intervalInMs: options?.updateIntervalInMs,
911
706
  });
912
707
  await poller.poll();
913
708
  return poller;
@@ -938,14 +733,19 @@ class SqlResourcesImpl {
938
733
  return this.client.sendOperationRequest(args, spec);
939
734
  };
940
735
  const sendOperationFn = async (args, spec) => {
941
- var _a;
942
736
  let currentRawResponse = undefined;
943
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
737
+ const providedCallback = args.options?.onResponse;
944
738
  const callback = (rawResponse, flatResponse) => {
945
739
  currentRawResponse = rawResponse;
946
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
740
+ providedCallback?.(rawResponse, flatResponse);
741
+ };
742
+ const updatedArgs = {
743
+ ...args,
744
+ options: {
745
+ ...args.options,
746
+ onResponse: callback,
747
+ },
947
748
  };
948
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
949
749
  const flatResponse = await directSendOperation(updatedArgs, spec);
950
750
  return {
951
751
  flatResponse,
@@ -968,8 +768,8 @@ class SqlResourcesImpl {
968
768
  spec: deleteSqlContainerOperationSpec,
969
769
  });
970
770
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
971
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
972
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
771
+ restoreFrom: options?.resumeFrom,
772
+ intervalInMs: options?.updateIntervalInMs,
973
773
  });
974
774
  await poller.poll();
975
775
  return poller;
@@ -986,133 +786,6 @@ class SqlResourcesImpl {
986
786
  const poller = await this.beginDeleteSqlContainer(resourceGroupName, accountName, databaseName, containerName, options);
987
787
  return poller.pollUntilDone();
988
788
  }
989
- /**
990
- * Merges the partitions of a SQL database
991
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
992
- * @param accountName Cosmos DB database account name.
993
- * @param databaseName Cosmos DB database name.
994
- * @param mergeParameters The parameters for the merge operation.
995
- * @param options The options parameters.
996
- */
997
- async beginSqlDatabasePartitionMerge(resourceGroupName, accountName, databaseName, mergeParameters, options) {
998
- const directSendOperation = async (args, spec) => {
999
- return this.client.sendOperationRequest(args, spec);
1000
- };
1001
- const sendOperationFn = async (args, spec) => {
1002
- var _a;
1003
- let currentRawResponse = undefined;
1004
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1005
- const callback = (rawResponse, flatResponse) => {
1006
- currentRawResponse = rawResponse;
1007
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1008
- };
1009
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1010
- const flatResponse = await directSendOperation(updatedArgs, spec);
1011
- return {
1012
- flatResponse,
1013
- rawResponse: {
1014
- statusCode: currentRawResponse.status,
1015
- body: currentRawResponse.parsedBody,
1016
- headers: currentRawResponse.headers.toJSON(),
1017
- },
1018
- };
1019
- };
1020
- const lro = (0, lroImpl_js_1.createLroSpec)({
1021
- sendOperationFn,
1022
- args: {
1023
- resourceGroupName,
1024
- accountName,
1025
- databaseName,
1026
- mergeParameters,
1027
- options,
1028
- },
1029
- spec: sqlDatabasePartitionMergeOperationSpec,
1030
- });
1031
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
1032
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1033
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1034
- resourceLocationConfig: "location",
1035
- });
1036
- await poller.poll();
1037
- return poller;
1038
- }
1039
- /**
1040
- * Merges the partitions of a SQL database
1041
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1042
- * @param accountName Cosmos DB database account name.
1043
- * @param databaseName Cosmos DB database name.
1044
- * @param mergeParameters The parameters for the merge operation.
1045
- * @param options The options parameters.
1046
- */
1047
- async beginSqlDatabasePartitionMergeAndWait(resourceGroupName, accountName, databaseName, mergeParameters, options) {
1048
- const poller = await this.beginSqlDatabasePartitionMerge(resourceGroupName, accountName, databaseName, mergeParameters, options);
1049
- return poller.pollUntilDone();
1050
- }
1051
- /**
1052
- * Merges the partitions of a SQL Container
1053
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1054
- * @param accountName Cosmos DB database account name.
1055
- * @param databaseName Cosmos DB database name.
1056
- * @param containerName Cosmos DB container name.
1057
- * @param mergeParameters The parameters for the merge operation.
1058
- * @param options The options parameters.
1059
- */
1060
- async beginListSqlContainerPartitionMerge(resourceGroupName, accountName, databaseName, containerName, mergeParameters, options) {
1061
- const directSendOperation = async (args, spec) => {
1062
- return this.client.sendOperationRequest(args, spec);
1063
- };
1064
- const sendOperationFn = async (args, spec) => {
1065
- var _a;
1066
- let currentRawResponse = undefined;
1067
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1068
- const callback = (rawResponse, flatResponse) => {
1069
- currentRawResponse = rawResponse;
1070
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1071
- };
1072
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1073
- const flatResponse = await directSendOperation(updatedArgs, spec);
1074
- return {
1075
- flatResponse,
1076
- rawResponse: {
1077
- statusCode: currentRawResponse.status,
1078
- body: currentRawResponse.parsedBody,
1079
- headers: currentRawResponse.headers.toJSON(),
1080
- },
1081
- };
1082
- };
1083
- const lro = (0, lroImpl_js_1.createLroSpec)({
1084
- sendOperationFn,
1085
- args: {
1086
- resourceGroupName,
1087
- accountName,
1088
- databaseName,
1089
- containerName,
1090
- mergeParameters,
1091
- options,
1092
- },
1093
- spec: listSqlContainerPartitionMergeOperationSpec,
1094
- });
1095
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
1096
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1097
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1098
- resourceLocationConfig: "location",
1099
- });
1100
- await poller.poll();
1101
- return poller;
1102
- }
1103
- /**
1104
- * Merges the partitions of a SQL Container
1105
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1106
- * @param accountName Cosmos DB database account name.
1107
- * @param databaseName Cosmos DB database name.
1108
- * @param containerName Cosmos DB container name.
1109
- * @param mergeParameters The parameters for the merge operation.
1110
- * @param options The options parameters.
1111
- */
1112
- async beginListSqlContainerPartitionMergeAndWait(resourceGroupName, accountName, databaseName, containerName, mergeParameters, options) {
1113
- const poller = await this.beginListSqlContainerPartitionMerge(resourceGroupName, accountName, databaseName, containerName, mergeParameters, options);
1114
- return poller.pollUntilDone();
1115
- }
1116
789
  /**
1117
790
  * Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
1118
791
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -1139,14 +812,19 @@ class SqlResourcesImpl {
1139
812
  return this.client.sendOperationRequest(args, spec);
1140
813
  };
1141
814
  const sendOperationFn = async (args, spec) => {
1142
- var _a;
1143
815
  let currentRawResponse = undefined;
1144
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
816
+ const providedCallback = args.options?.onResponse;
1145
817
  const callback = (rawResponse, flatResponse) => {
1146
818
  currentRawResponse = rawResponse;
1147
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
819
+ providedCallback?.(rawResponse, flatResponse);
820
+ };
821
+ const updatedArgs = {
822
+ ...args,
823
+ options: {
824
+ ...args.options,
825
+ onResponse: callback,
826
+ },
1148
827
  };
1149
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1150
828
  const flatResponse = await directSendOperation(updatedArgs, spec);
1151
829
  return {
1152
830
  flatResponse,
@@ -1170,8 +848,8 @@ class SqlResourcesImpl {
1170
848
  spec: updateSqlContainerThroughputOperationSpec,
1171
849
  });
1172
850
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
1173
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1174
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
851
+ restoreFrom: options?.resumeFrom,
852
+ intervalInMs: options?.updateIntervalInMs,
1175
853
  });
1176
854
  await poller.poll();
1177
855
  return poller;
@@ -1203,14 +881,19 @@ class SqlResourcesImpl {
1203
881
  return this.client.sendOperationRequest(args, spec);
1204
882
  };
1205
883
  const sendOperationFn = async (args, spec) => {
1206
- var _a;
1207
884
  let currentRawResponse = undefined;
1208
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
885
+ const providedCallback = args.options?.onResponse;
1209
886
  const callback = (rawResponse, flatResponse) => {
1210
887
  currentRawResponse = rawResponse;
1211
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
888
+ providedCallback?.(rawResponse, flatResponse);
889
+ };
890
+ const updatedArgs = {
891
+ ...args,
892
+ options: {
893
+ ...args.options,
894
+ onResponse: callback,
895
+ },
1212
896
  };
1213
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1214
897
  const flatResponse = await directSendOperation(updatedArgs, spec);
1215
898
  return {
1216
899
  flatResponse,
@@ -1233,8 +916,8 @@ class SqlResourcesImpl {
1233
916
  spec: migrateSqlContainerToAutoscaleOperationSpec,
1234
917
  });
1235
918
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
1236
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1237
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
919
+ restoreFrom: options?.resumeFrom,
920
+ intervalInMs: options?.updateIntervalInMs,
1238
921
  });
1239
922
  await poller.poll();
1240
923
  return poller;
@@ -1264,14 +947,19 @@ class SqlResourcesImpl {
1264
947
  return this.client.sendOperationRequest(args, spec);
1265
948
  };
1266
949
  const sendOperationFn = async (args, spec) => {
1267
- var _a;
1268
950
  let currentRawResponse = undefined;
1269
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
951
+ const providedCallback = args.options?.onResponse;
1270
952
  const callback = (rawResponse, flatResponse) => {
1271
953
  currentRawResponse = rawResponse;
1272
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
954
+ providedCallback?.(rawResponse, flatResponse);
955
+ };
956
+ const updatedArgs = {
957
+ ...args,
958
+ options: {
959
+ ...args.options,
960
+ onResponse: callback,
961
+ },
1273
962
  };
1274
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1275
963
  const flatResponse = await directSendOperation(updatedArgs, spec);
1276
964
  return {
1277
965
  flatResponse,
@@ -1294,8 +982,8 @@ class SqlResourcesImpl {
1294
982
  spec: migrateSqlContainerToManualThroughputOperationSpec,
1295
983
  });
1296
984
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
1297
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1298
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
985
+ restoreFrom: options?.resumeFrom,
986
+ intervalInMs: options?.updateIntervalInMs,
1299
987
  });
1300
988
  await poller.poll();
1301
989
  return poller;
@@ -1313,223 +1001,61 @@ class SqlResourcesImpl {
1313
1001
  return poller.pollUntilDone();
1314
1002
  }
1315
1003
  /**
1316
- * Retrieve throughput distribution for an Azure Cosmos DB SQL database
1317
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1318
- * @param accountName Cosmos DB database account name.
1319
- * @param databaseName Cosmos DB database name.
1320
- * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
1321
- * for the current SQL database.
1322
- * @param options The options parameters.
1323
- */
1324
- async beginSqlDatabaseRetrieveThroughputDistribution(resourceGroupName, accountName, databaseName, retrieveThroughputParameters, options) {
1325
- const directSendOperation = async (args, spec) => {
1326
- return this.client.sendOperationRequest(args, spec);
1327
- };
1328
- const sendOperationFn = async (args, spec) => {
1329
- var _a;
1330
- let currentRawResponse = undefined;
1331
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1332
- const callback = (rawResponse, flatResponse) => {
1333
- currentRawResponse = rawResponse;
1334
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1335
- };
1336
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1337
- const flatResponse = await directSendOperation(updatedArgs, spec);
1338
- return {
1339
- flatResponse,
1340
- rawResponse: {
1341
- statusCode: currentRawResponse.status,
1342
- body: currentRawResponse.parsedBody,
1343
- headers: currentRawResponse.headers.toJSON(),
1344
- },
1345
- };
1346
- };
1347
- const lro = (0, lroImpl_js_1.createLroSpec)({
1348
- sendOperationFn,
1349
- args: {
1350
- resourceGroupName,
1351
- accountName,
1352
- databaseName,
1353
- retrieveThroughputParameters,
1354
- options,
1355
- },
1356
- spec: sqlDatabaseRetrieveThroughputDistributionOperationSpec,
1357
- });
1358
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
1359
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1360
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1361
- resourceLocationConfig: "location",
1362
- });
1363
- await poller.poll();
1364
- return poller;
1365
- }
1366
- /**
1367
- * Retrieve throughput distribution for an Azure Cosmos DB SQL database
1368
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1369
- * @param accountName Cosmos DB database account name.
1370
- * @param databaseName Cosmos DB database name.
1371
- * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
1372
- * for the current SQL database.
1373
- * @param options The options parameters.
1374
- */
1375
- async beginSqlDatabaseRetrieveThroughputDistributionAndWait(resourceGroupName, accountName, databaseName, retrieveThroughputParameters, options) {
1376
- const poller = await this.beginSqlDatabaseRetrieveThroughputDistribution(resourceGroupName, accountName, databaseName, retrieveThroughputParameters, options);
1377
- return poller.pollUntilDone();
1378
- }
1379
- /**
1380
- * Redistribute throughput for an Azure Cosmos DB SQL database
1381
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1382
- * @param accountName Cosmos DB database account name.
1383
- * @param databaseName Cosmos DB database name.
1384
- * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for
1385
- * the current SQL database.
1386
- * @param options The options parameters.
1387
- */
1388
- async beginSqlDatabaseRedistributeThroughput(resourceGroupName, accountName, databaseName, redistributeThroughputParameters, options) {
1389
- const directSendOperation = async (args, spec) => {
1390
- return this.client.sendOperationRequest(args, spec);
1391
- };
1392
- const sendOperationFn = async (args, spec) => {
1393
- var _a;
1394
- let currentRawResponse = undefined;
1395
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1396
- const callback = (rawResponse, flatResponse) => {
1397
- currentRawResponse = rawResponse;
1398
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1399
- };
1400
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1401
- const flatResponse = await directSendOperation(updatedArgs, spec);
1402
- return {
1403
- flatResponse,
1404
- rawResponse: {
1405
- statusCode: currentRawResponse.status,
1406
- body: currentRawResponse.parsedBody,
1407
- headers: currentRawResponse.headers.toJSON(),
1408
- },
1409
- };
1410
- };
1411
- const lro = (0, lroImpl_js_1.createLroSpec)({
1412
- sendOperationFn,
1413
- args: {
1414
- resourceGroupName,
1415
- accountName,
1416
- databaseName,
1417
- redistributeThroughputParameters,
1418
- options,
1419
- },
1420
- spec: sqlDatabaseRedistributeThroughputOperationSpec,
1421
- });
1422
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
1423
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1424
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1425
- resourceLocationConfig: "location",
1426
- });
1427
- await poller.poll();
1428
- return poller;
1429
- }
1430
- /**
1431
- * Redistribute throughput for an Azure Cosmos DB SQL database
1432
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1433
- * @param accountName Cosmos DB database account name.
1434
- * @param databaseName Cosmos DB database name.
1435
- * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for
1436
- * the current SQL database.
1437
- * @param options The options parameters.
1438
- */
1439
- async beginSqlDatabaseRedistributeThroughputAndWait(resourceGroupName, accountName, databaseName, redistributeThroughputParameters, options) {
1440
- const poller = await this.beginSqlDatabaseRedistributeThroughput(resourceGroupName, accountName, databaseName, redistributeThroughputParameters, options);
1441
- return poller.pollUntilDone();
1442
- }
1443
- /**
1444
- * Retrieve throughput distribution for an Azure Cosmos DB SQL container
1004
+ * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.
1445
1005
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1446
1006
  * @param accountName Cosmos DB database account name.
1447
1007
  * @param databaseName Cosmos DB database name.
1448
- * @param containerName Cosmos DB container name.
1449
- * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
1450
- * for the current SQL container.
1451
1008
  * @param options The options parameters.
1452
1009
  */
1453
- async beginSqlContainerRetrieveThroughputDistribution(resourceGroupName, accountName, databaseName, containerName, retrieveThroughputParameters, options) {
1454
- const directSendOperation = async (args, spec) => {
1455
- return this.client.sendOperationRequest(args, spec);
1456
- };
1457
- const sendOperationFn = async (args, spec) => {
1458
- var _a;
1459
- let currentRawResponse = undefined;
1460
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1461
- const callback = (rawResponse, flatResponse) => {
1462
- currentRawResponse = rawResponse;
1463
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1464
- };
1465
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1466
- const flatResponse = await directSendOperation(updatedArgs, spec);
1467
- return {
1468
- flatResponse,
1469
- rawResponse: {
1470
- statusCode: currentRawResponse.status,
1471
- body: currentRawResponse.parsedBody,
1472
- headers: currentRawResponse.headers.toJSON(),
1473
- },
1474
- };
1475
- };
1476
- const lro = (0, lroImpl_js_1.createLroSpec)({
1477
- sendOperationFn,
1478
- args: {
1479
- resourceGroupName,
1480
- accountName,
1481
- databaseName,
1482
- containerName,
1483
- retrieveThroughputParameters,
1484
- options,
1485
- },
1486
- spec: sqlContainerRetrieveThroughputDistributionOperationSpec,
1487
- });
1488
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
1489
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1490
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1491
- resourceLocationConfig: "location",
1492
- });
1493
- await poller.poll();
1494
- return poller;
1010
+ _listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options) {
1011
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, databaseName, options }, listClientEncryptionKeysOperationSpec);
1495
1012
  }
1496
1013
  /**
1497
- * Retrieve throughput distribution for an Azure Cosmos DB SQL container
1014
+ * Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database.
1498
1015
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1499
1016
  * @param accountName Cosmos DB database account name.
1500
1017
  * @param databaseName Cosmos DB database name.
1501
- * @param containerName Cosmos DB container name.
1502
- * @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
1503
- * for the current SQL container.
1018
+ * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
1504
1019
  * @param options The options parameters.
1505
1020
  */
1506
- async beginSqlContainerRetrieveThroughputDistributionAndWait(resourceGroupName, accountName, databaseName, containerName, retrieveThroughputParameters, options) {
1507
- const poller = await this.beginSqlContainerRetrieveThroughputDistribution(resourceGroupName, accountName, databaseName, containerName, retrieveThroughputParameters, options);
1508
- return poller.pollUntilDone();
1021
+ getClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, options) {
1022
+ return this.client.sendOperationRequest({
1023
+ resourceGroupName,
1024
+ accountName,
1025
+ databaseName,
1026
+ clientEncryptionKeyName,
1027
+ options,
1028
+ }, getClientEncryptionKeyOperationSpec);
1509
1029
  }
1510
1030
  /**
1511
- * Redistribute throughput for an Azure Cosmos DB SQL container
1031
+ * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure
1032
+ * Powershell (instead of directly).
1512
1033
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1513
1034
  * @param accountName Cosmos DB database account name.
1514
1035
  * @param databaseName Cosmos DB database name.
1515
- * @param containerName Cosmos DB container name.
1516
- * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for
1517
- * the current SQL container.
1036
+ * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
1037
+ * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption
1038
+ * key.
1518
1039
  * @param options The options parameters.
1519
1040
  */
1520
- async beginSqlContainerRedistributeThroughput(resourceGroupName, accountName, databaseName, containerName, redistributeThroughputParameters, options) {
1041
+ async beginCreateUpdateClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options) {
1521
1042
  const directSendOperation = async (args, spec) => {
1522
1043
  return this.client.sendOperationRequest(args, spec);
1523
1044
  };
1524
1045
  const sendOperationFn = async (args, spec) => {
1525
- var _a;
1526
1046
  let currentRawResponse = undefined;
1527
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1047
+ const providedCallback = args.options?.onResponse;
1528
1048
  const callback = (rawResponse, flatResponse) => {
1529
1049
  currentRawResponse = rawResponse;
1530
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1050
+ providedCallback?.(rawResponse, flatResponse);
1051
+ };
1052
+ const updatedArgs = {
1053
+ ...args,
1054
+ options: {
1055
+ ...args.options,
1056
+ onResponse: callback,
1057
+ },
1531
1058
  };
1532
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1533
1059
  const flatResponse = await directSendOperation(updatedArgs, spec);
1534
1060
  return {
1535
1061
  flatResponse,
@@ -1546,32 +1072,32 @@ class SqlResourcesImpl {
1546
1072
  resourceGroupName,
1547
1073
  accountName,
1548
1074
  databaseName,
1549
- containerName,
1550
- redistributeThroughputParameters,
1075
+ clientEncryptionKeyName,
1076
+ createUpdateClientEncryptionKeyParameters,
1551
1077
  options,
1552
1078
  },
1553
- spec: sqlContainerRedistributeThroughputOperationSpec,
1079
+ spec: createUpdateClientEncryptionKeyOperationSpec,
1554
1080
  });
1555
1081
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
1556
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1557
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1558
- resourceLocationConfig: "location",
1082
+ restoreFrom: options?.resumeFrom,
1083
+ intervalInMs: options?.updateIntervalInMs,
1559
1084
  });
1560
1085
  await poller.poll();
1561
1086
  return poller;
1562
1087
  }
1563
1088
  /**
1564
- * Redistribute throughput for an Azure Cosmos DB SQL container
1089
+ * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure
1090
+ * Powershell (instead of directly).
1565
1091
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1566
1092
  * @param accountName Cosmos DB database account name.
1567
1093
  * @param databaseName Cosmos DB database name.
1568
- * @param containerName Cosmos DB container name.
1569
- * @param redistributeThroughputParameters The parameters to provide for redistributing throughput for
1570
- * the current SQL container.
1094
+ * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
1095
+ * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption
1096
+ * key.
1571
1097
  * @param options The options parameters.
1572
1098
  */
1573
- async beginSqlContainerRedistributeThroughputAndWait(resourceGroupName, accountName, databaseName, containerName, redistributeThroughputParameters, options) {
1574
- const poller = await this.beginSqlContainerRedistributeThroughput(resourceGroupName, accountName, databaseName, containerName, redistributeThroughputParameters, options);
1099
+ async beginCreateUpdateClientEncryptionKeyAndWait(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options) {
1100
+ const poller = await this.beginCreateUpdateClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options);
1575
1101
  return poller.pollUntilDone();
1576
1102
  }
1577
1103
  /**
@@ -1620,14 +1146,19 @@ class SqlResourcesImpl {
1620
1146
  return this.client.sendOperationRequest(args, spec);
1621
1147
  };
1622
1148
  const sendOperationFn = async (args, spec) => {
1623
- var _a;
1624
1149
  let currentRawResponse = undefined;
1625
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1150
+ const providedCallback = args.options?.onResponse;
1626
1151
  const callback = (rawResponse, flatResponse) => {
1627
1152
  currentRawResponse = rawResponse;
1628
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1153
+ providedCallback?.(rawResponse, flatResponse);
1154
+ };
1155
+ const updatedArgs = {
1156
+ ...args,
1157
+ options: {
1158
+ ...args.options,
1159
+ onResponse: callback,
1160
+ },
1629
1161
  };
1630
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1631
1162
  const flatResponse = await directSendOperation(updatedArgs, spec);
1632
1163
  return {
1633
1164
  flatResponse,
@@ -1652,8 +1183,8 @@ class SqlResourcesImpl {
1652
1183
  spec: createUpdateSqlStoredProcedureOperationSpec,
1653
1184
  });
1654
1185
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
1655
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1656
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1186
+ restoreFrom: options?.resumeFrom,
1187
+ intervalInMs: options?.updateIntervalInMs,
1657
1188
  });
1658
1189
  await poller.poll();
1659
1190
  return poller;
@@ -1687,14 +1218,19 @@ class SqlResourcesImpl {
1687
1218
  return this.client.sendOperationRequest(args, spec);
1688
1219
  };
1689
1220
  const sendOperationFn = async (args, spec) => {
1690
- var _a;
1691
1221
  let currentRawResponse = undefined;
1692
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1222
+ const providedCallback = args.options?.onResponse;
1693
1223
  const callback = (rawResponse, flatResponse) => {
1694
1224
  currentRawResponse = rawResponse;
1695
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1225
+ providedCallback?.(rawResponse, flatResponse);
1226
+ };
1227
+ const updatedArgs = {
1228
+ ...args,
1229
+ options: {
1230
+ ...args.options,
1231
+ onResponse: callback,
1232
+ },
1696
1233
  };
1697
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1698
1234
  const flatResponse = await directSendOperation(updatedArgs, spec);
1699
1235
  return {
1700
1236
  flatResponse,
@@ -1718,8 +1254,8 @@ class SqlResourcesImpl {
1718
1254
  spec: deleteSqlStoredProcedureOperationSpec,
1719
1255
  });
1720
1256
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
1721
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1722
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1257
+ restoreFrom: options?.resumeFrom,
1258
+ intervalInMs: options?.updateIntervalInMs,
1723
1259
  });
1724
1260
  await poller.poll();
1725
1261
  return poller;
@@ -1783,14 +1319,19 @@ class SqlResourcesImpl {
1783
1319
  return this.client.sendOperationRequest(args, spec);
1784
1320
  };
1785
1321
  const sendOperationFn = async (args, spec) => {
1786
- var _a;
1787
1322
  let currentRawResponse = undefined;
1788
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1323
+ const providedCallback = args.options?.onResponse;
1789
1324
  const callback = (rawResponse, flatResponse) => {
1790
1325
  currentRawResponse = rawResponse;
1791
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1326
+ providedCallback?.(rawResponse, flatResponse);
1327
+ };
1328
+ const updatedArgs = {
1329
+ ...args,
1330
+ options: {
1331
+ ...args.options,
1332
+ onResponse: callback,
1333
+ },
1792
1334
  };
1793
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1794
1335
  const flatResponse = await directSendOperation(updatedArgs, spec);
1795
1336
  return {
1796
1337
  flatResponse,
@@ -1815,8 +1356,8 @@ class SqlResourcesImpl {
1815
1356
  spec: createUpdateSqlUserDefinedFunctionOperationSpec,
1816
1357
  });
1817
1358
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
1818
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1819
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1359
+ restoreFrom: options?.resumeFrom,
1360
+ intervalInMs: options?.updateIntervalInMs,
1820
1361
  });
1821
1362
  await poller.poll();
1822
1363
  return poller;
@@ -1850,14 +1391,19 @@ class SqlResourcesImpl {
1850
1391
  return this.client.sendOperationRequest(args, spec);
1851
1392
  };
1852
1393
  const sendOperationFn = async (args, spec) => {
1853
- var _a;
1854
1394
  let currentRawResponse = undefined;
1855
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1395
+ const providedCallback = args.options?.onResponse;
1856
1396
  const callback = (rawResponse, flatResponse) => {
1857
1397
  currentRawResponse = rawResponse;
1858
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1398
+ providedCallback?.(rawResponse, flatResponse);
1399
+ };
1400
+ const updatedArgs = {
1401
+ ...args,
1402
+ options: {
1403
+ ...args.options,
1404
+ onResponse: callback,
1405
+ },
1859
1406
  };
1860
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1861
1407
  const flatResponse = await directSendOperation(updatedArgs, spec);
1862
1408
  return {
1863
1409
  flatResponse,
@@ -1881,8 +1427,8 @@ class SqlResourcesImpl {
1881
1427
  spec: deleteSqlUserDefinedFunctionOperationSpec,
1882
1428
  });
1883
1429
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
1884
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1885
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1430
+ restoreFrom: options?.resumeFrom,
1431
+ intervalInMs: options?.updateIntervalInMs,
1886
1432
  });
1887
1433
  await poller.poll();
1888
1434
  return poller;
@@ -1945,14 +1491,19 @@ class SqlResourcesImpl {
1945
1491
  return this.client.sendOperationRequest(args, spec);
1946
1492
  };
1947
1493
  const sendOperationFn = async (args, spec) => {
1948
- var _a;
1949
1494
  let currentRawResponse = undefined;
1950
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1495
+ const providedCallback = args.options?.onResponse;
1951
1496
  const callback = (rawResponse, flatResponse) => {
1952
1497
  currentRawResponse = rawResponse;
1953
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1498
+ providedCallback?.(rawResponse, flatResponse);
1499
+ };
1500
+ const updatedArgs = {
1501
+ ...args,
1502
+ options: {
1503
+ ...args.options,
1504
+ onResponse: callback,
1505
+ },
1954
1506
  };
1955
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1956
1507
  const flatResponse = await directSendOperation(updatedArgs, spec);
1957
1508
  return {
1958
1509
  flatResponse,
@@ -1977,8 +1528,8 @@ class SqlResourcesImpl {
1977
1528
  spec: createUpdateSqlTriggerOperationSpec,
1978
1529
  });
1979
1530
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
1980
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1981
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1531
+ restoreFrom: options?.resumeFrom,
1532
+ intervalInMs: options?.updateIntervalInMs,
1982
1533
  });
1983
1534
  await poller.poll();
1984
1535
  return poller;
@@ -2011,14 +1562,19 @@ class SqlResourcesImpl {
2011
1562
  return this.client.sendOperationRequest(args, spec);
2012
1563
  };
2013
1564
  const sendOperationFn = async (args, spec) => {
2014
- var _a;
2015
1565
  let currentRawResponse = undefined;
2016
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1566
+ const providedCallback = args.options?.onResponse;
2017
1567
  const callback = (rawResponse, flatResponse) => {
2018
1568
  currentRawResponse = rawResponse;
2019
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1569
+ providedCallback?.(rawResponse, flatResponse);
1570
+ };
1571
+ const updatedArgs = {
1572
+ ...args,
1573
+ options: {
1574
+ ...args.options,
1575
+ onResponse: callback,
1576
+ },
2020
1577
  };
2021
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2022
1578
  const flatResponse = await directSendOperation(updatedArgs, spec);
2023
1579
  return {
2024
1580
  flatResponse,
@@ -2042,8 +1598,8 @@ class SqlResourcesImpl {
2042
1598
  spec: deleteSqlTriggerOperationSpec,
2043
1599
  });
2044
1600
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
2045
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2046
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1601
+ restoreFrom: options?.resumeFrom,
1602
+ intervalInMs: options?.updateIntervalInMs,
2047
1603
  });
2048
1604
  await poller.poll();
2049
1605
  return poller;
@@ -2085,14 +1641,19 @@ class SqlResourcesImpl {
2085
1641
  return this.client.sendOperationRequest(args, spec);
2086
1642
  };
2087
1643
  const sendOperationFn = async (args, spec) => {
2088
- var _a;
2089
1644
  let currentRawResponse = undefined;
2090
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1645
+ const providedCallback = args.options?.onResponse;
2091
1646
  const callback = (rawResponse, flatResponse) => {
2092
1647
  currentRawResponse = rawResponse;
2093
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1648
+ providedCallback?.(rawResponse, flatResponse);
1649
+ };
1650
+ const updatedArgs = {
1651
+ ...args,
1652
+ options: {
1653
+ ...args.options,
1654
+ onResponse: callback,
1655
+ },
2094
1656
  };
2095
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2096
1657
  const flatResponse = await directSendOperation(updatedArgs, spec);
2097
1658
  return {
2098
1659
  flatResponse,
@@ -2115,8 +1676,8 @@ class SqlResourcesImpl {
2115
1676
  spec: createUpdateSqlRoleDefinitionOperationSpec,
2116
1677
  });
2117
1678
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
2118
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2119
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1679
+ restoreFrom: options?.resumeFrom,
1680
+ intervalInMs: options?.updateIntervalInMs,
2120
1681
  });
2121
1682
  await poller.poll();
2122
1683
  return poller;
@@ -2146,14 +1707,19 @@ class SqlResourcesImpl {
2146
1707
  return this.client.sendOperationRequest(args, spec);
2147
1708
  };
2148
1709
  const sendOperationFn = async (args, spec) => {
2149
- var _a;
2150
1710
  let currentRawResponse = undefined;
2151
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1711
+ const providedCallback = args.options?.onResponse;
2152
1712
  const callback = (rawResponse, flatResponse) => {
2153
1713
  currentRawResponse = rawResponse;
2154
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1714
+ providedCallback?.(rawResponse, flatResponse);
1715
+ };
1716
+ const updatedArgs = {
1717
+ ...args,
1718
+ options: {
1719
+ ...args.options,
1720
+ onResponse: callback,
1721
+ },
2155
1722
  };
2156
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2157
1723
  const flatResponse = await directSendOperation(updatedArgs, spec);
2158
1724
  return {
2159
1725
  flatResponse,
@@ -2170,8 +1736,8 @@ class SqlResourcesImpl {
2170
1736
  spec: deleteSqlRoleDefinitionOperationSpec,
2171
1737
  });
2172
1738
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
2173
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2174
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1739
+ restoreFrom: options?.resumeFrom,
1740
+ intervalInMs: options?.updateIntervalInMs,
2175
1741
  });
2176
1742
  await poller.poll();
2177
1743
  return poller;
@@ -2220,14 +1786,19 @@ class SqlResourcesImpl {
2220
1786
  return this.client.sendOperationRequest(args, spec);
2221
1787
  };
2222
1788
  const sendOperationFn = async (args, spec) => {
2223
- var _a;
2224
1789
  let currentRawResponse = undefined;
2225
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1790
+ const providedCallback = args.options?.onResponse;
2226
1791
  const callback = (rawResponse, flatResponse) => {
2227
1792
  currentRawResponse = rawResponse;
2228
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1793
+ providedCallback?.(rawResponse, flatResponse);
1794
+ };
1795
+ const updatedArgs = {
1796
+ ...args,
1797
+ options: {
1798
+ ...args.options,
1799
+ onResponse: callback,
1800
+ },
2229
1801
  };
2230
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2231
1802
  const flatResponse = await directSendOperation(updatedArgs, spec);
2232
1803
  return {
2233
1804
  flatResponse,
@@ -2250,8 +1821,8 @@ class SqlResourcesImpl {
2250
1821
  spec: createUpdateSqlRoleAssignmentOperationSpec,
2251
1822
  });
2252
1823
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
2253
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2254
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1824
+ restoreFrom: options?.resumeFrom,
1825
+ intervalInMs: options?.updateIntervalInMs,
2255
1826
  });
2256
1827
  await poller.poll();
2257
1828
  return poller;
@@ -2281,14 +1852,19 @@ class SqlResourcesImpl {
2281
1852
  return this.client.sendOperationRequest(args, spec);
2282
1853
  };
2283
1854
  const sendOperationFn = async (args, spec) => {
2284
- var _a;
2285
1855
  let currentRawResponse = undefined;
2286
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1856
+ const providedCallback = args.options?.onResponse;
2287
1857
  const callback = (rawResponse, flatResponse) => {
2288
1858
  currentRawResponse = rawResponse;
2289
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1859
+ providedCallback?.(rawResponse, flatResponse);
1860
+ };
1861
+ const updatedArgs = {
1862
+ ...args,
1863
+ options: {
1864
+ ...args.options,
1865
+ onResponse: callback,
1866
+ },
2290
1867
  };
2291
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2292
1868
  const flatResponse = await directSendOperation(updatedArgs, spec);
2293
1869
  return {
2294
1870
  flatResponse,
@@ -2305,8 +1881,8 @@ class SqlResourcesImpl {
2305
1881
  spec: deleteSqlRoleAssignmentOperationSpec,
2306
1882
  });
2307
1883
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
2308
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2309
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1884
+ restoreFrom: options?.resumeFrom,
1885
+ intervalInMs: options?.updateIntervalInMs,
2310
1886
  });
2311
1887
  await poller.poll();
2312
1888
  return poller;
@@ -2345,14 +1921,19 @@ class SqlResourcesImpl {
2345
1921
  return this.client.sendOperationRequest(args, spec);
2346
1922
  };
2347
1923
  const sendOperationFn = async (args, spec) => {
2348
- var _a;
2349
1924
  let currentRawResponse = undefined;
2350
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1925
+ const providedCallback = args.options?.onResponse;
2351
1926
  const callback = (rawResponse, flatResponse) => {
2352
1927
  currentRawResponse = rawResponse;
2353
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1928
+ providedCallback?.(rawResponse, flatResponse);
1929
+ };
1930
+ const updatedArgs = {
1931
+ ...args,
1932
+ options: {
1933
+ ...args.options,
1934
+ onResponse: callback,
1935
+ },
2354
1936
  };
2355
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2356
1937
  const flatResponse = await directSendOperation(updatedArgs, spec);
2357
1938
  return {
2358
1939
  flatResponse,
@@ -2376,8 +1957,8 @@ class SqlResourcesImpl {
2376
1957
  spec: retrieveContinuousBackupInformationOperationSpec,
2377
1958
  });
2378
1959
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
2379
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2380
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1960
+ restoreFrom: options?.resumeFrom,
1961
+ intervalInMs: options?.updateIntervalInMs,
2381
1962
  resourceLocationConfig: "location",
2382
1963
  });
2383
1964
  await poller.poll();
@@ -2605,76 +2186,6 @@ const migrateSqlDatabaseToManualThroughputOperationSpec = {
2605
2186
  headerParameters: [Parameters.accept],
2606
2187
  serializer,
2607
2188
  };
2608
- const listClientEncryptionKeysOperationSpec = {
2609
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys",
2610
- httpMethod: "GET",
2611
- responses: {
2612
- 200: {
2613
- bodyMapper: Mappers.ClientEncryptionKeysListResult,
2614
- },
2615
- },
2616
- queryParameters: [Parameters.apiVersion],
2617
- urlParameters: [
2618
- Parameters.$host,
2619
- Parameters.subscriptionId,
2620
- Parameters.resourceGroupName,
2621
- Parameters.accountName,
2622
- Parameters.databaseName,
2623
- ],
2624
- headerParameters: [Parameters.accept],
2625
- serializer,
2626
- };
2627
- const getClientEncryptionKeyOperationSpec = {
2628
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}",
2629
- httpMethod: "GET",
2630
- responses: {
2631
- 200: {
2632
- bodyMapper: Mappers.ClientEncryptionKeyGetResults,
2633
- },
2634
- },
2635
- queryParameters: [Parameters.apiVersion],
2636
- urlParameters: [
2637
- Parameters.$host,
2638
- Parameters.subscriptionId,
2639
- Parameters.resourceGroupName,
2640
- Parameters.accountName,
2641
- Parameters.databaseName,
2642
- Parameters.clientEncryptionKeyName,
2643
- ],
2644
- headerParameters: [Parameters.accept],
2645
- serializer,
2646
- };
2647
- const createUpdateClientEncryptionKeyOperationSpec = {
2648
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}",
2649
- httpMethod: "PUT",
2650
- responses: {
2651
- 200: {
2652
- bodyMapper: Mappers.ClientEncryptionKeyGetResults,
2653
- },
2654
- 201: {
2655
- bodyMapper: Mappers.ClientEncryptionKeyGetResults,
2656
- },
2657
- 202: {
2658
- bodyMapper: Mappers.ClientEncryptionKeyGetResults,
2659
- },
2660
- 204: {
2661
- bodyMapper: Mappers.ClientEncryptionKeyGetResults,
2662
- },
2663
- },
2664
- requestBody: Parameters.createUpdateClientEncryptionKeyParameters,
2665
- queryParameters: [Parameters.apiVersion],
2666
- urlParameters: [
2667
- Parameters.$host,
2668
- Parameters.subscriptionId,
2669
- Parameters.resourceGroupName,
2670
- Parameters.accountName,
2671
- Parameters.databaseName,
2672
- Parameters.clientEncryptionKeyName,
2673
- ],
2674
- headerParameters: [Parameters.accept, Parameters.contentType],
2675
- mediaType: "json",
2676
- serializer,
2677
- };
2678
2189
  const listSqlContainersOperationSpec = {
2679
2190
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers",
2680
2191
  httpMethod: "GET",
@@ -2773,73 +2284,6 @@ const deleteSqlContainerOperationSpec = {
2773
2284
  ],
2774
2285
  serializer,
2775
2286
  };
2776
- const sqlDatabasePartitionMergeOperationSpec = {
2777
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/partitionMerge",
2778
- httpMethod: "POST",
2779
- responses: {
2780
- 200: {
2781
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2782
- },
2783
- 201: {
2784
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2785
- },
2786
- 202: {
2787
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2788
- },
2789
- 204: {
2790
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2791
- },
2792
- default: {
2793
- bodyMapper: Mappers.ErrorResponse,
2794
- },
2795
- },
2796
- requestBody: Parameters.mergeParameters,
2797
- queryParameters: [Parameters.apiVersion],
2798
- urlParameters: [
2799
- Parameters.$host,
2800
- Parameters.subscriptionId,
2801
- Parameters.resourceGroupName,
2802
- Parameters.accountName,
2803
- Parameters.databaseName,
2804
- ],
2805
- headerParameters: [Parameters.accept, Parameters.contentType],
2806
- mediaType: "json",
2807
- serializer,
2808
- };
2809
- const listSqlContainerPartitionMergeOperationSpec = {
2810
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/partitionMerge",
2811
- httpMethod: "POST",
2812
- responses: {
2813
- 200: {
2814
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2815
- },
2816
- 201: {
2817
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2818
- },
2819
- 202: {
2820
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2821
- },
2822
- 204: {
2823
- bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
2824
- },
2825
- default: {
2826
- bodyMapper: Mappers.ErrorResponse,
2827
- },
2828
- },
2829
- requestBody: Parameters.mergeParameters,
2830
- queryParameters: [Parameters.apiVersion],
2831
- urlParameters: [
2832
- Parameters.$host,
2833
- Parameters.subscriptionId,
2834
- Parameters.resourceGroupName,
2835
- Parameters.accountName,
2836
- Parameters.databaseName,
2837
- Parameters.containerName,
2838
- ],
2839
- headerParameters: [Parameters.accept, Parameters.contentType],
2840
- mediaType: "json",
2841
- serializer,
2842
- };
2843
2287
  const getSqlContainerThroughputOperationSpec = {
2844
2288
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default",
2845
2289
  httpMethod: "GET",
@@ -2955,60 +2399,14 @@ const migrateSqlContainerToManualThroughputOperationSpec = {
2955
2399
  headerParameters: [Parameters.accept],
2956
2400
  serializer,
2957
2401
  };
2958
- const sqlDatabaseRetrieveThroughputDistributionOperationSpec = {
2959
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/retrieveThroughputDistribution",
2960
- httpMethod: "POST",
2961
- responses: {
2962
- 200: {
2963
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2964
- },
2965
- 201: {
2966
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2967
- },
2968
- 202: {
2969
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2970
- },
2971
- 204: {
2972
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2973
- },
2974
- default: {
2975
- bodyMapper: Mappers.ErrorResponse,
2976
- },
2977
- },
2978
- requestBody: Parameters.retrieveThroughputParameters,
2979
- queryParameters: [Parameters.apiVersion],
2980
- urlParameters: [
2981
- Parameters.$host,
2982
- Parameters.subscriptionId,
2983
- Parameters.resourceGroupName,
2984
- Parameters.accountName,
2985
- Parameters.databaseName,
2986
- ],
2987
- headerParameters: [Parameters.accept, Parameters.contentType],
2988
- mediaType: "json",
2989
- serializer,
2990
- };
2991
- const sqlDatabaseRedistributeThroughputOperationSpec = {
2992
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/redistributeThroughput",
2993
- httpMethod: "POST",
2402
+ const listClientEncryptionKeysOperationSpec = {
2403
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys",
2404
+ httpMethod: "GET",
2994
2405
  responses: {
2995
2406
  200: {
2996
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2997
- },
2998
- 201: {
2999
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
3000
- },
3001
- 202: {
3002
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
3003
- },
3004
- 204: {
3005
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
3006
- },
3007
- default: {
3008
- bodyMapper: Mappers.ErrorResponse,
2407
+ bodyMapper: Mappers.ClientEncryptionKeysListResult,
3009
2408
  },
3010
2409
  },
3011
- requestBody: Parameters.redistributeThroughputParameters,
3012
2410
  queryParameters: [Parameters.apiVersion],
3013
2411
  urlParameters: [
3014
2412
  Parameters.$host,
@@ -3017,31 +2415,17 @@ const sqlDatabaseRedistributeThroughputOperationSpec = {
3017
2415
  Parameters.accountName,
3018
2416
  Parameters.databaseName,
3019
2417
  ],
3020
- headerParameters: [Parameters.accept, Parameters.contentType],
3021
- mediaType: "json",
2418
+ headerParameters: [Parameters.accept],
3022
2419
  serializer,
3023
2420
  };
3024
- const sqlContainerRetrieveThroughputDistributionOperationSpec = {
3025
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/retrieveThroughputDistribution",
3026
- httpMethod: "POST",
2421
+ const getClientEncryptionKeyOperationSpec = {
2422
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}",
2423
+ httpMethod: "GET",
3027
2424
  responses: {
3028
2425
  200: {
3029
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
3030
- },
3031
- 201: {
3032
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
3033
- },
3034
- 202: {
3035
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
3036
- },
3037
- 204: {
3038
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
3039
- },
3040
- default: {
3041
- bodyMapper: Mappers.ErrorResponse,
2426
+ bodyMapper: Mappers.ClientEncryptionKeyGetResults,
3042
2427
  },
3043
2428
  },
3044
- requestBody: Parameters.retrieveThroughputParameters,
3045
2429
  queryParameters: [Parameters.apiVersion],
3046
2430
  urlParameters: [
3047
2431
  Parameters.$host,
@@ -3049,33 +2433,29 @@ const sqlContainerRetrieveThroughputDistributionOperationSpec = {
3049
2433
  Parameters.resourceGroupName,
3050
2434
  Parameters.accountName,
3051
2435
  Parameters.databaseName,
3052
- Parameters.containerName,
2436
+ Parameters.clientEncryptionKeyName,
3053
2437
  ],
3054
- headerParameters: [Parameters.accept, Parameters.contentType],
3055
- mediaType: "json",
2438
+ headerParameters: [Parameters.accept],
3056
2439
  serializer,
3057
2440
  };
3058
- const sqlContainerRedistributeThroughputOperationSpec = {
3059
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/redistributeThroughput",
3060
- httpMethod: "POST",
2441
+ const createUpdateClientEncryptionKeyOperationSpec = {
2442
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}",
2443
+ httpMethod: "PUT",
3061
2444
  responses: {
3062
2445
  200: {
3063
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2446
+ bodyMapper: Mappers.ClientEncryptionKeyGetResults,
3064
2447
  },
3065
2448
  201: {
3066
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2449
+ bodyMapper: Mappers.ClientEncryptionKeyGetResults,
3067
2450
  },
3068
2451
  202: {
3069
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
2452
+ bodyMapper: Mappers.ClientEncryptionKeyGetResults,
3070
2453
  },
3071
2454
  204: {
3072
- bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
3073
- },
3074
- default: {
3075
- bodyMapper: Mappers.ErrorResponse,
2455
+ bodyMapper: Mappers.ClientEncryptionKeyGetResults,
3076
2456
  },
3077
2457
  },
3078
- requestBody: Parameters.redistributeThroughputParameters,
2458
+ requestBody: Parameters.createUpdateClientEncryptionKeyParameters,
3079
2459
  queryParameters: [Parameters.apiVersion],
3080
2460
  urlParameters: [
3081
2461
  Parameters.$host,
@@ -3083,7 +2463,7 @@ const sqlContainerRedistributeThroughputOperationSpec = {
3083
2463
  Parameters.resourceGroupName,
3084
2464
  Parameters.accountName,
3085
2465
  Parameters.databaseName,
3086
- Parameters.containerName,
2466
+ Parameters.clientEncryptionKeyName,
3087
2467
  ],
3088
2468
  headerParameters: [Parameters.accept, Parameters.contentType],
3089
2469
  mediaType: "json",