@azure/arm-cosmosdb 16.3.0-alpha.20250718.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 (329) 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/esm/cosmosDBManagementClient.js +50 -5
  166. package/dist/esm/cosmosDBManagementClient.js.map +1 -1
  167. package/dist/esm/lroImpl.js +7 -3
  168. package/dist/esm/lroImpl.js.map +1 -1
  169. package/dist/esm/models/mappers.js +661 -279
  170. package/dist/esm/models/mappers.js.map +1 -1
  171. package/dist/esm/operations/cassandraClusters.js +85 -89
  172. package/dist/esm/operations/cassandraClusters.js.map +1 -1
  173. package/dist/esm/operations/cassandraDataCenters.js +43 -45
  174. package/dist/esm/operations/cassandraDataCenters.js.map +1 -1
  175. package/dist/esm/operations/cassandraResources.js +129 -113
  176. package/dist/esm/operations/cassandraResources.js.map +1 -1
  177. package/dist/esm/operations/collection.js +28 -79
  178. package/dist/esm/operations/collection.js.map +1 -1
  179. package/dist/esm/operations/collectionPartition.js +19 -53
  180. package/dist/esm/operations/collectionPartition.js.map +1 -1
  181. package/dist/esm/operations/collectionPartitionRegion.js +10 -27
  182. package/dist/esm/operations/collectionPartitionRegion.js.map +1 -1
  183. package/dist/esm/operations/collectionRegion.js +10 -27
  184. package/dist/esm/operations/collectionRegion.js.map +1 -1
  185. package/dist/esm/operations/database.js +28 -79
  186. package/dist/esm/operations/database.js.map +1 -1
  187. package/dist/esm/operations/databaseAccountRegion.js +10 -27
  188. package/dist/esm/operations/databaseAccountRegion.js.map +1 -1
  189. package/dist/esm/operations/databaseAccounts.js +123 -173
  190. package/dist/esm/operations/databaseAccounts.js.map +1 -1
  191. package/dist/esm/operations/gremlinResources.js +140 -119
  192. package/dist/esm/operations/gremlinResources.js.map +1 -1
  193. package/dist/esm/operations/locations.js +10 -27
  194. package/dist/esm/operations/locations.js.map +1 -1
  195. package/dist/esm/operations/mongoDBResources.js +202 -195
  196. package/dist/esm/operations/mongoDBResources.js.map +1 -1
  197. package/dist/esm/operations/notebookWorkspaces.js +54 -51
  198. package/dist/esm/operations/notebookWorkspaces.js.map +1 -1
  199. package/dist/esm/operations/operations.js +23 -40
  200. package/dist/esm/operations/operations.js.map +1 -1
  201. package/dist/esm/operations/partitionKeyRangeId.js +10 -27
  202. package/dist/esm/operations/partitionKeyRangeId.js.map +1 -1
  203. package/dist/esm/operations/partitionKeyRangeIdRegion.js +10 -27
  204. package/dist/esm/operations/partitionKeyRangeIdRegion.js.map +1 -1
  205. package/dist/esm/operations/percentile.js +10 -27
  206. package/dist/esm/operations/percentile.js.map +1 -1
  207. package/dist/esm/operations/percentileSourceTarget.js +10 -27
  208. package/dist/esm/operations/percentileSourceTarget.js.map +1 -1
  209. package/dist/esm/operations/percentileTarget.js +10 -27
  210. package/dist/esm/operations/percentileTarget.js.map +1 -1
  211. package/dist/esm/operations/privateEndpointConnections.js +32 -39
  212. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  213. package/dist/esm/operations/privateLinkResources.js +10 -27
  214. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  215. package/dist/esm/operations/restorableDatabaseAccounts.js +19 -53
  216. package/dist/esm/operations/restorableDatabaseAccounts.js.map +1 -1
  217. package/dist/esm/operations/restorableGremlinDatabases.js +10 -27
  218. package/dist/esm/operations/restorableGremlinDatabases.js.map +1 -1
  219. package/dist/esm/operations/restorableGremlinGraphs.js +10 -27
  220. package/dist/esm/operations/restorableGremlinGraphs.js.map +1 -1
  221. package/dist/esm/operations/restorableGremlinResources.js +10 -27
  222. package/dist/esm/operations/restorableGremlinResources.js.map +1 -1
  223. package/dist/esm/operations/restorableMongodbCollections.js +10 -27
  224. package/dist/esm/operations/restorableMongodbCollections.js.map +1 -1
  225. package/dist/esm/operations/restorableMongodbDatabases.js +10 -27
  226. package/dist/esm/operations/restorableMongodbDatabases.js.map +1 -1
  227. package/dist/esm/operations/restorableMongodbResources.js +10 -27
  228. package/dist/esm/operations/restorableMongodbResources.js.map +1 -1
  229. package/dist/esm/operations/restorableSqlContainers.js +10 -27
  230. package/dist/esm/operations/restorableSqlContainers.js.map +1 -1
  231. package/dist/esm/operations/restorableSqlDatabases.js +10 -27
  232. package/dist/esm/operations/restorableSqlDatabases.js.map +1 -1
  233. package/dist/esm/operations/restorableSqlResources.js +10 -27
  234. package/dist/esm/operations/restorableSqlResources.js.map +1 -1
  235. package/dist/esm/operations/restorableTableResources.js +10 -27
  236. package/dist/esm/operations/restorableTableResources.js.map +1 -1
  237. package/dist/esm/operations/restorableTables.js +10 -27
  238. package/dist/esm/operations/restorableTables.js.map +1 -1
  239. package/dist/esm/operations/service.js +32 -39
  240. package/dist/esm/operations/service.js.map +1 -1
  241. package/dist/esm/operations/sqlResources.js +315 -341
  242. package/dist/esm/operations/sqlResources.js.map +1 -1
  243. package/dist/esm/operations/tableResources.js +76 -63
  244. package/dist/esm/operations/tableResources.js.map +1 -1
  245. package/dist/esm/pagingHelper.js +2 -4
  246. package/dist/esm/pagingHelper.js.map +1 -1
  247. package/dist/react-native/cosmosDBManagementClient.js +50 -5
  248. package/dist/react-native/cosmosDBManagementClient.js.map +1 -1
  249. package/dist/react-native/lroImpl.js +7 -3
  250. package/dist/react-native/lroImpl.js.map +1 -1
  251. package/dist/react-native/models/mappers.js +661 -279
  252. package/dist/react-native/models/mappers.js.map +1 -1
  253. package/dist/react-native/operations/cassandraClusters.js +85 -89
  254. package/dist/react-native/operations/cassandraClusters.js.map +1 -1
  255. package/dist/react-native/operations/cassandraDataCenters.js +43 -45
  256. package/dist/react-native/operations/cassandraDataCenters.js.map +1 -1
  257. package/dist/react-native/operations/cassandraResources.js +129 -113
  258. package/dist/react-native/operations/cassandraResources.js.map +1 -1
  259. package/dist/react-native/operations/collection.js +28 -79
  260. package/dist/react-native/operations/collection.js.map +1 -1
  261. package/dist/react-native/operations/collectionPartition.js +19 -53
  262. package/dist/react-native/operations/collectionPartition.js.map +1 -1
  263. package/dist/react-native/operations/collectionPartitionRegion.js +10 -27
  264. package/dist/react-native/operations/collectionPartitionRegion.js.map +1 -1
  265. package/dist/react-native/operations/collectionRegion.js +10 -27
  266. package/dist/react-native/operations/collectionRegion.js.map +1 -1
  267. package/dist/react-native/operations/database.js +28 -79
  268. package/dist/react-native/operations/database.js.map +1 -1
  269. package/dist/react-native/operations/databaseAccountRegion.js +10 -27
  270. package/dist/react-native/operations/databaseAccountRegion.js.map +1 -1
  271. package/dist/react-native/operations/databaseAccounts.js +123 -173
  272. package/dist/react-native/operations/databaseAccounts.js.map +1 -1
  273. package/dist/react-native/operations/gremlinResources.js +140 -119
  274. package/dist/react-native/operations/gremlinResources.js.map +1 -1
  275. package/dist/react-native/operations/locations.js +10 -27
  276. package/dist/react-native/operations/locations.js.map +1 -1
  277. package/dist/react-native/operations/mongoDBResources.js +202 -195
  278. package/dist/react-native/operations/mongoDBResources.js.map +1 -1
  279. package/dist/react-native/operations/notebookWorkspaces.js +54 -51
  280. package/dist/react-native/operations/notebookWorkspaces.js.map +1 -1
  281. package/dist/react-native/operations/operations.js +23 -40
  282. package/dist/react-native/operations/operations.js.map +1 -1
  283. package/dist/react-native/operations/partitionKeyRangeId.js +10 -27
  284. package/dist/react-native/operations/partitionKeyRangeId.js.map +1 -1
  285. package/dist/react-native/operations/partitionKeyRangeIdRegion.js +10 -27
  286. package/dist/react-native/operations/partitionKeyRangeIdRegion.js.map +1 -1
  287. package/dist/react-native/operations/percentile.js +10 -27
  288. package/dist/react-native/operations/percentile.js.map +1 -1
  289. package/dist/react-native/operations/percentileSourceTarget.js +10 -27
  290. package/dist/react-native/operations/percentileSourceTarget.js.map +1 -1
  291. package/dist/react-native/operations/percentileTarget.js +10 -27
  292. package/dist/react-native/operations/percentileTarget.js.map +1 -1
  293. package/dist/react-native/operations/privateEndpointConnections.js +32 -39
  294. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  295. package/dist/react-native/operations/privateLinkResources.js +10 -27
  296. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  297. package/dist/react-native/operations/restorableDatabaseAccounts.js +19 -53
  298. package/dist/react-native/operations/restorableDatabaseAccounts.js.map +1 -1
  299. package/dist/react-native/operations/restorableGremlinDatabases.js +10 -27
  300. package/dist/react-native/operations/restorableGremlinDatabases.js.map +1 -1
  301. package/dist/react-native/operations/restorableGremlinGraphs.js +10 -27
  302. package/dist/react-native/operations/restorableGremlinGraphs.js.map +1 -1
  303. package/dist/react-native/operations/restorableGremlinResources.js +10 -27
  304. package/dist/react-native/operations/restorableGremlinResources.js.map +1 -1
  305. package/dist/react-native/operations/restorableMongodbCollections.js +10 -27
  306. package/dist/react-native/operations/restorableMongodbCollections.js.map +1 -1
  307. package/dist/react-native/operations/restorableMongodbDatabases.js +10 -27
  308. package/dist/react-native/operations/restorableMongodbDatabases.js.map +1 -1
  309. package/dist/react-native/operations/restorableMongodbResources.js +10 -27
  310. package/dist/react-native/operations/restorableMongodbResources.js.map +1 -1
  311. package/dist/react-native/operations/restorableSqlContainers.js +10 -27
  312. package/dist/react-native/operations/restorableSqlContainers.js.map +1 -1
  313. package/dist/react-native/operations/restorableSqlDatabases.js +10 -27
  314. package/dist/react-native/operations/restorableSqlDatabases.js.map +1 -1
  315. package/dist/react-native/operations/restorableSqlResources.js +10 -27
  316. package/dist/react-native/operations/restorableSqlResources.js.map +1 -1
  317. package/dist/react-native/operations/restorableTableResources.js +10 -27
  318. package/dist/react-native/operations/restorableTableResources.js.map +1 -1
  319. package/dist/react-native/operations/restorableTables.js +10 -27
  320. package/dist/react-native/operations/restorableTables.js.map +1 -1
  321. package/dist/react-native/operations/service.js +32 -39
  322. package/dist/react-native/operations/service.js.map +1 -1
  323. package/dist/react-native/operations/sqlResources.js +315 -341
  324. package/dist/react-native/operations/sqlResources.js.map +1 -1
  325. package/dist/react-native/operations/tableResources.js +76 -63
  326. package/dist/react-native/operations/tableResources.js.map +1 -1
  327. package/dist/react-native/pagingHelper.js +2 -4
  328. package/dist/react-native/pagingHelper.js.map +1 -1
  329. package/package.json +2 -2
@@ -5,7 +5,6 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
8
  import * as coreClient from "@azure/core-client";
10
9
  import * as Mappers from "../models/mappers.js";
11
10
  import * as Parameters from "../models/parameters.js";
@@ -14,6 +13,7 @@ import { createLroSpec } from "../lroImpl.js";
14
13
  /// <reference lib="esnext.asynciterable" />
15
14
  /** Class containing GremlinResources operations. */
16
15
  export class GremlinResourcesImpl {
16
+ client;
17
17
  /**
18
18
  * Initialize a new instance of the class GremlinResources class.
19
19
  * @param client Reference to the service client
@@ -37,39 +37,22 @@ export class GremlinResourcesImpl {
37
37
  return this;
38
38
  },
39
39
  byPage: (settings) => {
40
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
+ if (settings?.maxPageSize) {
41
41
  throw new Error("maxPageSize is not supported by this operation.");
42
42
  }
43
43
  return this.listGremlinDatabasesPagingPage(resourceGroupName, accountName, options, settings);
44
44
  },
45
45
  };
46
46
  }
47
- listGremlinDatabasesPagingPage(resourceGroupName, accountName, options, _settings) {
48
- return __asyncGenerator(this, arguments, function* listGremlinDatabasesPagingPage_1() {
49
- let result;
50
- result = yield __await(this._listGremlinDatabases(resourceGroupName, accountName, options));
51
- yield yield __await(result.value || []);
52
- });
47
+ async *listGremlinDatabasesPagingPage(resourceGroupName, accountName, options, _settings) {
48
+ let result;
49
+ result = await this._listGremlinDatabases(resourceGroupName, accountName, options);
50
+ yield result.value || [];
53
51
  }
54
- listGremlinDatabasesPagingAll(resourceGroupName, accountName, options) {
55
- return __asyncGenerator(this, arguments, function* listGremlinDatabasesPagingAll_1() {
56
- var _a, e_1, _b, _c;
57
- try {
58
- for (var _d = true, _e = __asyncValues(this.listGremlinDatabasesPagingPage(resourceGroupName, accountName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
59
- _c = _f.value;
60
- _d = false;
61
- const page = _c;
62
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
63
- }
64
- }
65
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
66
- finally {
67
- try {
68
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
69
- }
70
- finally { if (e_1) throw e_1.error; }
71
- }
72
- });
52
+ async *listGremlinDatabasesPagingAll(resourceGroupName, accountName, options) {
53
+ for await (const page of this.listGremlinDatabasesPagingPage(resourceGroupName, accountName, options)) {
54
+ yield* page;
55
+ }
73
56
  }
74
57
  /**
75
58
  * Lists the Gremlin graph under an existing Azure Cosmos DB database account.
@@ -88,39 +71,22 @@ export class GremlinResourcesImpl {
88
71
  return this;
89
72
  },
90
73
  byPage: (settings) => {
91
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
74
+ if (settings?.maxPageSize) {
92
75
  throw new Error("maxPageSize is not supported by this operation.");
93
76
  }
94
77
  return this.listGremlinGraphsPagingPage(resourceGroupName, accountName, databaseName, options, settings);
95
78
  },
96
79
  };
97
80
  }
98
- listGremlinGraphsPagingPage(resourceGroupName, accountName, databaseName, options, _settings) {
99
- return __asyncGenerator(this, arguments, function* listGremlinGraphsPagingPage_1() {
100
- let result;
101
- result = yield __await(this._listGremlinGraphs(resourceGroupName, accountName, databaseName, options));
102
- yield yield __await(result.value || []);
103
- });
81
+ async *listGremlinGraphsPagingPage(resourceGroupName, accountName, databaseName, options, _settings) {
82
+ let result;
83
+ result = await this._listGremlinGraphs(resourceGroupName, accountName, databaseName, options);
84
+ yield result.value || [];
104
85
  }
105
- listGremlinGraphsPagingAll(resourceGroupName, accountName, databaseName, options) {
106
- return __asyncGenerator(this, arguments, function* listGremlinGraphsPagingAll_1() {
107
- var _a, e_2, _b, _c;
108
- try {
109
- for (var _d = true, _e = __asyncValues(this.listGremlinGraphsPagingPage(resourceGroupName, accountName, databaseName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
110
- _c = _f.value;
111
- _d = false;
112
- const page = _c;
113
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
114
- }
115
- }
116
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
117
- finally {
118
- try {
119
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
120
- }
121
- finally { if (e_2) throw e_2.error; }
122
- }
123
- });
86
+ async *listGremlinGraphsPagingAll(resourceGroupName, accountName, databaseName, options) {
87
+ for await (const page of this.listGremlinGraphsPagingPage(resourceGroupName, accountName, databaseName, options)) {
88
+ yield* page;
89
+ }
124
90
  }
125
91
  /**
126
92
  * Lists the Gremlin databases under an existing Azure Cosmos DB database account.
@@ -156,14 +122,19 @@ export class GremlinResourcesImpl {
156
122
  return this.client.sendOperationRequest(args, spec);
157
123
  };
158
124
  const sendOperationFn = async (args, spec) => {
159
- var _a;
160
125
  let currentRawResponse = undefined;
161
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
126
+ const providedCallback = args.options?.onResponse;
162
127
  const callback = (rawResponse, flatResponse) => {
163
128
  currentRawResponse = rawResponse;
164
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
129
+ providedCallback?.(rawResponse, flatResponse);
130
+ };
131
+ const updatedArgs = {
132
+ ...args,
133
+ options: {
134
+ ...args.options,
135
+ onResponse: callback,
136
+ },
165
137
  };
166
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
167
138
  const flatResponse = await directSendOperation(updatedArgs, spec);
168
139
  return {
169
140
  flatResponse,
@@ -186,8 +157,8 @@ export class GremlinResourcesImpl {
186
157
  spec: createUpdateGremlinDatabaseOperationSpec,
187
158
  });
188
159
  const poller = await createHttpPoller(lro, {
189
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
190
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
160
+ restoreFrom: options?.resumeFrom,
161
+ intervalInMs: options?.updateIntervalInMs,
191
162
  });
192
163
  await poller.poll();
193
164
  return poller;
@@ -217,14 +188,19 @@ export class GremlinResourcesImpl {
217
188
  return this.client.sendOperationRequest(args, spec);
218
189
  };
219
190
  const sendOperationFn = async (args, spec) => {
220
- var _a;
221
191
  let currentRawResponse = undefined;
222
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
192
+ const providedCallback = args.options?.onResponse;
223
193
  const callback = (rawResponse, flatResponse) => {
224
194
  currentRawResponse = rawResponse;
225
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
195
+ providedCallback?.(rawResponse, flatResponse);
196
+ };
197
+ const updatedArgs = {
198
+ ...args,
199
+ options: {
200
+ ...args.options,
201
+ onResponse: callback,
202
+ },
226
203
  };
227
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
228
204
  const flatResponse = await directSendOperation(updatedArgs, spec);
229
205
  return {
230
206
  flatResponse,
@@ -241,8 +217,8 @@ export class GremlinResourcesImpl {
241
217
  spec: deleteGremlinDatabaseOperationSpec,
242
218
  });
243
219
  const poller = await createHttpPoller(lro, {
244
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
245
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
220
+ restoreFrom: options?.resumeFrom,
221
+ intervalInMs: options?.updateIntervalInMs,
246
222
  });
247
223
  await poller.poll();
248
224
  return poller;
@@ -283,14 +259,19 @@ export class GremlinResourcesImpl {
283
259
  return this.client.sendOperationRequest(args, spec);
284
260
  };
285
261
  const sendOperationFn = async (args, spec) => {
286
- var _a;
287
262
  let currentRawResponse = undefined;
288
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
263
+ const providedCallback = args.options?.onResponse;
289
264
  const callback = (rawResponse, flatResponse) => {
290
265
  currentRawResponse = rawResponse;
291
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
266
+ providedCallback?.(rawResponse, flatResponse);
267
+ };
268
+ const updatedArgs = {
269
+ ...args,
270
+ options: {
271
+ ...args.options,
272
+ onResponse: callback,
273
+ },
292
274
  };
293
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
294
275
  const flatResponse = await directSendOperation(updatedArgs, spec);
295
276
  return {
296
277
  flatResponse,
@@ -313,8 +294,8 @@ export class GremlinResourcesImpl {
313
294
  spec: updateGremlinDatabaseThroughputOperationSpec,
314
295
  });
315
296
  const poller = await createHttpPoller(lro, {
316
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
317
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
297
+ restoreFrom: options?.resumeFrom,
298
+ intervalInMs: options?.updateIntervalInMs,
318
299
  });
319
300
  await poller.poll();
320
301
  return poller;
@@ -344,14 +325,19 @@ export class GremlinResourcesImpl {
344
325
  return this.client.sendOperationRequest(args, spec);
345
326
  };
346
327
  const sendOperationFn = async (args, spec) => {
347
- var _a;
348
328
  let currentRawResponse = undefined;
349
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
329
+ const providedCallback = args.options?.onResponse;
350
330
  const callback = (rawResponse, flatResponse) => {
351
331
  currentRawResponse = rawResponse;
352
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
332
+ providedCallback?.(rawResponse, flatResponse);
333
+ };
334
+ const updatedArgs = {
335
+ ...args,
336
+ options: {
337
+ ...args.options,
338
+ onResponse: callback,
339
+ },
353
340
  };
354
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
355
341
  const flatResponse = await directSendOperation(updatedArgs, spec);
356
342
  return {
357
343
  flatResponse,
@@ -368,8 +354,8 @@ export class GremlinResourcesImpl {
368
354
  spec: migrateGremlinDatabaseToAutoscaleOperationSpec,
369
355
  });
370
356
  const poller = await createHttpPoller(lro, {
371
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
372
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
357
+ restoreFrom: options?.resumeFrom,
358
+ intervalInMs: options?.updateIntervalInMs,
373
359
  });
374
360
  await poller.poll();
375
361
  return poller;
@@ -397,14 +383,19 @@ export class GremlinResourcesImpl {
397
383
  return this.client.sendOperationRequest(args, spec);
398
384
  };
399
385
  const sendOperationFn = async (args, spec) => {
400
- var _a;
401
386
  let currentRawResponse = undefined;
402
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
387
+ const providedCallback = args.options?.onResponse;
403
388
  const callback = (rawResponse, flatResponse) => {
404
389
  currentRawResponse = rawResponse;
405
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
390
+ providedCallback?.(rawResponse, flatResponse);
391
+ };
392
+ const updatedArgs = {
393
+ ...args,
394
+ options: {
395
+ ...args.options,
396
+ onResponse: callback,
397
+ },
406
398
  };
407
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
408
399
  const flatResponse = await directSendOperation(updatedArgs, spec);
409
400
  return {
410
401
  flatResponse,
@@ -421,8 +412,8 @@ export class GremlinResourcesImpl {
421
412
  spec: migrateGremlinDatabaseToManualThroughputOperationSpec,
422
413
  });
423
414
  const poller = await createHttpPoller(lro, {
424
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
425
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
415
+ restoreFrom: options?.resumeFrom,
416
+ intervalInMs: options?.updateIntervalInMs,
426
417
  });
427
418
  await poller.poll();
428
419
  return poller;
@@ -473,14 +464,19 @@ export class GremlinResourcesImpl {
473
464
  return this.client.sendOperationRequest(args, spec);
474
465
  };
475
466
  const sendOperationFn = async (args, spec) => {
476
- var _a;
477
467
  let currentRawResponse = undefined;
478
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
468
+ const providedCallback = args.options?.onResponse;
479
469
  const callback = (rawResponse, flatResponse) => {
480
470
  currentRawResponse = rawResponse;
481
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
471
+ providedCallback?.(rawResponse, flatResponse);
472
+ };
473
+ const updatedArgs = {
474
+ ...args,
475
+ options: {
476
+ ...args.options,
477
+ onResponse: callback,
478
+ },
482
479
  };
483
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
484
480
  const flatResponse = await directSendOperation(updatedArgs, spec);
485
481
  return {
486
482
  flatResponse,
@@ -504,8 +500,8 @@ export class GremlinResourcesImpl {
504
500
  spec: createUpdateGremlinGraphOperationSpec,
505
501
  });
506
502
  const poller = await createHttpPoller(lro, {
507
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
508
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
503
+ restoreFrom: options?.resumeFrom,
504
+ intervalInMs: options?.updateIntervalInMs,
509
505
  });
510
506
  await poller.poll();
511
507
  return poller;
@@ -536,14 +532,19 @@ export class GremlinResourcesImpl {
536
532
  return this.client.sendOperationRequest(args, spec);
537
533
  };
538
534
  const sendOperationFn = async (args, spec) => {
539
- var _a;
540
535
  let currentRawResponse = undefined;
541
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
536
+ const providedCallback = args.options?.onResponse;
542
537
  const callback = (rawResponse, flatResponse) => {
543
538
  currentRawResponse = rawResponse;
544
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
539
+ providedCallback?.(rawResponse, flatResponse);
540
+ };
541
+ const updatedArgs = {
542
+ ...args,
543
+ options: {
544
+ ...args.options,
545
+ onResponse: callback,
546
+ },
545
547
  };
546
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
547
548
  const flatResponse = await directSendOperation(updatedArgs, spec);
548
549
  return {
549
550
  flatResponse,
@@ -566,8 +567,8 @@ export class GremlinResourcesImpl {
566
567
  spec: deleteGremlinGraphOperationSpec,
567
568
  });
568
569
  const poller = await createHttpPoller(lro, {
569
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
570
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
570
+ restoreFrom: options?.resumeFrom,
571
+ intervalInMs: options?.updateIntervalInMs,
571
572
  });
572
573
  await poller.poll();
573
574
  return poller;
@@ -611,14 +612,19 @@ export class GremlinResourcesImpl {
611
612
  return this.client.sendOperationRequest(args, spec);
612
613
  };
613
614
  const sendOperationFn = async (args, spec) => {
614
- var _a;
615
615
  let currentRawResponse = undefined;
616
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
616
+ const providedCallback = args.options?.onResponse;
617
617
  const callback = (rawResponse, flatResponse) => {
618
618
  currentRawResponse = rawResponse;
619
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
619
+ providedCallback?.(rawResponse, flatResponse);
620
+ };
621
+ const updatedArgs = {
622
+ ...args,
623
+ options: {
624
+ ...args.options,
625
+ onResponse: callback,
626
+ },
620
627
  };
621
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
622
628
  const flatResponse = await directSendOperation(updatedArgs, spec);
623
629
  return {
624
630
  flatResponse,
@@ -642,8 +648,8 @@ export class GremlinResourcesImpl {
642
648
  spec: updateGremlinGraphThroughputOperationSpec,
643
649
  });
644
650
  const poller = await createHttpPoller(lro, {
645
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
646
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
651
+ restoreFrom: options?.resumeFrom,
652
+ intervalInMs: options?.updateIntervalInMs,
647
653
  });
648
654
  await poller.poll();
649
655
  return poller;
@@ -675,14 +681,19 @@ export class GremlinResourcesImpl {
675
681
  return this.client.sendOperationRequest(args, spec);
676
682
  };
677
683
  const sendOperationFn = async (args, spec) => {
678
- var _a;
679
684
  let currentRawResponse = undefined;
680
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
685
+ const providedCallback = args.options?.onResponse;
681
686
  const callback = (rawResponse, flatResponse) => {
682
687
  currentRawResponse = rawResponse;
683
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
688
+ providedCallback?.(rawResponse, flatResponse);
689
+ };
690
+ const updatedArgs = {
691
+ ...args,
692
+ options: {
693
+ ...args.options,
694
+ onResponse: callback,
695
+ },
684
696
  };
685
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
686
697
  const flatResponse = await directSendOperation(updatedArgs, spec);
687
698
  return {
688
699
  flatResponse,
@@ -705,8 +716,8 @@ export class GremlinResourcesImpl {
705
716
  spec: migrateGremlinGraphToAutoscaleOperationSpec,
706
717
  });
707
718
  const poller = await createHttpPoller(lro, {
708
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
709
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
719
+ restoreFrom: options?.resumeFrom,
720
+ intervalInMs: options?.updateIntervalInMs,
710
721
  });
711
722
  await poller.poll();
712
723
  return poller;
@@ -736,14 +747,19 @@ export class GremlinResourcesImpl {
736
747
  return this.client.sendOperationRequest(args, spec);
737
748
  };
738
749
  const sendOperationFn = async (args, spec) => {
739
- var _a;
740
750
  let currentRawResponse = undefined;
741
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
751
+ const providedCallback = args.options?.onResponse;
742
752
  const callback = (rawResponse, flatResponse) => {
743
753
  currentRawResponse = rawResponse;
744
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
754
+ providedCallback?.(rawResponse, flatResponse);
755
+ };
756
+ const updatedArgs = {
757
+ ...args,
758
+ options: {
759
+ ...args.options,
760
+ onResponse: callback,
761
+ },
745
762
  };
746
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
747
763
  const flatResponse = await directSendOperation(updatedArgs, spec);
748
764
  return {
749
765
  flatResponse,
@@ -766,8 +782,8 @@ export class GremlinResourcesImpl {
766
782
  spec: migrateGremlinGraphToManualThroughputOperationSpec,
767
783
  });
768
784
  const poller = await createHttpPoller(lro, {
769
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
770
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
785
+ restoreFrom: options?.resumeFrom,
786
+ intervalInMs: options?.updateIntervalInMs,
771
787
  });
772
788
  await poller.poll();
773
789
  return poller;
@@ -798,14 +814,19 @@ export class GremlinResourcesImpl {
798
814
  return this.client.sendOperationRequest(args, spec);
799
815
  };
800
816
  const sendOperationFn = async (args, spec) => {
801
- var _a;
802
817
  let currentRawResponse = undefined;
803
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
818
+ const providedCallback = args.options?.onResponse;
804
819
  const callback = (rawResponse, flatResponse) => {
805
820
  currentRawResponse = rawResponse;
806
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
821
+ providedCallback?.(rawResponse, flatResponse);
822
+ };
823
+ const updatedArgs = {
824
+ ...args,
825
+ options: {
826
+ ...args.options,
827
+ onResponse: callback,
828
+ },
807
829
  };
808
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
809
830
  const flatResponse = await directSendOperation(updatedArgs, spec);
810
831
  return {
811
832
  flatResponse,
@@ -829,8 +850,8 @@ export class GremlinResourcesImpl {
829
850
  spec: retrieveContinuousBackupInformationOperationSpec,
830
851
  });
831
852
  const poller = await createHttpPoller(lro, {
832
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
833
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
853
+ restoreFrom: options?.resumeFrom,
854
+ intervalInMs: options?.updateIntervalInMs,
834
855
  resourceLocationConfig: "location",
835
856
  });
836
857
  await poller.poll();