@azure/arm-cosmosdb 16.3.0-alpha.20250620.1 → 16.3.0-alpha.20250721.1

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 (331) hide show
  1. package/dist/browser/cosmosDBManagementClient.js +50 -5
  2. package/dist/browser/cosmosDBManagementClient.js.map +1 -1
  3. package/dist/browser/lroImpl.js +7 -3
  4. package/dist/browser/lroImpl.js.map +1 -1
  5. package/dist/browser/models/mappers.js +661 -279
  6. package/dist/browser/models/mappers.js.map +1 -1
  7. package/dist/browser/operations/cassandraClusters.js +85 -89
  8. package/dist/browser/operations/cassandraClusters.js.map +1 -1
  9. package/dist/browser/operations/cassandraDataCenters.js +43 -45
  10. package/dist/browser/operations/cassandraDataCenters.js.map +1 -1
  11. package/dist/browser/operations/cassandraResources.js +129 -113
  12. package/dist/browser/operations/cassandraResources.js.map +1 -1
  13. package/dist/browser/operations/collection.js +28 -79
  14. package/dist/browser/operations/collection.js.map +1 -1
  15. package/dist/browser/operations/collectionPartition.js +19 -53
  16. package/dist/browser/operations/collectionPartition.js.map +1 -1
  17. package/dist/browser/operations/collectionPartitionRegion.js +10 -27
  18. package/dist/browser/operations/collectionPartitionRegion.js.map +1 -1
  19. package/dist/browser/operations/collectionRegion.js +10 -27
  20. package/dist/browser/operations/collectionRegion.js.map +1 -1
  21. package/dist/browser/operations/database.js +28 -79
  22. package/dist/browser/operations/database.js.map +1 -1
  23. package/dist/browser/operations/databaseAccountRegion.js +10 -27
  24. package/dist/browser/operations/databaseAccountRegion.js.map +1 -1
  25. package/dist/browser/operations/databaseAccounts.js +123 -173
  26. package/dist/browser/operations/databaseAccounts.js.map +1 -1
  27. package/dist/browser/operations/gremlinResources.js +140 -119
  28. package/dist/browser/operations/gremlinResources.js.map +1 -1
  29. package/dist/browser/operations/locations.js +10 -27
  30. package/dist/browser/operations/locations.js.map +1 -1
  31. package/dist/browser/operations/mongoDBResources.js +202 -195
  32. package/dist/browser/operations/mongoDBResources.js.map +1 -1
  33. package/dist/browser/operations/notebookWorkspaces.js +54 -51
  34. package/dist/browser/operations/notebookWorkspaces.js.map +1 -1
  35. package/dist/browser/operations/operations.js +23 -40
  36. package/dist/browser/operations/operations.js.map +1 -1
  37. package/dist/browser/operations/partitionKeyRangeId.js +10 -27
  38. package/dist/browser/operations/partitionKeyRangeId.js.map +1 -1
  39. package/dist/browser/operations/partitionKeyRangeIdRegion.js +10 -27
  40. package/dist/browser/operations/partitionKeyRangeIdRegion.js.map +1 -1
  41. package/dist/browser/operations/percentile.js +10 -27
  42. package/dist/browser/operations/percentile.js.map +1 -1
  43. package/dist/browser/operations/percentileSourceTarget.js +10 -27
  44. package/dist/browser/operations/percentileSourceTarget.js.map +1 -1
  45. package/dist/browser/operations/percentileTarget.js +10 -27
  46. package/dist/browser/operations/percentileTarget.js.map +1 -1
  47. package/dist/browser/operations/privateEndpointConnections.js +32 -39
  48. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  49. package/dist/browser/operations/privateLinkResources.js +10 -27
  50. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  51. package/dist/browser/operations/restorableDatabaseAccounts.js +19 -53
  52. package/dist/browser/operations/restorableDatabaseAccounts.js.map +1 -1
  53. package/dist/browser/operations/restorableGremlinDatabases.js +10 -27
  54. package/dist/browser/operations/restorableGremlinDatabases.js.map +1 -1
  55. package/dist/browser/operations/restorableGremlinGraphs.js +10 -27
  56. package/dist/browser/operations/restorableGremlinGraphs.js.map +1 -1
  57. package/dist/browser/operations/restorableGremlinResources.js +10 -27
  58. package/dist/browser/operations/restorableGremlinResources.js.map +1 -1
  59. package/dist/browser/operations/restorableMongodbCollections.js +10 -27
  60. package/dist/browser/operations/restorableMongodbCollections.js.map +1 -1
  61. package/dist/browser/operations/restorableMongodbDatabases.js +10 -27
  62. package/dist/browser/operations/restorableMongodbDatabases.js.map +1 -1
  63. package/dist/browser/operations/restorableMongodbResources.js +10 -27
  64. package/dist/browser/operations/restorableMongodbResources.js.map +1 -1
  65. package/dist/browser/operations/restorableSqlContainers.js +10 -27
  66. package/dist/browser/operations/restorableSqlContainers.js.map +1 -1
  67. package/dist/browser/operations/restorableSqlDatabases.js +10 -27
  68. package/dist/browser/operations/restorableSqlDatabases.js.map +1 -1
  69. package/dist/browser/operations/restorableSqlResources.js +10 -27
  70. package/dist/browser/operations/restorableSqlResources.js.map +1 -1
  71. package/dist/browser/operations/restorableTableResources.js +10 -27
  72. package/dist/browser/operations/restorableTableResources.js.map +1 -1
  73. package/dist/browser/operations/restorableTables.js +10 -27
  74. package/dist/browser/operations/restorableTables.js.map +1 -1
  75. package/dist/browser/operations/service.js +32 -39
  76. package/dist/browser/operations/service.js.map +1 -1
  77. package/dist/browser/operations/sqlResources.js +315 -341
  78. package/dist/browser/operations/sqlResources.js.map +1 -1
  79. package/dist/browser/operations/tableResources.js +76 -63
  80. package/dist/browser/operations/tableResources.js.map +1 -1
  81. package/dist/browser/pagingHelper.js +2 -4
  82. package/dist/browser/pagingHelper.js.map +1 -1
  83. package/dist/commonjs/cosmosDBManagementClient.js +50 -5
  84. package/dist/commonjs/cosmosDBManagementClient.js.map +1 -1
  85. package/dist/commonjs/lroImpl.js +7 -3
  86. package/dist/commonjs/lroImpl.js.map +1 -1
  87. package/dist/commonjs/models/mappers.js +661 -279
  88. package/dist/commonjs/models/mappers.js.map +1 -1
  89. package/dist/commonjs/operations/cassandraClusters.js +85 -88
  90. package/dist/commonjs/operations/cassandraClusters.js.map +1 -1
  91. package/dist/commonjs/operations/cassandraDataCenters.js +43 -44
  92. package/dist/commonjs/operations/cassandraDataCenters.js.map +1 -1
  93. package/dist/commonjs/operations/cassandraResources.js +129 -112
  94. package/dist/commonjs/operations/cassandraResources.js.map +1 -1
  95. package/dist/commonjs/operations/collection.js +28 -78
  96. package/dist/commonjs/operations/collection.js.map +1 -1
  97. package/dist/commonjs/operations/collectionPartition.js +19 -52
  98. package/dist/commonjs/operations/collectionPartition.js.map +1 -1
  99. package/dist/commonjs/operations/collectionPartitionRegion.js +10 -26
  100. package/dist/commonjs/operations/collectionPartitionRegion.js.map +1 -1
  101. package/dist/commonjs/operations/collectionRegion.js +10 -26
  102. package/dist/commonjs/operations/collectionRegion.js.map +1 -1
  103. package/dist/commonjs/operations/database.js +28 -78
  104. package/dist/commonjs/operations/database.js.map +1 -1
  105. package/dist/commonjs/operations/databaseAccountRegion.js +10 -26
  106. package/dist/commonjs/operations/databaseAccountRegion.js.map +1 -1
  107. package/dist/commonjs/operations/databaseAccounts.js +123 -172
  108. package/dist/commonjs/operations/databaseAccounts.js.map +1 -1
  109. package/dist/commonjs/operations/gremlinResources.js +140 -118
  110. package/dist/commonjs/operations/gremlinResources.js.map +1 -1
  111. package/dist/commonjs/operations/locations.js +10 -26
  112. package/dist/commonjs/operations/locations.js.map +1 -1
  113. package/dist/commonjs/operations/mongoDBResources.js +202 -194
  114. package/dist/commonjs/operations/mongoDBResources.js.map +1 -1
  115. package/dist/commonjs/operations/notebookWorkspaces.js +54 -50
  116. package/dist/commonjs/operations/notebookWorkspaces.js.map +1 -1
  117. package/dist/commonjs/operations/operations.js +23 -39
  118. package/dist/commonjs/operations/operations.js.map +1 -1
  119. package/dist/commonjs/operations/partitionKeyRangeId.js +10 -26
  120. package/dist/commonjs/operations/partitionKeyRangeId.js.map +1 -1
  121. package/dist/commonjs/operations/partitionKeyRangeIdRegion.js +10 -26
  122. package/dist/commonjs/operations/partitionKeyRangeIdRegion.js.map +1 -1
  123. package/dist/commonjs/operations/percentile.js +10 -26
  124. package/dist/commonjs/operations/percentile.js.map +1 -1
  125. package/dist/commonjs/operations/percentileSourceTarget.js +10 -26
  126. package/dist/commonjs/operations/percentileSourceTarget.js.map +1 -1
  127. package/dist/commonjs/operations/percentileTarget.js +10 -26
  128. package/dist/commonjs/operations/percentileTarget.js.map +1 -1
  129. package/dist/commonjs/operations/privateEndpointConnections.js +32 -38
  130. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  131. package/dist/commonjs/operations/privateLinkResources.js +10 -26
  132. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  133. package/dist/commonjs/operations/restorableDatabaseAccounts.js +19 -52
  134. package/dist/commonjs/operations/restorableDatabaseAccounts.js.map +1 -1
  135. package/dist/commonjs/operations/restorableGremlinDatabases.js +10 -26
  136. package/dist/commonjs/operations/restorableGremlinDatabases.js.map +1 -1
  137. package/dist/commonjs/operations/restorableGremlinGraphs.js +10 -26
  138. package/dist/commonjs/operations/restorableGremlinGraphs.js.map +1 -1
  139. package/dist/commonjs/operations/restorableGremlinResources.js +10 -26
  140. package/dist/commonjs/operations/restorableGremlinResources.js.map +1 -1
  141. package/dist/commonjs/operations/restorableMongodbCollections.js +10 -26
  142. package/dist/commonjs/operations/restorableMongodbCollections.js.map +1 -1
  143. package/dist/commonjs/operations/restorableMongodbDatabases.js +10 -26
  144. package/dist/commonjs/operations/restorableMongodbDatabases.js.map +1 -1
  145. package/dist/commonjs/operations/restorableMongodbResources.js +10 -26
  146. package/dist/commonjs/operations/restorableMongodbResources.js.map +1 -1
  147. package/dist/commonjs/operations/restorableSqlContainers.js +10 -26
  148. package/dist/commonjs/operations/restorableSqlContainers.js.map +1 -1
  149. package/dist/commonjs/operations/restorableSqlDatabases.js +10 -26
  150. package/dist/commonjs/operations/restorableSqlDatabases.js.map +1 -1
  151. package/dist/commonjs/operations/restorableSqlResources.js +10 -26
  152. package/dist/commonjs/operations/restorableSqlResources.js.map +1 -1
  153. package/dist/commonjs/operations/restorableTableResources.js +10 -26
  154. package/dist/commonjs/operations/restorableTableResources.js.map +1 -1
  155. package/dist/commonjs/operations/restorableTables.js +10 -26
  156. package/dist/commonjs/operations/restorableTables.js.map +1 -1
  157. package/dist/commonjs/operations/service.js +32 -38
  158. package/dist/commonjs/operations/service.js.map +1 -1
  159. package/dist/commonjs/operations/sqlResources.js +315 -340
  160. package/dist/commonjs/operations/sqlResources.js.map +1 -1
  161. package/dist/commonjs/operations/tableResources.js +76 -62
  162. package/dist/commonjs/operations/tableResources.js.map +1 -1
  163. package/dist/commonjs/pagingHelper.js +2 -4
  164. package/dist/commonjs/pagingHelper.js.map +1 -1
  165. package/dist/commonjs/tsdoc-metadata.json +11 -11
  166. package/dist/esm/cosmosDBManagementClient.js +50 -5
  167. package/dist/esm/cosmosDBManagementClient.js.map +1 -1
  168. package/dist/esm/lroImpl.js +7 -3
  169. package/dist/esm/lroImpl.js.map +1 -1
  170. package/dist/esm/models/mappers.js +661 -279
  171. package/dist/esm/models/mappers.js.map +1 -1
  172. package/dist/esm/operations/cassandraClusters.js +85 -89
  173. package/dist/esm/operations/cassandraClusters.js.map +1 -1
  174. package/dist/esm/operations/cassandraDataCenters.js +43 -45
  175. package/dist/esm/operations/cassandraDataCenters.js.map +1 -1
  176. package/dist/esm/operations/cassandraResources.js +129 -113
  177. package/dist/esm/operations/cassandraResources.js.map +1 -1
  178. package/dist/esm/operations/collection.js +28 -79
  179. package/dist/esm/operations/collection.js.map +1 -1
  180. package/dist/esm/operations/collectionPartition.js +19 -53
  181. package/dist/esm/operations/collectionPartition.js.map +1 -1
  182. package/dist/esm/operations/collectionPartitionRegion.js +10 -27
  183. package/dist/esm/operations/collectionPartitionRegion.js.map +1 -1
  184. package/dist/esm/operations/collectionRegion.js +10 -27
  185. package/dist/esm/operations/collectionRegion.js.map +1 -1
  186. package/dist/esm/operations/database.js +28 -79
  187. package/dist/esm/operations/database.js.map +1 -1
  188. package/dist/esm/operations/databaseAccountRegion.js +10 -27
  189. package/dist/esm/operations/databaseAccountRegion.js.map +1 -1
  190. package/dist/esm/operations/databaseAccounts.js +123 -173
  191. package/dist/esm/operations/databaseAccounts.js.map +1 -1
  192. package/dist/esm/operations/gremlinResources.js +140 -119
  193. package/dist/esm/operations/gremlinResources.js.map +1 -1
  194. package/dist/esm/operations/locations.js +10 -27
  195. package/dist/esm/operations/locations.js.map +1 -1
  196. package/dist/esm/operations/mongoDBResources.js +202 -195
  197. package/dist/esm/operations/mongoDBResources.js.map +1 -1
  198. package/dist/esm/operations/notebookWorkspaces.js +54 -51
  199. package/dist/esm/operations/notebookWorkspaces.js.map +1 -1
  200. package/dist/esm/operations/operations.js +23 -40
  201. package/dist/esm/operations/operations.js.map +1 -1
  202. package/dist/esm/operations/partitionKeyRangeId.js +10 -27
  203. package/dist/esm/operations/partitionKeyRangeId.js.map +1 -1
  204. package/dist/esm/operations/partitionKeyRangeIdRegion.js +10 -27
  205. package/dist/esm/operations/partitionKeyRangeIdRegion.js.map +1 -1
  206. package/dist/esm/operations/percentile.js +10 -27
  207. package/dist/esm/operations/percentile.js.map +1 -1
  208. package/dist/esm/operations/percentileSourceTarget.js +10 -27
  209. package/dist/esm/operations/percentileSourceTarget.js.map +1 -1
  210. package/dist/esm/operations/percentileTarget.js +10 -27
  211. package/dist/esm/operations/percentileTarget.js.map +1 -1
  212. package/dist/esm/operations/privateEndpointConnections.js +32 -39
  213. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  214. package/dist/esm/operations/privateLinkResources.js +10 -27
  215. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  216. package/dist/esm/operations/restorableDatabaseAccounts.js +19 -53
  217. package/dist/esm/operations/restorableDatabaseAccounts.js.map +1 -1
  218. package/dist/esm/operations/restorableGremlinDatabases.js +10 -27
  219. package/dist/esm/operations/restorableGremlinDatabases.js.map +1 -1
  220. package/dist/esm/operations/restorableGremlinGraphs.js +10 -27
  221. package/dist/esm/operations/restorableGremlinGraphs.js.map +1 -1
  222. package/dist/esm/operations/restorableGremlinResources.js +10 -27
  223. package/dist/esm/operations/restorableGremlinResources.js.map +1 -1
  224. package/dist/esm/operations/restorableMongodbCollections.js +10 -27
  225. package/dist/esm/operations/restorableMongodbCollections.js.map +1 -1
  226. package/dist/esm/operations/restorableMongodbDatabases.js +10 -27
  227. package/dist/esm/operations/restorableMongodbDatabases.js.map +1 -1
  228. package/dist/esm/operations/restorableMongodbResources.js +10 -27
  229. package/dist/esm/operations/restorableMongodbResources.js.map +1 -1
  230. package/dist/esm/operations/restorableSqlContainers.js +10 -27
  231. package/dist/esm/operations/restorableSqlContainers.js.map +1 -1
  232. package/dist/esm/operations/restorableSqlDatabases.js +10 -27
  233. package/dist/esm/operations/restorableSqlDatabases.js.map +1 -1
  234. package/dist/esm/operations/restorableSqlResources.js +10 -27
  235. package/dist/esm/operations/restorableSqlResources.js.map +1 -1
  236. package/dist/esm/operations/restorableTableResources.js +10 -27
  237. package/dist/esm/operations/restorableTableResources.js.map +1 -1
  238. package/dist/esm/operations/restorableTables.js +10 -27
  239. package/dist/esm/operations/restorableTables.js.map +1 -1
  240. package/dist/esm/operations/service.js +32 -39
  241. package/dist/esm/operations/service.js.map +1 -1
  242. package/dist/esm/operations/sqlResources.js +315 -341
  243. package/dist/esm/operations/sqlResources.js.map +1 -1
  244. package/dist/esm/operations/tableResources.js +76 -63
  245. package/dist/esm/operations/tableResources.js.map +1 -1
  246. package/dist/esm/pagingHelper.js +2 -4
  247. package/dist/esm/pagingHelper.js.map +1 -1
  248. package/dist/react-native/cosmosDBManagementClient.js +50 -5
  249. package/dist/react-native/cosmosDBManagementClient.js.map +1 -1
  250. package/dist/react-native/lroImpl.js +7 -3
  251. package/dist/react-native/lroImpl.js.map +1 -1
  252. package/dist/react-native/models/mappers.js +661 -279
  253. package/dist/react-native/models/mappers.js.map +1 -1
  254. package/dist/react-native/operations/cassandraClusters.js +85 -89
  255. package/dist/react-native/operations/cassandraClusters.js.map +1 -1
  256. package/dist/react-native/operations/cassandraDataCenters.js +43 -45
  257. package/dist/react-native/operations/cassandraDataCenters.js.map +1 -1
  258. package/dist/react-native/operations/cassandraResources.js +129 -113
  259. package/dist/react-native/operations/cassandraResources.js.map +1 -1
  260. package/dist/react-native/operations/collection.js +28 -79
  261. package/dist/react-native/operations/collection.js.map +1 -1
  262. package/dist/react-native/operations/collectionPartition.js +19 -53
  263. package/dist/react-native/operations/collectionPartition.js.map +1 -1
  264. package/dist/react-native/operations/collectionPartitionRegion.js +10 -27
  265. package/dist/react-native/operations/collectionPartitionRegion.js.map +1 -1
  266. package/dist/react-native/operations/collectionRegion.js +10 -27
  267. package/dist/react-native/operations/collectionRegion.js.map +1 -1
  268. package/dist/react-native/operations/database.js +28 -79
  269. package/dist/react-native/operations/database.js.map +1 -1
  270. package/dist/react-native/operations/databaseAccountRegion.js +10 -27
  271. package/dist/react-native/operations/databaseAccountRegion.js.map +1 -1
  272. package/dist/react-native/operations/databaseAccounts.js +123 -173
  273. package/dist/react-native/operations/databaseAccounts.js.map +1 -1
  274. package/dist/react-native/operations/gremlinResources.js +140 -119
  275. package/dist/react-native/operations/gremlinResources.js.map +1 -1
  276. package/dist/react-native/operations/locations.js +10 -27
  277. package/dist/react-native/operations/locations.js.map +1 -1
  278. package/dist/react-native/operations/mongoDBResources.js +202 -195
  279. package/dist/react-native/operations/mongoDBResources.js.map +1 -1
  280. package/dist/react-native/operations/notebookWorkspaces.js +54 -51
  281. package/dist/react-native/operations/notebookWorkspaces.js.map +1 -1
  282. package/dist/react-native/operations/operations.js +23 -40
  283. package/dist/react-native/operations/operations.js.map +1 -1
  284. package/dist/react-native/operations/partitionKeyRangeId.js +10 -27
  285. package/dist/react-native/operations/partitionKeyRangeId.js.map +1 -1
  286. package/dist/react-native/operations/partitionKeyRangeIdRegion.js +10 -27
  287. package/dist/react-native/operations/partitionKeyRangeIdRegion.js.map +1 -1
  288. package/dist/react-native/operations/percentile.js +10 -27
  289. package/dist/react-native/operations/percentile.js.map +1 -1
  290. package/dist/react-native/operations/percentileSourceTarget.js +10 -27
  291. package/dist/react-native/operations/percentileSourceTarget.js.map +1 -1
  292. package/dist/react-native/operations/percentileTarget.js +10 -27
  293. package/dist/react-native/operations/percentileTarget.js.map +1 -1
  294. package/dist/react-native/operations/privateEndpointConnections.js +32 -39
  295. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  296. package/dist/react-native/operations/privateLinkResources.js +10 -27
  297. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  298. package/dist/react-native/operations/restorableDatabaseAccounts.js +19 -53
  299. package/dist/react-native/operations/restorableDatabaseAccounts.js.map +1 -1
  300. package/dist/react-native/operations/restorableGremlinDatabases.js +10 -27
  301. package/dist/react-native/operations/restorableGremlinDatabases.js.map +1 -1
  302. package/dist/react-native/operations/restorableGremlinGraphs.js +10 -27
  303. package/dist/react-native/operations/restorableGremlinGraphs.js.map +1 -1
  304. package/dist/react-native/operations/restorableGremlinResources.js +10 -27
  305. package/dist/react-native/operations/restorableGremlinResources.js.map +1 -1
  306. package/dist/react-native/operations/restorableMongodbCollections.js +10 -27
  307. package/dist/react-native/operations/restorableMongodbCollections.js.map +1 -1
  308. package/dist/react-native/operations/restorableMongodbDatabases.js +10 -27
  309. package/dist/react-native/operations/restorableMongodbDatabases.js.map +1 -1
  310. package/dist/react-native/operations/restorableMongodbResources.js +10 -27
  311. package/dist/react-native/operations/restorableMongodbResources.js.map +1 -1
  312. package/dist/react-native/operations/restorableSqlContainers.js +10 -27
  313. package/dist/react-native/operations/restorableSqlContainers.js.map +1 -1
  314. package/dist/react-native/operations/restorableSqlDatabases.js +10 -27
  315. package/dist/react-native/operations/restorableSqlDatabases.js.map +1 -1
  316. package/dist/react-native/operations/restorableSqlResources.js +10 -27
  317. package/dist/react-native/operations/restorableSqlResources.js.map +1 -1
  318. package/dist/react-native/operations/restorableTableResources.js +10 -27
  319. package/dist/react-native/operations/restorableTableResources.js.map +1 -1
  320. package/dist/react-native/operations/restorableTables.js +10 -27
  321. package/dist/react-native/operations/restorableTables.js.map +1 -1
  322. package/dist/react-native/operations/service.js +32 -39
  323. package/dist/react-native/operations/service.js.map +1 -1
  324. package/dist/react-native/operations/sqlResources.js +315 -341
  325. package/dist/react-native/operations/sqlResources.js.map +1 -1
  326. package/dist/react-native/operations/tableResources.js +76 -63
  327. package/dist/react-native/operations/tableResources.js.map +1 -1
  328. package/dist/react-native/pagingHelper.js +2 -4
  329. package/dist/react-native/pagingHelper.js.map +1 -1
  330. package/package.json +2 -2
  331. /package/review/{arm-cosmosdb.api.md → arm-cosmosdb-node.api.md} +0 -0
@@ -17,6 +17,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
17
17
  /// <reference lib="esnext.asynciterable" />
18
18
  /** Class containing CassandraClusters operations. */
19
19
  class CassandraClustersImpl {
20
+ client;
20
21
  /**
21
22
  * Initialize a new instance of the class CassandraClusters class.
22
23
  * @param client Reference to the service client
@@ -38,39 +39,22 @@ class CassandraClustersImpl {
38
39
  return this;
39
40
  },
40
41
  byPage: (settings) => {
41
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
42
+ if (settings?.maxPageSize) {
42
43
  throw new Error("maxPageSize is not supported by this operation.");
43
44
  }
44
45
  return this.listBySubscriptionPagingPage(options, settings);
45
46
  },
46
47
  };
47
48
  }
48
- listBySubscriptionPagingPage(options, _settings) {
49
- return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
50
- let result;
51
- result = yield tslib_1.__await(this._listBySubscription(options));
52
- yield yield tslib_1.__await(result.value || []);
53
- });
49
+ async *listBySubscriptionPagingPage(options, _settings) {
50
+ let result;
51
+ result = await this._listBySubscription(options);
52
+ yield result.value || [];
54
53
  }
55
- listBySubscriptionPagingAll(options) {
56
- return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
57
- var _a, e_1, _b, _c;
58
- try {
59
- for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
60
- _c = _f.value;
61
- _d = false;
62
- const page = _c;
63
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
64
- }
65
- }
66
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
67
- finally {
68
- try {
69
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
70
- }
71
- finally { if (e_1) throw e_1.error; }
72
- }
73
- });
54
+ async *listBySubscriptionPagingAll(options) {
55
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
56
+ yield* page;
57
+ }
74
58
  }
75
59
  /**
76
60
  * List all managed Cassandra clusters in this resource group.
@@ -87,39 +71,22 @@ class CassandraClustersImpl {
87
71
  return this;
88
72
  },
89
73
  byPage: (settings) => {
90
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
74
+ if (settings?.maxPageSize) {
91
75
  throw new Error("maxPageSize is not supported by this operation.");
92
76
  }
93
77
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
94
78
  },
95
79
  };
96
80
  }
97
- listByResourceGroupPagingPage(resourceGroupName, options, _settings) {
98
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
99
- let result;
100
- result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
101
- yield yield tslib_1.__await(result.value || []);
102
- });
81
+ async *listByResourceGroupPagingPage(resourceGroupName, options, _settings) {
82
+ let result;
83
+ result = await this._listByResourceGroup(resourceGroupName, options);
84
+ yield result.value || [];
103
85
  }
104
- listByResourceGroupPagingAll(resourceGroupName, options) {
105
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
106
- var _a, e_2, _b, _c;
107
- try {
108
- for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
109
- _c = _f.value;
110
- _d = false;
111
- const page = _c;
112
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
113
- }
114
- }
115
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
116
- finally {
117
- try {
118
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
119
- }
120
- finally { if (e_2) throw e_2.error; }
121
- }
122
- });
86
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
87
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
88
+ yield* page;
89
+ }
123
90
  }
124
91
  /**
125
92
  * List all managed Cassandra clusters in this subscription.
@@ -156,14 +123,19 @@ class CassandraClustersImpl {
156
123
  return this.client.sendOperationRequest(args, spec);
157
124
  };
158
125
  const sendOperationFn = async (args, spec) => {
159
- var _a;
160
126
  let currentRawResponse = undefined;
161
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
127
+ const providedCallback = args.options?.onResponse;
162
128
  const callback = (rawResponse, flatResponse) => {
163
129
  currentRawResponse = rawResponse;
164
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
130
+ providedCallback?.(rawResponse, flatResponse);
131
+ };
132
+ const updatedArgs = {
133
+ ...args,
134
+ options: {
135
+ ...args.options,
136
+ onResponse: callback,
137
+ },
165
138
  };
166
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
167
139
  const flatResponse = await directSendOperation(updatedArgs, spec);
168
140
  return {
169
141
  flatResponse,
@@ -180,8 +152,8 @@ class CassandraClustersImpl {
180
152
  spec: deleteOperationSpec,
181
153
  });
182
154
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
183
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
184
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
155
+ restoreFrom: options?.resumeFrom,
156
+ intervalInMs: options?.updateIntervalInMs,
185
157
  });
186
158
  await poller.poll();
187
159
  return poller;
@@ -209,14 +181,19 @@ class CassandraClustersImpl {
209
181
  return this.client.sendOperationRequest(args, spec);
210
182
  };
211
183
  const sendOperationFn = async (args, spec) => {
212
- var _a;
213
184
  let currentRawResponse = undefined;
214
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
185
+ const providedCallback = args.options?.onResponse;
215
186
  const callback = (rawResponse, flatResponse) => {
216
187
  currentRawResponse = rawResponse;
217
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
188
+ providedCallback?.(rawResponse, flatResponse);
189
+ };
190
+ const updatedArgs = {
191
+ ...args,
192
+ options: {
193
+ ...args.options,
194
+ onResponse: callback,
195
+ },
218
196
  };
219
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
220
197
  const flatResponse = await directSendOperation(updatedArgs, spec);
221
198
  return {
222
199
  flatResponse,
@@ -233,8 +210,8 @@ class CassandraClustersImpl {
233
210
  spec: createUpdateOperationSpec,
234
211
  });
235
212
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
236
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
237
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
213
+ restoreFrom: options?.resumeFrom,
214
+ intervalInMs: options?.updateIntervalInMs,
238
215
  });
239
216
  await poller.poll();
240
217
  return poller;
@@ -263,14 +240,19 @@ class CassandraClustersImpl {
263
240
  return this.client.sendOperationRequest(args, spec);
264
241
  };
265
242
  const sendOperationFn = async (args, spec) => {
266
- var _a;
267
243
  let currentRawResponse = undefined;
268
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
244
+ const providedCallback = args.options?.onResponse;
269
245
  const callback = (rawResponse, flatResponse) => {
270
246
  currentRawResponse = rawResponse;
271
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
247
+ providedCallback?.(rawResponse, flatResponse);
248
+ };
249
+ const updatedArgs = {
250
+ ...args,
251
+ options: {
252
+ ...args.options,
253
+ onResponse: callback,
254
+ },
272
255
  };
273
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
274
256
  const flatResponse = await directSendOperation(updatedArgs, spec);
275
257
  return {
276
258
  flatResponse,
@@ -287,8 +269,8 @@ class CassandraClustersImpl {
287
269
  spec: updateOperationSpec,
288
270
  });
289
271
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
290
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
291
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
272
+ restoreFrom: options?.resumeFrom,
273
+ intervalInMs: options?.updateIntervalInMs,
292
274
  });
293
275
  await poller.poll();
294
276
  return poller;
@@ -316,14 +298,19 @@ class CassandraClustersImpl {
316
298
  return this.client.sendOperationRequest(args, spec);
317
299
  };
318
300
  const sendOperationFn = async (args, spec) => {
319
- var _a;
320
301
  let currentRawResponse = undefined;
321
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
302
+ const providedCallback = args.options?.onResponse;
322
303
  const callback = (rawResponse, flatResponse) => {
323
304
  currentRawResponse = rawResponse;
324
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
305
+ providedCallback?.(rawResponse, flatResponse);
306
+ };
307
+ const updatedArgs = {
308
+ ...args,
309
+ options: {
310
+ ...args.options,
311
+ onResponse: callback,
312
+ },
325
313
  };
326
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
327
314
  const flatResponse = await directSendOperation(updatedArgs, spec);
328
315
  return {
329
316
  flatResponse,
@@ -340,8 +327,8 @@ class CassandraClustersImpl {
340
327
  spec: invokeCommandOperationSpec,
341
328
  });
342
329
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
343
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
344
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
330
+ restoreFrom: options?.resumeFrom,
331
+ intervalInMs: options?.updateIntervalInMs,
345
332
  });
346
333
  await poller.poll();
347
334
  return poller;
@@ -370,14 +357,19 @@ class CassandraClustersImpl {
370
357
  return this.client.sendOperationRequest(args, spec);
371
358
  };
372
359
  const sendOperationFn = async (args, spec) => {
373
- var _a;
374
360
  let currentRawResponse = undefined;
375
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
361
+ const providedCallback = args.options?.onResponse;
376
362
  const callback = (rawResponse, flatResponse) => {
377
363
  currentRawResponse = rawResponse;
378
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
364
+ providedCallback?.(rawResponse, flatResponse);
365
+ };
366
+ const updatedArgs = {
367
+ ...args,
368
+ options: {
369
+ ...args.options,
370
+ onResponse: callback,
371
+ },
379
372
  };
380
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
381
373
  const flatResponse = await directSendOperation(updatedArgs, spec);
382
374
  return {
383
375
  flatResponse,
@@ -394,8 +386,8 @@ class CassandraClustersImpl {
394
386
  spec: deallocateOperationSpec,
395
387
  });
396
388
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
397
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
398
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
389
+ restoreFrom: options?.resumeFrom,
390
+ intervalInMs: options?.updateIntervalInMs,
399
391
  });
400
392
  await poller.poll();
401
393
  return poller;
@@ -425,14 +417,19 @@ class CassandraClustersImpl {
425
417
  return this.client.sendOperationRequest(args, spec);
426
418
  };
427
419
  const sendOperationFn = async (args, spec) => {
428
- var _a;
429
420
  let currentRawResponse = undefined;
430
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
421
+ const providedCallback = args.options?.onResponse;
431
422
  const callback = (rawResponse, flatResponse) => {
432
423
  currentRawResponse = rawResponse;
433
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
424
+ providedCallback?.(rawResponse, flatResponse);
425
+ };
426
+ const updatedArgs = {
427
+ ...args,
428
+ options: {
429
+ ...args.options,
430
+ onResponse: callback,
431
+ },
434
432
  };
435
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
436
433
  const flatResponse = await directSendOperation(updatedArgs, spec);
437
434
  return {
438
435
  flatResponse,
@@ -449,8 +446,8 @@ class CassandraClustersImpl {
449
446
  spec: startOperationSpec,
450
447
  });
451
448
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
452
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
453
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
449
+ restoreFrom: options?.resumeFrom,
450
+ intervalInMs: options?.updateIntervalInMs,
454
451
  });
455
452
  await poller.poll();
456
453
  return poller;
@@ -1 +1 @@
1
- {"version":3,"file":"cassandraClusters.js","sourceRoot":"","sources":["../../../src/operations/cassandraClusters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAuB9C,4CAA4C;AAC5C,qDAAqD;AACrD,MAAa,qBAAqB;IAGhC;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAA2D;QAE3D,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,4BAA4B,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC9D,CAAC;SACF,CAAC;IACJ,CA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U,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,kBAAkB,GAA6B;IACnD,IAAI,EAAE,yIAAyI;IAC/I,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,0IAA0I;IAChJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { CassandraClusters } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CosmosDBManagementClient } from \"../cosmosDBManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ClusterResource,\n CassandraClustersListBySubscriptionOptionalParams,\n CassandraClustersListBySubscriptionResponse,\n CassandraClustersListByResourceGroupOptionalParams,\n CassandraClustersListByResourceGroupResponse,\n CassandraClustersGetOptionalParams,\n CassandraClustersGetResponse,\n CassandraClustersDeleteOptionalParams,\n CassandraClustersCreateUpdateOptionalParams,\n CassandraClustersCreateUpdateResponse,\n CassandraClustersUpdateOptionalParams,\n CassandraClustersUpdateResponse,\n CommandPostBody,\n CassandraClustersInvokeCommandOptionalParams,\n CassandraClustersInvokeCommandResponse,\n CassandraClustersDeallocateOptionalParams,\n CassandraClustersStartOptionalParams,\n CassandraClustersStatusOptionalParams,\n CassandraClustersStatusResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CassandraClusters operations. */\nexport class CassandraClustersImpl implements CassandraClusters {\n private readonly client: CosmosDBManagementClient;\n\n /**\n * Initialize a new instance of the class CassandraClusters class.\n * @param client Reference to the service client\n */\n constructor(client: CosmosDBManagementClient) {\n this.client = client;\n }\n\n /**\n * List all managed Cassandra clusters in this subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: CassandraClustersListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ClusterResource> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: CassandraClustersListBySubscriptionOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<ClusterResource[]> {\n let result: CassandraClustersListBySubscriptionResponse;\n result = await this._listBySubscription(options);\n yield result.value || [];\n }\n\n private async *listBySubscriptionPagingAll(\n options?: CassandraClustersListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<ClusterResource> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List all managed Cassandra clusters in this resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: CassandraClustersListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ClusterResource> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: CassandraClustersListByResourceGroupOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<ClusterResource[]> {\n let result: CassandraClustersListByResourceGroupResponse;\n result = await this._listByResourceGroup(resourceGroupName, options);\n yield result.value || [];\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: CassandraClustersListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ClusterResource> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * List all managed Cassandra clusters in this subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: CassandraClustersListBySubscriptionOptionalParams,\n ): Promise<CassandraClustersListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * List all managed Cassandra clusters in this resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: CassandraClustersListByResourceGroupOptionalParams,\n ): Promise<CassandraClustersListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Get the properties of a managed Cassandra cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersGetOptionalParams,\n ): Promise<CassandraClustersGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Deletes a managed Cassandra cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, clusterName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a managed Cassandra cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n clusterName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Create or update a managed Cassandra cluster. When updating, you must specify all writable\n * properties. To update only some properties, use PATCH.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param body The properties specifying the desired state of the managed Cassandra cluster.\n * @param options The options parameters.\n */\n async beginCreateUpdate(\n resourceGroupName: string,\n clusterName: string,\n body: ClusterResource,\n options?: CassandraClustersCreateUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<CassandraClustersCreateUpdateResponse>,\n CassandraClustersCreateUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<CassandraClustersCreateUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, clusterName, body, options },\n spec: createUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n CassandraClustersCreateUpdateResponse,\n OperationState<CassandraClustersCreateUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update a managed Cassandra cluster. When updating, you must specify all writable\n * properties. To update only some properties, use PATCH.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param body The properties specifying the desired state of the managed Cassandra cluster.\n * @param options The options parameters.\n */\n async beginCreateUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n body: ClusterResource,\n options?: CassandraClustersCreateUpdateOptionalParams,\n ): Promise<CassandraClustersCreateUpdateResponse> {\n const poller = await this.beginCreateUpdate(\n resourceGroupName,\n clusterName,\n body,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates some of the properties of a managed Cassandra cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param body Parameters to provide for specifying the managed Cassandra cluster.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n clusterName: string,\n body: ClusterResource,\n options?: CassandraClustersUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<CassandraClustersUpdateResponse>,\n CassandraClustersUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<CassandraClustersUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, clusterName, body, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n CassandraClustersUpdateResponse,\n OperationState<CassandraClustersUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates some of the properties of a managed Cassandra cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param body Parameters to provide for specifying the managed Cassandra cluster.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n body: ClusterResource,\n options?: CassandraClustersUpdateOptionalParams,\n ): Promise<CassandraClustersUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n clusterName,\n body,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Invoke a command like nodetool for cassandra maintenance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param body Specification which command to run where\n * @param options The options parameters.\n */\n async beginInvokeCommand(\n resourceGroupName: string,\n clusterName: string,\n body: CommandPostBody,\n options?: CassandraClustersInvokeCommandOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<CassandraClustersInvokeCommandResponse>,\n CassandraClustersInvokeCommandResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<CassandraClustersInvokeCommandResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, clusterName, body, options },\n spec: invokeCommandOperationSpec,\n });\n const poller = await createHttpPoller<\n CassandraClustersInvokeCommandResponse,\n OperationState<CassandraClustersInvokeCommandResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Invoke a command like nodetool for cassandra maintenance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param body Specification which command to run where\n * @param options The options parameters.\n */\n async beginInvokeCommandAndWait(\n resourceGroupName: string,\n clusterName: string,\n body: CommandPostBody,\n options?: CassandraClustersInvokeCommandOptionalParams,\n ): Promise<CassandraClustersInvokeCommandResponse> {\n const poller = await this.beginInvokeCommand(\n resourceGroupName,\n clusterName,\n body,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deallocate the Managed Cassandra Cluster and Associated Data Centers. Deallocation will deallocate\n * the host virtual machine of this cluster, and reserved the data disk. This won't do anything on an\n * already deallocated cluster. Use Start to restart the cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n async beginDeallocate(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersDeallocateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, clusterName, options },\n spec: deallocateOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deallocate the Managed Cassandra Cluster and Associated Data Centers. Deallocation will deallocate\n * the host virtual machine of this cluster, and reserved the data disk. This won't do anything on an\n * already deallocated cluster. Use Start to restart the cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n async beginDeallocateAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersDeallocateOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDeallocate(\n resourceGroupName,\n clusterName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Start the Managed Cassandra Cluster and Associated Data Centers. Start will start the host virtual\n * machine of this cluster with reserved data disk. This won't do anything on an already running\n * cluster. Use Deallocate to deallocate the cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n async beginStart(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersStartOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, clusterName, options },\n spec: startOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Start the Managed Cassandra Cluster and Associated Data Centers. Start will start the host virtual\n * machine of this cluster with reserved data disk. This won't do anything on an already running\n * cluster. Use Deallocate to deallocate the cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n async beginStartAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersStartOptionalParams,\n ): Promise<void> {\n const poller = await this.beginStart(\n resourceGroupName,\n clusterName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n status(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersStatusOptionalParams,\n ): Promise<CassandraClustersStatusResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n statusOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/cassandraClusters\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListClusters,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListClusters,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterResource,\n },\n 201: {\n bodyMapper: Mappers.ClusterResource,\n },\n 202: {\n bodyMapper: Mappers.ClusterResource,\n },\n 204: {\n bodyMapper: Mappers.ClusterResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterResource,\n },\n 201: {\n bodyMapper: Mappers.ClusterResource,\n },\n 202: {\n bodyMapper: Mappers.ClusterResource,\n },\n 204: {\n bodyMapper: Mappers.ClusterResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst invokeCommandOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/invokeCommand\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommandOutput,\n },\n 201: {\n bodyMapper: Mappers.CommandOutput,\n },\n 202: {\n bodyMapper: Mappers.CommandOutput,\n },\n 204: {\n bodyMapper: Mappers.CommandOutput,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.body1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deallocateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/deallocate\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst statusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/status\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CassandraClusterPublicStatus,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"cassandraClusters.js","sourceRoot":"","sources":["../../../src/operations/cassandraClusters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAuB9C,4CAA4C;AAC5C,qDAAqD;AACrD,MAAa,qBAAqB;IACf,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAA2D;QAE3D,MAAM,IAAI,GAAG,IA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CAAC;AACF,MAAM,kBAAkB,GAA6B;IACnD,IAAI,EAAE,yIAAyI;IAC/I,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,0IAA0I;IAChJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { CassandraClusters } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CosmosDBManagementClient } from \"../cosmosDBManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ClusterResource,\n CassandraClustersListBySubscriptionOptionalParams,\n CassandraClustersListBySubscriptionResponse,\n CassandraClustersListByResourceGroupOptionalParams,\n CassandraClustersListByResourceGroupResponse,\n CassandraClustersGetOptionalParams,\n CassandraClustersGetResponse,\n CassandraClustersDeleteOptionalParams,\n CassandraClustersCreateUpdateOptionalParams,\n CassandraClustersCreateUpdateResponse,\n CassandraClustersUpdateOptionalParams,\n CassandraClustersUpdateResponse,\n CommandPostBody,\n CassandraClustersInvokeCommandOptionalParams,\n CassandraClustersInvokeCommandResponse,\n CassandraClustersDeallocateOptionalParams,\n CassandraClustersStartOptionalParams,\n CassandraClustersStatusOptionalParams,\n CassandraClustersStatusResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CassandraClusters operations. */\nexport class CassandraClustersImpl implements CassandraClusters {\n private readonly client: CosmosDBManagementClient;\n\n /**\n * Initialize a new instance of the class CassandraClusters class.\n * @param client Reference to the service client\n */\n constructor(client: CosmosDBManagementClient) {\n this.client = client;\n }\n\n /**\n * List all managed Cassandra clusters in this subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: CassandraClustersListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ClusterResource> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: CassandraClustersListBySubscriptionOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<ClusterResource[]> {\n let result: CassandraClustersListBySubscriptionResponse;\n result = await this._listBySubscription(options);\n yield result.value || [];\n }\n\n private async *listBySubscriptionPagingAll(\n options?: CassandraClustersListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<ClusterResource> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List all managed Cassandra clusters in this resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: CassandraClustersListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ClusterResource> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: CassandraClustersListByResourceGroupOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<ClusterResource[]> {\n let result: CassandraClustersListByResourceGroupResponse;\n result = await this._listByResourceGroup(resourceGroupName, options);\n yield result.value || [];\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: CassandraClustersListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ClusterResource> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * List all managed Cassandra clusters in this subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: CassandraClustersListBySubscriptionOptionalParams,\n ): Promise<CassandraClustersListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * List all managed Cassandra clusters in this resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: CassandraClustersListByResourceGroupOptionalParams,\n ): Promise<CassandraClustersListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Get the properties of a managed Cassandra cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersGetOptionalParams,\n ): Promise<CassandraClustersGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Deletes a managed Cassandra cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, clusterName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a managed Cassandra cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n clusterName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Create or update a managed Cassandra cluster. When updating, you must specify all writable\n * properties. To update only some properties, use PATCH.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param body The properties specifying the desired state of the managed Cassandra cluster.\n * @param options The options parameters.\n */\n async beginCreateUpdate(\n resourceGroupName: string,\n clusterName: string,\n body: ClusterResource,\n options?: CassandraClustersCreateUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<CassandraClustersCreateUpdateResponse>,\n CassandraClustersCreateUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<CassandraClustersCreateUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, clusterName, body, options },\n spec: createUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n CassandraClustersCreateUpdateResponse,\n OperationState<CassandraClustersCreateUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update a managed Cassandra cluster. When updating, you must specify all writable\n * properties. To update only some properties, use PATCH.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param body The properties specifying the desired state of the managed Cassandra cluster.\n * @param options The options parameters.\n */\n async beginCreateUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n body: ClusterResource,\n options?: CassandraClustersCreateUpdateOptionalParams,\n ): Promise<CassandraClustersCreateUpdateResponse> {\n const poller = await this.beginCreateUpdate(\n resourceGroupName,\n clusterName,\n body,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates some of the properties of a managed Cassandra cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param body Parameters to provide for specifying the managed Cassandra cluster.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n clusterName: string,\n body: ClusterResource,\n options?: CassandraClustersUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<CassandraClustersUpdateResponse>,\n CassandraClustersUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<CassandraClustersUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, clusterName, body, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n CassandraClustersUpdateResponse,\n OperationState<CassandraClustersUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates some of the properties of a managed Cassandra cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param body Parameters to provide for specifying the managed Cassandra cluster.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n body: ClusterResource,\n options?: CassandraClustersUpdateOptionalParams,\n ): Promise<CassandraClustersUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n clusterName,\n body,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Invoke a command like nodetool for cassandra maintenance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param body Specification which command to run where\n * @param options The options parameters.\n */\n async beginInvokeCommand(\n resourceGroupName: string,\n clusterName: string,\n body: CommandPostBody,\n options?: CassandraClustersInvokeCommandOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<CassandraClustersInvokeCommandResponse>,\n CassandraClustersInvokeCommandResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<CassandraClustersInvokeCommandResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, clusterName, body, options },\n spec: invokeCommandOperationSpec,\n });\n const poller = await createHttpPoller<\n CassandraClustersInvokeCommandResponse,\n OperationState<CassandraClustersInvokeCommandResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Invoke a command like nodetool for cassandra maintenance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param body Specification which command to run where\n * @param options The options parameters.\n */\n async beginInvokeCommandAndWait(\n resourceGroupName: string,\n clusterName: string,\n body: CommandPostBody,\n options?: CassandraClustersInvokeCommandOptionalParams,\n ): Promise<CassandraClustersInvokeCommandResponse> {\n const poller = await this.beginInvokeCommand(\n resourceGroupName,\n clusterName,\n body,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deallocate the Managed Cassandra Cluster and Associated Data Centers. Deallocation will deallocate\n * the host virtual machine of this cluster, and reserved the data disk. This won't do anything on an\n * already deallocated cluster. Use Start to restart the cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n async beginDeallocate(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersDeallocateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, clusterName, options },\n spec: deallocateOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deallocate the Managed Cassandra Cluster and Associated Data Centers. Deallocation will deallocate\n * the host virtual machine of this cluster, and reserved the data disk. This won't do anything on an\n * already deallocated cluster. Use Start to restart the cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n async beginDeallocateAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersDeallocateOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDeallocate(\n resourceGroupName,\n clusterName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Start the Managed Cassandra Cluster and Associated Data Centers. Start will start the host virtual\n * machine of this cluster with reserved data disk. This won't do anything on an already running\n * cluster. Use Deallocate to deallocate the cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n async beginStart(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersStartOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, clusterName, options },\n spec: startOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Start the Managed Cassandra Cluster and Associated Data Centers. Start will start the host virtual\n * machine of this cluster with reserved data disk. This won't do anything on an already running\n * cluster. Use Deallocate to deallocate the cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n async beginStartAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersStartOptionalParams,\n ): Promise<void> {\n const poller = await this.beginStart(\n resourceGroupName,\n clusterName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName Managed Cassandra cluster name.\n * @param options The options parameters.\n */\n status(\n resourceGroupName: string,\n clusterName: string,\n options?: CassandraClustersStatusOptionalParams,\n ): Promise<CassandraClustersStatusResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n statusOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/cassandraClusters\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListClusters,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListClusters,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterResource,\n },\n 201: {\n bodyMapper: Mappers.ClusterResource,\n },\n 202: {\n bodyMapper: Mappers.ClusterResource,\n },\n 204: {\n bodyMapper: Mappers.ClusterResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterResource,\n },\n 201: {\n bodyMapper: Mappers.ClusterResource,\n },\n 202: {\n bodyMapper: Mappers.ClusterResource,\n },\n 204: {\n bodyMapper: Mappers.ClusterResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst invokeCommandOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/invokeCommand\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommandOutput,\n },\n 201: {\n bodyMapper: Mappers.CommandOutput,\n },\n 202: {\n bodyMapper: Mappers.CommandOutput,\n },\n 204: {\n bodyMapper: Mappers.CommandOutput,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.body1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deallocateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/deallocate\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst statusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/status\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CassandraClusterPublicStatus,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}